mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-02 00:03:26 +00:00
fix(portal): make type-check actually check something
The portal's type-check script was `tsc --noEmit`, run against a tsconfig.json whose "files" is [] and which only carries project references. tsc checks zero files and exits 0, so `pnpm turbo type-check --filter=@edr/freight-portal` has been reporting success without compiling anything. Switched to `tsc -b`, which the backoffice already uses and which follows the references. The portal is clean under it.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"preview": "vite preview --port 5173",
|
||||
"lint": "eslint src",
|
||||
"test": "vitest run",
|
||||
"type-check": "tsc --noEmit"
|
||||
"type-check": "tsc -b"
|
||||
},
|
||||
"dependencies": {
|
||||
"@edr/types": "workspace:*",
|
||||
|
||||
Reference in New Issue
Block a user