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

9 lines (8 loc) 598 B
import { CreateNodesContext } from 'nx/src/devkit-exports'; /** * @deprecated Use {@link calculateHashesForCreateNodes} instead, which batches * workspace-context hashing across multiple project roots in a single call. * This will be removed in Nx 24. */ export declare function calculateHashForCreateNodes(projectRoot: string, options: object, context: CreateNodesContext, additionalGlobs?: string[]): Promise<string>; export declare function calculateHashesForCreateNodes(projectRoots: string[], options: object, context: CreateNodesContext, additionalGlobs?: string[][]): Promise<string[]>;