- Fork (https://github.com/suzuki-shunsuke/rterror/fork)
- Clone the forked repository
- Install npm dependencies
- Create a feature branch
- Make your change
- Test
- Commit your change
- Rebase your local changes against the master branch
- Create a new Pull Request
- yarn, npm: for commit message validation and Change Log generation
We use some node modules to validate commit messages and generate Change Log.
Install node modules by
$ yarn
or
$ npm i
$ npm t
The commit message format of this project conforms to the AngularJS Commit Message Format.
By conforming its format, we can generate the Change Log and conform the semantic versioning automatically by standard-version.
We validate the commit message with git's commit-msg
hook using validate-commit-msg and husky.
We generate the Change Log by standard-version. After merge your PR at the master branch, The author (suzuki-shunsuke) will generate the release tag.
$ npm run release
$ git push origin master --follow-tags