Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PnpInstaller

Hierarchy

  • PnpInstaller

Implements

Constructors

constructor

Properties

Private asyncActions

asyncActions: AsyncActions = new miscUtils.AsyncActions(10)

Private isESMLoaderRequired

isESMLoaderRequired: boolean = false

Protected mode

mode: string = `strict`

Protected opts

Private packageRegistry

packageRegistry: PackageRegistry = new Map()

Private unpluggedPaths

unpluggedPaths: Set<string> = new Set()

Private virtualTemplates

virtualTemplates: Map<LocatorHash, object> = new Map()

Methods

attachCustomData

  • attachCustomData(customData: any): void

attachExternalDependents

  • attachExternalDependents(locator: Locator, dependentPaths: Array<PortablePath>): Promise<void>

attachInternalDependencies

  • attachInternalDependencies(locator: Locator, dependencies: Array<[]>): Promise<void>

finalizeInstall

  • finalizeInstall(): Promise<undefined | object>

finalizeInstallWithPnp

  • finalizeInstallWithPnp(pnpSettings: PnpSettings): Promise<void>

Private getDiskInformation

Private getPackageInformation

  • getPackageInformation(locator: Locator): object

installPackage

Private isEsmEnabled

  • isEsmEnabled(): boolean

Private locateNodeModules

  • locateNodeModules(ignorePattern?: string | null): Promise<(string & object)[]>

Private shouldBeUnplugged

transformPnpSettings

  • transformPnpSettings(pnpSettings: PnpSettings): Promise<void>

Private unplugPackage

Private unplugPackageIfNeeded

Object literals

Private customData

customData: object

store

store: Map<any, any> = new Map()

Generated using TypeDoc