Class: Workspaces
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Workspaces(root
)
Parameters
Name | Type |
---|---|
root | string |
Properties
cachedProjectsConfig
• Private
cachedProjectsConfig: ProjectsConfigurations
root
• Private
root: string
Methods
mergeTargetDefaultsIntoProjectDescriptions
▸ Private
mergeTargetDefaultsIntoProjectDescriptions(projects
, nxJson
): Record
<string
, ProjectConfiguration
>
Parameters
Name | Type |
---|---|
projects | Record <string , ProjectConfiguration > |
nxJson | NxJsonConfiguration <string [] | "*" > |
Returns
Record
<string
, ProjectConfiguration
>
readProjectsConfigurations
▸ readProjectsConfigurations(opts?
): ProjectsConfigurations
Deprecated
Parameters
Name | Type |
---|---|
opts? | Object |
opts._includeProjectsFromAngularJson? | boolean |
Returns
readWorkspaceConfiguration
▸ readWorkspaceConfiguration(opts?
): ProjectsConfigurations
& NxJsonConfiguration
<string
[] | "*"
>
Deprecated. Use readProjectsConfigurations
Parameters
Name | Type |
---|---|
opts? | Object |
opts._ignorePluginInference? | boolean |
opts._includeProjectsFromAngularJson? | boolean |
Returns
ProjectsConfigurations
& NxJsonConfiguration
<string
[] | "*"
>