diff options
author | Ville Lahdenvuo <tuhoojabotti@gmail.com> | 2016-11-07 12:11:38 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2016-11-18 01:38:46 +0300 |
commit | f3087cc58c903d9a70275be805ebaf0eadbcbe1b (patch) | |
tree | 409e0031a8c2ab3ff28fb4d0b8336415eb04b4af /doc/misc/npm-config.md | |
parent | 7a6425bcd4decde5d4b0af8b507e98723a07c680 (diff) |
doc: Add a note about uppercase env vars
Credit: @tuhoojabotti
Reviewed-By: @iarna
PR-URL: https://github.com/npm/npm/pull/14546
Diffstat (limited to 'doc/misc/npm-config.md')
-rw-r--r-- | doc/misc/npm-config.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/misc/npm-config.md b/doc/misc/npm-config.md index 035ee4eb4..26f7d3c61 100644 --- a/doc/misc/npm-config.md +++ b/doc/misc/npm-config.md @@ -20,7 +20,10 @@ interpreted as a configuration parameter. For example, putting configuration parameter to `bar`. Any environment configurations that are not given a value will be given the value of `true`. Config values are case-insensitive, so `NPM_CONFIG_FOO=bar` will work the -same. +same. However, please note that inside [npm-scripts](/misc/scripts) +npm will set it's own environment variables and Node will prefer +those lowercase versions over any uppercase ones that you might set. +For details see [this issue](https://github.com/npm/npm/issues/14528). ### npmrc Files |