mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-25 02:21:52 -04:00
* 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
27 lines
558 B
TypeScript
27 lines
558 B
TypeScript
import {
|
|
Dependencies,
|
|
PackageBin,
|
|
PackageManifest,
|
|
PnpmOptions,
|
|
StrictPnpmOptions,
|
|
} from '@pnpm/types'
|
|
import {LogBase} from '@pnpm/logger'
|
|
import {StoreController} from 'package-store'
|
|
|
|
export type WantedDependency = {
|
|
alias?: string,
|
|
pref: string, // package reference
|
|
dev: boolean,
|
|
optional: boolean,
|
|
raw: string, // might be not needed
|
|
}
|
|
|
|
export type SupiOptions = PnpmOptions & {
|
|
storeController?: StoreController
|
|
}
|
|
|
|
export type StrictSupiOptions = StrictPnpmOptions & {
|
|
storeController?: StoreController
|
|
pending?: boolean
|
|
}
|