keycloakify 11.3.0-rc.3 → 11.3.0-rc.4
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 +5 -10
- package/package.json +1 -1
- package/src/bin/main.ts +0 -4
- package/src/bin/shared/customHandler_caller.ts +3 -7
package/bin/main.js
CHANGED
@@ -15414,8 +15414,6 @@ function readParams(params) {
|
|
15414
15414
|
return { commandName, buildContext };
|
15415
15415
|
}
|
15416
15416
|
//# sourceMappingURL=customHandler.js.map
|
15417
|
-
// EXTERNAL MODULE: ./node_modules/tsafe/esm/is.mjs
|
15418
|
-
var is = __nccwpck_require__(16453);
|
15419
15417
|
;// CONCATENATED MODULE: ./dist/bin/shared/customHandler_caller.js
|
15420
15418
|
|
15421
15419
|
|
@@ -15423,7 +15421,6 @@ var is = __nccwpck_require__(16453);
|
|
15423
15421
|
|
15424
15422
|
|
15425
15423
|
|
15426
|
-
|
15427
15424
|
(0,esm_assert/* assert */.h)();
|
15428
15425
|
function callHandlerIfAny(params) {
|
15429
15426
|
const { commandName, buildContext } = params;
|
@@ -15437,13 +15434,11 @@ function callHandlerIfAny(params) {
|
|
15437
15434
|
});
|
15438
15435
|
}
|
15439
15436
|
catch (error) {
|
15440
|
-
|
15441
|
-
|
15442
|
-
(0,esm_assert/* assert */.h)((0,is.is)(error));
|
15443
|
-
if (error.code === NOT_IMPLEMENTED_EXIT_CODE) {
|
15437
|
+
const status = error.status;
|
15438
|
+
if (status === NOT_IMPLEMENTED_EXIT_CODE) {
|
15444
15439
|
return;
|
15445
15440
|
}
|
15446
|
-
process.exit(
|
15441
|
+
process.exit(status);
|
15447
15442
|
}
|
15448
15443
|
process.exit(0);
|
15449
15444
|
}
|
@@ -15456,6 +15451,8 @@ var getAbsoluteAndInOsFormatPath = __nccwpck_require__(84794);
|
|
15456
15451
|
var lib = __nccwpck_require__(52300);
|
15457
15452
|
// EXTERNAL MODULE: ./node_modules/tsafe/esm/exclude.mjs
|
15458
15453
|
var exclude = __nccwpck_require__(83101);
|
15454
|
+
// EXTERNAL MODULE: ./node_modules/tsafe/esm/is.mjs
|
15455
|
+
var is = __nccwpck_require__(16453);
|
15459
15456
|
;// CONCATENATED MODULE: ./node_modules/tsafe/esm/index.mjs
|
15460
15457
|
|
15461
15458
|
|
@@ -16288,9 +16285,7 @@ program
|
|
16288
16285
|
skip,
|
16289
16286
|
handler: async ({ projectDirPath }) => {
|
16290
16287
|
const buildContext = getBuildContext({ projectDirPath });
|
16291
|
-
console.log("before callHandlerIfAny");
|
16292
16288
|
callHandlerIfAny({ buildContext, commandName });
|
16293
|
-
console.log("after callHandlerIfAny");
|
16294
16289
|
const { command } = await __nccwpck_require__.e(/* import() */ 453).then(__nccwpck_require__.bind(__nccwpck_require__, 93453));
|
16295
16290
|
await command({ buildContext });
|
16296
16291
|
}
|
package/package.json
CHANGED
package/src/bin/main.ts
CHANGED
@@ -168,12 +168,8 @@ program
|
|
168
168
|
handler: async ({ projectDirPath }) => {
|
169
169
|
const buildContext = getBuildContext({ projectDirPath });
|
170
170
|
|
171
|
-
console.log("before callHandlerIfAny");
|
172
|
-
|
173
171
|
callHandlerIfAny({ buildContext, commandName });
|
174
172
|
|
175
|
-
console.log("after callHandlerIfAny");
|
176
|
-
|
177
173
|
const { command } = await import("./eject-page");
|
178
174
|
|
179
175
|
await command({ buildContext });
|
@@ -8,7 +8,6 @@ import {
|
|
8
8
|
ApiVersion
|
9
9
|
} from "./customHandler";
|
10
10
|
import * as child_process from "child_process";
|
11
|
-
import { is } from "tsafe/is";
|
12
11
|
import { dirname as pathDirname } from "path";
|
13
12
|
import * as fs from "fs";
|
14
13
|
|
@@ -34,16 +33,13 @@ export function callHandlerIfAny(params: {
|
|
34
33
|
}
|
35
34
|
});
|
36
35
|
} catch (error: any) {
|
37
|
-
|
38
|
-
console.log(error.status);
|
36
|
+
const status = error.status;
|
39
37
|
|
40
|
-
|
41
|
-
|
42
|
-
if (error.code === NOT_IMPLEMENTED_EXIT_CODE) {
|
38
|
+
if (status === NOT_IMPLEMENTED_EXIT_CODE) {
|
43
39
|
return;
|
44
40
|
}
|
45
41
|
|
46
|
-
process.exit(
|
42
|
+
process.exit(status);
|
47
43
|
}
|
48
44
|
|
49
45
|
process.exit(0);
|