Skip to content

chore: npm pre-publish readiness (license, metadata, prepublishOnly) - #16

Merged
sam-parsons merged 1 commit into
mainfrom
chore/pre-publish-npm-readiness
Apr 26, 2026
Merged

sam-parsons merged 1 commit into
mainfrom
chore/pre-publish-npm-readiness

Conversation

@sam-parsons

Copy link
Copy Markdown
Owner

Implements the pre-publish checklist.

Changes

  • prepublishOnly: runs npm run check && npm run build so publishes never ship without tests passing and a fresh dist/.
  • LICENSE: MIT text at the repo root (copyright holder sam-parsons, year 2026).
  • package.json metadata: author, repository, bugs, and homepage pointing at this GitHub repo.

Verification

npm publish --dry-run includes LICENSE, README.md, package.json, and dist/* as expected.

Closes #15.

Add prepublishOnly to run check and build before publish so dist is
always fresh. Add LICENSE, set author to sam-parsons, and wire
repository, bugs, and homepage for the npm registry and GitHub.

Closes #15.
@sam-parsons
sam-parsons merged commit b9f64bf into main Apr 26, 2026
1 check passed
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.

Pre-publish checklist for npm

1 participant