1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-24 10:39:50 +08:00

ci: 优化版本流程

This commit is contained in:
chufan
2023-09-04 19:31:53 +08:00
parent 09d6f2ce31
commit 7611fa6614
3 changed files with 27 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "408CSFamily",
"description": "专业代号408计算机基础知识点合集",
"version": "0.0.1-alpha01",
"version": "0.0.1-alpha.0",
"engines": {
"node": "16.x || 18.x",
"pnpm": ">=7.2.1"
@@ -26,7 +26,10 @@
"version:patch": "npm version patch",
"lint": "eslint --ext .js,.vue,.ts --ignore-path .gitignore .",
"lintfix": "eslint --fix --ext .js,.ts,.vue --ignore-path .gitignore .",
"clean": "find . -name \"node_modules\" -type d -exec rm -rf '{}' +"
"clean": "find . -name \"node_modules\" -type d -exec rm -rf '{}' + ",
"release": "commit-and-tag-version",
"release:test": "bumpp --preid alpha",
"release:bump": "bumpp --preid alpha -r --execute=\"pnpm commit-and-tag-version && git add CHANGELOG.md\" --commit \"chore(release): publish v%s\" --all --tag --push"
},
"scripts-info": {
"prepare": "安装依赖预执行脚本",
@@ -44,6 +47,8 @@
"clean": "快速删除本地依赖"
},
"devDependencies": {
"commit-and-tag-version": "11.2.3",
"bumpp": "^9.2.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vuepress/client": "2.0.0-beta.61",