@alexaegis/workspace-tools
Version:
Tools for working with javascript workspaces
11 lines • 502 B
TypeScript
import { CollectFileDirnamesUpDirectoryTreeOptions } from './collect-file-dirname-paths-up-directory-tree.function.options.js';
/**
* Returns the furthest folder where a package.json file is present
*
* (If you're searching for the nearest, use the getWorkspaceRoot function)
*
* @param cwd process.cwd()
* @returns
*/
export declare const getWorkspaceRoot: (rawOptions?: CollectFileDirnamesUpDirectoryTreeOptions) => string | undefined;
//# sourceMappingURL=get-workspace-root.function.d.ts.map