Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
CI / CI OK (push) Has been cancelled
966 B
966 B
| name | description | argument-hint |
|---|---|---|
| build-antd | 执行 pnpm build:antd 生产构建任务并报告结果。Use when: 构建项目、打包、build、生产部署前验证。 | 可选:传入额外说明,如"检查是否有 TS 报错" |
执行生产构建
When to Use
- 用户要求构建/打包/build 项目
- 部署前验证代码是否能正常编译
- 检查 TypeScript 类型错误或构建产物
Procedure
- 在 monorepo 根目录
D:\Github\admin_web执行构建任务:pnpm build:antd - 等待构建完成,观察输出
- 报告构建结果:
- 成功:告知用户构建成功,输出产物路径
apps/web-antd/dist/ - 失败:提取关键错误信息,汇总报告给用户
- 成功:告知用户构建成功,输出产物路径
Notes
- 构建命令定义在 monorepo 根
package.json中 - 也可通过 VS Code Task
shell: pnpm build:antd执行(工作目录为D:\Github\admin_web) - 构建产物输出到
apps/web-antd/dist/