代码拉取完成,页面将自动刷新
const fs = require('fs')
const path = require('path')
const packages = fs.readdirSync(
path.resolve(__dirname, 'packages/@vuepress-reco')
)
module.exports = {
types: [
{
value: 'WIP',
name: '💪 WIP: 未完待续',
},
{
value: 'feat',
name: '✨ feat: 新的功能',
},
{
value: 'fix',
name: '🐞 fix: Bug 修复',
},
{
value: 'refactor',
name: '🔨 refactor: 功能重构',
},
{
value: 'perf',
name: '🌸 perf: 性能优化',
},
{
value: 'docs',
name: '📚 docs: 文档相关',
},
{
value: 'test',
name: '🏁 test: 测试相关',
},
{
value: 'build',
name: '🧰 build: 构建或辅助工具的变动',
},
{
value: 'style',
name: '💅 style: 优化代码结构或格式',
},
{
value: 'revert',
name: '⏪ revert: 回退 commit',
},
{
value: 'chore',
name: '⚪ chore: 琐事,不属于以上任何类型',
},
],
scopes: ['theme-reco', 'example', ...packages],
allowCustomScopes: true,
allowBreakingChanges: ['feat', 'fix', 'refactor', 'perf'],
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。