Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created September 9, 2019 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/d6e2ce17fe916c68a72427bce6de0720 to your computer and use it in GitHub Desktop.
Save isaacs/d6e2ce17fe916c68a72427bce6de0720 to your computer and use it in GitHub Desktop.
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/lib/extract.js b/node_modules/libcipm/lib/extract.js
index 5681d1ce8..ba6c9e253 100644
--- a/node_modules/libcipm/lib/extract.js
+++ b/node_modules/libcipm/lib/extract.js
@@ -13,6 +13,8 @@ const ENABLE_WORKERS = false
const ExtractOpts = figgyPudding({
log: {}
+}, {
+ other () { return true }
})
module.exports = {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment