From c21df905fc832a8faa30fb1a4a11d290a3825d80 Mon Sep 17 00:00:00 2001 From: Sil Date: Tue, 6 Oct 2026 20:28:15 +0200 Subject: [PATCH] Rebuild dist when the version changes The bundle carries the version, so the release pull request must rebuild it, or check fails on the stale dist. Co-Authored-By: Claude Opus 5.5 (1M context) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5388029..fb95050 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "check": "vp check && vp test && pnpm build && git diff --exit-code -- dist", "fix": "vp check --fix", "test": "vp test", - "release": "changeset version && pnpm install --lockfile-only", + "release": "changeset version && pnpm install --lockfile-only && pnpm build", "release:publish": "pnpm build && git diff --exit-code -- dist && changeset publish" }, "packageManager": "pnpm@12.8.1",