Skip to content

feat: consider publishing an npm-shrinkwrap file #2223

Closed

Description

@erezrokah

Is your feature request related to a problem? Please describe.

Related to #2202

When users run npm install netlify-cli -g they always get the latest minor/patch versions of CLI dependencies. This usually works ok and helps users get the latest security updates, but can cause issues when packages don't follow semver.

By publishing npm-shrinkwrap file we will be essentially locking down CLI dependencies during installation on users machines.

This is useful when installing the CLI globally, but prevents users from having full control of their dependency tree if installing the CLI locally.

See more here

Describe the solution you'd like

Publishing an npm-shrinkwrap file to pin CLI dependencies.

Describe alternatives you've considered

#2208
#1597

Can you submit a pull request?

Yes

Activity

  1. added
    type: feature
    on Apr 25, 2021
  2. eduardoboucas commented on Apr 26, 2021

    @eduardoboucas
    Member

    I think this is a great idea.

  3. self-assigned this
    on Apr 26, 2021
  4. added
    action_item
    on Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

action_itemtype: feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions