UNPKG

@nxworker/workspace

Version:

Nx plugin providing generators for managing workspace files, including the move-file generator for safely moving files between projects while updating all imports

11 lines (10 loc) 536 B
import type { Tree } from '@nx/devkit'; /** * Creates the target file and updates related caches. * * @param tree - The virtual file system tree. * @param normalizedTarget - The normalized target file path. * @param fileContent - The content to write to the target file. * @param updateFileExistenceCache - Function to update file existence cache. */ export declare function createTargetFile(tree: Tree, normalizedTarget: string, fileContent: string, updateFileExistenceCache: (filePath: string, exists: boolean) => void): void;