mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-09 05:36:21 +00:00
chore: added commitizen (#143)
* chore(package): added commitizen I added `git-cz` (commitizen) with the angular adapter (which seems to work) * docs(readme): added cz badge Added the badge to indicate the commitizen-friendliness of this repo. * revert: removed the category changes from another PR It removes the addition of a maintenance category to keep them separated.
This commit is contained in:
parent
a6ae9beac8
commit
720f110298
2 changed files with 10 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
[![version][version-badge]][package] [![downloads][downloads-badge]][downloads]
|
||||
[![MIT License][license-badge]][license]
|
||||
[![Chat on Slack][chat-badge]][chat]
|
||||
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
|
||||
|
||||
[![All Contributors](https://img.shields.io/badge/all_contributors-28-orange.svg?style=flat-square)](#contributors)
|
||||
[![PRs Welcome][prs-badge]][prs] [![Code of Conduct][coc-badge]][coc]
|
||||
|
|
10
package.json
10
package.json
|
@ -17,7 +17,8 @@
|
|||
"build": "kcd-scripts build",
|
||||
"lint": "kcd-scripts lint",
|
||||
"test": "kcd-scripts test",
|
||||
"validate": "kcd-scripts validate"
|
||||
"validate": "kcd-scripts validate",
|
||||
"commit": "npx git-cz"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
|
@ -50,6 +51,8 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"codecov": "^3.1.0",
|
||||
"cz-conventional-changelog": "^2.1.0",
|
||||
"git-cz": "^1.8.0",
|
||||
"kcd-scripts": "^0.49.0",
|
||||
"nock": "^10.0.6",
|
||||
"semantic-release": "^15.13.2"
|
||||
|
@ -68,5 +71,10 @@
|
|||
"func-names": "off",
|
||||
"consistent-return": "off"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "cz-conventional-changelog"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue