Publishing:
-
Before publishing, update the release version in build.gradle to be the same as in package.json
-
Publishing is a matter of running the npm version command:
npm version major|minor|patch
which will
- Update the appropriate npm version and tag in git.
- Update the
app/build.gradle
file with the npm package version. - Build the server and test app.
- Put everything into the expected place.
Followed by pushing the commit and running the npm publish command:
git push --tags origin master
npm publish
which will
- Push result to GitHub
- Publish to npm