Skip to content

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

ParameterType
fromstring
optionsWorkspaceOptions

Returns

Promise<string>