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

6 lines (5 loc) 243 B
import type { Tree } from 'nx/src/devkit-exports'; /** * Utility to act on all files in a tree that are not ignored by git. */ export declare function visitNotIgnoredFiles(tree: Tree, dirPath: string, visitor: (path: string) => void): void;