Closed
Description
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@latest-7
- Set
publishConfig.registry
IE:"publishConfig": { "registry": "https://..." }
- Run
npm publish
Environment:
- OS: Windows 10
- Node: 12.18.1
- npm: 7.0.0-rc.3