mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-05 14:36:10 -04:00
29 lines
614 B
TypeScript
29 lines
614 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
|
|
}
|
|
|
|
export type ReporterFunction = (logObj: LogBase) => void
|