Skip to content

Exclude test files from npm package#977

Closed
veksen wants to merge 2 commits intopiscinajs:currentfrom
veksen:exclude-tests-from-npm
Closed

Exclude test files from npm package#977
veksen wants to merge 2 commits intopiscinajs:currentfrom
veksen:exclude-tests-from-npm

Conversation

@veksen
Copy link
Copy Markdown

@veksen veksen commented Feb 9, 2026

Summary

Adds test to the existing .npmignore to exclude the test/ directory from the published npm package.

The test files (~208KB) are shipped to npm but serve no purpose for consumers. With ~7M weekly downloads, excluding them reduces aggregate bandwidth.

Changes

  • Added test to .npmignore

The `test/` directory (~208KB) is currently shipped to npm but serves
no purpose for package consumers.
Comment thread .npmignore
eslint.config.js
.editorconfig
.worktrees No newline at end of file
.worktreestest
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new line missed?

@metcoder95 metcoder95 added the backport v5 Backport related with v5.x label Feb 10, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 5, 2026

This issue has been marked as stale because it has been opened 45 days without activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions Bot added the stale label Apr 5, 2026
@github-actions
Copy link
Copy Markdown

This PR was closed because it has been stalled for 10 days with no activity.

@github-actions github-actions Bot closed this Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport v5 Backport related with v5.x stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants