Skip to content

Commit ce8e7a0

Browse files
ryanbas21claude
andcommitted
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) <noreply@anthropic.com>
1 parent 7b134d2 commit ce8e7a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"test": "vitest run",
2121
"typecheck": "tsc --build",
2222
"changeset": "changeset",
23-
"version": "changeset version && node packages/changeset-sync-manifest/dist/bin.js packages/devtools-extension && prettier --write '**/package.json' pnpm-workspace.yaml",
23+
"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",
2424
"release": "pnpm build && changeset publish",
2525
"syncpack:lint": "syncpack lint",
2626
"syncpack:fix": "syncpack fix-mismatches",

0 commit comments

Comments
 (0)