Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files allow-list in package.json #112

Closed
wants to merge 1 commit into from

Conversation

emersion
Copy link

The current released version of the package contains a "test" directory with a total size of 146.9MiB. It contains a bunch of unrelated NPM packages in a node_modules directory, for instance angular.

I suspect this directory is local to the maintainer's machine and not meant to be included in NPM releases. To prevent this from happening, add a "files" allow-list to only include what's needed for the package to run in the output of "npm pack".

The current released version of the package contains a "test"
directory with a total size of 146.9MiB. It contains a bunch of
unrelated NPM packages in a node_modules directory, for instance
angular.

I suspect this directory is local to the maintainer's machine and
not meant to be included in NPM releases. To prevent this from
happening, add a "files" allow-list to only include what's needed
for the package to run in the output of "npm pack".
@emersion
Copy link
Author

Ah, apologies, this seems to be a duplicate of #106!

@emersion emersion closed this Jun 24, 2024
@emersion emersion deleted the pkg-files branch August 19, 2024 13:25
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