Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Workspace

Hierarchy

  • Workspace

Constructors

constructor

Properties

anchoredDescriptor

anchoredDescriptor: Descriptor

anchoredLocator

anchoredLocator: Locator

cwd

dependencies

dependencies: Map<IdentHash, Descriptor> = new Map()

locator

locator: Locator

manifest

manifest: Manifest

project

project: Project

relativeCwd

relativeCwd: PortablePath

workspacesCwds

workspacesCwds: Set<PortablePath> = new Set()

Methods

accepts

  • accepts(range: string): boolean

computeCandidateName

  • computeCandidateName(): string

getRecursiveWorkspaceChildren

  • getRecursiveWorkspaceChildren(): Workspace[]

getRecursiveWorkspaceDependencies

  • getRecursiveWorkspaceDependencies(__namedParameters?: object): Set<Workspace>
  • Find workspaces marked as dependencies/devDependencies of the current workspace recursively.

    Parameters

    • Default value __namedParameters: object = {}
      • dependencies: ("dependencies" | "devDependencies")[]

    Returns Set<Workspace>

    all the workspaces marked as dependencies

getRecursiveWorkspaceDependents

  • getRecursiveWorkspaceDependents(__namedParameters?: object): Set<Workspace>
  • Find workspaces which include the current workspace as a dependency/devDependency recursively.

    Parameters

    • Default value __namedParameters: object = {}
      • dependencies: ("dependencies" | "devDependencies")[]

    Returns Set<Workspace>

    all the workspaces marked as dependents

persistManifest

  • persistManifest(): Promise<void>

setup

  • setup(): Promise<void>

Generated using TypeDoc