Skip to content

fix: build via prepack so dist is always published - #21

Merged
jsahleen merged 1 commit into
mainfrom
msg-cli-prepack-dist
Jul 20, 2026
Merged

fix: build via prepack so dist is always published#21
jsahleen merged 1 commit into
mainfrom
msg-cli-prepack-dist

Conversation

@jsahleen

Copy link
Copy Markdown
Collaborator

Summary

Prevents shipping a package whose files: ["dist", "bin"] whitelist matches nothing when a release CI build step is missing.

Test plan

  • npm pack --dry-run runs prepack and lists dist/ contents
  • CI green on the PR

Made with Cursor

Mirror the msg #46 fix: run the build before npm pack/publish so the
files whitelist cannot ship an empty package if a CI build step is skipped.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jsahleen
jsahleen merged commit c0aa035 into main Jul 20, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.2.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@jsahleen
jsahleen deleted the msg-cli-prepack-dist branch July 20, 2026 03:04
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