Skip to main content

Project

Hierarchy

  • Project
    • Project

Index

Constructors

constructor

  • new Project(root: PortablePath, cwd?: Path): Project

Properties

readonlyworkingDir

workingDir: Path

workspaces

workspaces: string[] = []

Accessors

rootPackage

Methods

checkEngineVersionConstraint

  • checkEngineVersionConstraint(): void

generateDeclarations

  • generateDeclarations(declarationConfig?: string, cwd?: PortablePath): Promise<unknown>

getWorkspacePackageNames

  • getWorkspacePackageNames(): string[]

isLernaManaged

  • isLernaManaged(): boolean

isRunningInWorkspaceRoot

  • isRunningInWorkspaceRoot(): boolean

isWorkspacesEnabled

  • isWorkspacesEnabled(): boolean