@alexaegis/standard-version
Version:
Standard version
14 lines • 667 B
TypeScript
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 createGenericUpdater: (packages: WorkspacePackage[]) => {
readVersion: (contents: string) => string;
writeVersion: (contents: string, version: string) => string;
};
//# sourceMappingURL=generic-updater.d.ts.map