From 1031400ec3190ac5b3e0762f615138dbc0495f4a Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Sat, 21 Mar 2026 13:24:53 -0600 Subject: [PATCH] fix: include web build in main build command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The validate-pack step requires dist/web/standalone/server.js but the build command didn't produce it. Add build-web-if-stale.cjs to the build chain — it skips when up-to-date and rebuilds when needed. Co-Authored-By: Claude Opus 4.6 (1M context) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b7134ff3a..c9bd6b5d3 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "build:pi-coding-agent": "npm run build -w @gsd/pi-coding-agent", "build:native-pkg": "npm run build -w @gsd/native", "build:pi": "npm run build:native-pkg && npm run build:pi-tui && npm run build:pi-ai && npm run build:pi-agent-core && npm run build:pi-coding-agent", - "build": "npm run build:pi && tsc && npm run copy-resources && npm run copy-themes && npm run copy-export-html", + "build": "npm run build:pi && tsc && npm run copy-resources && npm run copy-themes && npm run copy-export-html && node scripts/build-web-if-stale.cjs", "stage:web-host": "node scripts/stage-web-standalone.cjs", "build:web-host": "npm --prefix web run build && npm run stage:web-host", "copy-resources": "node scripts/copy-resources.cjs",