From 588323730f294ba992dbd095d11534c887f2d3c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Fri, 8 May 2026 00:37:42 +0200 Subject: [PATCH] Add typescript to root devDependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- package.json | 1 + pnpm-lock.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/package.json b/package.json index 0d72601..dfa2066 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e5e03ff..17f04eb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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)