mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-30 21:11:55 -04:00
feat: incremental rebuild (#30)
* fix: run node-gyp rebuild when install is not specified * feat: after pnpm install --ignore-script, pnpm rebuild is incremental * refactor: add --pending option to rebuild, only store pending ids * fix: javascript magic to avoid if statement * fix: update pendingBuilds also when removing packages * fix: remove old code, use testDefaults correctly * test: add test for rebuild --pending * chore: make my IDE and TSLint happy * chore: @types/es6-promise makes IntelliJ happy and Travis sad * fix: use Set, only append to pendingBuilds if ignoreScripts is true * test: pendingBuilds handled correctly * test: install and uninstall behavior with pendingBuilds * fix: saveModules only when needed * fix: Set has size, not length, add comment about the use of .concat
This commit is contained in:
committed by
Zoltan Kochan
parent
9256ad9e5c
commit
c2be0a1069
@@ -110,7 +110,7 @@ test('do not run install scripts if unsafePerm is false', async (t: tape.Test) =
|
||||
postinstall: `node -e "process.stdout.write('postinstall')" | json-append output.json`,
|
||||
}
|
||||
})
|
||||
const opts = Object.assign(testDefaults(), { unsafePerm: false })
|
||||
const opts = testDefaults({ unsafePerm: false })
|
||||
await installPkgs(['json-append@1.1.1'], opts)
|
||||
await install(opts)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user