Class: Workspaces

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Workspaces(root)

Parameters

NameType
rootstring

Properties

cachedProjectsConfig

Private cachedProjectsConfig: ProjectsConfigurations


root

Private root: string

Methods

mergeTargetDefaultsIntoProjectDescriptions

Private mergeTargetDefaultsIntoProjectDescriptions(projects, nxJson): Record<string, ProjectConfiguration>

Parameters

NameType
projectsRecord<string, ProjectConfiguration>
nxJsonNxJsonConfiguration<string[] | "*">

Returns

Record<string, ProjectConfiguration>


readProjectsConfigurations

readProjectsConfigurations(opts?): ProjectsConfigurations

Deprecated

Parameters

NameType
opts?Object
opts._includeProjectsFromAngularJson?boolean

Returns

ProjectsConfigurations


readWorkspaceConfiguration

readWorkspaceConfiguration(opts?): ProjectsConfigurations & NxJsonConfiguration<string[] | "*">

Deprecated. Use readProjectsConfigurations

Parameters

NameType
opts?Object
opts._ignorePluginInference?boolean
opts._includeProjectsFromAngularJson?boolean

Returns

ProjectsConfigurations & NxJsonConfiguration<string[] | "*">