Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-01-29 05:28:08 +0300
committerisaacs <i@izs.me>2011-01-29 05:28:08 +0300
commitb6828d58414b55bab150ce5e0837de04da94fd59 (patch)
treeb6128e288bc2c4d3d5a7692882d82b1d81051471 /lib/utils/default-config.js
parente206a4c35f8a272107bfe5a8bc1ca93f7588a96e (diff)
Add --node-version config to override engine checking
Set to null to disable engine checking altogether, or some semver string to use that instead of the actual version.
Diffstat (limited to 'lib/utils/default-config.js')
-rw-r--r--lib/utils/default-config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/default-config.js b/lib/utils/default-config.js
index 8d43307b2..cd0714a18 100644
--- a/lib/utils/default-config.js
+++ b/lib/utils/default-config.js
@@ -38,6 +38,7 @@ module.exports =
, loglevel : "info"
, manroot : path.join(process.execPath, "..", "..", "share", "man")
, "must-install" : true
+ , "node-version" : process.version
, outfd : stdio.stdoutFD
, proxy : process.env.http_proxy || null
, prune : undefined // if set to boolean false, then that means "never"