addProjectConfiguration
▸ addProjectConfiguration(tree, projectName, projectConfiguration): void
Adds project configuration to the Nx workspace.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
tree | Tree | the file system tree |
projectName | string | unique name. Often directories are part of the name (e.g., mydir-mylib) |
projectConfiguration | ProjectConfiguration | project configuration |
Returns
Section titled “Returns”void
▸ addProjectConfiguration(tree, projectName, projectConfiguration, standalone): void
Adds project configuration to the Nx workspace.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
tree | Tree | the file system tree |
projectName | string | unique name. Often directories are part of the name (e.g., mydir-mylib) |
projectConfiguration | ProjectConfiguration | project configuration |
standalone | boolean | whether the project is configured in workspace.json or not |
Returns
Section titled “Returns”void
Deprecated
Nx only supports standalone projects. The standalone parameter is ignored and will be removed in a future version. Use the 3-argument overload instead.