From a158c194a0ff7f5570e9507790519899a0eb9a2e Mon Sep 17 00:00:00 2001 From: Tim Bradgate Date: Mon, 19 Oct 2026 20:21:57 +0100 Subject: [PATCH] Type-check e2e tsconfig and fix TS5107 under TS6 Drop the deprecated moduleResolution=node/CommonJS overrides so the e2e config inherits bundler resolution, and run it as part of `typecheck` so CI covers e2e/ and playwright.config.ts (#1452). Co-Authored-By: Claude Sonnet 5.5 --- client-v3/package.json | 2 +- client-v3/tsconfig.e2e.json | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/client-v3/package.json b/client-v3/package.json index e9771fefd..1dc2d374c 100644 --- a/client-v3/package.json +++ b/client-v3/package.json @@ -15,7 +15,7 @@ "lint:eslint-check": "eslint 'src/**/*.{ts,vue}' 'e2e/**/*.ts' 'playwright.config.ts'", "format": "prettier --write 'src/**/*.{ts,vue,json,css,scss}' 'e2e/**/*.ts' 'playwright.config.ts'", "format:check": "prettier --check 'src/**/*.{ts,vue,json,css,scss}' 'e2e/**/*.ts' 'playwright.config.ts'", - "typecheck": "tsc --noEmit -p tsconfig.json", + "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.e2e.json", "test": "vitest", "test:ui": "vitest --ui", "test:run": "vitest run", diff --git a/client-v3/tsconfig.e2e.json b/client-v3/tsconfig.e2e.json index 5a294f189..08c2f65fb 100644 --- a/client-v3/tsconfig.e2e.json +++ b/client-v3/tsconfig.e2e.json @@ -1,8 +1,6 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "moduleResolution": "node", - "module": "CommonJS", "types": ["node", "@playwright/test"], "noEmit": true },