mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 04:43:35 +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:
@@ -61,6 +61,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sentry/vite-plugin": "5.1.1",
|
||||
"@types/node": "catalog:",
|
||||
"@types/qrcode": "^1.5.6",
|
||||
"@types/react": "^19.1.12",
|
||||
"@types/react-dom": "^19.1.9",
|
||||
@@ -72,7 +73,7 @@
|
||||
"ontime-utils": "workspace:*",
|
||||
"sass": "^1.57.1",
|
||||
"typescript": "catalog:",
|
||||
"vite": "8.0.1",
|
||||
"vite": "8.2.1",
|
||||
"vite-plugin-compression2": "2.5.1",
|
||||
"vite-plugin-svgr": "4.5.0",
|
||||
"vitest": "catalog:"
|
||||
|
||||
@@ -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:"
|
||||
},
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"nanoid": "^6.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "catalog:",
|
||||
"ontime-types": "workspace:*",
|
||||
"typescript": "catalog:",
|
||||
"vitest": "catalog:"
|
||||
|
||||
Generated
+377
-1095
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -7,7 +7,7 @@ catalog:
|
||||
rimraf: 6.0.1
|
||||
ts-essentials: 10.1.1
|
||||
typescript: 7.0.2
|
||||
vitest: 4.0.17
|
||||
vitest: 4.1.10
|
||||
|
||||
allowBuilds:
|
||||
'@parcel/watcher': true
|
||||
|
||||
Reference in New Issue
Block a user