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:
Nathnael
2026-08-29 08:14:00 +00:00
parent 16c059252d
commit f46324b779

View File

@@ -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:*",