From b119eb5e4f97d789d1529b11120ecb044a2f30de Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 24 Oct 2026 13:34:54 +0000 Subject: [PATCH] build(types): keep `tsc -b` output out of `dist` `pnpm run check` runs `tsc -b packages/downgrader/tsconfig.json`, which also builds the referenced types project. Without an override, that project emitted `.d.ts`, `.d.ts.map` and `tsconfig.tsbuildinfo` into `packages/types/dist`, unbuild's publish folder. Mirror the downgrader and send them to the gitignored `out/` instead. Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01NLn5bDFeN1aE2QDjKkSmsv --- packages/types/tsconfig.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/types/tsconfig.json b/packages/types/tsconfig.json index b9efe9b..7f1c823 100644 --- a/packages/types/tsconfig.json +++ b/packages/types/tsconfig.json @@ -1,5 +1,9 @@ { "extends": "uncheck/tsconfig/middleapi/lib", + "compilerOptions": { + "tsBuildInfoFile": "out/.tsbuildinfo", + "outDir": "out" + }, "include": ["package.json", "src"], "exclude": [ "**/*.test.*",