From 4c089756a109a3292fb3e37e8c4c3dd94370c52d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Sat, 18 Apr 2026 00:43:48 +0200 Subject: [PATCH] Fix sentry-config typecheck: explicit types: [node] in tsconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @types/node is a devDependency of the package but tsc only auto-picks it up locally due to root node_modules hoisting. CI runs with pnpm's isolated resolution so the dep isn't visible to tsc without an explicit types field — matching what packages/jobs/tsconfig.json does. Co-Authored-By: Claude Opus 4.7 (1M context) --- packages/sentry-config/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/sentry-config/tsconfig.json b/packages/sentry-config/tsconfig.json index 5a24989..3fbff51 100644 --- a/packages/sentry-config/tsconfig.json +++ b/packages/sentry-config/tsconfig.json @@ -2,7 +2,8 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "dist", - "rootDir": "src" + "rootDir": "src", + "types": ["node"] }, "include": ["src"] }