Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Commit 20b7372

Browse files
committedAug 12, 2019
fix: respect and retain all configs passed in
This is part 1 of fixing the issue where npm ci does not share npmrc values with lifecycle scripts
1 parent 21efbcc commit 20b7372

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed
 

‎index.js

+1-20
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,6 @@ const statAsync = BB.promisify(fs.stat)
2121
const symlinkAsync = BB.promisify(fs.symlink)
2222
const writeFileAsync = BB.promisify(fs.writeFile)
2323

24-
const CipmOpts = figgyPudding({
25-
also: {},
26-
dev: 'development',
27-
development: {},
28-
dirPacker: {},
29-
force: {},
30-
global: {},
31-
ignoreScripts: 'ignore-scripts',
32-
'ignore-scripts': {},
33-
log: {},
34-
loglevel: {},
35-
only: {},
36-
prefix: {},
37-
prod: 'production',
38-
production: {},
39-
Promise: { default: () => BB },
40-
umask: {}
41-
})
42-
4324
const LifecycleOpts = figgyPudding({
4425
config: {},
4526
'script-shell': {},
@@ -59,7 +40,7 @@ const LifecycleOpts = figgyPudding({
5940

6041
class Installer {
6142
constructor (opts) {
62-
this.opts = CipmOpts(opts)
43+
this.opts = opts
6344

6445
// Stats
6546
this.startTime = Date.now()

0 commit comments

Comments
 (0)
This repository has been archived.