This package is using semantic-release to automate the release process, and this depends on a specific format for commit messages. In case you are new using semantic-release or you just want a helper to make your commits, please run yarn cm
to use commitizen
to properly format your commit messages so they can be automatically processed and included in release notes. Also in travis process we should use node >=12.0.0
since @typescript-eslint/eslint-plugin@4.5.0 requires this.
Some notes on testing and releasing.
- For a PR, follow Github's command-line instructions for retrieving the branch with the changes.
- To start a local development:
yarn build
cd example
yarn
yarn start
- Provide feedback on the PR about your results.
We are using semantic-release instead of this:
- update the version number in
package.json
- Fixes update the patch number, features update the minor number.
- Major version update is reserved for API breaking changes, not just additions.
git add
,git commit
andgit push
to get the version to master.- update changelog following the commits format.
git tag -a 3.X.Y -m 3.X.Y
git push --tags
npm publish
- add a version on the github release page, based on the tag
So please, just follow the semantic-release commit format and don't change package.json version, this will be automatically changed.