-
Notifications
You must be signed in to change notification settings - Fork 19
/
changelog.config.js
66 lines (66 loc) · 1.35 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
module.exports = {
disableEmoji: false,
format: '{type}{scope}: {emoji}{subject}',
list: ['chore', 'feat', 'fix', 'test', 'docs', 'perf', 'style', 'merge', 'revert', 'release', 'refactor'],
maxMessageLength: 64,
minMessageLength: 3,
questions: ['type', 'scope', 'subject'],
scopes: [],
types: {
chore: {
description: '项目构建',
emoji: '📦',
value: 'chore'
},
feat: {
description: '新增功能',
emoji: '🎸',
value: 'feat'
},
fix: {
description: '修复代码',
emoji: '🐛',
value: 'fix'
},
test: {
description: '增加测试',
emoji: '🔎',
value: 'test'
},
docs: {
description: '更新文档',
emoji: '📖',
value: 'docs'
},
perf: {
description: '优化代码',
emoji: '⚡️',
value: 'perf'
},
style: {
description: '样式更新',
emoji: '🎉',
value: 'style'
},
merge: {
description: '合并代码',
emoji: '👥',
value: 'merge'
},
revert: {
description: '回退提交',
emoji: '📤',
value: 'revert'
},
release: {
description: '版本发布',
emoji: '🏹',
value: 'release'
},
refactor: {
description: '重构代码',
emoji: '💡',
value: 'refactor'
}
}
}