686 B
686 B
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' }
Parameters
| Name | Type | Description |
|---|---|---|
tree |
Tree |
file system tree |
Returns
Object
| Name | Type |
|---|---|
appsDir |
string |
libsDir |
string |
standaloneAsDefault |
boolean |