@nx/devkit
Version:
10 lines (9 loc) • 519 B
TypeScript
import { type Tree } from 'nx/src/devkit-exports';
import type { CatalogDefinitions } from './types';
export declare function readCatalogConfigFromFs(filename: string, fullPath: string): CatalogDefinitions | null;
export declare function readCatalogConfigFromTree(filename: string, tree: Tree): CatalogDefinitions | null;
export declare function updateCatalogVersionsInFile(filename: string, treeOrRoot: Tree | string, updates: Array<{
packageName: string;
version: string;
catalogName?: string;
}>): void;