mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-04-13 11:09:46 +08:00
feat: 新增release发布脚本
This commit is contained in:
18
package.json
18
package.json
@@ -22,12 +22,10 @@
|
||||
"deploy:ali": "bash scripts/deploy.sh ali $npm_package_version",
|
||||
"deploy:github": "bash scripts/page_deploy.sh",
|
||||
"deploy:vercel": "vercel --prod",
|
||||
"version:alpha": "npm version prerelease --preid alpha",
|
||||
"version:patch": "npm version patch",
|
||||
"release": "bumpp --preid alpha --execute=\"pnpm commit-and-tag-version && git add CHANGELOG.md\" --commit \"chore(release): publish v%s\" --all --tag --push",
|
||||
"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 '{}' + ",
|
||||
"release": "bumpp --preid alpha --execute=\"pnpm commit-and-tag-version && git add CHANGELOG.md\" --commit \"chore(release): publish v%s\" --all --tag --push"
|
||||
"clean": "find . -name \"node_modules\" -type d -exec rm -rf '{}' + "
|
||||
},
|
||||
"scripts-info": {
|
||||
"prepare": "安装依赖预执行脚本",
|
||||
@@ -38,19 +36,20 @@
|
||||
"image:faster": "本地build后,快速构建镜像",
|
||||
"deploy:ali": "部署到阿里云服务器",
|
||||
"deploy:github": "部署到github平台,集成ci",
|
||||
"version:alpha": "alpha测试版号更新,基于next分之操作",
|
||||
"release": "alpha测试版号更新、正式版本发布",
|
||||
"version:patch": "稳定版号更新,基于master分支操作",
|
||||
"lint": "eslint校验代码,指出异常",
|
||||
"lintfix": "格式化代码,自动化处理异常",
|
||||
"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",
|
||||
"@vuepress/utils": "2.0.0-beta.61",
|
||||
"bumpp": "^9.2.0",
|
||||
"commit-and-tag-version": "11.2.3",
|
||||
"enquirer": "^2.4.1",
|
||||
"eslint": "^8.48.0",
|
||||
"eslint-config-standard": "^17.1.0",
|
||||
"eslint-plugin-import": "^2.28.1",
|
||||
@@ -65,5 +64,8 @@
|
||||
"vuepress-plugin-search-pro": "2.0.0-beta.185",
|
||||
"vuepress-theme-hope": "2.0.0-beta.185"
|
||||
},
|
||||
"license": "MIT"
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"shelljs": "^0.8.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user