-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cz-config.js
37 lines (37 loc) · 1.37 KB
/
.cz-config.js
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
module.exports = {
types: [
{ value: ":sparkles: feat", name: "feat: " },
{ value: ":pencil: docs", name: "docs: " },
{ value: ":construction: chore", name: "chore: " },
{ value: ":bug: fix", name: "fix: " },
{ value: ":wrench: chore", name: "chore: " },
{ value: ":ambulance: fix", name: "fix: " },
{ value: ":zap: perf", name: "perf: " },
{ value: ":construction_worker: ci", name: "ci: " },
{ value: ":green_heart: ci", name: "ci: " },
{ value: ":white_check_mark: test", name: "test: " },
{ value: ":hammer: refactor", name: "refactor: " },
{ value: ":lock: fix", name: "fix: " },
{ value: ":rocket: deploy", name: "deploy: " },
{ value: ":art: style", name: "style: " },
{ value: ":heavy_plus_sign: add", name: "add: " },
{ value: ":fire: del", name: "del: " },
{ value: ":pencil2: docs", name: "docs: " },
{
value: ":chart_with_upwards_trend: chore:",
name: "chore: ",
},
{ value: ":bookmark: release", name: "release: " },
],
scopes: [],
messages: {
type: "TYPE:\n",
scope: "SCOPE:\n",
subject: "DESC:\n",
body: 'DETAILED_DESC. 使用"|"换行:\n',
footer: "ISSUE_CLOSING. E.g.: #31, #34:\n",
confirmCommit: "CONFIRM?",
},
allowCustomScopes: true,
allowBreakingChanges: ["feat", "fix"],
};