-
-
Notifications
You must be signed in to change notification settings - Fork 318
/
.cz-config.js
62 lines (59 loc) · 1.18 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
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
'use strict';
module.exports = {
types: [
{
value: 'WIP',
name: '💪 WIP: 未完待续'
},
{
value: 'feat',
name: '✨ feat: 新的功能'
},
{
value: 'fix',
name: '🐞 fix: Bug 修复'
},
{
value: 'refactor',
name: '🔨 refactor: 功能重构'
},
{
value: 'perf',
name: '🌸 perf: 性能优化'
},
{
value: 'docs',
name: '📚 docs: 文档相关'
},
{
value: 'test',
name: '🏁 test: 测试相关'
},
{
value: 'build',
name: '🧰 build: 构建或辅助工具的变动'
},
{
value: 'style',
name: '💅 style: 优化代码结构或格式'
},
{
value: 'revert',
name: '⏪ revert: 回退 commit'
},
{
value: 'chore',
name: '⚪ chore: 琐事,不属于以上任何类型'
}
],
scopes: [
'vuepress-theme-reco',
'core',
'vuepress-plugin-back-to-top',
'vuepress-plugin-comments',
'vuepress-plugin-loading',
'vuepress-plugin-pagation'
],
allowCustomScopes: true,
allowBreakingChanges: ["feat", "fix"]
};