Skip to content

[BUG] npm 7.x ignores publishConfig.registry scope is provided #1994

@ohardy

Description

@ohardy

Current Behavior:

npm publish does not follow publishConfig.registry scoped registry configured in publishConfig.registry

Expected Behavior:

npm publish publish to defined scoped publishConfig.registry

Steps To Reproduce:

  1. Install npm@latest-7
  2. Set publishConfig.registry IE: "publishConfig": { "@My-Scope:registry": "https://..." }
  3. Run npm publish

Environment:

OS: Max OS 10.15.7
Node: 14.14.0
npm: 7.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions