-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cz.config.json
53 lines (52 loc) · 2.07 KB
/
.cz.config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"types": [
{ "value": "feat", "name": "feat:新增功能、页面" },
{ "value": "fix", "name": "fix:修复某个bug" },
{ "value": "patch", "name": "patch:打个重要补丁" },
{ "value": "docs", "name": "docs:修改增加文档、注释" },
{ "value": "config", "name": "config:修改配置文件" },
{
"value": "chore",
"name": "chore:不修改 src 或测试文件的其他更改"
},
{
"value": "ci",
"name": "ci:更改CI配置文件和脚本(示例范围:Husky、Eslint、commitizen)"
},
{
"value": "style",
"name": "style:不影响代码运行的变动、空格、格式、缺少分号等"
},
{ "value": "perf", "name": "perf:提升性能、用户体验等" },
{
"value": "refactor",
"name": "refactor:代码重构,未新增任何功能和修复任何bug"
},
{
"value": "build",
"name": "build:编译打包相关修改,例如发布版本、对项目构建或外部依赖的改动(例如修改vite、webpack等配置)"
},
{
"value": "delete",
"name": "delete:删除无用的文件夹或文件"
},
{ "value": "init", "name": "init:初始化代码" },
{ "value": "test", "name": "test:包括单元测试、集成测试" },
{ "value": "revert", "name": "revert:代码回退到某个版本节点" },
{ "value": "publish", "name": "publish:发布新版本" }
],
"messages": {
"type": "请选择提交类型(必填):",
"scope": "请选择一个scope (可选):",
"customScope": "请输入文件修改范围(可选):",
"subject": "请简要描述提交(必填):",
"body": "请输入详细描述,使用\"|\"换行(可选):\n",
"breaking": "列出任务非兼容性说明 (可选):\n",
"footer": "请输入要关闭的issue,例如:#12, #34(可选):\n",
"confirmCommit": "确定提交此说明吗?"
},
"allowCustomScopes": true,
"skipQuestions": ["scope", "customScope", "body", "breaking", "footer"],
"allowBreakingChanges": ["feat", "fix"],
"subjectLimit": 100
}