UNPKG

nx

Version:

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

9 lines (8 loc) 423 B
/** * Resolve the workspace's installed `nx` version, or `null` if no installed * `nx` can be located. Routed through a cache-shielded, self-reference-free * `require.resolve` so the answer always reflects the workspace's * `node_modules`/PnP store rather than whichever `nx` package happens to be * loaded in the current process. See nrwl/nx#35444. */ export declare function getInstalledNxVersion(): string | null;