-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.cz.json
84 lines (84 loc) · 3.47 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
{
"commitizen": {
"name": "cz_customize",
"customize": {
"message_template": "[{{change_type}}]{% if show_message %} {{message}}{% endif %}",
"example": "[Feature]: this feature enable customize through config file",
"schema": "[<type>] <body>",
"schema_pattern": "\\[(WIP-Building|WIP-Not-Building|Feature|Fix|Merge|Revert|Doc|Test|Assets|Build|Refactor|Style)\\](\\s.*)",
"info": "This is customized info",
"commit_parser": "^\\[(?P<change_type>feature|WIP-Building|WIP-Not-Building|fix|merge|revert|doc|test|assets|build|refactor|style)\\]\\s(?P<message>.*)?",
"change_type_map": {
"feature": "Feat",
"fix": "Fix"
},
"questions": [
{
"type": "list",
"name": "change_type",
"choices": [
{
"value": "Feature",
"name": "[Feature] A new feature."
},
{
"value": "Fix",
"name": "[Fix] A bug fix."
},
{
"value": "Merge",
"name": "[Merge] A branch merge."
},
{
"value": "Revert",
"name": "[Revert] Reverting change(s)."
},
{
"value": "Doc",
"name": "[Doc] A doc modification."
},
{
"value": "Test",
"name": "[Test] A test modification."
},
{
"value": "Assets",
"name": "[Assets] A modification in the assets."
},
{
"value": "Build",
"name": "[Build] A modification in the build logic."
},
{
"value": "Refactor",
"name": "[Refactor] A modification in present feature logic."
},
{
"value": "Style",
"name": "[Style] A modification in code style without logic changes."
},
{
"value": "WIP-Not-Building",
"name": "[WIP-Not-Building] A partial, not working modification."
},
{
"value": "WIP-Building",
"name": "[WIP-Building] A partial, still working modification."
}
],
"message": "Select the type of change you are committing"
},
{
"type": "input",
"name": "message",
"message": "This commit will:"
},
{
"type": "confirm",
"name": "show_message",
"message": "Do you want to add body message in commit?"
}
]
}
}
}