Add typescript to root devDependencies
Workspace packages run `tsc` in their typecheck scripts but don't declare typescript as a dep — they relied on it being hoisted. On a clean local install the binary wasn't present at node_modules/.bin/tsc, so every package failed with `tsc: command not found`. Declaring typescript at the root makes the dependency explicit and removes the latent fragility. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
946cfe7e44
commit
588323730f
2 changed files with 4 additions and 0 deletions
|
|
@ -75,6 +75,7 @@
|
|||
"react-router": "catalog:",
|
||||
"tailwindcss": "catalog:",
|
||||
"turbo": "^2.9.8",
|
||||
"typescript": "catalog:",
|
||||
"typescript-eslint": "^8.59.1",
|
||||
"vite": "catalog:",
|
||||
"vitest": "^4.1.5"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue