How to make a release and publish on npm:
- Run all tests from the repo root:
npm run test
- Run all tests again
- Delete all
package-lock.json
files: (see 1)rm sonar-*/package-lock.json
- Use lerna publish:
lerna publish major|minor|patch
That should be it!
Footnotes
-
We don't want to have them in the repo at the moment (this should change maybe once things stabilize, but for now its more of a hazzle) - however, lerna wants to add the files should they be there which doesnt work if they're in the .gitgnore file. ↩