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

[BUG] Installing a package from a tarball from GitHub does not respect the files property in package.json #2648

Closed
papb opened this issue Feb 7, 2021 · 1 comment
Labels
Bug thing that needs fixing Release 6.x work is associated with a specific npm 6 release

Comments

@papb
Copy link

papb commented Feb 7, 2021

Current Behavior:

Installing a package from a tarball from GitHub does not respect the files property in package.json

Expected Behavior:

The files property should be respected

Steps To Reproduce:

  1. npm init -y
  2. npm i https://github.com/sequelize/sequelize/tarball/main
  3. ls node_modules/sequelize
  4. See that all files were installed, instead of respecting the files option within package.json

Environment:

  • OS: Windows
  • Node: 12.14.1
  • npm: 6.14.11
@papb papb added Bug thing that needs fixing Needs Triage needs review for next steps Release 6.x work is associated with a specific npm 6 release labels Feb 7, 2021
@darcyclarke darcyclarke removed the Needs Triage needs review for next steps label Feb 13, 2021
@darcyclarke
Copy link
Contributor

npm v6 is no longer in active development; We will continue to push security releases to v6 at our team's discretion as-per our Support Policy.

If your bug is preproducible on v7, please re-file this issue using our new issue template.

If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Release 6.x work is associated with a specific npm 6 release
Projects
None yet
Development

No branches or pull requests

2 participants