Skip to content

chore: exclude dist/test and dist/storybook from npm tarball#31

Merged
gfargo merged 1 commit into
mainfrom
claude/recursing-mclean-b99f8c
May 14, 2026
Merged

chore: exclude dist/test and dist/storybook from npm tarball#31
gfargo merged 1 commit into
mainfrom
claude/recursing-mclean-b99f8c

Conversation

@gfargo
Copy link
Copy Markdown
Owner

@gfargo gfargo commented May 14, 2026

Summary

  • Tightens the files field in package.json to list only the public entry points instead of the entire dist/ directory
  • Removes compiled test output (dist/test/enhanced-select-input.test.js at ~88 kB) and storybook binary (dist/storybook.*) from the published npm package
  • Verified with npm pack --dry-run — tarball now contains only dist/index.js, dist/index.d.ts, and dist/enhanced-select-input/

Test plan

  • Run npm run build in worktree — succeeds
  • Run npm pack --dry-run — tarball lists 7 files, no dist/test/* or dist/storybook.*

🤖 Generated with Claude Code

Tighten the `files` field to list only the public entry points so that
compiled test output (~88 kB) and the storybook binary are not shipped
to consumers.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gfargo gfargo merged commit d6b44ca into main May 14, 2026
0 of 3 checks 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