forked from imbytecat/fullstack-starter
feat: 补充 root compile/dist 脚本,通过 Turbo filter 委托到对应 app
This commit is contained in:
18
AGENTS.md
18
AGENTS.md
@@ -18,14 +18,20 @@ Guidelines for AI agents working in this Bun monorepo.
|
||||
|
||||
### Root Commands (via Turbo)
|
||||
```bash
|
||||
bun dev # Start all apps in dev mode
|
||||
bun build # Build all apps
|
||||
bun fix # Lint + format (Biome auto-fix)
|
||||
bun typecheck # TypeScript check across monorepo
|
||||
bun dev # Start all apps in dev mode
|
||||
bun build # Build all apps
|
||||
bun compile # Compile server to standalone binary (current platform)
|
||||
bun compile:darwin # Compile server for macOS (arm64 + x64)
|
||||
bun compile:linux # Compile server for Linux (x64 + arm64)
|
||||
bun compile:windows # Compile server for Windows x64
|
||||
bun dist # Package desktop distributable (current platform)
|
||||
bun dist:linux # Package desktop for Linux (x64 + arm64)
|
||||
bun dist:mac # Package desktop for macOS (arm64 + x64)
|
||||
bun dist:win # Package desktop for Windows x64
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user