generated from eternallycyf/ims-monorepo-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.changelogrc.js
139 lines (139 loc) · 2.81 KB
/
.changelogrc.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
module.exports = {
scopeDisplayName: {
scripts: '脚本',
changelog: '日志',
config: '配置',
release: '自动发布',
types: '类型',
readme: '说明文档',
guide: '指南',
},
titleLanguage: 'zh-CN',
displayTypes: ['feat', 'fix', 'styles', 'pref', 'chore', 'docs'],
showSummary: true,
reduceHeadingLevel: true,
newlineTimestamp: true,
addBackToTop: false,
customTypeMap: {
feat: {
emoji: '✨',
'en-US': 'Features',
'zh-CN': '新特性',
subtitle: "What's improved",
},
fix: {
emoji: '🐛',
'en-US': 'Bug Fixes',
'zh-CN': '修复',
subtitle: "What's fixed",
},
file: {
emoji: '📦',
'en-US': 'File',
'zh-CN': '文件',
subtitle: 'File',
},
init: {
emoji: '🎉',
'en-US': 'Init',
'zh-CN': '初始化',
subtitle: 'Init',
},
build: {
emoji: '👷',
'en-US': 'Build System',
'zh-CN': '构建系统',
subtitle: 'Build system',
},
chore: {
emoji: '🔖',
'en-US': 'Chores',
'zh-CN': '杂项',
subtitle: 'Chores',
},
ci: {
emoji: '🔧',
'en-US': 'Continuous Integration',
'zh-CN': '持续集成',
subtitle: 'Continuous integration',
},
format: {
emoji: '🥚',
'en-US': 'Format',
'zh-CN': '格式',
subtitle: 'Format',
},
config: {
emoji: '🔧',
'en-US': 'config',
'zh-CN': '配置',
subtitle: 'config',
},
git: {
emoji: '🙈',
'en-US': 'git',
'zh-CN': 'git',
subtitle: 'git',
},
docs: {
emoji: '📝',
'zh-CN': '文档',
'en-US': 'Documentation',
subtitle: 'Documentation',
},
test: {
emoji: '✅',
'zh-CN': '测试',
'en-US': 'Tests',
subtitle: 'Tests',
},
perf: {
emoji: '👌',
'en-US': 'Performance Improvements',
'zh-CN': '性能优化',
subtitle: 'Performance improvements',
},
revert: {
emoji: '⏪',
'zh-CN': '回滚',
'en-US': 'Reverts',
subtitle: 'Reverts',
},
style: {
emoji: '💄',
'en-US': 'Styles',
'zh-CN': '样式',
subtitle: 'Styles',
},
patch: {
emoji: '🚑',
'en-US': 'Patch',
'zh-CN': '补丁',
subtitle: 'Patch',
},
publish: {
emoji: '🚀',
'en-US': 'Publish',
'zh-CN': '发布',
subtitle: 'Publish',
},
refactor: {
emoji: '🎨',
'en-US': 'Refactor',
'zh-CN': '重构',
subtitle: 'Refactor',
},
style: {
emoji: '💄',
'en-US': 'Style',
'zh-CN': '样式',
subtitle: 'Style',
},
tag: {
emoji: '📌',
'en-US': 'Tag',
'zh-CN': '标签',
subtitle: 'Tag',
},
},
};