keycloakify 11.3.19 → 11.3.21
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/124.index.js +676 -0
- package/bin/356.index.js +700 -0
- package/bin/40.index.js +41 -21
- package/bin/{903.index.js → 450.index.js} +2 -680
- package/bin/453.index.js +143 -85
- package/bin/573.index.js +51 -24
- package/bin/{599.index.js → 735.index.js} +438 -121
- package/bin/786.index.js +129 -78
- package/bin/805.index.js +674 -0
- package/bin/854.index.js +68 -0
- package/bin/{780.index.js → 921.index.js} +168 -109
- package/bin/932.index.js +41 -21
- package/bin/97.index.js +125 -75
- package/bin/eject-file.d.ts +7 -0
- package/bin/keycloakify/generateResources/generateMessageProperties.d.ts +1 -1
- package/bin/keycloakify/generateResources/readFieldNameUsage.d.ts +1 -1
- package/bin/main.js +70 -7
- package/bin/postinstall/getUiModuleFileSourceCodeReadyToBeCopied.d.ts +12 -0
- package/bin/postinstall/index.d.ts +1 -0
- package/bin/postinstall/installUiModulesPeerDependencies.d.ts +11 -0
- package/bin/postinstall/managedGitignoreFile.d.ts +14 -0
- package/bin/postinstall/postinstall.d.ts +4 -0
- package/bin/postinstall/uiModuleMeta.d.ts +21 -0
- package/bin/shared/buildContext.d.ts +3 -0
- package/bin/shared/constants.d.ts +2 -1
- package/bin/shared/constants.js +2 -1
- package/bin/shared/constants.js.map +1 -1
- package/bin/shared/customHandler.d.ts +1 -1
- package/bin/shared/customHandler.js.map +1 -1
- package/bin/shared/exitIfUncommittedChanges.d.ts +3 -0
- package/bin/tools/crawlAsync.d.ts +6 -0
- package/bin/tools/getInstalledModuleDirPath.d.ts +5 -0
- package/bin/tools/listInstalledModules.d.ts +12 -0
- package/bin/tools/nodeModulesBinDirPath.d.ts +1 -0
- package/bin/tools/runPrettier.d.ts +17 -0
- package/package.json +34 -6
- package/src/bin/add-story.ts +28 -10
- package/src/bin/eject-file.ts +68 -0
- package/src/bin/eject-page.ts +51 -31
- package/src/bin/initialize-account-theme/initialize-account-theme.ts +4 -32
- package/src/bin/initialize-account-theme/initializeAccountTheme_singlePage.ts +2 -16
- package/src/bin/keycloakify/generateResources/generateMessageProperties.ts +1 -1
- package/src/bin/keycloakify/generateResources/generateResources.ts +58 -26
- package/src/bin/keycloakify/generateResources/readFieldNameUsage.ts +1 -1
- package/src/bin/main.ts +50 -0
- package/src/bin/postinstall/getUiModuleFileSourceCodeReadyToBeCopied.ts +73 -0
- package/src/bin/postinstall/index.ts +1 -0
- package/src/bin/postinstall/installUiModulesPeerDependencies.ts +158 -0
- package/src/bin/postinstall/managedGitignoreFile.ts +136 -0
- package/src/bin/postinstall/postinstall.ts +79 -0
- package/src/bin/postinstall/uiModuleMeta.ts +309 -0
- package/src/bin/shared/buildContext.ts +11 -5
- package/src/bin/shared/constants.ts +3 -1
- package/src/bin/shared/customHandler.ts +1 -0
- package/src/bin/shared/customHandler_delegate.ts +2 -27
- package/src/bin/shared/exitIfUncommittedChanges.ts +36 -0
- package/src/bin/tools/crawlAsync.ts +51 -0
- package/src/bin/tools/getInstalledModuleDirPath.ts +51 -0
- package/src/bin/tools/listInstalledModules.ts +131 -0
- package/src/bin/tools/nodeModulesBinDirPath.ts +38 -0
- package/src/bin/tools/npmInstall.ts +411 -15
- package/src/bin/tools/readThisNpmPackageVersion.ts +8 -0
- package/src/bin/tools/runPrettier.ts +106 -0
- package/src/bin/update-kc-gen.ts +28 -17
- package/vite-plugin/index.js +9237 -9163
- package/bin/tools/runFormat.d.ts +0 -3
- package/src/bin/tools/runFormat.ts +0 -76
package/bin/40.index.js
CHANGED
@@ -118,8 +118,8 @@ function readParams(params) {
|
|
118
118
|
//# sourceMappingURL=customHandler.js.map
|
119
119
|
// EXTERNAL MODULE: external "child_process"
|
120
120
|
var external_child_process_ = __webpack_require__(32081);
|
121
|
-
// EXTERNAL MODULE:
|
122
|
-
var
|
121
|
+
// EXTERNAL MODULE: ./dist/bin/tools/nodeModulesBinDirPath.js
|
122
|
+
var tools_nodeModulesBinDirPath = __webpack_require__(73776);
|
123
123
|
// EXTERNAL MODULE: external "fs"
|
124
124
|
var external_fs_ = __webpack_require__(57147);
|
125
125
|
;// CONCATENATED MODULE: ./dist/bin/shared/customHandler_delegate.js
|
@@ -132,25 +132,7 @@ var external_fs_ = __webpack_require__(57147);
|
|
132
132
|
(0,esm_assert/* assert */.h)();
|
133
133
|
function maybeDelegateCommandToCustomHandler(params) {
|
134
134
|
const { commandName, buildContext } = params;
|
135
|
-
const nodeModulesBinDirPath = (()
|
136
|
-
const binPath = process.argv[1];
|
137
|
-
const segments = [".bin"];
|
138
|
-
let foundNodeModules = false;
|
139
|
-
for (const segment of binPath.split(external_path_.sep).reverse()) {
|
140
|
-
skip_segment: {
|
141
|
-
if (foundNodeModules) {
|
142
|
-
break skip_segment;
|
143
|
-
}
|
144
|
-
if (segment === "node_modules") {
|
145
|
-
foundNodeModules = true;
|
146
|
-
break skip_segment;
|
147
|
-
}
|
148
|
-
continue;
|
149
|
-
}
|
150
|
-
segments.unshift(segment);
|
151
|
-
}
|
152
|
-
return segments.join(external_path_.sep);
|
153
|
-
})();
|
135
|
+
const nodeModulesBinDirPath = (0,tools_nodeModulesBinDirPath/* getNodeModulesBinDirPath */.K)();
|
154
136
|
if (!external_fs_.readdirSync(nodeModulesBinDirPath).includes(BIN_NAME)) {
|
155
137
|
return { hasBeenHandled: false };
|
156
138
|
}
|
@@ -301,6 +283,44 @@ function rmSync(dirPath, options) {
|
|
301
283
|
|
302
284
|
/***/ }),
|
303
285
|
|
286
|
+
/***/ 73776:
|
287
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
288
|
+
|
289
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
290
|
+
/* harmony export */ "K": () => (/* binding */ getNodeModulesBinDirPath)
|
291
|
+
/* harmony export */ });
|
292
|
+
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71017);
|
293
|
+
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_0__);
|
294
|
+
|
295
|
+
let cache = undefined;
|
296
|
+
function getNodeModulesBinDirPath() {
|
297
|
+
if (cache !== undefined) {
|
298
|
+
return cache;
|
299
|
+
}
|
300
|
+
const binPath = process.argv[1];
|
301
|
+
const segments = [".bin"];
|
302
|
+
let foundNodeModules = false;
|
303
|
+
for (const segment of binPath.split(path__WEBPACK_IMPORTED_MODULE_0__.sep).reverse()) {
|
304
|
+
skip_segment: {
|
305
|
+
if (foundNodeModules) {
|
306
|
+
break skip_segment;
|
307
|
+
}
|
308
|
+
if (segment === "node_modules") {
|
309
|
+
foundNodeModules = true;
|
310
|
+
break skip_segment;
|
311
|
+
}
|
312
|
+
continue;
|
313
|
+
}
|
314
|
+
segments.unshift(segment);
|
315
|
+
}
|
316
|
+
const nodeModulesBinDirPath = segments.join(path__WEBPACK_IMPORTED_MODULE_0__.sep);
|
317
|
+
cache = nodeModulesBinDirPath;
|
318
|
+
return nodeModulesBinDirPath;
|
319
|
+
}
|
320
|
+
//# sourceMappingURL=nodeModulesBinDirPath.js.map
|
321
|
+
|
322
|
+
/***/ }),
|
323
|
+
|
304
324
|
/***/ 60332:
|
305
325
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
306
326
|
|