Skip to content

fix: ensure dist is always built before publishing#38

Open
oilyquack wants to merge 1 commit intomainfrom
quickfix/update-readme
Open

fix: ensure dist is always built before publishing#38
oilyquack wants to merge 1 commit intomainfrom
quickfix/update-readme

Conversation

@oilyquack
Copy link
Copy Markdown
Contributor

  • Add prepublishOnly script to package.json so yarn build runs automatically before yarn publish, preventing a publish without dist/
  • Add CI step to verify package contents include dist/ using yarn pack
  • Update README publishing instructions to remove redundant steps, add missing git pull --rebase, and clarify that yarn build is now handled automatically

- Add `prepublishOnly` script to package.json so `yarn build` runs
  automatically before `yarn publish`, preventing a publish without dist/
- Add CI step to verify package contents include dist/ using yarn pack
- Update README publishing instructions to remove redundant steps,
  add missing git pull --rebase, and clarify that yarn build is now
  handled automatically
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