Skip to content

Conversation

@pkuczynski
Copy link

Listed a few additional files and folders which are currently included in the published npm package, while they should not be.

Listed a few additional files and folders which are currently included in the published npm package, while they should not be.
@XhmikosR
Copy link

@pkuczynski better go with the files package.json key:

"files": [
  "index.js"
]

@pkuczynski
Copy link
Author

Why do you think it would be better?

@XhmikosR
Copy link

Because it's one less file and we don't need to npm ignore other files.

@hilleer
Copy link

hilleer commented Oct 2, 2024

Why do you think it would be better?

Instead of instructing what is "ignored" you explicitly list what is included. Commonly less error prone 👍

@pkuczynski
Copy link
Author

Fair enough. Changed to your suggestion. Let me know if I should do anything more?

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.

3 participants