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) 553 B
import { ProjectConfiguration } from '@nx/devkit'; /** * Builds the target file path from the target project and optional directory. * * @param targetProject - Target project configuration * @param sourceFilePath - Original source file path (used to extract filename) * @param projectDirectory - Optional directory within the target project, appended to base directory * @returns The full target file path */ export declare function buildTargetPath(targetProject: ProjectConfiguration, sourceFilePath: string, projectDirectory?: string): string;