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) 496 B
import type { Tree } from '@nx/devkit'; import type { MoveContext } from '../types/move-context'; /** * Fallback move strategy when no aliases or exports are involved. * * @param tree - The virtual file system tree. * @param ctx - Resolved move context. * @param getProjectSourceFiles - Function to get project source files with caching. */ export declare function handleDefaultMove(tree: Tree, ctx: MoveContext, getProjectSourceFiles: (tree: Tree, projectRoot: string) => string[]): void;