- Bun workspaces:apps/web(Vue 3.5 + Vite 8 + naive-ui)· apps/server(Hono 4.13 + Drizzle)· packages/shared(契约类型) - 代码骨架:四表 Drizzle schema · 11 个端点占位(501)· 管理面口令中间件 · 同步引擎占位(5 分钟 tick + 防重入) - 命令链:dev / build / test / lint / type-check / db:*(见 AGENTS.md)
20 lines
667 B
JSON
20 lines
667 B
JSON
{
|
|
"extends": "./tsconfig.app.json",
|
|
|
|
// Override to include only test files and clear exclusions.
|
|
// Application code imported in tests is automatically included via module resolution.
|
|
"include": ["src/**/__tests__/*", "env.d.ts"],
|
|
"exclude": [],
|
|
|
|
"compilerOptions": {
|
|
// Vitest runs in a different environment than the application code.
|
|
// Adjust lib and types accordingly.
|
|
"lib": [],
|
|
"types": ["node", "jsdom"],
|
|
|
|
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
// Specified here to keep it out of the root directory.
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo"
|
|
}
|
|
}
|