UNPKG

@alexaegis/standard-version

Version:
14 lines 676 B
import { WorkspacePackage } from '@alexaegis/workspace-tools'; /** * This updater also updates all local dependencies too that were updated * While it's mainly used for packageJson files, it does not assume the file to * be valid JSON, so it can be used with any file that contains lines like * "version": "0.0.0", like examples in readme files. * * It also replaces everything that looks like a `packageName@version` */ export declare const createPackageJsonUpdater: (packages: WorkspacePackage[]) => { readVersion: (contents: string) => string; writeVersion: (contents: string, version: string) => string; }; //# sourceMappingURL=package-json-updater.d.ts.map