keycloakify 11.8.8 → 11.8.10
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/97.index.js
CHANGED
@@ -1544,16 +1544,19 @@ async function getRealmConfig(params) {
|
|
1544
1544
|
|
1545
1545
|
|
1546
1546
|
async function command(params) {
|
1547
|
-
var _a, _b, _c, _d
|
1547
|
+
var _a, _b, _c, _d;
|
1548
1548
|
exit_if_docker_not_installed: {
|
1549
1549
|
let commandOutput = undefined;
|
1550
1550
|
try {
|
1551
|
-
commandOutput =
|
1551
|
+
commandOutput = external_child_process_.execSync("docker --version", {
|
1552
1552
|
stdio: ["ignore", "pipe", "ignore"]
|
1553
|
-
})
|
1553
|
+
})
|
1554
|
+
.toString("utf8");
|
1555
|
+
}
|
1556
|
+
catch (_e) {
|
1557
|
+
commandOutput = "";
|
1554
1558
|
}
|
1555
|
-
|
1556
|
-
if ((commandOutput === null || commandOutput === void 0 ? void 0 : commandOutput.includes("Docker")) || (commandOutput === null || commandOutput === void 0 ? void 0 : commandOutput.includes("podman"))) {
|
1559
|
+
if (["docker", "podman"].includes(commandOutput.toLowerCase())) {
|
1557
1560
|
break exit_if_docker_not_installed;
|
1558
1561
|
}
|
1559
1562
|
console.log([
|
@@ -1569,7 +1572,7 @@ async function command(params) {
|
|
1569
1572
|
external_child_process_.execSync("docker info", { stdio: "ignore" });
|
1570
1573
|
isDockerRunning = true;
|
1571
1574
|
}
|
1572
|
-
catch (
|
1575
|
+
catch (_f) {
|
1573
1576
|
isDockerRunning = false;
|
1574
1577
|
}
|
1575
1578
|
if (isDockerRunning) {
|
@@ -1786,8 +1789,8 @@ async function command(params) {
|
|
1786
1789
|
stdio: "ignore"
|
1787
1790
|
});
|
1788
1791
|
}
|
1789
|
-
catch (
|
1790
|
-
const port = (
|
1792
|
+
catch (_g) { }
|
1793
|
+
const port = (_b = (_a = cliCommandOptions.port) !== null && _a !== void 0 ? _a : buildContext.startKeycloakOptions.port) !== null && _b !== void 0 ? _b : 8080;
|
1791
1794
|
const doStartDevServer = (() => {
|
1792
1795
|
const hasSpaUi = buildContext.implementedThemeTypes.admin.isImplemented ||
|
1793
1796
|
(buildContext.implementedThemeTypes.account.isImplemented &&
|
@@ -1867,7 +1870,7 @@ async function command(params) {
|
|
1867
1870
|
.map(({ name, envValue }) => envValue === undefined ? undefined : { name, envValue })
|
1868
1871
|
.filter((0,exclude/* exclude */.D)(undefined))
|
1869
1872
|
.map(({ name, envValue }) => `--env${SPACE_PLACEHOLDER}${name}='${envValue.replace(/'/g, "'\\''")}'`),
|
1870
|
-
`${(
|
1873
|
+
`${(_d = (_c = buildContext.startKeycloakOptions.dockerImage) === null || _c === void 0 ? void 0 : _c.reference) !== null && _d !== void 0 ? _d : "quay.io/keycloak/keycloak"}:${dockerImageTag}`,
|
1871
1874
|
"start-dev",
|
1872
1875
|
...(21 <= keycloakMajorVersionNumber && keycloakMajorVersionNumber < 24
|
1873
1876
|
? ["--features=declarative-user-profile"]
|
@@ -2014,6 +2017,24 @@ async function command(params) {
|
|
2014
2017
|
}
|
2015
2018
|
return;
|
2016
2019
|
}
|
2020
|
+
ignore_patternfly: {
|
2021
|
+
if (!(0,isInside/* isInside */.V)({
|
2022
|
+
dirPath: (0,external_path_.join)(buildContext.themeSrcDirPath, "shared", "@patternfly"),
|
2023
|
+
filePath
|
2024
|
+
})) {
|
2025
|
+
break ignore_patternfly;
|
2026
|
+
}
|
2027
|
+
return;
|
2028
|
+
}
|
2029
|
+
ignore_keycloak_ui_shared: {
|
2030
|
+
if (!(0,isInside/* isInside */.V)({
|
2031
|
+
dirPath: (0,external_path_.join)(buildContext.themeSrcDirPath, "shared", "keycloak-ui-shared"),
|
2032
|
+
filePath
|
2033
|
+
})) {
|
2034
|
+
break ignore_keycloak_ui_shared;
|
2035
|
+
}
|
2036
|
+
return;
|
2037
|
+
}
|
2017
2038
|
}
|
2018
2039
|
console.log(`Detected changes in ${filePath}`);
|
2019
2040
|
await waitForDebounce();
|
package/package.json
CHANGED
@@ -53,10 +53,12 @@ export async function command(params: {
|
|
53
53
|
.execSync("docker --version", {
|
54
54
|
stdio: ["ignore", "pipe", "ignore"]
|
55
55
|
})
|
56
|
-
|
57
|
-
} catch {
|
56
|
+
.toString("utf8");
|
57
|
+
} catch {
|
58
|
+
commandOutput = "";
|
59
|
+
}
|
58
60
|
|
59
|
-
if (
|
61
|
+
if (["docker", "podman"].includes(commandOutput.toLowerCase())) {
|
60
62
|
break exit_if_docker_not_installed;
|
61
63
|
}
|
62
64
|
|
@@ -781,6 +783,40 @@ export async function command(params: {
|
|
781
783
|
|
782
784
|
return;
|
783
785
|
}
|
786
|
+
|
787
|
+
ignore_patternfly: {
|
788
|
+
if (
|
789
|
+
!isInside({
|
790
|
+
dirPath: pathJoin(
|
791
|
+
buildContext.themeSrcDirPath,
|
792
|
+
"shared",
|
793
|
+
"@patternfly"
|
794
|
+
),
|
795
|
+
filePath
|
796
|
+
})
|
797
|
+
) {
|
798
|
+
break ignore_patternfly;
|
799
|
+
}
|
800
|
+
|
801
|
+
return;
|
802
|
+
}
|
803
|
+
|
804
|
+
ignore_keycloak_ui_shared: {
|
805
|
+
if (
|
806
|
+
!isInside({
|
807
|
+
dirPath: pathJoin(
|
808
|
+
buildContext.themeSrcDirPath,
|
809
|
+
"shared",
|
810
|
+
"keycloak-ui-shared"
|
811
|
+
),
|
812
|
+
filePath
|
813
|
+
})
|
814
|
+
) {
|
815
|
+
break ignore_keycloak_ui_shared;
|
816
|
+
}
|
817
|
+
|
818
|
+
return;
|
819
|
+
}
|
784
820
|
}
|
785
821
|
|
786
822
|
console.log(`Detected changes in ${filePath}`);
|