Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
0690f40bad | |||
2285883149 | |||
af87e41bb8 | |||
9ba884483d | |||
f5a300953a | |||
ab9a962f58 | |||
484adb607f | |||
e1f38d4196 | |||
5de629acf2 | |||
8b4b24a036 | |||
75ab130249 | |||
981ca7e9a4 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "keycloakify",
|
"name": "keycloakify",
|
||||||
"version": "11.8.9",
|
"version": "11.8.13",
|
||||||
"description": "Framework to create custom Keycloak UIs",
|
"description": "Framework to create custom Keycloak UIs",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -74,7 +74,7 @@ export async function command(params: { buildContext: BuildContext }) {
|
|||||||
|
|
||||||
if (themeType === "admin") {
|
if (themeType === "admin") {
|
||||||
console.log(
|
console.log(
|
||||||
`${chalk.red("✗")} Sorry, there is no Storybook support for the Account UI.`
|
`${chalk.red("✗")} Sorry, there is no Storybook support for the Admin UI.`
|
||||||
);
|
);
|
||||||
|
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
|
@ -49,12 +49,15 @@ export async function command(params: { buildContext: BuildContext }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const { value: emailThemeType } = await cliSelect({
|
const { value: emailThemeType } = await cliSelect({
|
||||||
values: ["native (FreeMarker)" as const, "jsx-email (React)" as const]
|
values: [
|
||||||
|
"native (FreeMarker)" as const,
|
||||||
|
"Another email templating solution" as const
|
||||||
|
]
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
process.exit(-1);
|
process.exit(-1);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (emailThemeType === "jsx-email (React)") {
|
if (emailThemeType === "Another email templating solution") {
|
||||||
console.log(
|
console.log(
|
||||||
[
|
[
|
||||||
"There is currently no automated support for keycloakify-email, it has to be done manually, see documentation:",
|
"There is currently no automated support for keycloakify-email, it has to be done manually, see documentation:",
|
||||||
|
@ -53,11 +53,17 @@ export async function command(params: {
|
|||||||
.execSync("docker --version", {
|
.execSync("docker --version", {
|
||||||
stdio: ["ignore", "pipe", "ignore"]
|
stdio: ["ignore", "pipe", "ignore"]
|
||||||
})
|
})
|
||||||
?.toString("utf8");
|
.toString("utf8");
|
||||||
} catch {}
|
} catch {
|
||||||
|
commandOutput = "";
|
||||||
|
}
|
||||||
|
|
||||||
if (commandOutput?.includes("Docker") || commandOutput?.includes("podman")) {
|
commandOutput = commandOutput.trim().toLowerCase();
|
||||||
break exit_if_docker_not_installed;
|
|
||||||
|
for (const term of ["docker", "podman"]) {
|
||||||
|
if (commandOutput.includes(term)) {
|
||||||
|
break exit_if_docker_not_installed;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
|
Reference in New Issue
Block a user