-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcz.json
79 lines (79 loc) · 2.42 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
{
"commitizen": {
"name": "cz_customize",
"tag_format": "$version",
"version_scheme": "semver",
"version_provider": "npm",
"customize": {
"message_template": "{{change_type}} {% if context %}({{context}}){% endif %}: {{ message }}",
"example": "feat(ui): add a shiny new feature",
"schema": "<type>(<context>): <body>",
"schema_pattern": "(feat|fix|styles|refactor|perf|test|chore):(\\s.*)",
"bump_pattern": "^(break|new|fix|hotfix)",
"bump_map": {
"break": "MAJOR",
"new": "MINOR",
"fix": "PATCH"
},
"change_type_order": ["BREAKING CHANGE", "feat", "fix", "refactor", "perf", "chore"],
"info_path": "cz_customize_info.txt",
"info": "This is customized info",
"commit_parser": "^(?P<change_type>feat|fix|styles|refactor|perf|test|chore(deps)|chore(config)):\\s(?P<message>.*)?",
"change_type_map": {
"feat": "Feat",
"fix": "Fix",
"refactor": "Refactor",
"perf": "Performance",
"test": "Test",
"chore": "Chore"
},
"questions": [
{
"type": "list",
"name": "change_type",
"choices": [
{
"value": "feat 🎸",
"name": "feat 🎸: added a new feature."
},
{
"value": "fix ✅",
"name": "fix ✅: added a bug fix."
},
{
"value": "styles 💅",
"name": "styles 💅: edited some UI styles or other general styling config."
},
{
"value": "refactor ✨",
"name": "refactor: refactored code that does not affect feature."
},
{
"value": "perf ⚡️",
"name": "perf ⚡️: made a performance inprovement."
},
{
"value": "test 🧪",
"name": "test 🧪: added tests."
},
{
"value": "chore 🏗️",
"name": "chore 🏗️: added or bumped dependencies."
}
],
"message": "Select the type of change you are committing"
},
{
"type": "input",
"name": "context",
"message": "Do you want to add additional context?"
},
{
"type": "input",
"name": "message",
"message": "Body."
}
]
}
}
}