Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(planner): Implement ZBPACK_PLAN_TYPE flag (#417)
#### Description (required) ``` pan93412@panmac2:/Volumes/Dev/Zeabur/zbpack/ > zbpack -i . 2025/01/23 23:24:55 using submoduleName: zbpack ╔══════════════════════════════ Build Plan ═════════════════════════════╗ ║ provider │ go ║ ║───────────────────────────────────────────────────────────────────────║ ║ goVersion │ 1.22.0 ║ ║───────────────────────────────────────────────────────────────────────║ ║ entry │ cmd/zbpack/main.go ║ ╚═══════════════════════════════════════════════════════════════════════╝ pan93412@panmac2:/Volumes/Dev/Zeabur/zbpack/ > ZBPACK_PLAN_TYPE=nodejs zbpack -i . 2025/01/23 23:25:00 using submoduleName: zbpack 2025/01/23 23:25:00 Failed to read package.json: read file: read file package.json: open /Volumes/Dev/Zeabur/zbpack/package.json: no such file or directory 2025/01/23 23:25:00 invalid version empty version ╔══════════════════════════════ Build Plan ═════════════════════════════╗ ║ provider │ nodejs ║ ║───────────────────────────────────────────────────────────────────────║ ║ packageManager │ unknown ║ ║───────────────────────────────────────────────────────────────────────║ ║ framework │ none ║ ║───────────────────────────────────────────────────────────────────────║ ║ nodeVersion │ 20 ║ ║───────────────────────────────────────────────────────────────────────║ ║ installCmd │ COPY . . ║ ║ │ RUN yarn install ║ ║───────────────────────────────────────────────────────────────────────║ ║ startCmd │ node index.js ║ ╚═══════════════════════════════════════════════════════════════════════╝ pan93412@panmac2:/Volumes/Dev/Zeabur/zbpack/ > ZBPACK_PLAN_TYPE=static zbpack -i . 2025/01/23 23:25:04 using submoduleName: zbpack ╔══════════════════════════════ Build Plan ═════════════════════════════╗ ║ provider │ static ║ ║───────────────────────────────────────────────────────────────────────║ ║ serverless │ true ║ ╚═══════════════════════════════════════════════════════════════════════╝ ``` #### Related issues & labels (optional) - Closes ZEA-4533 - Closes ZEA-4532 - Suggested label: enhancement
- Loading branch information