Function: workspaceRootAbove()
Documentation / @wtf/project-resolve / workspace / workspaceRootAbove
function workspaceRootAbove(from, __namedParameters): Promise<string | undefined>;Defined in: packages/project-resolve/src/workspace.ts:619
The root of the workspace that holds the folder from: the folder of the nearest
pnpm-workspace.yaml at or above it, or undefined, of a folder of none.
Parameters
| Parameter | Type |
|---|---|
from | string |
__namedParameters | WorkspaceOptions |
Returns
Promise<string | undefined>
