UNPKG

@nx/devkit

Version:

The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more. Learn more about [extending Nx by

11 lines (10 loc) 579 B
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;