From ff6fec7eab8c8ad3e8febbea69584b9735016b3d Mon Sep 17 00:00:00 2001 From: Danijel Martinek Date: Tue, 5 May 2026 08:30:19 +0200 Subject: [PATCH] fix(tsconfig): set rootDir explicitly in feature packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TypeScript emits an informational diagnostic when source files span multiple top-level dirs (src/ + tests/) without explicit rootDir. Setting rootDir="." satisfies the recommendation and matches the include pattern. Updates blog, auth, marketing-pages — and Plan 4 doc so navigation (still pending) starts correct. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../plans/2026-05-04-plan-4-marketing-pages-navigation.md | 1 + packages/auth/tsconfig.json | 1 + packages/blog/tsconfig.json | 1 + packages/marketing-pages/tsconfig.json | 1 + 4 files changed, 4 insertions(+) diff --git a/docs/superpowers/plans/2026-05-04-plan-4-marketing-pages-navigation.md b/docs/superpowers/plans/2026-05-04-plan-4-marketing-pages-navigation.md index 536352e..4d57622 100644 --- a/docs/superpowers/plans/2026-05-04-plan-4-marketing-pages-navigation.md +++ b/docs/superpowers/plans/2026-05-04-plan-4-marketing-pages-navigation.md @@ -152,6 +152,7 @@ "extends": "@repo/typescript-config/base.json", "compilerOptions": { "outDir": "dist", + "rootDir": ".", "lib": ["ES2022", "DOM"], "jsx": "preserve", "paths": { diff --git a/packages/auth/tsconfig.json b/packages/auth/tsconfig.json index ee87524..d925326 100644 --- a/packages/auth/tsconfig.json +++ b/packages/auth/tsconfig.json @@ -2,6 +2,7 @@ "extends": "@repo/typescript-config/base.json", "compilerOptions": { "outDir": "dist", + "rootDir": ".", "lib": ["ES2022", "DOM"], "jsx": "preserve", "paths": { diff --git a/packages/blog/tsconfig.json b/packages/blog/tsconfig.json index ee87524..d925326 100644 --- a/packages/blog/tsconfig.json +++ b/packages/blog/tsconfig.json @@ -2,6 +2,7 @@ "extends": "@repo/typescript-config/base.json", "compilerOptions": { "outDir": "dist", + "rootDir": ".", "lib": ["ES2022", "DOM"], "jsx": "preserve", "paths": { diff --git a/packages/marketing-pages/tsconfig.json b/packages/marketing-pages/tsconfig.json index ee87524..d925326 100644 --- a/packages/marketing-pages/tsconfig.json +++ b/packages/marketing-pages/tsconfig.json @@ -2,6 +2,7 @@ "extends": "@repo/typescript-config/base.json", "compilerOptions": { "outDir": "dist", + "rootDir": ".", "lib": ["ES2022", "DOM"], "jsx": "preserve", "paths": {