Skip to content

Not currently possible to ignore devDependencies with npm3 #235

Closed

Description

@max-mapper

If you are packaging an app and using npm3, there is no way to easily ignore devDependencies because npm3 flattens dependencies, so there is no way to know ahead of time what things are necessary to include in the --ignore list.

I just wanted to mention it here in case someone runs into this issue. The fix is to use the --yes-prune flag. Maybe we should consider defaulting this to true in the next major version? Is there a downside (other than backwards compat) to defaulting it to true?

Activity

  1. malept commented on Jan 10, 2016

    @malept
    Member

    Maybe we should consider defaulting this to true in the next major version?

    No objections from me.

    We should probably start keeping a changelog.md (or news.md) for these sorts of breaking changes. (See: http://keepachangelog.com/)

  2. malept commented on Jan 17, 2016

    @malept
    Member

    (See also: part of #35)

  3. added this to the 8.0.0 milestone on Apr 23, 2016
  4. added
    enhancement
    on Aug 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions