From bb52477e1b1b0548f81f2cf596ea870fe9e6dc06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Fri, 17 Apr 2026 01:32:41 -0400 Subject: [PATCH] revert: restore tsconfig.base.json needed by packages/adapter-* 37a57d5 removed this file as an orphan, but 4 workspace packages (adapter-utils/claude/codex/gemini) still extend it via "extends": "../../tsconfig.base.json". Vite's esbuild transform follows the chain at build time, so the file is load-bearing for electron-vite build despite having no direct root tsconfig reference. --- tsconfig.base.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tsconfig.base.json diff --git a/tsconfig.base.json b/tsconfig.base.json new file mode 100644 index 00000000..25e06d83 --- /dev/null +++ b/tsconfig.base.json @@ -0,0 +1,18 @@ +{ + "compilerOptions": { + "target": "ES2023", + "module": "NodeNext", + "moduleResolution": "NodeNext", + "esModuleInterop": true, + "strict": true, + "skipLibCheck": true, + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "outDir": "dist", + "rootDir": "src", + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "isolatedModules": true + } +}