Skip to content

fix(package): exclude dev-only bin files from npm package (v1.5.2)#22

Merged
savez merged 1 commit intomainfrom
008-trim-npm-package
Apr 7, 2026
Merged

fix(package): exclude dev-only bin files from npm package (v1.5.2)#22
savez merged 1 commit intomainfrom
008-trim-npm-package

Conversation

@savez
Copy link
Copy Markdown
Owner

@savez savez commented Apr 7, 2026

Summary

  • Narrow files allowlist in package.json from ./bin to ./bin/run.js + ./bin/run.cmd
  • Excludes development-only entry points (dev.js, dev.cmd) from the published package
  • Reduces package from 101 to 99 files (163.6 kB → 163.4 kB)

Test plan

  • npm pack --dry-run confirms 99 files, no bin/dev.*
  • ./bin/run.js --help works correctly
  • npm test — 796 tests pass, 0 failures

…v1.5.2)

Narrow the `files` allowlist in package.json from `./bin` (entire directory)
to `./bin/run.js` + `./bin/run.cmd`, excluding development-only entry points
(dev.js, dev.cmd) that are unused at runtime. Reduces package from 101 to 99
files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Coverage Report

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

QA Report

Check Status
🔍 Lint
🧪 Test & Coverage
🔐 Secrets Scan

Generated automatically by QA Workflow

@savez savez merged commit 672c3f5 into main Apr 7, 2026
4 checks passed
@savez
Copy link
Copy Markdown
Owner Author

savez commented Apr 7, 2026

🎉 This PR is included in version 1.5.2

@savez savez added the released label Apr 7, 2026
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