@storm-software/config-tools
Version:
⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.
17 lines (15 loc) • 622 B
TypeScript
/**
* Find the monorepo root directory, searching upwards from `path`.
*
* @param pathInsideMonorepo - The path inside the monorepo to start searching from
* @returns The monorepo root directory
*/
declare function findWorkspaceRootSafe(pathInsideMonorepo?: string): string | undefined;
/**
* Find the monorepo root directory, searching upwards from `path`.
*
* @param pathInsideMonorepo - The path inside the monorepo to start searching from
* @returns The monorepo root directory
*/
declare function findWorkspaceRoot(pathInsideMonorepo?: string): string;
export { findWorkspaceRoot, findWorkspaceRootSafe };