Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/lib/ci.js b/lib/ci.js
index 309ad2f78..a0df3b86f 100644
--- a/lib/ci.js
+++ b/lib/ci.js
@@ -4,6 +4,7 @@ const npm = require('./npm.js')
const Installer = require('libcipm')
const log = require('npmlog')
const path = require('path')
+const pack = require('./pack.js')
ci.usage = 'npm ci'
@@ -27,7 +28,8 @@ function ci (args, cb) {
fmode: npm.modes.file,
umask: npm.modes.umask,
npmVersion: npm.version,
- tmp: npm.tmp
+ tmp: npm.tmp,
+ dirPacker: pack.packGitDep
}
for (const key in npm.config.list[0]) {
diff --git a/node_modules/libcipm/index.js b/node_modules/libcipm/index.js
index 7c9b59f62..f5e46c075 100644
--- a/node_modules/libcipm/index.js
+++ b/node_modules/libcipm/index.js
@@ -370,7 +370,10 @@ class Installer {
pkg, stage, pkgPath, LifecycleOpts(this.opts).concat({
// TODO: can be removed once npm-lifecycle is updated to modern
// config practices.
- config: Object.assign({}, this.opts, { log: null }),
+ config: Object.assign({}, this.opts, {
+ log: null,
+ dirPacker: null
+ }),
dir: this.prefix
}))
).tap(() => { this.timings.scripts += Date.now() - start })
diff --git a/node_modules/libcipm/lib/extract.js b/node_modules/libcipm/lib/extract.js
index 5681d1ce8..f87d2c791 100644
--- a/node_modules/libcipm/lib/extract.js
+++ b/node_modules/libcipm/lib/extract.js
@@ -12,7 +12,8 @@ let workerFarm
const ENABLE_WORKERS = false
const ExtractOpts = figgyPudding({
- log: {}
+ log: {},
+ dirPacker: {}
})
module.exports = {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.