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

20 lines (19 loc) 833 B
/** * Clears all caches. Should be called when starting a new generator operation * to ensure fresh state. * * This function clears: * - Project source files cache * - File existence cache * - Compiler paths cache * - Tree read cache * - Dependency graph cache * * @param projectSourceFilesCache - Cache for source files per project * @param fileExistenceCache - Cache for file existence checks * @param compilerPathsCache - Cache for TypeScript compiler paths (pass by ref wrapper) * @param dependencyGraphCache - Cache for dependent project lookups */ export declare function clearAllCaches(projectSourceFilesCache: Map<string, string[]>, fileExistenceCache: Map<string, boolean>, compilerPathsCache: { value: Record<string, unknown> | null | undefined; }, dependencyGraphCache: Map<string, Set<string>>): void;