Workspace
Index
Constructors
constructor
Parameters
workspaceCwd: PortablePath
__namedParameters: { project: Project }
Returns Workspace
Properties
publicreadonlyanchoredDescriptor
publicreadonlyanchoredLocator
publicreadonlycwd
publicmanifest
publicreadonlyproject
publicreadonlyrelativeCwd
publicreadonlyworkspacesCwds
Accessors
anchoredPackage
Returns Package
Methods
accepts
Parameters
range: string
Returns boolean
computeCandidateName
Returns string
getRecursiveWorkspaceChildren
Returns Workspace[]
all the child workspaces
getRecursiveWorkspaceDependencies
Find workspaces marked as dependencies/devDependencies of the current workspace recursively.
Parameters
__namedParameters: { dependencies?: HardDependencies[] } = {}
Returns Set<Workspace>
all the workspaces marked as dependencies
getRecursiveWorkspaceDependents
Find workspaces which include the current workspace as a dependency/devDependency recursively.
Parameters
__namedParameters: { dependencies?: HardDependencies[] } = {}
Returns Set<Workspace>
all the workspaces marked as dependents
persistManifest
Returns Promise<void>
setup
Returns Promise<void>
Retrieves all the child workspaces of a given root workspace recursively