Skip to content

[cli] npm info should respect publishConfig#@private:registry config #1469

@JounQin

Description

@JounQin

Affected Packages

@changesets/cli

Problem

npm publish respects publishConfig#@private:registry config automatically but not npm info, it requires to be run with npm info --@private:registry=xxx, but in current implementation

Only --registry and publishConfig#registry are used, which makes npm info getting wrong result.

Proposed solution

Check publishConfig#@private:registry config also

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