UNPKG

@nx/devkit

Version:

The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more. Learn more about [extending Nx by

22 lines 1.04 kB
import { type Tree } from 'nx/src/devkit-exports'; import { type CatalogManager } from './manager'; import type { CatalogDefinitions, CatalogReference } from './types'; /** * Yarn Berry (v4+) catalog manager implementation */ export declare class YarnCatalogManager implements CatalogManager { readonly name = "yarn"; readonly catalogProtocol = "catalog:"; isCatalogReference(version: string): boolean; parseCatalogReference(version: string): CatalogReference | null; getCatalogDefinitionFilePaths(): string[]; getCatalogDefinitions(treeOrRoot: Tree | string): CatalogDefinitions | 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=yarn-manager.d.ts.map