diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-04-05 22:51:49 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-04-05 23:00:02 +0200 |
commit | e37effe4cec98688e75d770f4d0b7f68927e2b73 (patch) | |
tree | e7efa0fc8a2139f9aba4b66ea3f3613262f20cef /deps/npm/lib/ci.js | |
parent | 026f6b787a7a23597790f1f0b076c58a68c7c38b (diff) | |
download | node-new-e37effe4cec98688e75d770f4d0b7f68927e2b73.tar.gz |
Revert "deps: upgrade npm to 5.8.0"
This reverts commit 25a816dcda7b1db0929501acfe13f2fe5119759b.
PR-URL: https://github.com/nodejs/node/pull/19837
Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'deps/npm/lib/ci.js')
-rw-r--r-- | deps/npm/lib/ci.js | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/deps/npm/lib/ci.js b/deps/npm/lib/ci.js deleted file mode 100644 index 6a3183d977..0000000000 --- a/deps/npm/lib/ci.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict' - -const Installer = require('libcipm') -const lifecycleOpts = require('./config/lifecycle.js') -const npm = require('./npm.js') -const npmlog = require('npmlog') -const pacoteOpts = require('./config/pacote.js') - -ci.usage = 'npm ci' - -ci.completion = (cb) => cb(null, []) - -Installer.CipmConfig.impl(npm.config, { - get: npm.config.get, - set: npm.config.set, - toLifecycle (moreOpts) { - return lifecycleOpts(moreOpts) - }, - toPacote (moreOpts) { - return pacoteOpts(moreOpts) - } -}) - -module.exports = ci -function ci (args, cb) { - return new Installer({ - config: npm.config, - log: npmlog - }) - .run() - .then( - (details) => console.error(`added ${details.pkgCount} packages in ${ - details.runTime / 1000 - }s`) - ) - .then(() => cb(), cb) -} |