Skip to content

Commit 6b7cd49

Browse files
Peter Stengerclaude
andcommitted
Fix prepack for npm-only publish CI
The publish workflow installs deps with npm, so prepack must not call `pnpm run`. Switch both inner script calls to `npm run`, which works under both npm and pnpm. Also add `tsx` as a direct devDependency — it was previously only an optional peer of vitest, so `npm install` would not fetch it and the generate-ast-types step would fail. Caught by the v1.0.0 release run: npm publish failed in prepack with `sh: 1: pnpm: not found` after the restructure rewired the script. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f60a026 commit 6b7cd49

2 files changed

Lines changed: 37 additions & 8 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-lock.yaml

Lines changed: 35 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)