-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangelog.config.cjs
81 lines (81 loc) · 1.88 KB
/
changelog.config.cjs
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
module.exports = {
format: '{emoji}{type}: {subject}',
list: [
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'release',
'revert',
'style',
'test',
],
maxMessageLength: 128,
minMessageLength: 3,
questions: ['type', 'subject'],
types: {
chore: {
description: 'ビルドプロセス、またはドキュメント生成などの補助ツールやライブラリの追加・更新',
emoji: '🎨',
value: 'chore',
},
ci: {
description: 'CI関連の追加・更新',
emoji: '👷',
value: 'ci',
},
docs: {
description: 'ドキュメントの追加・更新',
emoji: '📝',
value: 'docs',
},
feat: {
description: '機能の追加',
emoji: '✨',
value: 'feat',
},
fix: {
description: 'バグの修正',
emoji: '🐛',
value: 'fix',
},
perf: {
description: 'パフォーマンスを向上させるコード変更',
emoji: '⚡️',
value: 'perf',
},
refactor: {
description: '機能追加やバグ修正を行わないコード変更',
emoji: '♻️',
value: 'refactor',
},
release: {
description: 'リリースコミットの作成',
emoji: '🔖',
value: 'release',
},
revert: {
description: 'コミットを取り消す',
emoji: '⏪️',
value: 'revert',
},
style: {
description:
'コードの意味に影響を与えない変更(ホワイトスペース、フォーマット、セミコロンの欠落など)',
emoji: '💄',
value: 'style',
},
test: {
description: 'テストの追加や既存のテストの修正',
emoji: '✅',
value: 'test',
},
},
messages: {
type: 'コミットの種類を選択:',
subject: 'コミット内容:\n',
},
};