refactor: 优化项目结构 — 修复拼写、提取共享 interceptor、扁平化 db 目录、清理空包

This commit is contained in:
2026-03-05 10:58:55 +08:00
parent 0438b52c93
commit 0cd8b57d24
13 changed files with 55 additions and 121 deletions

View File

@@ -12,7 +12,7 @@ Guidelines for AI agents working in this Bun monorepo.
- **Apps**:
- `apps/server` - TanStack Start fullstack web app (see `apps/server/AGENTS.md`)
- `apps/desktop` - Electron desktop shell, sidecar server pattern (see `apps/desktop/AGENTS.md`)
- **Packages**: `packages/utils`, `packages/tsconfig` (shared configs)
- **Packages**: `packages/tsconfig` (shared TS configs)
## Build / Lint / Test Commands
@@ -207,8 +207,7 @@ export const myTable = pgTable('my_table', {
│ ├── electron-builder.yml # Packaging config
│ └── AGENTS.md
├── packages/
── tsconfig/ # Shared TS configs
│ └── utils/ # Shared utilities
── tsconfig/ # Shared TS configs
├── biome.json # Linting/formatting config
├── turbo.json # Turbo task orchestration
└── package.json # Workspace root + dependency catalog