@tahminator/pipeline 1.0.64 → 1.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,6 +2,7 @@ import semver from "semver";
|
|
|
2
2
|
import { VersionUpdatingStrategy, } from "./types";
|
|
3
3
|
import { JavaMavenVersioningClient } from "./updating/java/maven";
|
|
4
4
|
import { JavascriptPackageJsonVersioningClient } from "./updating/jsts";
|
|
5
|
+
import { NoneVersioningClient } from "./updating/none";
|
|
5
6
|
export class VersioningClient {
|
|
6
7
|
githubClient;
|
|
7
8
|
static INITIAL_VERSION = "1.0.0";
|
|
@@ -16,6 +17,8 @@ export class VersioningClient {
|
|
|
16
17
|
return new JavascriptPackageJsonVersioningClient();
|
|
17
18
|
case VersionUpdatingStrategy.JAVA_MAVEN:
|
|
18
19
|
return new JavaMavenVersioningClient();
|
|
20
|
+
case VersionUpdatingStrategy.NONE:
|
|
21
|
+
return new NoneVersioningClient();
|
|
19
22
|
}
|
|
20
23
|
}
|
|
21
24
|
parseOrThrow(label, v) {
|
package/dist/versioning/types.js
CHANGED
|
@@ -2,4 +2,5 @@ export var VersionUpdatingStrategy;
|
|
|
2
2
|
(function (VersionUpdatingStrategy) {
|
|
3
3
|
VersionUpdatingStrategy[VersionUpdatingStrategy["JSTS"] = 0] = "JSTS";
|
|
4
4
|
VersionUpdatingStrategy[VersionUpdatingStrategy["JAVA_MAVEN"] = 1] = "JAVA_MAVEN";
|
|
5
|
+
VersionUpdatingStrategy[VersionUpdatingStrategy["NONE"] = 2] = "NONE";
|
|
5
6
|
})(VersionUpdatingStrategy || (VersionUpdatingStrategy = {}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { IJavascriptPackageJsonVersionUpdatingClient } from "../../types";
|
|
2
|
+
import { BaseVersionUpdatingClient } from "../base";
|
|
3
|
+
export declare class NoneVersioningClient extends BaseVersionUpdatingClient implements IJavascriptPackageJsonVersionUpdatingClient {
|
|
4
|
+
update(version: string): Promise<void>;
|
|
5
|
+
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"author": "Tahmid Ahmed",
|
|
5
5
|
"description": "A collection of Bun shell scripts that can be re-used in various CICD pipelines.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.65",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "git+https://github.com/tahminator/pipeline.git"
|
|
9
9
|
},
|