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

Whitelist published files #3

Closed
meszaros-lajos-gyorgy opened this issue Dec 22, 2021 · 1 comment
Closed

Whitelist published files #3

meszaros-lajos-gyorgy opened this issue Dec 22, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@meszaros-lajos-gyorgy
Copy link
Owner

Original issue by @david-fong at https://github.com/substack/minimist/issues/156

As per default, npm publish is currently including everything. This includes the tests folder, the editorconfig file, etc.

I believe it is safe to add a whitelist to the package.json- something like:

"files": ["readme.markdown"]
LICENSE, index.js, and package.json are always included.

@meszaros-lajos-gyorgy meszaros-lajos-gyorgy added the enhancement New feature or request label Dec 22, 2021
@meszaros-lajos-gyorgy
Copy link
Owner Author

A fix have been released with https://github.com/meszaros-lajos-gyorgy/minimist-lite/releases/tag/v2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants