@nx/devkit
Version:
9 lines (8 loc) • 598 B
TypeScript
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[]>;