Function: getWorkspaceLayout
▸ getWorkspaceLayout(tree): Object
Returns workspace defaults. It includes defaults folders for apps and libs, and the default scope.
Example:
1{ appsDir: 'apps', libsDir: 'libs', npmScope: 'myorg' }
2Parameters
| Name | Type | Description |
|---|---|---|
tree | Tree | file system tree |
Returns
Object
| Name | Type | Description |
|---|---|---|
appsDir | string | - |
libsDir | string | - |
npmScope | string | Deprecated This will be removed in Nx 17. Use getNpmScope instead. |
standaloneAsDefault | boolean | - |