From d16544c1b783f4aac0270c69b8e07dd8dae245fc Mon Sep 17 00:00:00 2001 From: Tsahi Matsliah Date: Tue, 2 Jun 2026 16:15:08 +0300 Subject: [PATCH] fix: use pnpm 10 for storybook vercel build The storybook Vercel project relies on the root vercel.json install command, which ran a bare `pnpm install`. Vercel pins that project to pnpm@9.x, which cannot read the pnpm-10-format `patchedDependencies` in the lockfile (regenerated in #6044), failing with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH and breaking every storybook deploy. Force corepack pnpm@10.33.4, mirroring the fix already applied to packages/webapp/vercel.json in #6044. Co-Authored-By: Claude Opus 4.8 --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 701b094076a..91f8fd37ae9 100644 --- a/vercel.json +++ b/vercel.json @@ -1,3 +1,3 @@ { - "installCommand": "pnpm install" + "installCommand": "if [ -f pnpm-workspace.yaml ]; then corepack pnpm@10.33.4 install; elif [ -f ../../pnpm-workspace.yaml ]; then corepack pnpm@10.33.4 --dir ../.. install; else corepack pnpm@10.33.4 install; fi" }