Skip to content

Exclude test files from published npm package#51

Merged
trotzig merged 1 commit intomainfrom
claude/jolly-elion
Mar 22, 2026
Merged

Exclude test files from published npm package#51
trotzig merged 1 commit intomainfrom
claude/jolly-elion

Conversation

@trotzig
Copy link
Copy Markdown
Contributor

@trotzig trotzig commented Mar 22, 2026

Summary

  • Changes "files" in package.json from ["src"] to ["src/*.js"]
  • Prevents src/__tests__/ (test files and test images) from being included in the published npm package

Test plan

  • Run npm pack --dry-run and verify only src/*.js files are listed, with no __tests__/ entries

🤖 Generated with Claude Code

Changes files field from "src" to "src/*.js" to prevent
__tests__/ directory and test images from being included
in the published package.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@trotzig trotzig merged commit 69282be into main Mar 22, 2026
1 check passed
@trotzig trotzig deleted the claude/jolly-elion branch March 22, 2026 21:33
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