@powerlines/engine 0.43.30 → 0.44.0
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/dist/_internal/worker.cjs +195 -95
- package/dist/_internal/worker.mjs +198 -98
- package/dist/_internal/worker.mjs.map +1 -1
- package/dist/api.cjs +11 -8
- package/dist/api.d.cts.map +1 -1
- package/dist/api.d.mts.map +1 -1
- package/dist/api.mjs +11 -8
- package/dist/api.mjs.map +1 -1
- package/dist/{base-context-B9AROf66.cjs → base-context-5_AZZYFu.cjs} +27 -32
- package/dist/{base-context-D8a2XGIK.mjs → base-context-D_ZidDDm.mjs} +29 -34
- package/dist/base-context-D_ZidDDm.mjs.map +1 -0
- package/dist/context/index.cjs +3 -3
- package/dist/context/index.d.cts +67 -32
- package/dist/context/index.d.cts.map +1 -1
- package/dist/context/index.d.mts +67 -32
- package/dist/context/index.d.mts.map +1 -1
- package/dist/context/index.mjs +3 -3
- package/dist/{engine-context-DsA9XGVb.mjs → engine-context-PQ3BgcgR.mjs} +36 -11
- package/dist/engine-context-PQ3BgcgR.mjs.map +1 -0
- package/dist/{engine-context-qCVw66U_.cjs → engine-context-w4fts28j.cjs} +36 -10
- package/dist/{execution-context-CprxWvYn.cjs → execution-context-0GmpbWbs.cjs} +176 -71
- package/dist/{execution-context-CBJxP2B2.mjs → execution-context-zedP0h4Z.mjs} +179 -74
- package/dist/execution-context-zedP0h4Z.mjs.map +1 -0
- package/dist/index.cjs +140 -58
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +140 -58
- package/dist/index.mjs.map +1 -1
- package/dist/storage/index.cjs +1 -1
- package/dist/storage/index.d.mts +1 -1
- package/dist/storage/index.mjs +1 -1
- package/dist/typescript/index.d.mts +1 -1
- package/dist/{virtual-BNdKVkRw.cjs → virtual-1hYa9zCy.cjs} +1 -1
- package/dist/{virtual-gIlTc3Lj.mjs → virtual-CUgOdyIa.mjs} +2 -2
- package/dist/{virtual-gIlTc3Lj.mjs.map → virtual-CUgOdyIa.mjs.map} +1 -1
- package/package.json +3 -3
- package/dist/base-context-D8a2XGIK.mjs.map +0 -1
- package/dist/engine-context-DsA9XGVb.mjs.map +0 -1
- package/dist/execution-context-CBJxP2B2.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,25 +1,69 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_chunk = require('./chunk-C0xms8kb.cjs');
|
|
3
|
-
const require_engine_context = require('./engine-context-
|
|
3
|
+
const require_engine_context = require('./engine-context-w4fts28j.cjs');
|
|
4
4
|
let _powerlines_core_constants = require("@powerlines/core/constants");
|
|
5
|
-
let _stryke_async_node = require("@stryke/async/node");
|
|
6
5
|
let _stryke_fs_resolve = require("@stryke/fs/resolve");
|
|
7
6
|
let _stryke_path_join = require("@stryke/path/join");
|
|
8
|
-
let
|
|
7
|
+
let _powerlines_core = require("@powerlines/core");
|
|
9
8
|
let _stryke_type_checks_is_set = require("@stryke/type-checks/is-set");
|
|
9
|
+
let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
10
10
|
let _stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
11
|
+
let date_fns_formatDuration = require("date-fns/formatDuration");
|
|
11
12
|
let jest_worker = require("jest-worker");
|
|
13
|
+
let node_os = require("node:os");
|
|
12
14
|
let node_stream = require("node:stream");
|
|
13
15
|
let node_util = require("node:util");
|
|
16
|
+
let _stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
17
|
+
let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
14
18
|
|
|
19
|
+
//#region src/_internal/ipc/helpers.ts
|
|
20
|
+
function parseIpcMessage(data) {
|
|
21
|
+
let message;
|
|
22
|
+
if ((0, _stryke_type_checks_is_set_object.isSetObject)(data)) message = data;
|
|
23
|
+
else if ((0, _stryke_type_checks_is_string.isString)(data)) try {
|
|
24
|
+
const parsed = JSON.parse(data);
|
|
25
|
+
if ((0, _stryke_type_checks_is_set_object.isSetObject)(parsed)) message = parsed;
|
|
26
|
+
} catch {}
|
|
27
|
+
if (message && (0, _stryke_type_checks_is_set_string.isSetString)(message.id) && (0, _stryke_type_checks_is_set_string.isSetString)(message.type) && (0, _stryke_type_checks_is_set_string.isSetString)(message.executionId) && Number.isInteger(message.executionIndex) && !Number.isNaN(message.timestamp)) return message;
|
|
28
|
+
}
|
|
29
|
+
function parseWriteLogMessagePayload(data) {
|
|
30
|
+
if ((0, _stryke_type_checks_is_set_string.isSetString)(data?.level) && data?.args) return {
|
|
31
|
+
level: data.level,
|
|
32
|
+
source: (0, _stryke_type_checks_is_set.isSet)(data.source) ? String(data.source) : void 0,
|
|
33
|
+
environment: (0, _stryke_type_checks_is_set.isSet)(data.environment) ? String(data.environment) : void 0,
|
|
34
|
+
plugin: (0, _stryke_type_checks_is_set.isSet)(data.plugin) ? String(data.plugin) : void 0,
|
|
35
|
+
args: (0, _stryke_convert_to_array.toArray)(data.args).filter(Boolean)
|
|
36
|
+
};
|
|
37
|
+
throw new Error("Invalid \"write-log\" message payload.");
|
|
38
|
+
}
|
|
39
|
+
function parseUpdateCommandMessagePayload(data) {
|
|
40
|
+
if ((0, _stryke_type_checks_is_set_string.isSetString)(data?.command)) return { command: data.command };
|
|
41
|
+
throw new Error("Invalid \"update-command\" message payload.");
|
|
42
|
+
}
|
|
43
|
+
function parseUpdateHookMessagePayload(data) {
|
|
44
|
+
if ((0, _stryke_type_checks_is_set_string.isSetString)(data?.hook) && [
|
|
45
|
+
"pre",
|
|
46
|
+
"post",
|
|
47
|
+
"normal"
|
|
48
|
+
].includes(data.order)) return {
|
|
49
|
+
hook: data.hook,
|
|
50
|
+
order: data.order
|
|
51
|
+
};
|
|
52
|
+
throw new Error("Invalid \"update-hook\" message payload.");
|
|
53
|
+
}
|
|
54
|
+
function parseUpdatePluginMessagePayload(data) {
|
|
55
|
+
if ((0, _stryke_type_checks_is_set_string.isSetString)(data?.plugin)) return { plugin: data.plugin };
|
|
56
|
+
throw new Error("Invalid \"update-plugin\" message payload.");
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
15
60
|
//#region src/_internal/helpers/worker.ts
|
|
16
61
|
const RESTARTED = Symbol("powerlines-worker:restarted");
|
|
17
62
|
/**
|
|
18
63
|
* Formats the debug address into a string.
|
|
19
64
|
*/
|
|
20
65
|
const formatDebugAddress = ({ host, port }) => {
|
|
21
|
-
|
|
22
|
-
return `${port}`;
|
|
66
|
+
return host ? `${host}:${port}` : `${port}`;
|
|
23
67
|
};
|
|
24
68
|
/**
|
|
25
69
|
* Node.js CLI flags that are not allowed in NODE_OPTIONS and must be
|
|
@@ -184,7 +228,8 @@ var Worker = class {
|
|
|
184
228
|
constructor(workerPath, options) {
|
|
185
229
|
this.workerPath = workerPath;
|
|
186
230
|
this.options = options;
|
|
187
|
-
const { timeout, onRestart, debuggerPortOffset = -1, enableSourceMaps = false, isolatedMemory = false,
|
|
231
|
+
const { timeout, onRestart, debuggerPortOffset = -1, enableSourceMaps = false, isolatedMemory = false, log: _log, ...rest } = this.options;
|
|
232
|
+
const log = (0, _powerlines_core.extendLogFn)(_log, { category: "ipc" });
|
|
188
233
|
let restartPromise;
|
|
189
234
|
let resolveRestartPromise;
|
|
190
235
|
let activeTasks = 0;
|
|
@@ -213,6 +258,22 @@ var Worker = class {
|
|
|
213
258
|
delete nodeOptions.max_old_space_size;
|
|
214
259
|
}
|
|
215
260
|
const { nodeOptions: formattedNodeOptions, execArgv } = formatNodeOptions(nodeOptions);
|
|
261
|
+
const onHanging = () => {
|
|
262
|
+
const worker = this.#worker;
|
|
263
|
+
if (!worker) return;
|
|
264
|
+
const resolve = resolveRestartPromise;
|
|
265
|
+
createWorker();
|
|
266
|
+
log("warn", `Sending SIGTERM signal to static worker due to timeout${timeout ? ` of ${(0, date_fns_formatDuration.formatDuration)({ seconds: timeout / 1e3 })}` : ""}. Subsequent errors may be a result of the worker exiting.`);
|
|
267
|
+
worker.end().then(() => {
|
|
268
|
+
resolve(RESTARTED);
|
|
269
|
+
});
|
|
270
|
+
};
|
|
271
|
+
let hangingTimer = false;
|
|
272
|
+
const onActivity = () => {
|
|
273
|
+
if (hangingTimer) clearTimeout(hangingTimer);
|
|
274
|
+
if (this.options.onActivity) this.options.onActivity();
|
|
275
|
+
hangingTimer = activeTasks > 0 && setTimeout(onHanging, timeout);
|
|
276
|
+
};
|
|
216
277
|
const createWorker = () => {
|
|
217
278
|
const workerEnv = {
|
|
218
279
|
...process.env,
|
|
@@ -224,13 +285,14 @@ var Worker = class {
|
|
|
224
285
|
if (!workerEnv.NO_COLOR && !workerEnv.CI && workerEnv.TERM !== "dumb" && (process.stdout.isTTY || process.stderr?.isTTY)) workerEnv.FORCE_COLOR = "1";
|
|
225
286
|
}
|
|
226
287
|
this.#worker = new jest_worker.Worker(workerPath, {
|
|
288
|
+
maxRetries: 0,
|
|
289
|
+
numWorkers: (0, node_os.cpus)().length ?? 3,
|
|
227
290
|
...rest,
|
|
228
291
|
forkOptions: {
|
|
229
292
|
...rest.forkOptions,
|
|
230
293
|
execArgv: [...execArgv, ...rest.forkOptions?.execArgv ?? []],
|
|
231
294
|
env: workerEnv
|
|
232
|
-
}
|
|
233
|
-
maxRetries: 0
|
|
295
|
+
}
|
|
234
296
|
});
|
|
235
297
|
restartPromise = new Promise((resolve) => {
|
|
236
298
|
resolveRestartPromise = resolve;
|
|
@@ -247,12 +309,51 @@ var Worker = class {
|
|
|
247
309
|
if (!rest.enableWorkerThreads) for (const worker of this.#worker._workerPool?._workers || []) {
|
|
248
310
|
worker._child?.on("exit", (code, signal) => {
|
|
249
311
|
if ((code || signal && signal !== "SIGINT") && this.#worker) {
|
|
250
|
-
|
|
312
|
+
log("error", `Worker exited with code: ${code} and signal: ${signal}`);
|
|
251
313
|
process.exit(code ?? 1);
|
|
252
314
|
}
|
|
253
315
|
});
|
|
254
|
-
worker._child?.on("message", (
|
|
255
|
-
if (
|
|
316
|
+
worker._child?.on("message", (data) => {
|
|
317
|
+
if ((0, _stryke_type_checks_is_set_object.isSetObject)(data) && data.type === "activity") onActivity();
|
|
318
|
+
else {
|
|
319
|
+
const message = parseIpcMessage(data);
|
|
320
|
+
if (message) {
|
|
321
|
+
log("trace", `Received IPC message from worker: ${JSON.stringify(message)}`);
|
|
322
|
+
switch (message.type) {
|
|
323
|
+
case "write-log":
|
|
324
|
+
if (options.onWriteLog) Promise.resolve(options.onWriteLog({
|
|
325
|
+
...message,
|
|
326
|
+
type: "write-log",
|
|
327
|
+
payload: parseWriteLogMessagePayload(message.payload)
|
|
328
|
+
}));
|
|
329
|
+
break;
|
|
330
|
+
case "update-command":
|
|
331
|
+
if (options.onUpdateCommand) Promise.resolve(options.onUpdateCommand({
|
|
332
|
+
...message,
|
|
333
|
+
type: "update-command",
|
|
334
|
+
payload: parseUpdateCommandMessagePayload(message.payload)
|
|
335
|
+
}));
|
|
336
|
+
break;
|
|
337
|
+
case "update-hook":
|
|
338
|
+
if (options.onUpdateHook) Promise.resolve(options.onUpdateHook({
|
|
339
|
+
...message,
|
|
340
|
+
type: "update-hook",
|
|
341
|
+
payload: parseUpdateHookMessagePayload(message.payload)
|
|
342
|
+
}));
|
|
343
|
+
break;
|
|
344
|
+
case "update-plugin":
|
|
345
|
+
if (options.onUpdatePlugin) Promise.resolve(options.onUpdatePlugin({
|
|
346
|
+
...message,
|
|
347
|
+
type: "update-plugin",
|
|
348
|
+
payload: parseUpdatePluginMessagePayload(message.payload)
|
|
349
|
+
}));
|
|
350
|
+
break;
|
|
351
|
+
case "activity":
|
|
352
|
+
case void 0:
|
|
353
|
+
default: break;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
256
357
|
});
|
|
257
358
|
}
|
|
258
359
|
let aborted = false;
|
|
@@ -272,22 +373,6 @@ var Worker = class {
|
|
|
272
373
|
this.#worker.getStderr().pipe(process.stderr);
|
|
273
374
|
};
|
|
274
375
|
createWorker();
|
|
275
|
-
const onHanging = () => {
|
|
276
|
-
const worker = this.#worker;
|
|
277
|
-
if (!worker) return;
|
|
278
|
-
const resolve = resolveRestartPromise;
|
|
279
|
-
createWorker();
|
|
280
|
-
logger(_storm_software_config_tools_types.LogLevelLabel.WARN, `Sending SIGTERM signal to static worker due to timeout${timeout ? ` of ${timeout / 1e3} seconds` : ""}. Subsequent errors may be a result of the worker exiting.`);
|
|
281
|
-
worker.end().then(() => {
|
|
282
|
-
resolve(RESTARTED);
|
|
283
|
-
});
|
|
284
|
-
};
|
|
285
|
-
let hangingTimer = false;
|
|
286
|
-
const onActivity = () => {
|
|
287
|
-
if (hangingTimer) clearTimeout(hangingTimer);
|
|
288
|
-
if (this.options.onActivity) this.options.onActivity();
|
|
289
|
-
hangingTimer = activeTasks > 0 && setTimeout(onHanging, timeout);
|
|
290
|
-
};
|
|
291
376
|
for (const method of rest.exposedMethods) {
|
|
292
377
|
if (method.startsWith("_")) continue;
|
|
293
378
|
this[method] = timeout ? async (...args) => {
|
|
@@ -345,10 +430,6 @@ var PowerlinesEngine = class PowerlinesEngine {
|
|
|
345
430
|
*/
|
|
346
431
|
#worker;
|
|
347
432
|
/**
|
|
348
|
-
* The queue for managing concurrent execution of Powerlines commands, ensuring that commands are executed in a controlled manner to prevent resource exhaustion and ensure optimal performance.
|
|
349
|
-
*/
|
|
350
|
-
#queue = new _stryke_async_node.PQueue();
|
|
351
|
-
/**
|
|
352
433
|
* Create a new Powerlines Engine instance
|
|
353
434
|
*
|
|
354
435
|
* @param options - The options to initialize the context with
|
|
@@ -359,8 +440,9 @@ var PowerlinesEngine = class PowerlinesEngine {
|
|
|
359
440
|
const packagePath = await (0, _stryke_fs_resolve.resolvePackage)("@powerlines/engine");
|
|
360
441
|
if (!packagePath) throw new Error("Could not resolve `@powerlines/engine` package location.");
|
|
361
442
|
api.#worker = new Worker((0, _stryke_path_join.joinPaths)(packagePath, "./_internal/worker.mjs"), {
|
|
443
|
+
enableSourceMaps: options.mode === "development",
|
|
362
444
|
exposedMethods: _powerlines_core_constants.POWERLINES_API_FUNCTIONS,
|
|
363
|
-
|
|
445
|
+
log: api.context.createLog()
|
|
364
446
|
});
|
|
365
447
|
return api;
|
|
366
448
|
}
|
|
@@ -391,8 +473,8 @@ var PowerlinesEngine = class PowerlinesEngine {
|
|
|
391
473
|
this.context.info(" 🏗️ Generating typescript declarations for the Powerlines project");
|
|
392
474
|
this.context.debug(" Aggregating configuration options for the Powerlines project");
|
|
393
475
|
inlineConfig.command ??= "types";
|
|
394
|
-
await Promise.all(this.#context.executions.map(async (
|
|
395
|
-
options,
|
|
476
|
+
await Promise.all(this.#context.executions.map(async (execution) => this.#worker.types({
|
|
477
|
+
options: execution.options,
|
|
396
478
|
config: inlineConfig
|
|
397
479
|
})));
|
|
398
480
|
this.context.debug("✔ Powerlines types generation has completed successfully");
|
|
@@ -411,10 +493,10 @@ var PowerlinesEngine = class PowerlinesEngine {
|
|
|
411
493
|
this.context.info(" 🏗️ Preparing the Powerlines project");
|
|
412
494
|
this.context.debug("Aggregating configuration options for the Powerlines project");
|
|
413
495
|
inlineConfig.command ??= "prepare";
|
|
414
|
-
await Promise.all(this.#context.executions.map(async (
|
|
415
|
-
options,
|
|
496
|
+
await Promise.all(this.#context.executions.map(async (execution) => this.#worker.prepare({
|
|
497
|
+
options: execution.options,
|
|
416
498
|
config: inlineConfig
|
|
417
|
-
})))
|
|
499
|
+
})));
|
|
418
500
|
this.context.debug("✔ Powerlines preparation has completed successfully");
|
|
419
501
|
timer();
|
|
420
502
|
}
|
|
@@ -431,10 +513,10 @@ var PowerlinesEngine = class PowerlinesEngine {
|
|
|
431
513
|
const timer = this.context.timer("New");
|
|
432
514
|
this.context.info(" 🆕 Creating a new Powerlines project");
|
|
433
515
|
inlineConfig.command ??= "new";
|
|
434
|
-
await Promise.all(this.#context.executions.map(async (
|
|
435
|
-
options,
|
|
516
|
+
await Promise.all(this.#context.executions.map(async (execution) => this.#worker.new({
|
|
517
|
+
options: execution.options,
|
|
436
518
|
config: inlineConfig
|
|
437
|
-
})))
|
|
519
|
+
})));
|
|
438
520
|
this.context.debug("✔ Powerlines new command completed successfully");
|
|
439
521
|
timer();
|
|
440
522
|
}
|
|
@@ -451,10 +533,10 @@ var PowerlinesEngine = class PowerlinesEngine {
|
|
|
451
533
|
const timer = this.context.timer("Clean");
|
|
452
534
|
this.context.info(" 🧹 Cleaning the previous Powerlines artifacts");
|
|
453
535
|
inlineConfig.command ??= "clean";
|
|
454
|
-
await Promise.all(this.#context.executions.map(async (
|
|
455
|
-
options,
|
|
536
|
+
await Promise.all(this.#context.executions.map(async (execution) => this.#worker.clean({
|
|
537
|
+
options: execution.options,
|
|
456
538
|
config: inlineConfig
|
|
457
|
-
})))
|
|
539
|
+
})));
|
|
458
540
|
this.context.debug("✔ Powerlines cleaning completed successfully");
|
|
459
541
|
timer();
|
|
460
542
|
}
|
|
@@ -468,10 +550,10 @@ var PowerlinesEngine = class PowerlinesEngine {
|
|
|
468
550
|
const timer = this.context.timer("Lint");
|
|
469
551
|
this.context.info(" 📝 Linting the Powerlines project");
|
|
470
552
|
inlineConfig.command ??= "lint";
|
|
471
|
-
await Promise.all(this.#context.executions.map(async (
|
|
472
|
-
options,
|
|
553
|
+
await Promise.all(this.#context.executions.map(async (execution) => this.#worker.lint({
|
|
554
|
+
options: execution.options,
|
|
473
555
|
config: inlineConfig
|
|
474
|
-
})))
|
|
556
|
+
})));
|
|
475
557
|
this.context.debug("✔ Powerlines linting completed successfully");
|
|
476
558
|
timer();
|
|
477
559
|
}
|
|
@@ -488,10 +570,10 @@ var PowerlinesEngine = class PowerlinesEngine {
|
|
|
488
570
|
const timer = this.context.timer("Test");
|
|
489
571
|
this.context.info(" 🧪 Running tests for the Powerlines project");
|
|
490
572
|
inlineConfig.command ??= "test";
|
|
491
|
-
await Promise.all(this.#context.executions.map(async (
|
|
492
|
-
options,
|
|
573
|
+
await Promise.all(this.#context.executions.map(async (execution) => this.#worker.test({
|
|
574
|
+
options: execution.options,
|
|
493
575
|
config: inlineConfig
|
|
494
|
-
})))
|
|
576
|
+
})));
|
|
495
577
|
this.context.debug("✔ Powerlines testing completed successfully");
|
|
496
578
|
timer();
|
|
497
579
|
}
|
|
@@ -507,10 +589,10 @@ var PowerlinesEngine = class PowerlinesEngine {
|
|
|
507
589
|
async build(inlineConfig = { command: "build" }) {
|
|
508
590
|
const timer = this.context.timer("Build");
|
|
509
591
|
this.context.info(" 📦 Building the Powerlines project");
|
|
510
|
-
await Promise.all(this.#context.executions.map(async (
|
|
511
|
-
options,
|
|
592
|
+
await Promise.all(this.#context.executions.map(async (execution) => this.#worker.build({
|
|
593
|
+
options: execution.options,
|
|
512
594
|
config: inlineConfig
|
|
513
|
-
})))
|
|
595
|
+
})));
|
|
514
596
|
this.context.debug("✔ Powerlines build completed successfully");
|
|
515
597
|
timer();
|
|
516
598
|
}
|
|
@@ -524,10 +606,10 @@ var PowerlinesEngine = class PowerlinesEngine {
|
|
|
524
606
|
const timer = this.context.timer("Docs");
|
|
525
607
|
this.context.info(" 📓 Generating documentation for the Powerlines project");
|
|
526
608
|
inlineConfig.command ??= "docs";
|
|
527
|
-
await Promise.all(this.#context.executions.map(async (
|
|
528
|
-
options,
|
|
609
|
+
await Promise.all(this.#context.executions.map(async (execution) => this.#worker.docs({
|
|
610
|
+
options: execution.options,
|
|
529
611
|
config: inlineConfig
|
|
530
|
-
})))
|
|
612
|
+
})));
|
|
531
613
|
this.context.debug("✔ Powerlines documentation generation completed successfully");
|
|
532
614
|
timer();
|
|
533
615
|
}
|
|
@@ -543,10 +625,10 @@ var PowerlinesEngine = class PowerlinesEngine {
|
|
|
543
625
|
const timer = this.context.timer("Deploy");
|
|
544
626
|
this.context.info(" 🚀 Deploying the Powerlines project");
|
|
545
627
|
inlineConfig.command ??= "deploy";
|
|
546
|
-
await Promise.all(this.#context.executions.map(async (
|
|
547
|
-
options,
|
|
628
|
+
await Promise.all(this.#context.executions.map(async (execution) => this.#worker.deploy({
|
|
629
|
+
options: execution.options,
|
|
548
630
|
config: inlineConfig
|
|
549
|
-
})))
|
|
631
|
+
})));
|
|
550
632
|
this.context.debug("✔ Powerlines deploy completed successfully");
|
|
551
633
|
timer();
|
|
552
634
|
}
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;AAgDA;;;;;;cAAa,gBAAA,YAA4B,MAAA,EAAQ,eAAA;EAAA;EAkEtC;;;;;;EAAA,OAjDW,WAAA,CAClB,OAAA,EAAS,aAAA,GACR,OAAA,CAAQ,gBAAA;EAyFY;;;EAAA,IAjEZ,OAAA,CAAA,GAAW,aAAA;EAkEJ;;;;;EAAA,UAzDT,WAAA,CAAa,OAAA,EAAS,aAAA;EA2Db;;;;;;;;EA/CL,KAAA,CACX,YAAA,GAAc,WAAA,CACZ,IAAA,CAAK,iBAAA,8BAIN,OAAA;EA4Ce;;;;;;;;EATL,OAAA,CACX,YAAA,GACI,WAAA,CAAY,IAAA,CAAK,mBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,iBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,eAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,iBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,iBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,gBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,gBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,kBAAA,8BAEpB,OAAA;EA8DoB;;;;;;;;;EA9BV,GAAA,CAAI,YAAA,EAAc,WAAA,CAAY,eAAA,eAA2B,OAAA;EA8DnE;;;;;;;;;EAnCU,KAAA,CACX,YAAA,GACI,WAAA,CAAY,IAAA,CAAK,iBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,mBAAA,8BAEpB,OAAA;EA4Fa;;;;;;EAnEH,IAAA,CACX,YAAA,GACI,WAAA,CAAY,IAAA,CAAK,gBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,iBAAA,8BAEpB,OAAA;EAmIC;;;;;;;;;EAvGS,IAAA,CACX,YAAA,GACI,WAAA,CAAY,IAAA,CAAK,gBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,iBAAA,8BAEpB,OAAA;EAnPoC;;;;;;;;;EA+Q1B,KAAA,CACX,YAAA,GAAc,WAAA,CACZ,IAAA,CAAK,iBAAA,8BAIN,OAAA;EAjOM;;;;;;EAyPI,IAAA,CACX,YAAA,GAAc,WAAA,CACZ,IAAA,CAAK,gBAAA,8BAIN,OAAA;EAlPD;;;;;;;;EAkRW,MAAA,CACX,YAAA,GAAc,WAAA,CACZ,IAAA,CAAK,kBAAA,8BAIN,OAAA;EA5OG;;;;;;;;EAwQO,QAAA,CAAA,GAAQ,OAAA;EAAA,CAUd,MAAA,CAAO,YAAA,KAAa,OAAA;AAAA"}
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;AAgDA;;;;;;cAAa,gBAAA,YAA4B,MAAA,EAAQ,eAAA;EAAA;EAkEtC;;;;;;EAAA,OAjDW,WAAA,CAClB,OAAA,EAAS,aAAA,GACR,OAAA,CAAQ,gBAAA;EAyFY;;;EAAA,IAjEZ,OAAA,CAAA,GAAW,aAAA;EAkEJ;;;;;EAAA,UAzDT,WAAA,CAAa,OAAA,EAAS,aAAA;EA2Db;;;;;;;;EA/CL,KAAA,CACX,YAAA,GAAc,WAAA,CACZ,IAAA,CAAK,iBAAA,8BAIN,OAAA;EA4Ce;;;;;;;;EATL,OAAA,CACX,YAAA,GACI,WAAA,CAAY,IAAA,CAAK,mBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,iBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,eAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,iBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,iBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,gBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,gBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,kBAAA,8BAEpB,OAAA;EA8DoB;;;;;;;;;EA9BV,GAAA,CAAI,YAAA,EAAc,WAAA,CAAY,eAAA,eAA2B,OAAA;EA8DnE;;;;;;;;;EAnCU,KAAA,CACX,YAAA,GACI,WAAA,CAAY,IAAA,CAAK,iBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,mBAAA,8BAEpB,OAAA;EA4Fa;;;;;;EAnEH,IAAA,CACX,YAAA,GACI,WAAA,CAAY,IAAA,CAAK,gBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,iBAAA,8BAEpB,OAAA;EAmIC;;;;;;;;;EAvGS,IAAA,CACX,YAAA,GACI,WAAA,CAAY,IAAA,CAAK,gBAAA,8BACjB,WAAA,CAAY,IAAA,CAAK,iBAAA,8BAEpB,OAAA;EAnPoC;;;;;;;;;EA+Q1B,KAAA,CACX,YAAA,GAAc,WAAA,CACZ,IAAA,CAAK,iBAAA,8BAIN,OAAA;EAjOM;;;;;;EAyPI,IAAA,CACX,YAAA,GAAc,WAAA,CACZ,IAAA,CAAK,gBAAA,8BAIN,OAAA;EAlPD;;;;;;;;EAkRW,MAAA,CACX,YAAA,GAAc,WAAA,CACZ,IAAA,CAAK,kBAAA,8BAIN,OAAA;EA5OG;;;;;;;;EAwQO,QAAA,CAAA,GAAQ,OAAA;EAAA,CAUd,MAAA,CAAO,YAAA,KAAa,OAAA;AAAA"}
|