mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-20 14:39:06 +00:00
chore(deps): dedupe vite and esbuild across the monorepo
vitest 4.0.17 declared `vite: ^6 || ^7`, so it pulled a second vite@7.3.1 into the install alongside the vite@8.0.1 the client builds with, meaning tests transformed through a different vite than the build. vitest 4.1 widened the range to include ^8, collapsing both to a single vite@8.2.1. Likewise the tree carried three esbuild copies (0.24.2 from the server, 0.25.5 via tsx, 0.27.4 via vite). vite 8 takes esbuild as a peer and tsx 4.23 deps ~0.28, so aligning the server on ^0.28 leaves one copy. Also pin @types/node to the catalog in the client and utils workspaces. Neither declared it, so transitive @types/* packages resolved it to 25.4.0 and the client was type-checked against Node 25 typings while the app ships on Node 22 (engines.node ~22). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NWs1vf42msmoJ21ABvQMpm
This commit is contained in:
@@ -31,11 +31,11 @@
|
||||
"@types/multer": "2.1.0",
|
||||
"@types/node": "catalog:",
|
||||
"@types/ws": "^8.5.10",
|
||||
"esbuild": "^0.24.0",
|
||||
"esbuild": "^0.28.0",
|
||||
"ontime-types": "workspace:*",
|
||||
"server-timing": "^3.3.3",
|
||||
"ts-essentials": "catalog:",
|
||||
"tsx": "^4.19.2",
|
||||
"tsx": "^4.23.12",
|
||||
"typescript": "catalog:",
|
||||
"vitest": "catalog:"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user