Skip to content

fix: ship pre-built dist for npm install -g from GitHub#6

Merged
thompsonson merged 2 commits into
mainfrom
fix/ship-dist-for-global-install
Apr 29, 2026
Merged

fix: ship pre-built dist for npm install -g from GitHub#6
thompsonson merged 2 commits into
mainfrom
fix/ship-dist-for-global-install

Conversation

@thompsonson
Copy link
Copy Markdown
Owner

Summary

  • Remove dist/ from .gitignore and commit pre-built files
  • Drop prepare lifecycle script (kept prepublishOnly for registry publishes)
  • Bump to 0.9.1-thompsonson.2

Why

npm install -g thompsonson/codeburn#<tag> clones the repo and runs lifecycle scripts, but tsup (a devDependency) is not reliably available in that environment. Shipping the built dist/ avoids the build step at install time entirely.

Test plan

  • npm install -g thompsonson/codeburn#v0.9.1-thompsonson.2 completes without error
  • codeburn --version returns 0.9.1-thompsonson.2

Remove dist/ from .gitignore and commit built files so that
npm install -g thompsonson/codeburn#<tag> works without needing
tsup available in the install environment.

Drop prepare script (kept prepublishOnly for registry publishes).
Bump to 0.9.1-thompsonson.2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant