chore: directory migration - gateway→server, web→client/electron

This commit is contained in:
2026-09-08 19:16:35 +08:00
parent fd9f99a3f9
commit f9d757b5e5
243 changed files with 5095 additions and 228 deletions

View File

@ -0,0 +1,24 @@
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
// vitest 的 globals: true 让 describe/it/expect 无需 import
// jest-dom 提供 toBeInTheDocument 等 matcher 的类型。
// 不加这两个的话 tsc --noEmit 会把整套测试报成「找不到名称」。
"types": ["vitest/globals", "@testing-library/jest-dom"]
},
"include": ["src", "test/components", "vitest.config.ts"]
}