From 7e285b27df59e6b1177396aa700246626b44b223 Mon Sep 17 00:00:00 2001 From: megaproxy Date: Tue, 26 May 2026 19:11:34 +0100 Subject: [PATCH] pnpm check: use `tsc -b` so it catches what `pnpm build` catches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `tsc --noEmit` and `tsc -b` apply slightly different narrowing rules on project-reference codebases — the prior check missed the spawn_pane hostId narrowing bug (commit e1ceaab) that pnpm build immediately flagged. Both tsconfig.app.json and tsconfig.node.json already set `noEmit: true`, so `tsc -b` does no emission — the only difference is build-mode dependency tracking + slightly stricter type checks. Co-Authored-By: Claude Opus 4.7 (1M context) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 309cd0e..8ce45a3 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "preview": "vite preview", "test": "vitest run", "test:watch": "vitest", - "check": "tsc --noEmit", + "check": "tsc -b", "build:mcpb": "node scripts/build-mcpb.mjs", "gen:readme": "node scripts/gen-readme-shortcuts.mjs", "tauri": "tauri"