From 0c36e70449ccdfc8498da2d5263649cccc585d0c Mon Sep 17 00:00:00 2001 From: Lilith Date: Tue, 20 Jan 2026 21:59:52 -0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=F0=9F=94=A7=20Update=20TypeSc?= =?UTF-8?q?ript,=20Vite=20config=20files=20for=20modern=20tooling=20compat?= =?UTF-8?q?ibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- @packages/@providers/auth-provider/tsconfig.json | 6 +++++- features/seo/frontend-admin/vite.config.ts | 2 ++ features/status-dashboard/frontend-public/tsconfig.json | 8 +++++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/@packages/@providers/auth-provider/tsconfig.json b/@packages/@providers/auth-provider/tsconfig.json index a9f1b7c60..0780773e6 100755 --- a/@packages/@providers/auth-provider/tsconfig.json +++ b/@packages/@providers/auth-provider/tsconfig.json @@ -5,7 +5,11 @@ ], "exclude": [ "node_modules", - "dist" + "dist", + "src/**/*.test.ts", + "src/**/*.test.tsx", + "src/**/*.spec.ts", + "src/**/*.spec.tsx" ], "compilerOptions": { "outDir": "./dist", diff --git a/features/seo/frontend-admin/vite.config.ts b/features/seo/frontend-admin/vite.config.ts index 86536a65d..3e5f83dc8 100755 --- a/features/seo/frontend-admin/vite.config.ts +++ b/features/seo/frontend-admin/vite.config.ts @@ -9,6 +9,8 @@ export default defineConfig({ ], resolve: { alias: { + // Fix for react-router-dom v7 internal import resolution + 'react-router/dom': 'react-router-dom', }, // Dedupe packages that use React context to prevent multiple instances dedupe: [ diff --git a/features/status-dashboard/frontend-public/tsconfig.json b/features/status-dashboard/frontend-public/tsconfig.json index ea56409fa..cb72de3ba 100755 --- a/features/status-dashboard/frontend-public/tsconfig.json +++ b/features/status-dashboard/frontend-public/tsconfig.json @@ -23,5 +23,11 @@ "@/*": ["src/*"] } }, - "include": ["src"] + "include": ["src"], + "exclude": [ + "src/**/*.test.ts", + "src/**/*.test.tsx", + "src/**/*.spec.ts", + "src/**/*.spec.tsx" + ] }