From f6c6b58c4cf430b74929584d83a8fc1495da9dc4 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 26 Mar 2026 02:18:44 +0000 Subject: [PATCH] fix(producer): exclude test files from tsc build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The producer's tsconfig.json included all src/**/* which caused tsc to fail on test files that import vitest (not a producer dependency). Exclude *.test.ts from the declaration build — vitest handles its own tsconfig for running tests. Co-Authored-By: Claude Opus 4.6 (1M context) --- packages/producer/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/producer/tsconfig.json b/packages/producer/tsconfig.json index d672cb2b7c..a154703df7 100644 --- a/packages/producer/tsconfig.json +++ b/packages/producer/tsconfig.json @@ -14,5 +14,5 @@ "sourceMap": true }, "include": ["src/**/*"], - "exclude": ["node_modules", "dist"] + "exclude": ["node_modules", "dist", "src/**/*.test.ts"] }