keycloakify 11.3.0-rc.2 → 11.3.0-rc.3
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/main.js +4 -0
- package/package.json +1 -1
- package/src/bin/main.ts +4 -0
- package/src/bin/shared/customHandler_caller.ts +4 -1
package/bin/main.js
CHANGED
@@ -15437,6 +15437,8 @@ function callHandlerIfAny(params) {
|
|
15437
15437
|
});
|
15438
15438
|
}
|
15439
15439
|
catch (error) {
|
15440
|
+
console.log(error.message);
|
15441
|
+
console.log(error.status);
|
15440
15442
|
(0,esm_assert/* assert */.h)((0,is.is)(error));
|
15441
15443
|
if (error.code === NOT_IMPLEMENTED_EXIT_CODE) {
|
15442
15444
|
return;
|
@@ -16286,7 +16288,9 @@ program
|
|
16286
16288
|
skip,
|
16287
16289
|
handler: async ({ projectDirPath }) => {
|
16288
16290
|
const buildContext = getBuildContext({ projectDirPath });
|
16291
|
+
console.log("before callHandlerIfAny");
|
16289
16292
|
callHandlerIfAny({ buildContext, commandName });
|
16293
|
+
console.log("after callHandlerIfAny");
|
16290
16294
|
const { command } = await __nccwpck_require__.e(/* import() */ 453).then(__nccwpck_require__.bind(__nccwpck_require__, 93453));
|
16291
16295
|
await command({ buildContext });
|
16292
16296
|
}
|
package/package.json
CHANGED
package/src/bin/main.ts
CHANGED
@@ -168,8 +168,12 @@ program
|
|
168
168
|
handler: async ({ projectDirPath }) => {
|
169
169
|
const buildContext = getBuildContext({ projectDirPath });
|
170
170
|
|
171
|
+
console.log("before callHandlerIfAny");
|
172
|
+
|
171
173
|
callHandlerIfAny({ buildContext, commandName });
|
172
174
|
|
175
|
+
console.log("after callHandlerIfAny");
|
176
|
+
|
173
177
|
const { command } = await import("./eject-page");
|
174
178
|
|
175
179
|
await command({ buildContext });
|
@@ -33,7 +33,10 @@ export function callHandlerIfAny(params: {
|
|
33
33
|
[CUSTOM_HANDLER_ENV_NAMES.BUILD_CONTEXT]: JSON.stringify(buildContext)
|
34
34
|
}
|
35
35
|
});
|
36
|
-
} catch (error) {
|
36
|
+
} catch (error: any) {
|
37
|
+
console.log(error.message);
|
38
|
+
console.log(error.status);
|
39
|
+
|
37
40
|
assert(is<child_process.ExecException>(error));
|
38
41
|
|
39
42
|
if (error.code === NOT_IMPLEMENTED_EXIT_CODE) {
|