Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[RRFC] Please don't store registry info in packge-lock.json #821

Open
@JounQin

Description

Motivation ("The Why")

It's very bad for different users prefer different registries globally, I accidentally commit unexpected changes several times.

Example

FYI, yarn 2+ and pnpm don't store registry info in their lockfile.

How

Current Behaviour

Read it from .npmrc instead.

Desired Behaviour

As title, registry should not be stored into package-lock.json, it would also make package-lock.json much smaller.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /