webpack-build-suite
1.2.2 • Public • Published
// 安装这个
npm install -g commitizen
// 添加编写校验规则
commitizen init cz-conventional-changelog --save --save-exact
// 使用git cz代替git commit
git cz xxx
// package.json
"config": {
"ghooks": {
"commit-msg": "validate-commit-msg"
}
},
npm i validate-commit-msg -D
// 安装
npm i conventional-changelog-cli -D
// 配置package.json
"scripts": {
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
}
// 版本发布前跑一下
npm run changelog
Readme
Keywords
nonePackage Sidebar
Install
npm i webpack-build-suite
Weekly Downloads