[BUG] npm 7.x ignores publishConfig.registry #2525
Labels
Bug
thing that needs fixing
Priority 1
high priority issue
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
npm publish does not follow publishConfig.registry, if registry is .npmrc it will try to publish to that, if not npm.org.
Expected Behavior:
npm publish publish to defined publishConfig.registry as it did in 6.x.
Steps To Reproduce:
Install npm@7
Set publishConfig.registry IE: "publishConfig": { "registry": "https://..." }
Run npm publish
Environment:
OS: Mac OS BigSur
Node: 15.4.0
npm: 7.4.3
Same bug as
Bug 1937
Reverting back to npm@6 will solve the issue
The text was updated successfully, but these errors were encountered: