@nx/devkit
Version:
11 lines (10 loc) • 579 B
TypeScript
import { type Tree } from 'nx/src/devkit-exports';
export declare const CREATE_NODES_V2_TYPE_RENAMES: ReadonlyMap<string, string>;
export default function renameCreateNodesV2Types(tree: Tree): Promise<void>;
/**
* Rewrites named imports and re-exports of the deprecated `*V2` plugin types
* from `@nx/devkit` to their canonical names. Only the named bindings are
* touched — the module specifier, the `import`/`export` keyword, any `type`
* modifier, and any default import are left untouched.
*/
export declare function rewriteCreateNodesV2Types(source: string): string;