feat: add standard-version
This commit is contained in:
parent
e9af1a5f67
commit
05b4ca3272
25
.versionrc.js
Normal file
25
.versionrc.js
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
module.exports = {
|
||||||
|
header: '变更日志', // 可自定义添加生成的changelog头部内容
|
||||||
|
types: [
|
||||||
|
{ type: 'feat', section: '✨ Features | 新功能' },
|
||||||
|
{ type: 'fix', section: '🐛 Bug Fixes | Bug 修复' },
|
||||||
|
{ type: 'init', section: '🎉 Init | 初始化' },
|
||||||
|
{ type: 'docs', section: '✏️ Documentation | 文档' },
|
||||||
|
{ type: 'style', section: '💄 Styles | 风格' },
|
||||||
|
{ type: 'refactor', section: '♻️ Code Refactoring | 代码重构' },
|
||||||
|
{ type: 'perf', section: '⚡ Performance Improvements | 性能优化' },
|
||||||
|
{ type: 'test', section: '✅ Tests | 测试' },
|
||||||
|
{ type: 'revert', section: '⏪ Revert | 回退' },
|
||||||
|
{ type: 'build', section: '📦 Build System | 打包构建' },
|
||||||
|
{ type: 'update', section: '🚀 update | 构建/工程依赖/工具升级' },
|
||||||
|
{ type: 'tool', section: '🚀 tool | 工具升级' },
|
||||||
|
{ type: 'ci', section: '👷 Continuous Integration | CI 配置' },
|
||||||
|
],
|
||||||
|
// 跳过相关内容
|
||||||
|
skip: {
|
||||||
|
bump: false, // 是否跳过更改版本
|
||||||
|
changelog: false, // 是否跳过生产changelog
|
||||||
|
commit: false, // 是否跳过自动commit
|
||||||
|
tag: false, // 是否跳过打tag
|
||||||
|
},
|
||||||
|
}
|
@ -72,6 +72,7 @@
|
|||||||
"build:quickapp-webview-union": "uni build -p quickapp-webview-union",
|
"build:quickapp-webview-union": "uni build -p quickapp-webview-union",
|
||||||
"prepare": "git init && husky install ",
|
"prepare": "git init && husky install ",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
|
"release": "standard-version",
|
||||||
"cz": "czg"
|
"cz": "czg"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
@ -154,6 +155,7 @@
|
|||||||
"postcss-scss": "^4.0.9",
|
"postcss-scss": "^4.0.9",
|
||||||
"rollup-plugin-visualizer": "^5.12.0",
|
"rollup-plugin-visualizer": "^5.12.0",
|
||||||
"sass": "1.77.8",
|
"sass": "1.77.8",
|
||||||
|
"standard-version": "^9.5.0",
|
||||||
"stylelint": "^16.11.0",
|
"stylelint": "^16.11.0",
|
||||||
"stylelint-config-html": "^1.1.0",
|
"stylelint-config-html": "^1.1.0",
|
||||||
"stylelint-config-recess-order": "^4.6.0",
|
"stylelint-config-recess-order": "^4.6.0",
|
||||||
|
611
pnpm-lock.yaml
generated
611
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user