-
Notifications
You must be signed in to change notification settings - Fork 27
/
changelog.config.js
60 lines (60 loc) · 1.14 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
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: '持续集成',
emoji: '🎡',
value: 'ci',
},
docs: {
description: '仅包含文档的修改',
emoji: '✏️',
value: 'docs',
},
feat: {
description: '增加新特性/新功能',
emoji: '🎸',
value: 'feat',
},
fix: {
description: '修复bug',
emoji: '🐞',
value: 'fix',
},
perf: {
description: '提高性能的修改',
emoji: '⚡️',
value: 'perf',
},
refactor: {
description: '重构',
emoji: '🛠',
value: 'refactor',
},
release: {
description: '发布',
emoji: '🏹',
value: 'publish',
},
style: {
description: '格式化修改',
emoji: '💄',
value: 'style',
},
test: {
description: '添加或修改测试代码',
emoji: '🏁',
value: 'test',
},
},
}