Closed alash3 closed 7 years ago
Why would you remove the ones from .npmrc
? We can have both.
The npmconfig* environment variables take the .npmrc into consideration, so they aren't removed, they are replaced.
npm_config
env vars are only available when the code is run as in a npm run script. It should have both.
I disagree; npm-specific configurations need to stay npm specific. The proxy settings used when not running as an npm script should respect environment variables.
The current design of get-proxy does not support the no_proxy environment variable. Are you planning on supporting that?
Hi,
I noticed you are using only the .npmrc file, but not the values that can be passed to npm via cli arguments. This PR switches that. Let me know your thoughts.
Thanks, Albert