fix: 修正 middleware 导入路径、清理 catalog 冗余项、同步文档

This commit is contained in:
2026-03-05 11:22:49 +08:00
parent 02bdfffe79
commit 04b8dedb3e
5 changed files with 5 additions and 12 deletions

View File

@@ -20,18 +20,12 @@ Guidelines for AI agents working in this Bun monorepo.
```bash
bun dev # Start all apps in dev mode
bun build # Build all apps
bun compile # Compile server to standalone binary (current platform, depends on build)
bun compile:linux # Compile server for Linux binaries (x64 + arm64)
bun compile:darwin # Compile server for macOS binaries (arm64 + x64)
bun compile:windows # Compile server for Windows x64 binary
bun dist # Full packaging pipeline: server build → compile → desktop distributable (current platform)
bun dist:linux # Full pipeline → Linux distributables (x64 + arm64)
bun dist:mac # Full pipeline → macOS distributables (arm64 + x64)
bun dist:win # Full pipeline → Windows distributable
bun fix # Lint + format (Biome auto-fix)
bun typecheck # TypeScript check across monorepo
```
> **Note:** `compile` and `dist` commands are app-level — run them inside `apps/server/` or `apps/desktop/` directly.
### Server App (`apps/server`)
```bash
bun dev # Vite dev server (localhost:3000)