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:
Ullrich Schäfer 2026-05-08 00:37:42 +02:00
parent 946cfe7e44
commit 588323730f
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
2 changed files with 4 additions and 0 deletions

View file

@ -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"

3
pnpm-lock.yaml generated
View file

@ -182,6 +182,9 @@ importers:
turbo:
specifier: ^2.9.8
version: 2.9.8
typescript:
specifier: 'catalog:'
version: 5.9.3
typescript-eslint:
specifier: ^8.59.1
version: 8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@5.9.3)