-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cz.json
97 lines (97 loc) · 4.26 KB
/
.cz.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"commitizen": {
"name": "cz_customize",
"tag_format": "v$version",
"version_provider": "poetry",
"update_changelog_on_bump": true,
"major_version_zero": true,
"customize": {
"message_template": "{{change_type}}{% if scope %}({{scope}}){% endif %}: {{message}}{% if body %}\n\n{{body}}{% endif %}{% if footer %}\n\n{{footer}}{% endif %}",
"example": "docs(repo): add contributing guidelines",
"schema": "<type>(<scope>): <subject>\n\n<body>\n\n<footer>",
"schema_pattern": "^(fix|feat|docs|style|refactor|perf|test|chore|break|wip)(?:\\(([^()\\r\\n]+)\\))?:\\s(.+)(?:\\n\\n(.+))?(?:\\n\\n(.+))?$",
"bump_pattern": "^(fix|feat|break|wip)",
"bump_map": {
"fix": "PATCH",
"feat": "MINOR",
"break": "MAJOR",
"wip": "PATCH"
},
"change_type_order": ["break", "feat", "fix", "wip"],
"info_path": "cz_customize_info.txt",
"info": "This is customized info",
"commit_parser": "^(?P<change_type>fix|feat|docs|style|refactor|perf|test|chore|break|wip)(?:\\((?P<scope>[^()\\r\\n]+)\\))?:\\s(?P<message>.+)(?:\\n\\n(?P<body>.+))?(?:\\n\\n(?P<footer>.+))?$",
"changelog_pattern": "^(fix|feat|break|wip)(?:\\(([^()\\r\\n]+)\\))?:\\s(.+)",
"change_type_map": {"fix": "Fix", "feat": "Feat", "break": "break CHANGE", "wip": "WIP"},
"questions": [
{
"type": "list",
"name": "change_type",
"choices": [
{
"value": "fix",
"name": "fix: A bug fix. Correlates with PATCH in SemVer"
},
{
"value": "feat",
"name": "feat: A new feature. Correlates with MINOR in SemVer"
},
{
"value": "wip",
"name": "wip: Work in progress. Correlates with PATCH in SemVer"
},
{
"value": "break",
"name": "break: A code change that introduces a break change. Correlates with MAJOR in SemVer"
},
{
"value": "docs",
"name": "docs: Documentation only changes"
},
{
"value": "style",
"name": "style: Changes that do not affect the meaning of the code"
},
{
"value": "refactor",
"name": "refactor: A code change that neither fixes a bug nor adds a feature"
},
{
"value": "perf",
"name": "perf: A code change that improves performance"
},
{
"value": "test",
"name": "test: Adding missing tests or correcting existing tests"
},
{
"value": "chore",
"name": "chore: Changes to the build process or auxiliary tools"
}
],
"message": "Select the type of change you are committing"
},
{
"type": "input",
"name": "scope",
"message": "What is the scope of this change? (class or file name): (press [enter] to skip)\n"
},
{
"type": "input",
"name": "message",
"message": "Write a short and imperative summary of the code changes: (lowercase and no period)\n"
},
{
"type": "input",
"name": "body",
"message": "Provide additional contextual information about the code changes: (press [enter] to skip)\n"
},
{
"type": "input",
"name": "footer",
"message": "Footer. Information about break Changes and reference issues that this commit closes: (press [enter] to skip)\n"
}
]
}
}
}