workspace-pkgs
Version:
A simple utility to get the workspace project list
18 lines (15 loc) • 386 B
TypeScript
/**
* workspaceInfo
*
* @param cwd - the pkg path
* @returns result - Promise\<string[] | null\>
*/
export declare function workspacePkgs(cwd?: string): Promise<string[] | null>;
/**
* workspaceInfoSync
*
* @param cwd - the pkg path
* @returns result - string[] | null
*/
export declare function workspacePkgsSync(cwd?: string): string[] | null;
export { }