nx
Version:
23 lines • 1.07 kB
TypeScript
import type { Tree } from '../../generators/tree';
import type { PnpmWorkspaceYaml } from '../pnpm-workspace';
import type { CatalogManager } from './manager';
import type { CatalogReference } from './types';
/**
* PNPM-specific catalog manager implementation
*/
export declare class PnpmCatalogManager implements CatalogManager {
readonly name = "pnpm";
readonly catalogProtocol = "catalog:";
isCatalogReference(version: string): boolean;
parseCatalogReference(version: string): CatalogReference | null;
getCatalogDefinitionFilePaths(): string[];
getCatalogDefinitions(treeOrRoot: Tree | string): PnpmWorkspaceYaml | null;
resolveCatalogReference(treeOrRoot: Tree | string, packageName: string, version: string): string | null;
validateCatalogReference(treeOrRoot: Tree | string, packageName: string, version: string): void;
updateCatalogVersions(treeOrRoot: Tree | string, updates: Array<{
packageName: string;
version: string;
catalogName?: string;
}>): void;
}
//# sourceMappingURL=pnpm-manager.d.ts.map