mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
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:
1 parent
6c635397ba
commit
e97ef8e6e2
1 file changed
+1
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user