- Make sure that git stage is clean.
- Bump up version on
package.json
. - Update
CHANGELOG.md
. - Run
npm run build
- Make a new commit containing any typing updates or documentation changes.
- Create a new git tag (e.g.
git tag v4.0.0
). - Push both code changes and tags (
git push && git push --tags
). - Release the NPM package with
npm publish --access public --tag latest
.