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) 495 B
import type { Tree } from '@nx/devkit'; import type { MoveFileGeneratorSchema } from '../schema'; /** * Performs cleanup by deleting the source file and formatting if required. * * @param tree - The virtual file system tree. * @param normalizedSource - Normalized path of the original file. * @param options - Generator options controlling formatting behavior. */ export declare function finalizeMove(tree: Tree, normalizedSource: string, options: MoveFileGeneratorSchema): Promise<void>;