forked from galaxy-s10/billd-live
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cz-config.js
59 lines (58 loc) · 1.2 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
console.log(
'\x1B[0;37;44m INFO \x1B[0m',
'\x1B[0;;34m ' +
`读取了: ${__filename.slice(__dirname.length + 1)}` +
' \x1B[0m'
);
// https://github.com/leoforfree/cz-customizable
module.exports = {
types: [
{
value: 'feat',
name: '✨ feat: 新功能',
},
{
value: 'fix',
name: '🐛 fix: 修补bug',
},
{
value: 'docs',
name: '📝 docs: 文档新增/变更',
},
{
value: 'ci',
name: '👷 ci: CI Build',
},
{
value: 'build',
name: '🚀 build: 版本打包/Tag',
},
{
value: 'chore',
name: '📦️ chore: 构建工具调整',
},
{
value: 'perf',
name: '⚡️ perf: 性能提升',
},
{
value: 'refactor',
name: '🔨 refactor: 代码重构',
},
{
value: 'revert',
name: '⏪ revert: 代码回滚',
},
{
value: 'style',
name: '🎨 style: 样式或UI修改',
},
{
value: 'test',
name: '🧪 test: Add missing tests or correcting existing tests',
},
],
scopes: [],
skipEmptyScopes: true,
// allowCustomScopes: true,
};