UNPKG

post-merge

Version:

A reusable library for handling post-merge operations including version bumping and git tagging

18 lines 815 B
import { PackageInfo, VersionInfo } from './types'; /** * Reads package.json and returns package information */ export declare function readPackageInfo(packageJsonPath: string): Promise<PackageInfo>; /** * Checks if a version has a prerelease suffix */ export declare function hasPrereleaseSuffix(version: string, prereleaseId?: string): boolean; /** * Determines the version bump strategy based on current version and commit history */ export declare function determineVersionStrategy(currentVersion: string, prereleaseId?: string): Promise<'patch' | 'prerelease' | 'mixed'>; /** * Bumps the package version using npm version command */ export declare function bumpVersion(strategy: 'patch' | 'prerelease' | 'mixed', prereleaseId?: string): Promise<VersionInfo>; //# sourceMappingURL=version-utils.d.ts.map