| export declare const isCatalogProtocol: (version: string) => boolean; | |
| export declare const findVersionSpecifier: (depsWithVersions: { | |
| dependencies: Record<string, string>; | |
| devDependencies: Record<string, string>; | |
| optionalDependencies: Record<string, string>; | |
| peerDependencies: Record<string, string>; | |
| }, pkg: string) => string | null; | |
| export declare const findWorkspaceRoot: (startDir: string) => string | null; | |
| type CatalogSource = { | |
| type: 'package-json'; | |
| filePath: string; | |
| catalogKey: 'workspaces' | 'root'; | |
| } | { | |
| type: 'pnpm-workspace'; | |
| filePath: string; | |
| }; | |
| export declare const findCatalogSource: (workspaceRoot: string) => CatalogSource | null; | |
| export declare const getCatalogEntries: (workspaceRoot: string) => Record<string, string>; | |
| export declare const parsePnpmWorkspaceCatalog: (content: string) => Record<string, string>; | |
| export declare const updateCatalogEntryInPackageJson: ({ filePath, catalogKey, pkg, newVersion, }: { | |
| filePath: string; | |
| catalogKey: 'workspaces' | 'root'; | |
| pkg: string; | |
| newVersion: string; | |
| }) => boolean; | |
| export declare const updateCatalogEntryInPnpmWorkspace: ({ filePath, pkg, newVersion, }: { | |
| filePath: string; | |
| pkg: string; | |
| newVersion: string; | |
| }) => boolean; | |
| export declare const updateCatalogEntry: ({ workspaceRoot, pkg, newVersion, }: { | |
| workspaceRoot: string; | |
| pkg: string; | |
| newVersion: string; | |
| }) => boolean; | |
| export {}; | |
Xet Storage Details
- Size:
- 1.43 kB
- Xet hash:
- 0119c7b4da66b76b1a149b446306c3c1c3de04841f9378f85b30ca06577340f8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.