mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 21:03:29 +00:00
8b4fd32048
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
19 lines
291 B
YAML
19 lines
291 B
YAML
packages:
|
|
- apps/*
|
|
- packages/*
|
|
|
|
catalog:
|
|
'@types/node': 22.19.11
|
|
rimraf: 6.0.1
|
|
ts-essentials: 10.1.1
|
|
typescript: 7.0.2
|
|
vitest: 4.1.10
|
|
|
|
allowBuilds:
|
|
'@parcel/watcher': true
|
|
'@sentry/cli': false
|
|
core-js: false
|
|
electron: true
|
|
electron-winstaller: false
|
|
esbuild: true
|