From 5cf3fb60f9ed53074a5f97e7d1b1d2b9f8ccd45c Mon Sep 17 00:00:00 2001 From: zhangtao <9480807882@qq.com> Date: Sun, 17 Aug 2025 01:24:46 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=20package.json=20?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=8C=85=E7=AE=A1=E7=90=86=E5=99=A8=E5=92=8C?= =?UTF-8?q?=E5=BC=95=E6=93=8E=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 fastapp 和 fastdocs 的 packageManager 统一更新为 pnpm@9.15.3 同时更新 engines 字段中的 node、npm 和 pnpm 版本要求 --- fastapp/package.json | 6 ++++-- fastdocs/package.json | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/fastapp/package.json b/fastapp/package.json index 1ea3572f..e524fafa 100644 --- a/fastapp/package.json +++ b/fastapp/package.json @@ -46,9 +46,11 @@ "resolutions": { "bin-wrapper": "npm:bin-wrapper-china" }, + "packageManager": "pnpm@9.15.3", "engines": { - "node": ">=18", - "pnpm": ">=7.30" + "node": ">=18.0.0", + "npm": ">=10.0.0", + "pnpm": ">=8.1.0" }, "scripts": { "dev:app": "uni -p app", diff --git a/fastdocs/package.json b/fastdocs/package.json index 424532a1..d542d4cf 100644 --- a/fastdocs/package.json +++ b/fastdocs/package.json @@ -16,10 +16,11 @@ "devDependencies": { "vitepress": "2.0.0-alpha.11" }, - "packageManager": "npm@11.2.0", + "packageManager": "pnpm@9.15.3", "engines": { "node": ">=18.0.0", - "npm": ">=10.0.0" + "npm": ">=10.0.0", + "pnpm": ">=8.1.0" }, "repository": { "type": "git",