UNPKG

@remotion/cli

Version:

Control Remotion features using the `npx remotion` command

37 lines (36 loc) 1.43 kB
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: "root" | "workspaces"; 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 {};