From f46324b7796e50e24d4c9027888e8f01d1b250ff Mon Sep 17 00:00:00 2001 From: Nathnael Date: Sat, 29 Aug 2026 08:14:00 +0000 Subject: [PATCH] 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. --- apps/edr-freight-web/portal/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/edr-freight-web/portal/package.json b/apps/edr-freight-web/portal/package.json index 81800f447..56aef25ab 100644 --- a/apps/edr-freight-web/portal/package.json +++ b/apps/edr-freight-web/portal/package.json @@ -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:*",