keycloakify 10.0.0-rc.45 → 10.0.0-rc.46
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.
- package/bin/3.index.js +10 -2
- package/bin/526.index.js +4 -1
- package/package.json +1 -1
- package/src/bin/keycloakify/buildJars/extensionVersions.ts +1 -1
- package/src/bin/keycloakify/buildJars/getKeycloakVersionRangeForJar.ts +9 -2
- package/src/bin/shared/KeycloakVersionRange.ts +1 -1
- package/src/bin/start-keycloak/start-keycloak.ts +5 -1
package/bin/3.index.js
CHANGED
@@ -975,7 +975,7 @@ var shared_buildContext = __webpack_require__(87751);
|
|
975
975
|
var exclude = __webpack_require__(41370);
|
976
976
|
;// CONCATENATED MODULE: ./dist/bin/keycloakify/buildJars/extensionVersions.js
|
977
977
|
// NOTE: v0.5 is a dummy version.
|
978
|
-
const keycloakAccountV1Versions = [null, "0.3", "0.4"];
|
978
|
+
const keycloakAccountV1Versions = [null, "0.3", "0.4", "0.6"];
|
979
979
|
const keycloakThemeAdditionalInfoExtensionVersions = [null, "1.1.5"];
|
980
980
|
//# sourceMappingURL=extensionVersions.js.map
|
981
981
|
;// CONCATENATED MODULE: ./dist/bin/keycloakify/buildJars/getKeycloakVersionRangeForJar.js
|
@@ -1006,10 +1006,18 @@ function getKeycloakVersionRangeForJar(params) {
|
|
1006
1006
|
case null:
|
1007
1007
|
return undefined;
|
1008
1008
|
case "1.1.5":
|
1009
|
-
return "24
|
1009
|
+
return "24";
|
1010
1010
|
}
|
1011
1011
|
(0,assert.assert)(false);
|
1012
|
+
case "0.6":
|
1013
|
+
switch (keycloakThemeAdditionalInfoExtensionVersion) {
|
1014
|
+
case null:
|
1015
|
+
return undefined;
|
1016
|
+
case "1.1.5":
|
1017
|
+
return "25-and-above";
|
1018
|
+
}
|
1012
1019
|
}
|
1020
|
+
(0,assert.assert)(false);
|
1013
1021
|
})();
|
1014
1022
|
(0,assert.assert)();
|
1015
1023
|
return keycloakVersionRange;
|
package/bin/526.index.js
CHANGED
@@ -579,7 +579,10 @@ async function command(params) {
|
|
579
579
|
if (keycloakMajorVersionNumber === 23) {
|
580
580
|
return "23";
|
581
581
|
}
|
582
|
-
|
582
|
+
if (keycloakMajorVersionNumber === 24) {
|
583
|
+
return "24";
|
584
|
+
}
|
585
|
+
return "25-and-above";
|
583
586
|
})();
|
584
587
|
(0,assert.assert)();
|
585
588
|
return keycloakVersionRange;
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
// NOTE: v0.5 is a dummy version.
|
2
|
-
export const keycloakAccountV1Versions = [null, "0.3", "0.4"] as const;
|
2
|
+
export const keycloakAccountV1Versions = [null, "0.3", "0.4", "0.6"] as const;
|
3
3
|
|
4
4
|
/**
|
5
5
|
* https://central.sonatype.com/artifact/io.phasetwo.keycloak/keycloak-account-v1
|
@@ -44,12 +44,20 @@ export function getKeycloakVersionRangeForJar(params: {
|
|
44
44
|
case null:
|
45
45
|
return undefined;
|
46
46
|
case "1.1.5":
|
47
|
-
return "24
|
47
|
+
return "24" as const;
|
48
48
|
}
|
49
49
|
assert<
|
50
50
|
Equals<typeof keycloakThemeAdditionalInfoExtensionVersion, never>
|
51
51
|
>(false);
|
52
|
+
case "0.6":
|
53
|
+
switch (keycloakThemeAdditionalInfoExtensionVersion) {
|
54
|
+
case null:
|
55
|
+
return undefined;
|
56
|
+
case "1.1.5":
|
57
|
+
return "25-and-above" as const;
|
58
|
+
}
|
52
59
|
}
|
60
|
+
assert<Equals<typeof keycloakAccountV1Version, never>>(false);
|
53
61
|
})();
|
54
62
|
|
55
63
|
assert<
|
@@ -65,7 +73,6 @@ export function getKeycloakVersionRangeForJar(params: {
|
|
65
73
|
if (keycloakAccountV1Version !== null) {
|
66
74
|
return undefined;
|
67
75
|
}
|
68
|
-
|
69
76
|
switch (keycloakThemeAdditionalInfoExtensionVersion) {
|
70
77
|
case null:
|
71
78
|
return "21-and-below";
|
@@ -5,5 +5,5 @@ export type KeycloakVersionRange =
|
|
5
5
|
export namespace KeycloakVersionRange {
|
6
6
|
export type WithoutAccountTheme = "21-and-below" | "22-and-above";
|
7
7
|
|
8
|
-
export type WithAccountTheme = "21-and-below" | "23" | "24-and-above";
|
8
|
+
export type WithAccountTheme = "21-and-below" | "23" | "24" | "25-and-above";
|
9
9
|
}
|
@@ -193,7 +193,11 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
|
|
193
193
|
return "23" as const;
|
194
194
|
}
|
195
195
|
|
196
|
-
|
196
|
+
if (keycloakMajorVersionNumber === 24) {
|
197
|
+
return "24" as const;
|
198
|
+
}
|
199
|
+
|
200
|
+
return "25-and-above" as const;
|
197
201
|
})();
|
198
202
|
|
199
203
|
assert<
|