@node-kit/lerna-workspace-root
Version:
A simple utility to get the lerna workspace root
18 lines (15 loc) • 433 B
TypeScript
/**
* get lerna workspace root dir sync function
*
* @param cwd - work dir
* @returns result - workspace root dir
*/
export declare function lernaWorkspaceRoot(cwd?: string): Promise<string | null>;
/**
* get lerna workspace root dir sync function
*
* @param cwd - work dir
* @returns result - workspace root dir
*/
export declare function lernaWorkspaceRootSync(cwd?: string): string | null;
export { }