diff options
author | nlf <quitlahok@gmail.com> | 2021-08-31 19:13:35 +0300 |
---|---|---|
committer | nlf <quitlahok@gmail.com> | 2021-08-31 19:13:35 +0300 |
commit | 1fa549db0955b55fd680a658809a6d97be306b06 (patch) | |
tree | 2290bf0bba453dbbfbe81e8a3a5dd622ce2aa0b0 /node_modules | |
parent | 3e8ada596f211506366edc73ed9487948200ec71 (diff) |
deps: @npmcli/config@2.3.0
* feat: export npm_config_local_prefix and npm_config_global_prefix
to the environment
Diffstat (limited to 'node_modules')
-rw-r--r-- | node_modules/@npmcli/config/lib/set-envs.js | 2 | ||||
-rw-r--r-- | node_modules/@npmcli/config/package.json | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/node_modules/@npmcli/config/lib/set-envs.js b/node_modules/@npmcli/config/lib/set-envs.js index 370a2f3ff..8eed0221b 100644 --- a/node_modules/@npmcli/config/lib/set-envs.js +++ b/node_modules/@npmcli/config/lib/set-envs.js @@ -86,6 +86,8 @@ const setEnvs = (config) => { // also set some other common nice envs that we want to rely on env.HOME = config.home + env.npm_config_global_prefix = config.globalPrefix + env.npm_config_local_prefix = config.localPrefix if (cliConf.editor) env.EDITOR = cliConf.editor diff --git a/node_modules/@npmcli/config/package.json b/node_modules/@npmcli/config/package.json index f80669640..b31eecbe3 100644 --- a/node_modules/@npmcli/config/package.json +++ b/node_modules/@npmcli/config/package.json @@ -1,6 +1,6 @@ { "name": "@npmcli/config", - "version": "2.2.0", + "version": "2.3.0", "files": [ "lib" ], |