buddy-bot
Version:
Automated & optimized dependency updates for JavaScript & TypeScript projects. Like Renovate & Dependabot.
18 lines • 808 B
TypeScript
import type { PackageFile, PackageUpdate } from '../types';
/**
* Check if a file path is a Zig build manifest file
*/
export declare function isZigManifest(filePath: string): boolean;
/**
* Parse a build.zig.zon file
* The format uses Zig Object Notation (ZON), which is similar to Zig struct literals
*/
export declare function parseZigManifest(filePath: string, content: string): Promise<PackageFile | null>;
/**
* Update Zig manifest file content with new package versions
*/
export declare function updateZigManifest(filePath: string, content: string, updates: PackageUpdate[]): Promise<string>;
/**
* Generate file changes for Zig manifest files
*/
export declare function generateZigManifestUpdates(updates: PackageUpdate[]): Promise<Array<{ path: string, content: string, type: 'update' }>>;