UNPKG

buddy-bot

Version:

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

21 lines 897 B
import type { PackageFile, PackageUpdate } from '../types'; /** * Check if a file path is a Dockerfile that we can handle */ export declare function isDockerfile(filePath: string): boolean; /** * Parse a Dockerfile to extract image dependencies with versions */ export declare function parseDockerfile(filePath: string, content: string): Promise<PackageFile | null>; /** * Fetch the latest version for a Docker image */ export declare function fetchLatestDockerImageVersion(imageName: string): Promise<string | null>; /** * Update Dockerfile content with new image versions */ export declare function updateDockerfile(filePath: string, content: string, updates: PackageUpdate[]): Promise<string>; /** * Generate file changes for Dockerfiles */ export declare function generateDockerfileUpdates(updates: PackageUpdate[]): Promise<Array<{ path: string, content: string, type: 'update' }>>;