Function: getWorkspaceLayout

getWorkspaceLayout(tree): Object

Returns workspace defaults. It includes defaults folders for apps and libs, and the default scope.

Example:

{ appsDir: 'apps', libsDir: 'libs', npmScope: 'myorg' }

Parameters

NameTypeDescription
treeTreefile system tree

Returns

Object

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