Skip to content

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

@papb

Description

@papb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingRelease 6.xwork is associated with a specific npm 6 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions