-
Notifications
You must be signed in to change notification settings - Fork 0
/
1changelog.config.js
87 lines (87 loc) · 1.79 KB
/
1changelog.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
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
module.exports = {
disableEmoji: false,
list: [
"test",
"feat",
"fix",
"chore",
"docs",
"refactor",
"style",
"ci",
"perf",
"revert"
],
maxMessageLength: 64,
minMessageLength: 3,
questions: [
"type",
"scope",
"subject",
"body",
"breaking",
"issues",
"lerna"
],
scopes: [],
// 翻译了一下描述部分
types: {
chore: {
description:
"跟仓库主要业务无关的构建/工程依赖/工具等功能改动(比如新增一个文档生成工具)",
emoji: "🤖",
value: "chore"
},
ci: {
description: "CI related changes",
emoji: "🎡",
value: "ci"
},
docs: {
description: "更新了文档(比如改了 Readme)",
emoji: "✏️",
value: "docs"
},
feat: {
description: "一个新的特性",
emoji: "🎸",
value: "feat"
},
fix: {
description: "修复bug",
emoji: "🐛",
value: "fix"
},
perf: {
description: "优化了性能的代码改动",
emoji: "⚡️",
value: "perf"
},
refactor: {
description:
"一些代码结构上优化,既不是新特性也不是修 Bug(比如函数改个名字)",
emoji: "💡",
value: "refactor"
},
release: {
description: "Create a release commit",
emoji: "🏹",
value: "release"
},
style: {
description: "代码的样式美化,不涉及到功能修改(比如改了缩进)",
emoji: "💄",
value: "style"
},
test: {
description: "新增或者修改已有的测试代码",
emoji: "💍",
value: "test"
},
revert: {
description: "恢复上一次提交",
emoji: "💍",
value: "revert"
}
}
};