I am able to publish and install packages from my internal/private registry by configuring my .npmrc like so:
$ npm config set registry https://mynpm-registry.com
However, I would like to configure my .npmrc to proxy out to public https://registry.npmjs.com/, if the package is not available in my internal regisry.
I understand that I can potentially configure multiple npm profiles - one for internal and one for external registry - like so:
$ npmrc -c my-internal-profile
$ npmrc -c my-external-profile
...but this is not what I am looking for. I would like to have a single .npmrc configuration, with both registries, that will proxy out to the public registry if I don't have a package available in my internal registry.
Is there anyway to do this?