Closed navin-moorthy closed 4 years ago
npm install -g commitizen
commitizen init cz-conventional-changelog --save-dev --save-exact
The above command does three things for you.
config.commitizen
...json "config": { "commitizen": { "path": "cz-conventional-changelog" } }
npx git-cz
package.json
Always commit via npm run commit
npm run commit
@navin-moorthy can you assign me ?
Assigned you as a reviewer
LGTM.
Commitizen
Making your repo Commitizen-friendly
npm install -g commitizen
commitizen init cz-conventional-changelog --save-dev --save-exact
The above command does three things for you.
config.commitizen
key to the root of your package.json as shown belownpx git-cz
as a script inpackage.json
to commit via commitizen.Important
Always commit via
npm run commit