- Build source first
yarn build:ts
- Run unit tests
yarn test:src
- Run e2e tests
yarn test:e2e
- Clean and build bundle
yarn dist
The packages is to be published to npm, using @next
tag using script in package.json
Follow steps below to publish a npm verion using @next
tag
- Commit all changes to github master
- Run publish script
yarn dev:publish
- Select version and confirm all prompts with
Y
- See version changes in
npmjs.com
This will not change the release version of current npm packages(currently 0.0.7), developers have to use @next
to install from npm.
For example.
npm install @harmony-js/core@next
Follow steps below to publish a npm verion with latest version
- Commit all changes to github master
- Run
lerna publish
,lerna
is required globally.
lerna publish
- Select version and confirm all prompts with
Y
- See version changes in
npmjs.com
This will change the release version of current npm packages to the latest version, developers can install from npm directly
For example.
npm install @harmony-js/core