From 3c369eca52d0adb4e515206421a5b5e8a9db3608 Mon Sep 17 00:00:00 2001 From: shentry <111497882+shentry@users.noreply.github.com> Date: Sun, 26 Jul 2026 13:39:00 +0800 Subject: [PATCH] chore: move pnpm overrides to pnpm-workspace.yaml The `immutable` and `lodash-es` dependency pins lived in the deprecated `pnpm.overrides` field of dashboard/package.json. pnpm 10 reads project settings from pnpm-workspace.yaml, so keep the pins alongside the existing `allowBuilds` settings to make sure they keep applying on future pnpm releases. Verified with the CI-pinned pnpm 10.28.2: `pnpm install --frozen-lockfile` succeeds, pnpm-lock.yaml is byte-identical to before the move (its `overrides` block is preserved), `pnpm run build` passes, and the installed tree still resolves immutable@4.3.8 and lodash-es@4.17.23. Closes #8601 --- dashboard/package.json | 6 ------ dashboard/pnpm-workspace.yaml | 4 ++++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dashboard/package.json b/dashboard/package.json index 81a353bf2d..63d39f7e41 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -74,11 +74,5 @@ "vue-cli-plugin-vuetify": "2.5.8", "vue-tsc": "1.8.8", "vuetify-loader": "^2.0.0-alpha.9" - }, - "pnpm": { - "overrides": { - "immutable": "4.3.8", - "lodash-es": "4.17.23" - } } } diff --git a/dashboard/pnpm-workspace.yaml b/dashboard/pnpm-workspace.yaml index a23eae0866..2ab4e731e6 100644 --- a/dashboard/pnpm-workspace.yaml +++ b/dashboard/pnpm-workspace.yaml @@ -1,3 +1,7 @@ allowBuilds: esbuild: true vue-demi: true + +overrides: + immutable: 4.3.8 + lodash-es: 4.17.23