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' } 2

Parameters

NameTypeDescription
treeTreefile system tree

Returns

Object

NameTypeDescription
appsDirstring-
libsDirstring-
npmScopestringDeprecated This will be removed in Nx 17. Use getNpmScope instead.
standaloneAsDefaultboolean-