keycloakify 10.0.0-rc.62 → 10.0.0-rc.64

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- exports.id = 98;
3
- exports.ids = [98];
2
+ exports.id = 827;
3
+ exports.ids = [827];
4
4
  exports.modules = {
5
5
 
6
6
  /***/ 87751:
@@ -384,46 +384,55 @@ const containerName = "keycloak-keycloakify";
384
384
  /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71017);
385
385
  /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_3__);
386
386
  /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(173);
387
+ /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(78818);
388
+ /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_5__);
387
389
 
388
390
 
389
391
 
390
392
 
391
393
 
392
- const themeSrcDirBasenames = ["keycloak-theme", "keycloak_theme"];
394
+
395
+ let cache = undefined;
393
396
  /** Can't catch error, if the directory isn't found, this function will just exit the process with an error message. */
394
397
  function getThemeSrcDirPath(params) {
395
398
  const { projectDirPath } = params;
396
- const srcDirPath = (0,path__WEBPACK_IMPORTED_MODULE_3__.join)(projectDirPath, "src");
397
- const themeSrcDirPath = (0,_tools_crawl__WEBPACK_IMPORTED_MODULE_2__/* .crawl */ .J)({
398
- dirPath: srcDirPath,
399
- returnedPathsType: "relative to dirPath"
400
- })
401
- .map(fileRelativePath => {
402
- for (const themeSrcDirBasename of themeSrcDirBasenames) {
403
- const split = fileRelativePath.split(themeSrcDirBasename);
404
- if (split.length === 2) {
405
- return (0,path__WEBPACK_IMPORTED_MODULE_3__.join)(srcDirPath, split[0] + themeSrcDirBasename);
406
- }
407
- }
408
- return undefined;
409
- })
410
- .filter((0,tsafe__WEBPACK_IMPORTED_MODULE_1__.exclude)(undefined))[0];
411
- if (themeSrcDirPath !== undefined) {
399
+ if (cache !== undefined && cache.projectDirPath === projectDirPath) {
400
+ const { themeSrcDirPath } = cache;
412
401
  return { themeSrcDirPath };
413
402
  }
414
- for (const themeType of [..._constants__WEBPACK_IMPORTED_MODULE_4__/* .themeTypes */ .rO, "email"]) {
415
- if (!fs__WEBPACK_IMPORTED_MODULE_0__.existsSync((0,path__WEBPACK_IMPORTED_MODULE_3__.join)(srcDirPath, themeType))) {
416
- continue;
403
+ cache = undefined;
404
+ const { themeSrcDirPath } = (() => {
405
+ const srcDirPath = (0,path__WEBPACK_IMPORTED_MODULE_3__.join)(projectDirPath, "src");
406
+ const themeSrcDirPath = (0,_tools_crawl__WEBPACK_IMPORTED_MODULE_2__/* .crawl */ .J)({
407
+ dirPath: srcDirPath,
408
+ returnedPathsType: "relative to dirPath"
409
+ })
410
+ .map(fileRelativePath => {
411
+ for (const themeSrcDirBasename of themeSrcDirBasenames) {
412
+ const split = fileRelativePath.split(themeSrcDirBasename);
413
+ if (split.length === 2) {
414
+ return (0,path__WEBPACK_IMPORTED_MODULE_3__.join)(srcDirPath, split[0] + themeSrcDirBasename);
415
+ }
416
+ }
417
+ return undefined;
418
+ })
419
+ .filter((0,tsafe__WEBPACK_IMPORTED_MODULE_1__.exclude)(undefined))[0];
420
+ if (themeSrcDirPath !== undefined) {
421
+ return { themeSrcDirPath };
417
422
  }
418
- return { themeSrcDirPath: srcDirPath };
419
- }
420
- console.error([
421
- "Can't locate your theme source directory. It should be either: ",
422
- "src/ or src/keycloak-theme or src/keycloak_theme.",
423
- "Example in the starter: https://github.com/keycloakify/keycloakify-starter/tree/main/src/keycloak-theme"
424
- ].join("\n"));
425
- process.exit(-1);
423
+ for (const themeType of [..._constants__WEBPACK_IMPORTED_MODULE_4__/* .themeTypes */ .rO, "email"]) {
424
+ if (!fs__WEBPACK_IMPORTED_MODULE_0__.existsSync((0,path__WEBPACK_IMPORTED_MODULE_3__.join)(srcDirPath, themeType))) {
425
+ continue;
426
+ }
427
+ return { themeSrcDirPath: srcDirPath };
428
+ }
429
+ console.log(chalk__WEBPACK_IMPORTED_MODULE_5___default().red("Can't locate your theme source directory. It should be either: "));
430
+ process.exit(-1);
431
+ })();
432
+ cache = { projectDirPath, themeSrcDirPath };
433
+ return { themeSrcDirPath };
426
434
  }
435
+ const themeSrcDirBasenames = ["keycloak-theme", "keycloak_theme"];
427
436
  //# sourceMappingURL=getThemeSrcDirPath.js.map
428
437
 
429
438
  /***/ }),
