@pumpkin-plugins/static-hermes-runtime API / workspace-root / resolveConsumerWorkspaceRoot
Function: resolveConsumerWorkspaceRoot()
resolveConsumerWorkspaceRoot(
workingDirectory?):string
Defined in: workspace-root.ts:10
Resolve the project directory used for runtime caches and toolchain files.
Parameters
workingDirectory?
string
Consumer working directory; defaults to the current directory.
Returns
string
The nearest pnpm workspace root, or the working directory when none contains it.