1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-07-11 01:26:42 +08:00

perf: 优化CI脚本,基于corepack锁定pnpm版本

This commit is contained in:
142vip.cn
2024-09-24 14:24:28 +08:00
parent 9cf4157955
commit 62e18abddc
2 changed files with 10 additions and 42 deletions

View File

@@ -8,10 +8,10 @@
"url": "https://github.com/142vip",
"homePage": "https://408.142vip.cn"
},
"packageManager": "pnpm@8.9.2",
"packageManager": "pnpm@9.6.0",
"engines": {
"node": "^18.x",
"pnpm": "8"
"node": ">=18.x",
"pnpm": "9.6.0"
},
"scripts": {
"preinstall": "chmod +x ./scripts/*",
@@ -24,14 +24,6 @@
"deploy:vercel": "vercel --prod",
"clean": "find . -name \"node_modules\" -type d -exec rm -rf '{}' + "
},
"scripts-info": {
"preinstall": "在安装依赖前分配脚本权限",
"postinstall": "在安装依赖后编译markdown文档转化为思维导图",
"prepare": "安装依赖预执行脚本",
"build:mark-map": "./scripts/mark-map",
"dev": "本地启动项目",
"clean": "快速删除本地依赖"
},
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",