From 6c19eea21811e6086e5595940e2e1bc6c0233a43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Thu, 4 Jun 2026 10:10:35 +0000 Subject: [PATCH] fix: pnpm 11 CI compatibility - Set minimumReleaseAge: 0 (pnpm 11 defaults to 1440 min) - Add pnpm.onlyBuiltDependencies in package.json for esbuild and msw (pnpm 11 blocks build scripts by default) --- package.json | 8 +++++++- pnpm-workspace.yaml | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 79b93ce..6f65795 100644 --- a/package.json +++ b/package.json @@ -38,5 +38,11 @@ "bugs": { "url": "https://github.com/shazhou-ww/united-workforce/issues" }, - "license": "MIT" + "license": "MIT", + "pnpm": { + "onlyBuiltDependencies": [ + "esbuild", + "msw" + ] + } } diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 18ec407..c7e01e3 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,2 +1,4 @@ packages: - 'packages/*' + +minimumReleaseAge: 0