Maintaining

March 18, 2018 ยท View on GitHub

This repository uses yarn to manage NPM-related things.

Releasing a new version

The releases should follow Semantic Versioning.

git flow release start <version>                                # Start new git-flow release
nano package.json && git commit -m "Bump version to <version>"  # Bump version in `package.json`
yarn document && git commit -m "Update code documentation"      # Re-generate code documentation
git flow release finish                                         # Finalize git-flow release
git push --all && git push --tags                               # Push all branches and tags
yarn publish                                                    # Publish the release to NPM

Also don't forget to add a new release in the repository itself.