2020-04-03 19:30:07 +08:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
|
|
|
|
types: [
|
|
|
|
{
|
|
|
|
value: 'WIP',
|
2020-04-03 23:20:29 +08:00
|
|
|
name: '💪 WIP: 未完待续'
|
2020-04-03 19:30:07 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
value: 'feat',
|
2020-04-03 23:20:29 +08:00
|
|
|
name: '✨ feat: 新的功能'
|
2020-04-03 19:30:07 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
value: 'fix',
|
2020-04-03 23:20:29 +08:00
|
|
|
name: '🐞 fix: Bug 修复'
|
2020-04-03 19:30:07 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
value: 'refactor',
|
2020-04-03 23:20:29 +08:00
|
|
|
name: '🔨 refactor: 功能重构'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
value: 'perf',
|
|
|
|
name: '🌸 perf: 性能优化'
|
2020-04-03 19:30:07 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
value: 'docs',
|
2020-04-03 23:20:29 +08:00
|
|
|
name: '📚 docs: 文档相关'
|
2020-04-03 19:30:07 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
value: 'test',
|
2020-04-03 23:20:29 +08:00
|
|
|
name: '🏁 test: 测试相关'
|
2020-04-03 19:30:07 +08:00
|
|
|
},
|
|
|
|
{
|
2020-04-03 23:20:29 +08:00
|
|
|
value: 'build',
|
|
|
|
name: '🧰 build: 构建或辅助工具的变动'
|
2020-04-03 19:30:07 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
value: 'style',
|
2020-04-03 23:20:29 +08:00
|
|
|
name: '💅 style: 优化代码结构或格式'
|
2020-04-03 19:30:07 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
value: 'revert',
|
2020-04-03 23:20:29 +08:00
|
|
|
name: '⏪ revert: 回退 commit'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
value: 'chore',
|
|
|
|
name: '⚪ chore: 琐事,不属于以上任何类型'
|
2020-04-03 19:30:07 +08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
|
|
|
|
scopes: [
|
|
|
|
'vuepress-theme-reco',
|
|
|
|
'vuepress-plugin-back-to-top',
|
|
|
|
'vuepress-plugin-comments',
|
|
|
|
'vuepress-plugin-loading',
|
|
|
|
'vuepress-plugin-pagation'
|
|
|
|
],
|
|
|
|
allowCustomScopes: true,
|
|
|
|
allowBreakingChanges: ["feat", "fix"]
|
|
|
|
};
|