From 52de302f2b8b23831551657caee1df663448e427 Mon Sep 17 00:00:00 2001 From: Pouzor Date: Tue, 30 Jun 2026 09:49:38 +0200 Subject: [PATCH] build: typecheck with tsc -b to match the production build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `typecheck` script ran `tsc --noEmit` against the root tsconfig, which has `files: []` and only project references — so without `-b` it checked nothing in src and let real type errors (e.g. theme_id) reach Docker CI. Switch to `tsc -b` (same as the build) so pre-commit and the Quality job catch them locally. ha-relevant: no --- frontend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/package.json b/frontend/package.json index a699031..f4838d1 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -7,7 +7,7 @@ "dev": "vite", "build": "tsc -b && vite build", "lint": "eslint .", - "typecheck": "tsc --noEmit", + "typecheck": "tsc -b", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage",