Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Project

Hierarchy

  • Project

Constructors

constructor

Properties

accessibleLocators

accessibleLocators: Set<LocatorHash> = new Set()

configuration

configuration: Configuration

cwd

lockFileChecksum

lockFileChecksum: string | null = null

optionalBuilds

optionalBuilds: Set<LocatorHash> = new Set()

originalPackages

originalPackages: Map<LocatorHash, Package> = new Map()

resolutionAliases

resolutionAliases: Map<DescriptorHash, DescriptorHash> = new Map()

Is meant to be populated by the consumer. Should the descriptor referenced by the key be requested, the descriptor referenced in the value will be resolved instead. The resolved data will then be used as final resolution for the initial descriptor.

Note that the lockfile will contain the second descriptor but not the first one (meaning that if you remove the alias during a subsequent install, it'll be lost and the real package will be resolved / installed).

Note that the lockfile will contain the second descriptor but not the first one (meaning that if you remove the alias during a subsequent install, it'll be lost and the real package will be resolved / installed).

storedChecksums

storedChecksums: Map<LocatorHash, string> = new Map()

storedDescriptors

storedDescriptors: Map<DescriptorHash, Descriptor> = new Map()

storedPackages

storedPackages: Map<LocatorHash, Package> = new Map()

storedResolutions

storedResolutions: Map<DescriptorHash, LocatorHash> = new Map()

workspaces

workspaces: Array<Workspace> = []

workspacesByCwd

workspacesByCwd: Map<PortablePath, Workspace> = new Map()

workspacesByIdent

workspacesByIdent: Map<IdentHash, Workspace> = new Map()

Accessors

topLevelWorkspace

Methods

Private addWorkspace

applyLightResolution

  • applyLightResolution(): Promise<void>

cacheCleanup

  • cacheCleanup(__namedParameters: object): Promise<void>

fetchEverything

  • fetchEverything(__namedParameters: object): Promise<void>

findLocatorForLocation

forgetResolution

  • forgetResolution(descriptor: Descriptor): void
  • forgetResolution(locator: Locator): void

forgetTransientResolutions

  • forgetTransientResolutions(): void

forgetVirtualResolutions

  • forgetVirtualResolutions(): void

generateLockfile

  • generateLockfile(): string

getDependencyMeta

getWorkspaceByCwd

getWorkspaceByDescriptor

getWorkspaceByFilePath

getWorkspaceByIdent

getWorkspaceByLocator

install

linkEverything

  • linkEverything(__namedParameters: object): Promise<void>

persist

  • persist(): Promise<void>

persistInstallStateFile

  • persistInstallStateFile(): Promise<void>

persistLockfile

  • persistLockfile(): Promise<void>

Private refreshWorkspaceDependencies

  • refreshWorkspaceDependencies(): void

resolveEverything

  • resolveEverything(opts: object | object): Promise<void>

restoreInstallState

  • restoreInstallState(): Promise<void>

Private setupResolutions

  • setupResolutions(): Promise<void>

Private setupWorkspaces

  • setupWorkspaces(): Promise<void>

tryWorkspaceByCwd

tryWorkspaceByDescriptor

tryWorkspaceByFilePath

tryWorkspaceByIdent

tryWorkspaceByLocator

validateEverything

  • validateEverything(opts: object): Promise<void>

Static find

Static generateBuildStateFile

Generated using TypeDoc