cz-conventional-changelog-chinese

2.3.0 • Public • Published

cz-conventional-changelog-chinese

中文版的cz-conventional-changelog,对中文开发者友好。

Status: Build Status npm npm npm

这是一个 format git commit message 的库,本项目仅仅是作为翻译和集成。

食用本项目后可以使用yarn commit来格式化提交的commit message,方便生成CHANGELOG,或者生成Tag的时候的简述。

感谢

首先感谢原作者,感谢angularJS。

安装

 
yarn add -D commitizen cz-conventional-changelog-chinese
 
# add config to package.json 
 
  "scripts"{
    "commit""git-cz"
  },
  "config"{
    "commitizen"{
      "path""./node_modules/cz-conventional-changelog-chinese"
    }
  },
 
# 和 husky hooks 一起食用更佳 
 

配置

已下类型可设置为环境变量的默认提交内容:

 
process.env = {
  CZ_TYPE,
  CZ_SCOPE,
  CZ_SUBJECT,
  CZ_BODY,
  CZ_ISSUES,
}
 

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i cz-conventional-changelog-chinese

Weekly Downloads

87

Version

2.3.0

License

MIT

Unpacked Size

156 kB

Total Files

8

Last publish

Collaborators

  • rhinel