You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a new `publish-registry` config option that allows setting a
separate registry URL for `npm publish` and `npm unpublish`, while
leaving the `registry` config in effect for all other operations
like install and view.
This enables workflows like using a local caching proxy (e.g. VSR,
Verdaccio) for reads while publishing directly to the public npm
registry, without needing per-package publishConfig or shell aliases.
When set in .npmrc:
registry=http://localhost:1337/npm
publish-registry=https://registry.npmjs.org/
All installs/views go through the local proxy, while publishes go directly to npmjs.org.
t.same(logs.warn,['Unknown publishConfig config "other". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.'])
0 commit comments