Commit 351d55d
fix: pin @types/node to deduplicate Vite type resolutions (#3650)
pnpm resolved @types/node to two different patch versions (22.19.11 and
22.19.15) across workspace packages. This caused Vite's Plugin<any> type
from one resolution to be incompatible with Plugin<any> from the other,
breaking the skeleton template's typecheck with TS2769.
The duplicate resolution also caused snapshot infrastructure failures in
hydrogen-react unit tests (Image.test.tsx, RichText.test.tsx,
getProductOptions.test.ts) due to mismatched vitest peer dependency trees.
Pin @types/node to 22.19.15 in the catalog so pnpm produces a single
resolution across all workspace packages.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b0a75c1 commit 351d55d
2 files changed
+85
-509
lines changed
0 commit comments