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

13 lines (12 loc) 451 B
import { Tree } from 'nx/src/devkit-exports'; /** * Formats all the created or updated files using Prettier * @param tree - the file system tree */ export declare function formatFiles(tree: Tree, options?: { /** * TODO(v21): Stop sorting tsconfig paths by default, paths are now less common/important * in Nx workspace setups, and the sorting causes comments to be lost. */ sortRootTsconfigPaths: boolean; }): Promise<void>;