1 | import { VersionLabel } from "./release";
|
2 | import { ReleaseCalculationOptions } from "./types";
|
3 | declare enum SEMVER {
|
4 | major = "major",
|
5 | premajor = "premajor",
|
6 | minor = "minor",
|
7 | preminor = "preminor",
|
8 | patch = "patch",
|
9 | prepatch = "prepatch",
|
10 | noVersion = ""
|
11 | }
|
12 | export declare const preVersionMap: Map<SEMVER, SEMVER>;
|
13 | export declare type IVersionLabels = Map<VersionLabel | "none", string[]>;
|
14 | export default SEMVER;
|
15 |
|
16 | export declare function getHigherSemverTag(left: SEMVER, right: string): SEMVER;
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | export declare function calculateSemVerBump(labels: string[][], labelMap: IVersionLabels, { onlyPublishWithReleaseLabel }?: ReleaseCalculationOptions): SEMVER | SEMVER.noVersion;
|
23 |
|
\ | No newline at end of file |