-
Notifications
You must be signed in to change notification settings - Fork 8
/
.cz-config.js
83 lines (80 loc) · 2.07 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*
* @Descripttion:
* @version:
* @Author: June
* @Date: 2023-05-29 14:01:59
* @LastEditors: June
* @LastEditTime: 2023-05-30 02:00:32
*/
'use strict'
module.exports = {
types: [
{
value: ':construction: WIP',
name: '💪 WIP: Work in progress(开发中)'
},
{
value: ':sparkles: feat',
name: '✨ feat: A new feature(新功能)'
},
{
value: ':bug: fix',
name: '🐛 fix: A bug fix(修复bug)'
},
{
value: ':hammer: refactor',
name: '🔨 refactor: A code change that neither fixes a bug nor adds a feature(代码重构,既没修复bug也没有添加新功能)'
},
{
value: ':pencil: docs',
name: '📝 docs: Documentation only changes'
},
{
value: ':white_check_mark: test',
name: '✅ test: Add missing tests or correcting existing tests'
},
{
value: ':thought_balloon: chore',
name: "🚀 chore: Changes that don't modify src or test files. Such as updating build tasks, package manager"
},
{
value: ':lipstick: ui',
name: '💄 Updating the UI and style files.'
},
{
value: ':art: style',
name: '🎨 Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)'
},
{
value: 'revert',
name: '⏪ revert: Revert to a commit'
},
{
value: ':package: dep_up',
name: '📦 Updating compiled files or packages.'
},
{
value: ':green_heart: fixci',
name: '💚 Fixing CI Build.'
},
{
value: ':truck: mv',
name: '🚚 Moving or renaming files.'
},
{
value: ':fire: prune',
name: '🔥 Removing code or files.'
},
{
value: ':bookmark: release',
name: '🔖 Releasing / Version tags.'
},
{
value: ':rocket: first release',
name: '🚀 first releast!'
}
],
scopes: [{ name: 'components' }, { name: 'utils' }, { name: 'styles' }, { name: 'other' }],
allowCustomScopes: true,
allowBreakingChanges: ['feat', 'fix']
}