From 21198542460509b05b4acccd6a5d1c54c45001b7 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 26 Dec 2025 16:00:35 +0100 Subject: [PATCH] build: skip a2ui bundling in build --- docs/RELEASING.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/RELEASING.md b/docs/RELEASING.md index b1db4af95..38c603f99 100644 --- a/docs/RELEASING.md +++ b/docs/RELEASING.md @@ -17,6 +17,7 @@ Use `pnpm` (Node 22+) from the repo root. Keep the working tree clean before tag - [ ] If dependencies changed, run `pnpm install` so `pnpm-lock.yaml` is current. 2) **Build & artifacts** +- [ ] If A2UI inputs changed, run `pnpm canvas:a2ui:bundle` and commit any updated `src/canvas-host/a2ui/a2ui.bundle.js`. - [ ] `pnpm run build` (regenerates `dist/`). - [ ] Optional: `npm pack --pack-destination /tmp` after the build; inspect the tarball contents and keep it handy for the GitHub release (do **not** commit it). diff --git a/package.json b/package.json index 0b90d4142..c71658639 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "scripts": { "dev": "tsx src/index.ts", "docs:list": "tsx scripts/docs-list.ts", - "build": "pnpm canvas:a2ui:bundle && tsc -p tsconfig.json && tsx scripts/canvas-a2ui-copy.ts", + "build": "tsc -p tsconfig.json && tsx scripts/canvas-a2ui-copy.ts", "ui:install": "pnpm -C ui install", "ui:dev": "pnpm -C ui dev", "ui:build": "pnpm -C ui build",