- first, do the changes
- second, please run
npm run build
to generate new build - third, please commit all changes including the new build
- ok, so, merge all PRs
- git pull all latest code
- go to the library directory, for example,
packages/helpers
, runnpm version <patch | minor | major>
and then git commit - run
npm publish
to publish new version to NPM registry - go to the application project, for example, ticker-tick-web, just update the library version.
- go to the library directory, for example,
packages/helpers
, runnpm link
- go to the application project root director, run
npm link @tickertick/helpers
- if you are done debugging, run
npm unlink
andnpm unlink @tickertick/helpers
respectively - don't forget to go to the application project root directory again, run
npm install