Skip to content

docs: rewrite README for ESM v2 + scope npm package to src/#26

Merged
pocketrocket merged 1 commit into
mainfrom
chore/release-2.0.0-prep
Jun 2, 2026
Merged

docs: rewrite README for ESM v2 + scope npm package to src/#26
pocketrocket merged 1 commit into
mainfrom
chore/release-2.0.0-prep

Conversation

@pocketrocket
Copy link
Copy Markdown
Owner

Release prep for the v2.0.0 (ESM) major.

  • README: rewritten for ESM usage (import floatify from "floatify"), documents the v2 breaking change and Node ≥ 18 requirement, and drops the dead Travis / Scrutinizer badges.
  • package.json: add files: ["src"] so the published npm tarball ships only the source. Before this, npm pack included test/ (17 kB), .github/ and the eslint config; now the tarball is just src/, README.md, LICENSE, package.json.

npm pack --dry-run → 4 files. node --test → 281 passing.

- README: ESM usage (import), drop dead Travis/Scrutinizer badges, document
  v2 breaking change + Node >=18 requirement.
- package.json: add files: ["src"] so the published tarball ships only the
  source (excludes test/, .github/, eslint config).
@pocketrocket pocketrocket force-pushed the chore/release-2.0.0-prep branch from a206bc2 to 50c150a Compare June 2, 2026 20:59
@pocketrocket pocketrocket merged commit 76345f9 into main Jun 2, 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.

1 participant