From ce8e7a07bfd39aa0e56b039abe207dce9bf350a9 Mon Sep 17 00:00:00 2001 From: Ryan Bas Date: Fri, 15 May 2026 00:03:49 -0600 Subject: [PATCH] fix(ci): build changeset-sync-manifest before running version script The changesets action does a `git reset --hard` which wipes build artifacts (dist/ is gitignored). The version script then fails because `dist/bin.js` doesn't exist. Fix by building the package inline before invoking the binary. 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 54ec269..fc0f100 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "test": "vitest run", "typecheck": "tsc --build", "changeset": "changeset", - "version": "changeset version && node packages/changeset-sync-manifest/dist/bin.js packages/devtools-extension && prettier --write '**/package.json' pnpm-workspace.yaml", + "version": "changeset version && pnpm --filter @wolfcola/changeset-sync-manifest build && node packages/changeset-sync-manifest/dist/bin.js packages/devtools-extension && prettier --write '**/package.json' pnpm-workspace.yaml", "release": "pnpm build && changeset publish", "syncpack:lint": "syncpack lint", "syncpack:fix": "syncpack fix-mismatches",