From e97ef8e6e203a75ab5837f5f32326dc5a097ea2b Mon Sep 17 00:00:00 2001 From: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com> Date: Tue, 28 Jul 2026 11:37:52 -0400 Subject: [PATCH] chore(frontend): make typecheck script actually check types (#329) The root tsconfig.json declares "files": [] and only project references, so tsc --noEmit resolved zero input files and always exited 0. Frontend type errors passed typecheck unnoticed; only the build script caught them via tsc -b. Use tsc -b so the script follows the project references, matching how build already invokes it. --- frontend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/package.json b/frontend/package.json index cd5c45be..b76410b0 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "vite", "build": "tsc -b && vite build", - "typecheck": "tsc --noEmit", + "typecheck": "tsc -b", "lint": "eslint .", "preview": "vite preview", "test": "vitest",