-
Notifications
You must be signed in to change notification settings - Fork 26
/
changelog.config.js
78 lines (78 loc) · 1.71 KB
/
changelog.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
module.exports = {
"disableEmoji": false,
"list": [
"test",
"feat",
"fix",
"chore",
"docs",
"refactor",
"style",
"ci",
"perf"
],
"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"
}
}
};