UNPKG

buddy-bot

Version:

Automated & optimized dependency updates for JavaScript & TypeScript projects. Like Renovate & Dependabot.

17 lines 784 B
import type { PackageFile, PackageUpdate } from '../types'; /** * Check if a file path is a dependency file that we can handle */ export declare function isDependencyFile(filePath: string): boolean; /** * Parse a dependency file using ts-pkgx (supports pkgx registry format) */ export declare function parseDependencyFile(filePath: string, content: string): Promise<PackageFile | null>; /** * Update dependency file content with new package versions */ export declare function updateDependencyFile(filePath: string, content: string, updates: PackageUpdate[]): Promise<string>; /** * Generate file changes for dependency files */ export declare function generateDependencyFileUpdates(updates: PackageUpdate[]): Promise<Array<{ path: string, content: string, type: 'update' }>>;