refactor(cli): naku 与 pack:release 合并为 pack CLI——release/build 子命令,--yes 非交互

This commit is contained in:
2026-10-29 15:36:06 +08:00
parent 8d4a5c4f94
commit 29019fc5d5
7 changed files with 26 additions and 55 deletions
+3 -3
View File
@@ -88,13 +88,13 @@ bun run dev:web # 前端 Vite(5175)
### 本地打包
```bash
bun run naku pack
bun run pack release
# 交互选:目标平台 · 打包内容 · 是否 tar.gz
# 产出 release/:dist · naku-server · naku-engine · naku-migrate · drizzle/
# 非交互(CI / 一键):
bun run pack:release
# 或 bun run naku pack --yes --target=bun-linux-arm64 --only=dist,naku-server
bun run pack release --yes
# 或 bun run pack release --yes --target=bun-linux-arm64 --only=dist,naku-server
```
### 服务器