--registry argument should override package.json#publishConfig.registry


(Alan) #1

Refer to: https://github.com/npm/npm/issues/5522

What I Wanted to Do

–registry CLI argument overrides package.json publishConfig.registry

What Happened Instead

package.json publishConfig.registry overrides --registry CLI argument

Reproduction Steps

Refer to: https://github.com/npm/npm/issues/5522

Details

Refer to: https://github.com/npm/npm/issues/5522


(Alan) #2

this is arguable a “bug”, not an “idea”