@pumpkin-plugins/build API / repo / findRepoRoot
Function: findRepoRoot()
findRepoRoot(
from):string
Defined in: tools/build/src/repo.ts:9
Finds the repository root: the closest folder above from with a pnpm-workspace.yaml.
Parameters
from
string
A folder inside the repository.
Returns
string
The root, or from itself when none is found.