Function: workspaceRootOf()
Documentation / @wtf/project-resolve / workspace / workspaceRootOf
function workspaceRootOf(from, options): Promise<string>;Defined in: packages/project-resolve/src/workspace.ts:641
The root of the workspace at or above from, as the working folder of a process: the folder of
the nearest pnpm-workspace.yaml, or from itself, of none.
Parameters
| Parameter | Type |
|---|---|
from | string |
options | WorkspaceOptions |
Returns
Promise<string>
