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.
This commit is contained in:
Chris Scott authored and GitHub committed 2026-07-28 11:37:52 -04:00
1 parent 6c635397ba
commit e97ef8e6e2
1 file changed
+1 -1
+1 -1
View File
@@ -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",