@@ -1079,163 +1088,6 @@ const withObjectValues = options => {
1079
1088
 
1080
1089
  exports.withObjectValues = withObjectValues;
1081
1090
 
1082
- /***/ }),
1083
-
1084
- /***/ 31621:
1085
- /***/ ((module) => {
1086
-
1087
-
1088
-
1089
- module.exports = (flag, argv = process.argv) => {
1090
- const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
1091
- const position = argv.indexOf(prefix + flag);
1092
- const terminatorPosition = argv.indexOf('--');
1093
- return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
1094
- };
1095
-
1096
-
1097
- /***/ }),
1098
-
1099
- /***/ 59318:
1100
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1101
-
1102
-
1103
- const os = __webpack_require__(22037);
1104
- const tty = __webpack_require__(76224);
1105
- const hasFlag = __webpack_require__(31621);
1106
-
1107
- const {env} = process;
1108
-
1109
- let forceColor;
1110
- if (hasFlag('no-color') ||
1111
- hasFlag('no-colors') ||
1112
- hasFlag('color=false') ||
1113
- hasFlag('color=never')) {
1114
- forceColor = 0;
1115
- } else if (hasFlag('color') ||
1116
- hasFlag('colors') ||
1117
- hasFlag('color=true') ||
1118
- hasFlag('color=always')) {
1119
- forceColor = 1;
1120
- }
1121
-
1122
- if ('FORCE_COLOR' in env) {
1123
- if (env.FORCE_COLOR === 'true') {
1124
- forceColor = 1;
1125
- } else if (env.FORCE_COLOR === 'false') {
1126
- forceColor = 0;
1127
- } else {
1128
- forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
1129
- }
1130
- }
1131
-
1132
- function translateLevel(level) {
1133
- if (level === 0) {
1134
- return false;
1135
- }
1136
-
1137
- return {
1138
- level,
1139
- hasBasic: true,
1140
- has256: level >= 2,
1141
- has16m: level >= 3
1142
- };
1143
- }
1144
-
1145
- function supportsColor(haveStream, streamIsTTY) {
1146
- if (forceColor === 0) {
1147
- return 0;
1148
- }
1149
-
1150
- if (hasFlag('color=16m') ||
1151
- hasFlag('color=full') ||
1152
- hasFlag('color=truecolor')) {
1153
- return 3;
1154
- }
1155
-
1156
- if (hasFlag('color=256')) {
1157
- return 2;
1158
- }
1159
-
1160
- if (haveStream && !streamIsTTY && forceColor === undefined) {
1161
- return 0;
1162
- }
1163
-
1164
- const min = forceColor || 0;
1165
-
1166
- if (env.TERM === 'dumb') {
1167
- return min;
1168
- }
1169
-
1170
- if (process.platform === 'win32') {
1171
- // Windows 10 build 10586 is the first Windows release that supports 256 colors.
1172
- // Windows 10 build 14931 is the first release that supports 16m/TrueColor.
1173
- const osRelease = os.release().split('.');
1174
- if (
1175
- Number(osRelease[0]) >= 10 &&
1176
- Number(osRelease[2]) >= 10586
1177
- ) {
1178
- return Number(osRelease[2]) >= 14931 ? 3 : 2;
1179
- }
1180
-
1181
- return 1;
1182
- }
1183
-
1184
- if ('CI' in env) {
1185
- if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
1186
- return 1;
1187
- }
1188
-
1189
- return min;
1190
- }
1191
-
1192
- if ('TEAMCITY_VERSION' in env) {
1193
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
1194
- }
1195
-
1196
- if (env.COLORTERM === 'truecolor') {
1197
- return 3;
1198
- }
1199
-
1200
- if ('TERM_PROGRAM' in env) {
1201
- const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
1202
-
1203
- switch (env.TERM_PROGRAM) {
1204
- case 'iTerm.app':
1205
- return version >= 3 ? 3 : 2;
1206
- case 'Apple_Terminal':
1207
- return 2;
1208
- // No default
1209
- }
1210
- }
1211
-
1212
- if (/-256(color)?$/i.test(env.TERM)) {
1213
- return 2;
1214
- }
1215
-
1216
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
1217
- return 1;
1218
- }
1219
-
1220
- if ('COLORTERM' in env) {
1221
- return 1;
1222
- }
1223
-
1224
- return min;
1225
- }
1226
-
1227
- function getSupportLevel(stream) {
1228
- const level = supportsColor(stream, stream && stream.isTTY);
1229
- return translateLevel(level);
1230
- }
1231
-
1232
- module.exports = {
1233
- supportsColor: getSupportLevel,
1234
- stdout: translateLevel(supportsColor(true, tty.isatty(1))),
1235
- stderr: translateLevel(supportsColor(true, tty.isatty(2)))
1236
- };
1237
-
1238
-
1239
1091
  /***/ })
1240
1092
 
1241
1093
  };
@@ -1,8 +1,165 @@
1
1
  "use strict";
2
- exports.id = 941;
3
- exports.ids = [941];
2
+ exports.id = 890;
3
+ exports.ids = [890];
4
4
  exports.modules = {
5
5
 
6
+ /***/ 31621:
7
+ /***/ ((module) => {
8
+
9
+
10
+
11
+ module.exports = (flag, argv = process.argv) => {
12
+ const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
13
+ const position = argv.indexOf(prefix + flag);
14
+ const terminatorPosition = argv.indexOf('--');
15
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
16
+ };
17
+
18
+
19
+ /***/ }),
20
+
21
+ /***/ 59318:
22
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
23
+
24
+
25
+ const os = __webpack_require__(22037);
26
+ const tty = __webpack_require__(76224);
27
+ const hasFlag = __webpack_require__(31621);
28
+
29
+ const {env} = process;
30
+
31
+ let forceColor;
32
+ if (hasFlag('no-color') ||
33
+ hasFlag('no-colors') ||
34
+ hasFlag('color=false') ||
35
+ hasFlag('color=never')) {
36
+ forceColor = 0;
37
+ } else if (hasFlag('color') ||
38
+ hasFlag('colors') ||
39
+ hasFlag('color=true') ||
40
+ hasFlag('color=always')) {
41
+ forceColor = 1;
42
+ }
43
+
44
+ if ('FORCE_COLOR' in env) {
45
+ if (env.FORCE_COLOR === 'true') {
46
+ forceColor = 1;
47
+ } else if (env.FORCE_COLOR === 'false') {
48
+ forceColor = 0;
49
+ } else {
50
+ forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
51
+ }
52
+ }
53
+
54
+ function translateLevel(level) {
55
+ if (level === 0) {
56
+ return false;
57
+ }
58
+
59
+ return {
60
+ level,
61
+ hasBasic: true,
62
+ has256: level >= 2,
63
+ has16m: level >= 3
64
+ };
65
+ }
66
+
67
+ function supportsColor(haveStream, streamIsTTY) {
68
+ if (forceColor === 0) {
69
+ return 0;
70
+ }
71
+
72
+ if (hasFlag('color=16m') ||
73
+ hasFlag('color=full') ||
74
+ hasFlag('color=truecolor')) {
75
+ return 3;
76
+ }
77
+
78
+ if (hasFlag('color=256')) {
79
+ return 2;
80
+ }
81
+
82
+ if (haveStream && !streamIsTTY && forceColor === undefined) {
83
+ return 0;
84
+ }
85
+
86
+ const min = forceColor || 0;
87
+
88
+ if (env.TERM === 'dumb') {
89
+ return min;
90
+ }
91
+
92
+ if (process.platform === 'win32') {
93
+ // Windows 10 build 10586 is the first Windows release that supports 256 colors.
94
+ // Windows 10 build 14931 is the first release that supports 16m/TrueColor.
95
+ const osRelease = os.release().split('.');
96
+ if (
97
+ Number(osRelease[0]) >= 10 &&
98
+ Number(osRelease[2]) >= 10586
99
+ ) {
100
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
101
+ }
102
+
103
+ return 1;
104
+ }
105
+
106
+ if ('CI' in env) {
107
+ if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
108
+ return 1;
109
+ }
110
+
111
+ return min;
112
+ }
113
+
114
+ if ('TEAMCITY_VERSION' in env) {
115
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
116
+ }
117
+
118
+ if (env.COLORTERM === 'truecolor') {
119
+ return 3;
120
+ }
121
+
122
+ if ('TERM_PROGRAM' in env) {
123
+ const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
124
+
125
+ switch (env.TERM_PROGRAM) {
126
+ case 'iTerm.app':
127
+ return version >= 3 ? 3 : 2;
128
+ case 'Apple_Terminal':
129
+ return 2;
130
+ // No default
131
+ }
132
+ }
133
+
134
+ if (/-256(color)?$/i.test(env.TERM)) {
135
+ return 2;
136
+ }
137
+
138
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
139
+ return 1;
140
+ }
141
+
142
+ if ('COLORTERM' in env) {
143
+ return 1;
144
+ }
145
+
146
+ return min;
147
+ }
148
+
149
+ function getSupportLevel(stream) {
150
+ const level = supportsColor(stream, stream && stream.isTTY);
151
+ return translateLevel(level);
152
+ }
153
+
154
+ module.exports = {
155
+ supportsColor: getSupportLevel,
156
+ stdout: translateLevel(supportsColor(true, tty.isatty(1))),
157
+ stderr: translateLevel(supportsColor(true, tty.isatty(2)))
158
+ };
159
+
160
+
161
+ /***/ }),
162
+
6
163
  /***/ 50379:
7
164
  /***/ ((__unused_webpack_module, exports) => {
8
165
 
package/bin/932.index.js CHANGED
@@ -467,46 +467,55 @@ async function downloadKeycloakDefaultTheme(params) {
467
467
  /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71017);
468
468
  /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_3__);
469
469
  /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(173);
470
+ /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(78818);
471
+ /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_5__);
470
472
 
471
473
 
472
474
 
473
475
 
474
476
 
475
- const themeSrcDirBasenames = ["keycloak-theme", "keycloak_theme"];
477
+
478
+ let cache = undefined;
476
479
  /** Can't catch error, if the directory isn't found, this function will just exit the process with an error message. */
477
480
  function getThemeSrcDirPath(params) {
478
481
  const { projectDirPath } = params;
479
- const srcDirPath = (0,path__WEBPACK_IMPORTED_MODULE_3__.join)(projectDirPath, "src");
480
- const themeSrcDirPath = (0,_tools_crawl__WEBPACK_IMPORTED_MODULE_2__/* .crawl */ .J)({
481
- dirPath: srcDirPath,
482
- returnedPathsType: "relative to dirPath"
483
- })
484
- .map(fileRelativePath => {
485
- for (const themeSrcDirBasename of themeSrcDirBasenames) {
486
- const split = fileRelativePath.split(themeSrcDirBasename);
487
- if (split.length === 2) {
488
- return (0,path__WEBPACK_IMPORTED_MODULE_3__.join)(srcDirPath, split[0] + themeSrcDirBasename);
489
- }
490
- }
491
- return undefined;
492
- })
493
- .filter((0,tsafe__WEBPACK_IMPORTED_MODULE_1__.exclude)(undefined))[0];
494
- if (themeSrcDirPath !== undefined) {
482
+ if (cache !== undefined && cache.projectDirPath === projectDirPath) {
483
+ const { themeSrcDirPath } = cache;
495
484
  return { themeSrcDirPath };
496
485
  }
497
- for (const themeType of [..._constants__WEBPACK_IMPORTED_MODULE_4__/* .themeTypes */ .rO, "email"]) {
498
- if (!fs__WEBPACK_IMPORTED_MODULE_0__.existsSync((0,path__WEBPACK_IMPORTED_MODULE_3__.join)(srcDirPath, themeType))) {
499
- continue;
486
+ cache = undefined;
487
+ const { themeSrcDirPath } = (() => {
488
+ const srcDirPath = (0,path__WEBPACK_IMPORTED_MODULE_3__.join)(projectDirPath, "src");
489
+ const themeSrcDirPath = (0,_tools_crawl__WEBPACK_IMPORTED_MODULE_2__/* .crawl */ .J)({
490
+ dirPath: srcDirPath,
491
+ returnedPathsType: "relative to dirPath"
492
+ })
493
+ .map(fileRelativePath => {
494
+ for (const themeSrcDirBasename of themeSrcDirBasenames) {
495
+ const split = fileRelativePath.split(themeSrcDirBasename);
496
+ if (split.length === 2) {
497
+ return (0,path__WEBPACK_IMPORTED_MODULE_3__.join)(srcDirPath, split[0] + themeSrcDirBasename);
498
+ }
499
+ }
500
+ return undefined;
501
+ })
502
+ .filter((0,tsafe__WEBPACK_IMPORTED_MODULE_1__.exclude)(undefined))[0];
503
+ if (themeSrcDirPath !== undefined) {
504
+ return { themeSrcDirPath };
500
505
  }
501
- return { themeSrcDirPath: srcDirPath };
502
- }
503
- console.error([
504
- "Can't locate your theme source directory. It should be either: ",
505
- "src/ or src/keycloak-theme or src/keycloak_theme.",
506
- "Example in the starter: https://github.com/keycloakify/keycloakify-starter/tree/main/src/keycloak-theme"
507
- ].join("\n"));
508
- process.exit(-1);
506
+ for (const themeType of [..._constants__WEBPACK_IMPORTED_MODULE_4__/* .themeTypes */ .rO, "email"]) {
507
+ if (!fs__WEBPACK_IMPORTED_MODULE_0__.existsSync((0,path__WEBPACK_IMPORTED_MODULE_3__.join)(srcDirPath, themeType))) {
508
+ continue;
509
+ }
510
+ return { themeSrcDirPath: srcDirPath };
511
+ }
512
+ console.log(chalk__WEBPACK_IMPORTED_MODULE_5___default().red("Can't locate your theme source directory. It should be either: "));
513
+ process.exit(-1);
514
+ })();
515
+ cache = { projectDirPath, themeSrcDirPath };
516
+ return { themeSrcDirPath };
509
517
  }
518
+ const themeSrcDirBasenames = ["keycloak-theme", "keycloak_theme"];
510
519
  //# sourceMappingURL=getThemeSrcDirPath.js.map
511
520
 
512
521
  /***/ }),
@@ -718,44 +727,6 @@ async function promptKeycloakVersion(params) {
718
727
 
719
728
  /***/ }),
720
729
 
721
- /***/ 73036:
722
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
723
-
724
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
725
- /* harmony export */ "J": () => (/* binding */ crawl)
726
- /* harmony export */ });
727
- /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57147);
728
- /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
729
- /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71017);
730
- /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
731
-
732
-
733
- const crawlRec = (dirPath, filePaths) => {
734
- for (const basename of fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync(dirPath)) {
735
- const fileOrDirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(dirPath, basename);
736
- if (fs__WEBPACK_IMPORTED_MODULE_0__.lstatSync(fileOrDirPath).isDirectory()) {
737
- crawlRec(fileOrDirPath, filePaths);
738
- continue;
739
- }
740
- filePaths.push(fileOrDirPath);
741
- }
742
- };
743
- /** List all files in a given directory return paths relative to the dir_path */
744
- function crawl(params) {
745
- const { dirPath, returnedPathsType } = params;
746
- const filePaths = [];
747
- crawlRec(dirPath, filePaths);
748
- switch (returnedPathsType) {
749
- case "absolute":
750
- return filePaths;
751
- case "relative to dirPath":
752
- return filePaths.map(filePath => (0,path__WEBPACK_IMPORTED_MODULE_1__.relative)(dirPath, filePath));
753
- }
754
- }
755
- //# sourceMappingURL=crawl.js.map
756
-
757
- /***/ }),
758
-
759
730
  /***/ 89693:
760
731
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
761
732
 
package/bin/97.index.js CHANGED
@@ -85,7 +85,7 @@ async function command(params) {
85
85
  fs__WEBPACK_IMPORTED_MODULE_4__.writeFileSync(targetFilePath, Buffer.from(componentCode, "utf8"));
86
86
  console.log([
87
87
  `${chalk__WEBPACK_IMPORTED_MODULE_10___default().green("✓")} ${chalk__WEBPACK_IMPORTED_MODULE_10___default().bold((0,path__WEBPACK_IMPORTED_MODULE_5__.join)(".", (0,path__WEBPACK_IMPORTED_MODULE_5__.relative)(process.cwd(), targetFilePath)))} copy pasted from the Keycloakify source code into your project`,
88
- `You can start storybook with ${chalk__WEBPACK_IMPORTED_MODULE_10___default().bold("yarn storybook")}`
88
+ `You can start storybook with ${chalk__WEBPACK_IMPORTED_MODULE_10___default().bold("npm run storybook")}`
89
89
  ].join("\n"));
90
90
  }
91
91
  //# sourceMappingURL=add-story.js.map
package/bin/main.js CHANGED
@@ -9213,7 +9213,7 @@ program
9213
9213
  .task({
9214
9214
  skip,
9215
9215
  handler: async (cliCommandOptions) => {
9216
- const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(941), __nccwpck_require__.e(214), __nccwpck_require__.e(818), __nccwpck_require__.e(525), __nccwpck_require__.e(246), __nccwpck_require__.e(991), __nccwpck_require__.e(190), __nccwpck_require__.e(952)]).then(__nccwpck_require__.bind(__nccwpck_require__, 24952));
9216
+ const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(890), __nccwpck_require__.e(818), __nccwpck_require__.e(430), __nccwpck_require__.e(525), __nccwpck_require__.e(246), __nccwpck_require__.e(240), __nccwpck_require__.e(363)]).then(__nccwpck_require__.bind(__nccwpck_require__, 52363));
9217
9217
  await command({ cliCommandOptions });
9218
9218
  }
9219
9219
  });
@@ -9261,7 +9261,7 @@ program
9261
9261
  .task({
9262
9262
  skip,
9263
9263
  handler: async (cliCommandOptions) => {
9264
- const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(941), __nccwpck_require__.e(214), __nccwpck_require__.e(818), __nccwpck_require__.e(180), __nccwpck_require__.e(36), __nccwpck_require__.e(991), __nccwpck_require__.e(526)]).then(__nccwpck_require__.bind(__nccwpck_require__, 80526));
9264
+ const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(890), __nccwpck_require__.e(818), __nccwpck_require__.e(430), __nccwpck_require__.e(180), __nccwpck_require__.e(36), __nccwpck_require__.e(240), __nccwpck_require__.e(526)]).then(__nccwpck_require__.bind(__nccwpck_require__, 80526));
9265
9265
  await command({ cliCommandOptions });
9266
9266
  }
9267
9267
  });
@@ -9273,7 +9273,7 @@ program
9273
9273
  .task({
9274
9274
  skip,
9275
9275
  handler: async (cliCommandOptions) => {
9276
- const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(941), __nccwpck_require__.e(818), __nccwpck_require__.e(98), __nccwpck_require__.e(453)]).then(__nccwpck_require__.bind(__nccwpck_require__, 93453));
9276
+ const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(890), __nccwpck_require__.e(818), __nccwpck_require__.e(827), __nccwpck_require__.e(453)]).then(__nccwpck_require__.bind(__nccwpck_require__, 93453));
9277
9277
  await command({ cliCommandOptions });
9278
9278
  }
9279
9279
  });
@@ -9285,7 +9285,7 @@ program
9285
9285
  .task({
9286
9286
  skip,
9287
9287
  handler: async (cliCommandOptions) => {
9288
- const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(941), __nccwpck_require__.e(818), __nccwpck_require__.e(98), __nccwpck_require__.e(97)]).then(__nccwpck_require__.bind(__nccwpck_require__, 98097));
9288
+ const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(890), __nccwpck_require__.e(818), __nccwpck_require__.e(827), __nccwpck_require__.e(97)]).then(__nccwpck_require__.bind(__nccwpck_require__, 98097));
9289
9289
  await command({ cliCommandOptions });
9290
9290
  }
9291
9291
  });
@@ -9297,7 +9297,7 @@ program
9297
9297
  .task({
9298
9298
  skip,
9299
9299
  handler: async (cliCommandOptions) => {
9300
- const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(941), __nccwpck_require__.e(214), __nccwpck_require__.e(525), __nccwpck_require__.e(180), __nccwpck_require__.e(991), __nccwpck_require__.e(932)]).then(__nccwpck_require__.bind(__nccwpck_require__, 16932));
9300
+ const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(890), __nccwpck_require__.e(818), __nccwpck_require__.e(430), __nccwpck_require__.e(525), __nccwpck_require__.e(180), __nccwpck_require__.e(240), __nccwpck_require__.e(932)]).then(__nccwpck_require__.bind(__nccwpck_require__, 16932));
9301
9301
  await command({ cliCommandOptions });
9302
9302
  }
9303
9303
  });
@@ -9309,7 +9309,7 @@ program
9309
9309
  .task({
9310
9310
  skip,
9311
9311
  handler: async (cliCommandOptions) => {
9312
- const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(941), __nccwpck_require__.e(214), __nccwpck_require__.e(525), __nccwpck_require__.e(991), __nccwpck_require__.e(190), __nccwpck_require__.e(193)]).then(__nccwpck_require__.bind(__nccwpck_require__, 23193));
9312
+ const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(890), __nccwpck_require__.e(430), __nccwpck_require__.e(525), __nccwpck_require__.e(240), __nccwpck_require__.e(193)]).then(__nccwpck_require__.bind(__nccwpck_require__, 23193));
9313
9313
  await command({ cliCommandOptions });
9314
9314
  }
9315
9315
  });
@@ -9321,7 +9321,7 @@ program
9321
9321
  .task({
9322
9322
  skip,
9323
9323
  handler: async (cliCommandOptions) => {
9324
- const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(941), __nccwpck_require__.e(538)]).then(__nccwpck_require__.bind(__nccwpck_require__, 1538));
9324
+ const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(890), __nccwpck_require__.e(818), __nccwpck_require__.e(538)]).then(__nccwpck_require__.bind(__nccwpck_require__, 1538));
9325
9325
  await command({ cliCommandOptions });
9326
9326
  }
9327
9327
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "10.0.0-rc.62",
3
+ "version": "10.0.0-rc.64",
4
4
  "description": "Create Keycloak themes using React",
5
5
  "repository": {
6
6
  "type": "git",
@@ -491,6 +491,7 @@
491
491
  "src/bin/shared/downloadKeycloakDefaultTheme.ts",
492
492
  "src/bin/shared/downloadKeycloakStaticResources.ts",
493
493
  "src/bin/shared/generateKcGenTs.ts",
494
+ "src/bin/shared/getImplementedThemeTypes.ts",
494
495
  "src/bin/shared/getJarFileBasename.ts",
495
496
  "src/bin/shared/getThemeSrcDirPath.ts",
496
497
  "src/bin/shared/metaInfKeycloakThemes.ts",
@@ -770,12 +771,13 @@
770
771
  "tools/useSetClassName.js.map",
771
772
  "bin/main.js",
772
773
  "bin/180.index.js",
773
- "bin/190.index.js",
774
774
  "bin/193.index.js",
775
- "bin/214.index.js",
775
+ "bin/240.index.js",
776
776
  "bin/246.index.js",
777
777
  "bin/36.index.js",
778
+ "bin/363.index.js",
778
779
  "bin/420.index.js",
780
+ "bin/430.index.js",
779
781
  "bin/453.index.js",
780
782
  "bin/480.index.js",
781
783
  "bin/509.index.js",
@@ -784,12 +786,10 @@
784
786
  "bin/538.index.js",
785
787
  "bin/772.index.js",
786
788
  "bin/818.index.js",
789
+ "bin/827.index.js",
790
+ "bin/890.index.js",
787
791
  "bin/932.index.js",
788
- "bin/941.index.js",
789
- "bin/952.index.js",
790
792
  "bin/97.index.js",
791
- "bin/98.index.js",
792
- "bin/991.index.js",
793
793
  "bin/shared/constants.js",
794
794
  "bin/shared/constants.d.ts",
795
795
  "bin/shared/constants.js.map",
@@ -860,7 +860,6 @@
860
860
  "run-exclusive": "^2.2.19",
861
861
  "storybook-dark-mode": "^1.1.2",
862
862
  "termost": "^0.12.0",
863
- "ts-node": "^10.9.2",
864
863
  "tsc-alias": "^1.8.10",
865
864
  "tss-react": "^4.9.10",
866
865
  "typescript": "^4.9.1-beta",
@@ -868,6 +867,7 @@
868
867
  "vitest": "^1.6.0",
869
868
  "yauzl": "^2.10.0",
870
869
  "zod": "^3.17.10",
871
- "evt": "^2.5.7"
870
+ "evt": "^2.5.7",
871
+ "tsx": "^4.15.5"
872
872
  }
873
873
  }