keycloakify 11.8.10 → 11.8.12

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/932.index.js CHANGED
@@ -61,11 +61,14 @@ async function command(params) {
61
61
  process.exit(-1);
62
62
  }
63
63
  const { value: emailThemeType } = await cli_select__WEBPACK_IMPORTED_MODULE_0___default()({
64
- values: ["native (FreeMarker)", "jsx-email (React)"]
64
+ values: [
65
+ "native (FreeMarker)",
66
+ "Another email templating solution"
67
+ ]
65
68
  }).catch(() => {
66
69
  process.exit(-1);
67
70
  });
68
- if (emailThemeType === "jsx-email (React)") {
71
+ if (emailThemeType === "Another email templating solution") {
69
72
  console.log([
70
73
  "There is currently no automated support for keycloakify-email, it has to be done manually, see documentation:",
71
74
  "https://docs.keycloakify.dev/theme-types/email-theme"
package/bin/97.index.js CHANGED
@@ -1556,8 +1556,11 @@ async function command(params) {
1556
1556
  catch (_e) {
1557
1557
  commandOutput = "";
1558
1558
  }
1559
- if (["docker", "podman"].includes(commandOutput.toLowerCase())) {
1560
- break exit_if_docker_not_installed;
1559
+ commandOutput = commandOutput.trim().toLowerCase();
1560
+ for (const term of ["docker", "podman"]) {
1561
+ if (commandOutput.includes(term)) {
1562
+ break exit_if_docker_not_installed;
1563
+ }
1561
1564
  }
1562
1565
  console.log([
1563
1566
  `${source_default().red("Docker required.")}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.8.10",
3
+ "version": "11.8.12",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -49,12 +49,15 @@ export async function command(params: { buildContext: BuildContext }) {
49
49
  }
50
50
 
51
51
  const { value: emailThemeType } = await cliSelect({
52
- values: ["native (FreeMarker)" as const, "jsx-email (React)" as const]
52
+ values: [
53
+ "native (FreeMarker)" as const,
54
+ "Another email templating solution" as const
55
+ ]
53
56
  }).catch(() => {
54
57
  process.exit(-1);
55
58
  });
56
59
 
57
- if (emailThemeType === "jsx-email (React)") {
60
+ if (emailThemeType === "Another email templating solution") {
58
61
  console.log(
59
62
  [
60
63
  "There is currently no automated support for keycloakify-email, it has to be done manually, see documentation:",
@@ -58,8 +58,12 @@ export async function command(params: {
58
58
  commandOutput = "";
59
59
  }
60
60
 
61
- if (["docker", "podman"].includes(commandOutput.toLowerCase())) {
62
- break exit_if_docker_not_installed;
61
+ commandOutput = commandOutput.trim().toLowerCase();
62
+
63
+ for (const term of ["docker", "podman"]) {
64
+ if (commandOutput.includes(term)) {
65
+ break exit_if_docker_not_installed;
66
+ }
63
67
  }
64
68
 
65
69
  console.log(