From 7392aca3156b169aa141ccbee0550acc14a11001 Mon Sep 17 00:00:00 2001 From: Flaze <61559082+FlazeIGuess@users.noreply.github.com> Date: Sat, 18 Jul 2026 20:11:47 +0200 Subject: [PATCH] Fix CI: move pnpm overrides to pnpm-workspace.yaml pnpm v10+ no longer reads the pnpm.overrides field from package.json; it moved to pnpm-workspace.yaml (see https://pnpm.io/settings). The CI workflow installs pnpm@latest, so the frozen install failed with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH because the effective overrides config no longer matched the lockfile. Moving the override to pnpm-workspace.yaml restores the match; the value is unchanged so pnpm-lock.yaml stays valid and no relock is needed. --- package.json | 5 ----- pnpm-workspace.yaml | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c181309f..6554a580 100644 --- a/package.json +++ b/package.json @@ -43,10 +43,5 @@ "clean-css": "^5.3.3", "esbuild": "^0.27.1", "html-minifier-terser": "^7.2.0" - }, - "pnpm": { - "overrides": { - "yaml@<1.10.3": ">=1.10.3" - } } } diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index b073c990..8961658c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -2,3 +2,6 @@ packages: - "./native" - "./render" - "./plugins/*" + +overrides: + yaml@<1.10.3: ">=1.10.3"