keycloakify 10.0.0-rc.143 → 10.0.0-rc.144

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/526.index.js CHANGED
@@ -743,7 +743,11 @@ async function command(params) {
743
743
  `--name${SPACE_PLACEHOLDER}${constants/* CONTAINER_NAME */.sv}`,
744
744
  `-e${SPACE_PLACEHOLDER}KEYCLOAK_ADMIN=admin`,
745
745
  `-e${SPACE_PLACEHOLDER}KEYCLOAK_ADMIN_PASSWORD=admin`,
746
- buildContext.startKeycloakOptions.dockerExtraArgs.join(SPACE_PLACEHOLDER),
746
+ ...(buildContext.startKeycloakOptions.dockerExtraArgs.length === 0
747
+ ? []
748
+ : [
749
+ buildContext.startKeycloakOptions.dockerExtraArgs.join(SPACE_PLACEHOLDER)
750
+ ]),
747
751
  ...(realmJsonFilePath === undefined
748
752
  ? []
749
753
  : [
@@ -776,7 +780,11 @@ async function command(params) {
776
780
  ? ["--features=declarative-user-profile"]
777
781
  : []),
778
782
  ...(realmJsonFilePath === undefined ? [] : ["--import-realm"]),
779
- buildContext.startKeycloakOptions.keycloakExtraArgs.join(SPACE_PLACEHOLDER)
783
+ ...(buildContext.startKeycloakOptions.keycloakExtraArgs.length === 0
784
+ ? []
785
+ : [
786
+ buildContext.startKeycloakOptions.keycloakExtraArgs.join(SPACE_PLACEHOLDER)
787
+ ])
780
788
  ];
781
789
  console.log(source_default().blue([
782
790
  `$ docker run \\`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "10.0.0-rc.143",
3
+ "version": "10.0.0-rc.144",
4
4
  "description": "Create Keycloak themes using React",
5
5
  "repository": {
6
6
  "type": "git",
@@ -345,7 +345,13 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
345
345
  `--name${SPACE_PLACEHOLDER}${CONTAINER_NAME}`,
346
346
  `-e${SPACE_PLACEHOLDER}KEYCLOAK_ADMIN=admin`,
347
347
  `-e${SPACE_PLACEHOLDER}KEYCLOAK_ADMIN_PASSWORD=admin`,
348
- buildContext.startKeycloakOptions.dockerExtraArgs.join(SPACE_PLACEHOLDER),
348
+ ...(buildContext.startKeycloakOptions.dockerExtraArgs.length === 0
349
+ ? []
350
+ : [
351
+ buildContext.startKeycloakOptions.dockerExtraArgs.join(
352
+ SPACE_PLACEHOLDER
353
+ )
354
+ ]),
349
355
  ...(realmJsonFilePath === undefined
350
356
  ? []
351
357
  : [
@@ -399,7 +405,13 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
399
405
  ? ["--features=declarative-user-profile"]
400
406
  : []),
401
407
  ...(realmJsonFilePath === undefined ? [] : ["--import-realm"]),
402
- buildContext.startKeycloakOptions.keycloakExtraArgs.join(SPACE_PLACEHOLDER)
408
+ ...(buildContext.startKeycloakOptions.keycloakExtraArgs.length === 0
409
+ ? []
410
+ : [
411
+ buildContext.startKeycloakOptions.keycloakExtraArgs.join(
412
+ SPACE_PLACEHOLDER
413
+ )
414
+ ])
403
415
  ];
404
416
 
405
417
  console.log(