Skip to content

[FEATURE] Expand the list of default ignored files #48

@ruyadorno

Description

@ruyadorno

What / Why

A large population of npm users are concerned about package sizes and with the advent of the file explorer now available on the npmjs.com website we can now see a number of common files that are very intrinsic to the JS community that we could start ignoring from package bundles without too much friction to the larger ecosystem.

Being a breaking change if we are to do it, we should bring this in time for npm@7

How

Expand the current list of ignored files to also ignore by default:

  • .editorconfig
  • .gitattributes
  • .idea (folders and more editors similar configs/store)
  • .travis.yml (and/or more ci services)
  • .yo-rc.json

...and whatever more we think makes sense

Who

  • @npm/cli-team

References

  • n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Discussionis pending a discussionsemver:majorbackwards-incompatible breaking changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions