keycloakify 11.8.37-rc.1 → 11.8.38-rc.1

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
@@ -404,7 +404,7 @@ async function getExtensionModuleFileSourceCodeReadyToBeCopied(params) {
404
404
  `This file has been claimed for ownership from ${extensionModuleName} version ${extensionModuleVersion}.`,
405
405
  `To relinquish ownership and restore this file to its original content, run the following command:`,
406
406
  ``,
407
- `$ npx keycloakify own --path "${path}"${isPublic ? " --public " : ""}--revert`
407
+ `$ npx keycloakify own --path "${path}" ${isPublic ? "--public " : ""}--revert`
408
408
  ]
409
409
  : [
410
410
  `WARNING: Before modifying this file, run the following command:`,
package/bin/main.js CHANGED
@@ -16217,7 +16217,7 @@ program
16217
16217
  .task({
16218
16218
  skip,
16219
16219
  handler: async ({ projectDirPath }) => {
16220
- const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(783), __nccwpck_require__.e(712)]).then(__nccwpck_require__.bind(__nccwpck_require__, 35712));
16220
+ const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(864), __nccwpck_require__.e(712)]).then(__nccwpck_require__.bind(__nccwpck_require__, 35712));
16221
16221
  await command({ buildContext: (0,buildContext/* getBuildContext */.s)({ projectDirPath }) });
16222
16222
  }
16223
16223
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.8.37-rc.1",
3
+ "version": "11.8.38-rc.1",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1128,9 +1128,9 @@
1128
1128
  "bin/712.index.js",
1129
1129
  "bin/720.index.js",
1130
1130
  "bin/780.index.js",
1131
- "bin/783.index.js",
1132
1131
  "bin/786.index.js",
1133
1132
  "bin/84.index.js",
1133
+ "bin/864.index.js",
1134
1134
  "bin/877.index.js",
1135
1135
  "bin/910.index.js",
1136
1136
  "bin/930.index.js",
@@ -1214,6 +1214,7 @@
1214
1214
  "webpack": "5.93.0",
1215
1215
  "webpack-cli": "5.1.4",
1216
1216
  "yauzl": "^2.10.0",
1217
- "zod": "^3.17.10"
1217
+ "zod": "^3.17.10",
1218
+ "json5": "^2.2.3"
1218
1219
  }
1219
1220
  }
@@ -12,6 +12,7 @@ import * as fs from "fs";
12
12
  import { assert } from "tsafe/assert";
13
13
  import type { BuildContext } from "../../shared/buildContext";
14
14
  import { getAbsoluteAndInOsFormatPath } from "../../tools/getAbsoluteAndInOsFormatPath";
15
+ import JSON5 from "json5";
15
16
 
16
17
  export type BuildContextLike = {
17
18
  themeNames: string[];
@@ -74,7 +75,7 @@ export function generateMessageProperties(params: {
74
75
  messagesJson += line;
75
76
  }
76
77
 
77
- const messages = JSON.parse(messagesJson) as Record<string, string>;
78
+ const messages = JSON5.parse(messagesJson) as Record<string, string>;
78
79
 
79
80
  return [languageTag, messages];
80
81
  })
@@ -64,7 +64,7 @@ export async function getExtensionModuleFileSourceCodeReadyToBeCopied(params: {
64
64
  `This file has been claimed for ownership from ${extensionModuleName} version ${extensionModuleVersion}.`,
65
65
  `To relinquish ownership and restore this file to its original content, run the following command:`,
66
66
  ``,
67
- `$ npx keycloakify own --path "${path}"${isPublic ? " --public " : ""}--revert`
67
+ `$ npx keycloakify own --path "${path}" ${isPublic ? "--public " : ""}--revert`
68
68
  ]
69
69
  : [
70
70
  `WARNING: Before modifying this file, run the following command:`,