Merge branch 'master' into develop

This commit is contained in:
xuqingkai 2023-08-02 18:40:29 +08:00
commit e40352ff2f
3 changed files with 66 additions and 18 deletions

64
.versionrc Normal file
View File

@ -0,0 +1,64 @@
{
"header": "# 更新日志 \n\n",
"types": [{
"type": "feat",
"section": "✨ Features | 新功能",
"hidden": false
},
{
"type": "fix",
"section": "🐛 Bug Fixes | Bug 修复",
"hidden": false
},
{
"type": "init",
"section": "🎉 Init | 初始化",
"hidden": true
},
{
"type": "docs",
"section": "✏️ Documentation | 文档",
"hidden": true
},
{
"type": "style",
"section": "💄 Styles | 风格",
"hidden": true
},
{
"type": "refactor",
"section": "♻️ Code Refactoring | 代码重构",
"hidden": true
},
{
"type": "perf",
"section": "⚡ Performance Improvements | 性能优化",
"hidden": true
},
{
"type": "test",
"section": "✅ Tests | 测试",
"hidden": true
},
{
"type": "revert",
"section": "⏪ Revert | 回退",
"hidden": true
},
{
"type": "build",
"section": "📦‍ Build System | 打包构建",
"hidden": true
},
{
"type": "chore",
"section": "🚀 Chore | 构建/工程依赖/工具",
"hidden": true
},
{
"type": "ci",
"section": "👷 Continuous Integration | CI 配置",
"hidden": true
}
]
}

View File

@ -1,16 +0,0 @@
{
"index_name": "wot-design-uni",
"start_urls": ["https://wot-design-uni.netlify.app/"],
"selectors": {
"lvl0": {
"selector": "",
"defaultValue": "Documentation"
},
"lvl1": ".content h1",
"lvl2": ".content h2",
"lvl3": ".content h3",
"lvl4": ".content h4",
"lvl5": ".content h5",
"content": ".content p, .content li"
}
}

View File

@ -1,7 +1,7 @@
/*
* @Author: weisheng
* @Date: 2022-11-01 17:12:57
* @LastEditTime: 2023-08-02 17:59:15
* @LastEditTime: 2023-08-02 18:35:01
* @LastEditors: weisheng
* @Description: 组件发版问答
* @FilePath: \wot-design-uni\build\release.js
@ -52,7 +52,7 @@ inquirer
break
}
// 生成日志
execSync('node ./changelog.js')
execSync('node build/changelog.js')
// 更新版本
const file = readFileSync(path.resolve(__dirname, '../package.json'))
const packageJson = JSON.parse(file.toString())