forked from imbytecat/fullstack-starter
refactor: 统一打包命令为 dist 体系,build 仅编译不打包
- build:linux/mac/win → dist/dist:linux/dist:mac/dist:win - Turbo 任务依赖:desktop#dist:* → server#compile → server#build - 根目录 bun dist 一条命令完成完整打包流水线 - 更新 AGENTS.md 文档同步命令变更
This commit is contained in:
12
AGENTS.md
12
AGENTS.md
@@ -20,6 +20,11 @@ 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 (depends on build)
|
||||
bun dist # Full packaging pipeline: server build → compile → desktop distributable (current platform)
|
||||
bun dist:linux # Full pipeline → Linux distributable
|
||||
bun dist:mac # Full pipeline → macOS distributable
|
||||
bun dist:win # Full pipeline → Windows distributable
|
||||
bun fix # Lint + format (Biome auto-fix)
|
||||
bun typecheck # TypeScript check across monorepo
|
||||
```
|
||||
@@ -43,9 +48,10 @@ bun db:studio # Open Drizzle Studio
|
||||
```bash
|
||||
bun dev # electron-vite dev mode (requires server dev running)
|
||||
bun build # electron-vite build (main + preload)
|
||||
bun build:win # Build + package for Windows
|
||||
bun build:mac # Build + package for macOS
|
||||
bun build:linux # Build + package for Linux
|
||||
bun dist # Build + package for current platform
|
||||
bun dist:linux # Build + package for Linux
|
||||
bun dist:mac # Build + package for macOS
|
||||
bun dist:win # Build + package for Windows
|
||||
bun fix # Biome auto-fix
|
||||
bun typecheck # TypeScript check
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user