-
Notifications
You must be signed in to change notification settings - Fork 0
/
changelog.config.js
40 lines (40 loc) · 1.21 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
module.exports = {
disableEmoji: false,
format: '{type}{scope}: {emoji}{subject}',
list: ['feat', 'fix', 'refactor', 'chore'],
maxMessageLength: 80,
minMessageLength: 3,
questions: ['type', 'scope', 'subject'],
scopes: ['React', 'Node', 'Engineering', 'DataStructure', 'Others', 'Base'],
types: {
feat: {
description: 'Add a new blog',
emoji: '🎈',
value: 'feat',
},
fix: {
description: 'Fix blog',
emoji: '🍟',
value: 'fix',
},
chore: {
description: 'Build process or auxiliary tool changes',
emoji: '🤖',
value: 'chore',
},
refactor: {
description: 'A code change that neither fixes a bug or adds a feature',
emoji: '💡',
value: 'refactor',
},
messages: {
type: "Select the type of change that you're committing:",
customScope: 'Select the scope this blog affects:',
subject: 'Write a short, imperative mood description of the change:\n',
body: 'Provide a longer description of the change:\n ',
breaking: 'List any breaking changes:\n',
footer: 'Issues this commit closes, e.g #123:',
confirmCommit: 'The packages that this commit has affected\n',
},
},
};