Skip to content

fix: build dist before npm publish#12

Merged
kuitos merged 1 commit intomainfrom
feat/build-dist-publish
Apr 8, 2026
Merged

fix: build dist before npm publish#12
kuitos merged 1 commit intomainfrom
feat/build-dist-publish

Conversation

@kuitos
Copy link
Copy Markdown
Owner

@kuitos kuitos commented Apr 8, 2026

Summary

  • switch the published package entrypoints from src to compiled dist output
  • add build/prepack scripts so tsc runs before npm packaging
  • update the release workflow to install dependencies before semantic-release
  • add a regression test covering package publish config and release workflow expectations

Why

The package previously published raw TypeScript from src with no build step in the release flow. This change makes npm publish compiled JavaScript from dist instead.

Validation

  • bun test
  • bun run build
  • npm pack --dry-run --json

@kuitos kuitos marked this pull request as ready for review April 8, 2026 06:19
@kuitos kuitos changed the title [codex] build dist before npm publish fix: build dist before npm publish Apr 8, 2026
@kuitos kuitos merged commit 5e1118c into main Apr 8, 2026
1 check passed
@kuitos kuitos deleted the feat/build-dist-publish branch April 8, 2026 06:21
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

🎉 This PR is included in version 1.6.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant