UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

12 lines (11 loc) 328 B
/** * Recursive function that walks back up the directory * tree to try and find a workspace file. * * @param dir Directory to start searching with */ export declare function findWorkspaceRoot(dir: string): WorkspaceTypeAndRoot | null; export interface WorkspaceTypeAndRoot { type: 'nx' | 'angular'; dir: string; }