0.0.6 • Published 2 years ago

cz-chinese-emoji v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

cz-chinese-emoji

中文版本的 git 提交 emoji 提示

安装

npm i cz-chinese-emoji @commitlint/cli @commitlint/config-conventional --save-dev

添加字段 package.json:

"config": {
  "commitizen": {
     "path": "cz-chinese-emoji"
  },
},
"script":{
  "commit": "git add .&&git-cz"
}

添加文件 commitlint.config.js:

const types = ['fix', 'refactor', 'feature', 'prune', 'ui', 'docs', 'init', 'release', 'config', 'merge', 'test']

module.exports = {
	extends: ['@commitlint/config-conventional'],
	rules: {
		'type-enum': [2, 'always', types],
	},
}

Usage

$ npm run commit
0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago