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