@prisma/composer-cli 0.39.0-dev.7 → 0.39.0-dev.9
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/app-converge-C6Zrg2xM-DX-tW6C3.mjs +88 -0
- package/dist/app-converge-C6Zrg2xM-DX-tW6C3.mjs.map +1 -0
- package/dist/composer-config-QKdY85G--CEXrb2Uc.mjs +254 -0
- package/dist/composer-config-QKdY85G--CEXrb2Uc.mjs.map +1 -0
- package/dist/{validate-environment-XwVDifWN-BdYUHyVF.mjs → deploy-Br1yvLe3.mjs} +204 -1010
- package/dist/deploy-Br1yvLe3.mjs.map +1 -0
- package/dist/dev-converge-messages-DML4rTz7-B6uxtpZG.mjs +256 -0
- package/dist/dev-converge-messages-DML4rTz7-B6uxtpZG.mjs.map +1 -0
- package/dist/dev-converge-worker.d.mts +1 -0
- package/dist/dev-converge-worker.mjs +143 -0
- package/dist/dev-converge-worker.mjs.map +1 -0
- package/dist/{dev-current-gQnmjB4V-DrQ4Zzbl.mjs → dev-current-EqQbrtj5-DieSnSVx.mjs} +12 -18
- package/dist/dev-current-EqQbrtj5-DieSnSVx.mjs.map +1 -0
- package/dist/dev-environment-name-6eEr5PW8-CCY7WNWz.mjs +43 -0
- package/dist/dev-environment-name-6eEr5PW8-CCY7WNWz.mjs.map +1 -0
- package/dist/{dist-CRSv_9L8.mjs → dist-C0OGaDnj.mjs} +4 -3
- package/dist/{dist-CRSv_9L8.mjs.map → dist-C0OGaDnj.mjs.map} +1 -1
- package/dist/errors-CVYwN2km.mjs +93 -0
- package/dist/errors-CVYwN2km.mjs.map +1 -0
- package/dist/{execute-deploy-destroy-DKbsBkqK-D8pniqZg.mjs → execute-deploy-destroy-DKEmb8WI-DcgNdw4b.mjs} +245 -244
- package/dist/execute-deploy-destroy-DKEmb8WI-DcgNdw4b.mjs.map +1 -0
- package/dist/{execute-dev-DVCWURmI-D91UZq1o.mjs → execute-dev-C42niIFY-Dh_7dJ5W.mjs} +422 -166
- package/dist/execute-dev-C42niIFY-Dh_7dJ5W.mjs.map +1 -0
- package/dist/{execute-dev-current-Dt_9srY2-D8mAcSv4.mjs → execute-dev-current-AVT4zQ8F--qMLJobM.mjs} +9 -6
- package/dist/{execute-dev-current-Dt_9srY2-D8mAcSv4.mjs.map → execute-dev-current-AVT4zQ8F--qMLJobM.mjs.map} +1 -1
- package/dist/{family-D52hWFMF-FfSJ5SN2.d.mts → family-DfwviKFj-CS1L-EvS.d.mts} +171 -69
- package/dist/family-DfwviKFj-CS1L-EvS.d.mts.map +1 -0
- package/dist/family.d.mts +1 -1
- package/dist/family.mjs +87 -137
- package/dist/family.mjs.map +1 -1
- package/dist/internal-error-Dfur7Zqt-B8J8e7ac.mjs +58 -0
- package/dist/internal-error-Dfur7Zqt-B8J8e7ac.mjs.map +1 -0
- package/dist/{list-deployed-CIaiiV_l.mjs → list-deployed-C1cwFHrb.mjs} +5 -4
- package/dist/{list-deployed-CIaiiV_l.mjs.map → list-deployed-C1cwFHrb.mjs.map} +1 -1
- package/dist/local-target-CZzICh5R.mjs +34 -0
- package/dist/local-target-CZzICh5R.mjs.map +1 -0
- package/dist/preflight-transport-2d6iIchu-ArIJUY1L.mjs +56 -0
- package/dist/preflight-transport-2d6iIchu-ArIJUY1L.mjs.map +1 -0
- package/dist/{redaction-CjMYXtGp-CYefSG9A.mjs → redaction-DY6eDC12-BrK1aSN5.mjs} +17 -256
- package/dist/redaction-DY6eDC12-BrK1aSN5.mjs.map +1 -0
- package/dist/result-CttmabB6.mjs +91 -0
- package/dist/result-CttmabB6.mjs.map +1 -0
- package/dist/rolldown-runtime-C7HZzL1F.mjs +26 -0
- package/dist/steps-BZXNqW6U-BM2Aa8Bp.mjs +287 -0
- package/dist/steps-BZXNqW6U-BM2Aa8Bp.mjs.map +1 -0
- package/dist/testing.d.mts +2 -42
- package/dist/testing.d.mts.map +1 -1
- package/dist/testing.mjs +2 -5
- package/dist/testing.mjs.map +1 -1
- package/dist/validate-environment-DCZiNSlR-idVge-kq.mjs +983 -0
- package/dist/validate-environment-DCZiNSlR-idVge-kq.mjs.map +1 -0
- package/dist/value-reads-change-text-DcRCv7Zy-Ca8m3bal.mjs +15 -0
- package/dist/value-reads-change-text-DcRCv7Zy-Ca8m3bal.mjs.map +1 -0
- package/package.json +7 -7
- package/src/exports/dev-converge-worker.ts +2 -0
- package/src/exports/testing.ts +1 -4
- package/dist/app-configuration-file-Bbfq5PR3-CYdGtitc.mjs +0 -137
- package/dist/app-configuration-file-Bbfq5PR3-CYdGtitc.mjs.map +0 -1
- package/dist/dev-current-gQnmjB4V-DrQ4Zzbl.mjs.map +0 -1
- package/dist/dev-environment-name-6eEr5PW8-kDiScOL8.mjs +0 -71
- package/dist/dev-environment-name-6eEr5PW8-kDiScOL8.mjs.map +0 -1
- package/dist/execute-deploy-destroy-DKbsBkqK-D8pniqZg.mjs.map +0 -1
- package/dist/execute-dev-DVCWURmI-D91UZq1o.mjs.map +0 -1
- package/dist/family-D52hWFMF-FfSJ5SN2.d.mts.map +0 -1
- package/dist/generate-dev-stack-BEpqJ3AH-B7o7JyER.mjs +0 -100
- package/dist/generate-dev-stack-BEpqJ3AH-B7o7JyER.mjs.map +0 -1
- package/dist/redaction-CjMYXtGp-CYefSG9A.mjs.map +0 -1
- package/dist/result-DlBttLS8.mjs +0 -234
- package/dist/result-DlBttLS8.mjs.map +0 -1
- package/dist/run-alchemy-BlYyc4Oh-BnFv0AaY.mjs +0 -302
- package/dist/run-alchemy-BlYyc4Oh-BnFv0AaY.mjs.map +0 -1
- package/dist/validate-environment-XwVDifWN-BdYUHyVF.mjs.map +0 -1
package/dist/family.mjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
1
|
+
import { a as sectionMissing, t as checkComposerConfig } from "./composer-config-QKdY85G--CEXrb2Uc.mjs";
|
|
2
|
+
import { t as SecretRedaction } from "./redaction-DY6eDC12-BrK1aSN5.mjs";
|
|
3
|
+
import { n as platformVariableReaderText } from "./preflight-transport-2d6iIchu-ArIJUY1L.mjs";
|
|
4
|
+
import { a as devUrl, i as devStop, o as devWithDeps, r as deployWithDeps, t as DEFAULT_DEPLOY_ENVIRONMENT } from "./dev-current-EqQbrtj5-DieSnSVx.mjs";
|
|
5
|
+
import { t as valueReadsChangeText } from "./value-reads-change-text-DcRCv7Zy-Ca8m3bal.mjs";
|
|
5
6
|
import * as path from "node:path";
|
|
6
7
|
import { format } from "node:util";
|
|
7
|
-
import { defineCommand, defineCommandFamily, defineConfigSection, defineSessionCommand,
|
|
8
|
+
import { defineCommand, defineCommandFamily, defineConfigSection, defineSessionCommand, flag, positional } from "@prisma/cli-engine";
|
|
8
9
|
import { CliStructuredError, notOk, ok } from "@prisma/cli-engine/protocol";
|
|
9
10
|
//#region ../../0-framework/3-tooling/cli/dist/unset-platform-variables-B0aMhHaR.mjs
|
|
10
11
|
const variableLines = (variable) => [variable.readers.length === 0 ? ` - ${variable.name}` : ` - ${variable.name} (${variable.readers.map(platformVariableReaderText).join("; ")})`, ...variable.commands.map((command) => ` ${command}`)];
|
|
@@ -334,67 +335,15 @@ const createDeployCommand = (operations) => defineCommand({
|
|
|
334
335
|
}
|
|
335
336
|
});
|
|
336
337
|
/**
|
|
337
|
-
* Node's `--import` of a module that sends the child's stdout to stderr when
|
|
338
|
-
* stdout is not a terminal. In human format the engine hands a piped run's
|
|
339
|
-
* stdout to the child, and that pipe carries only the parent's data lines.
|
|
340
|
-
*/
|
|
341
|
-
const STDOUT_TO_STDERR = ["--import", `data:text/javascript,${encodeURIComponent("if (process.stdout.isTTY !== true) process.stdout.write = process.stderr.write.bind(process.stderr);")}`];
|
|
342
|
-
/** The adapter the operations call, backed by the engine's `ctx.spawn` so the
|
|
343
|
-
* terminal reaches alchemy natively and the engine owns signal policy. It
|
|
344
|
-
* ignores `invocation.redactedValues`: the child writes to the terminal, so
|
|
345
|
-
* its output is not redacted (ADR-0062). */
|
|
346
|
-
function convergeSpawn(ctx) {
|
|
347
|
-
return async (invocation) => {
|
|
348
|
-
const commandLine = alchemyCommandLine(invocation);
|
|
349
|
-
return {
|
|
350
|
-
...await ctx.spawn({
|
|
351
|
-
command: commandLine.command,
|
|
352
|
-
args: [...STDOUT_TO_STDERR, ...commandLine.args],
|
|
353
|
-
cwd: commandLine.cwd,
|
|
354
|
-
env: commandLine.env
|
|
355
|
-
}),
|
|
356
|
-
commandLine
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
|
-
/**
|
|
361
|
-
* The reproduce hint a failed converge carries. Deliberately absent for an
|
|
362
|
-
* aborted one: the user stopped it, so there is nothing to reproduce.
|
|
363
|
-
*/
|
|
364
|
-
function reproduceHint(failure) {
|
|
365
|
-
const diagnostics = executionDiagnostics(failure);
|
|
366
|
-
if (diagnostics === void 0) return [];
|
|
367
|
-
return [{
|
|
368
|
-
kind: "run-command",
|
|
369
|
-
label: `Run the converge directly from ${diagnostics.cwd} to reproduce this`,
|
|
370
|
-
command: diagnostics.reproduceCommand,
|
|
371
|
-
reason: `Generated stack file: ${diagnostics.stackFilePath}`
|
|
372
|
-
}];
|
|
373
|
-
}
|
|
374
|
-
/**
|
|
375
|
-
* How a FAILED `dev` converge settles.
|
|
376
|
-
*
|
|
377
|
-
* A failure that reached the child exits with the child's status verbatim and
|
|
378
|
-
* carries the reproduce hint; a failure that never reached the child is an
|
|
379
|
-
* ordinary structured error and gets the normal envelope. Nothing here reads
|
|
380
|
-
* `signal`: `exitWithChildStatus` settles from the engine's own record of the
|
|
381
|
-
* child, and a signal-killed one overrules it with 128 + the signal and no
|
|
382
|
-
* reproduce hint.
|
|
383
|
-
*/
|
|
384
|
-
function settleConvergeFailure(failure, ctx) {
|
|
385
|
-
const child = ctx.lastChild();
|
|
386
|
-
if (child !== void 0 && child.exitCode !== 0) return ok(exitWithChildStatus({ nextActions: reproduceHint(failure) }));
|
|
387
|
-
return notOk(toEngineError(failure));
|
|
388
|
-
}
|
|
389
|
-
/**
|
|
390
338
|
* `dev` — a session command that runs the local dev loop until the
|
|
391
339
|
* user interrupts it.
|
|
392
340
|
*
|
|
393
341
|
* The watch loop, the emulators and the live attachments stay the operation's
|
|
394
|
-
* state. What the handler owns is the boundary: the
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
*
|
|
342
|
+
* state. What the handler owns is the boundary: the operation's events become
|
|
343
|
+
* engine events, Ctrl-C reaches a running converge through `ctx.signal`, and
|
|
344
|
+
* the session settles on how it actually ended. Every converge runs in this
|
|
345
|
+
* process, so `console`'s stdout methods write to stderr for the whole
|
|
346
|
+
* session, as they do for `deploy`.
|
|
398
347
|
*
|
|
399
348
|
* Windows is refused inside the operation itself (DEV.PLATFORM_UNSUPPORTED),
|
|
400
349
|
* which is why nothing here reads the platform.
|
|
@@ -403,12 +352,7 @@ function settleConvergeFailure(failure, ctx) {
|
|
|
403
352
|
*/
|
|
404
353
|
const STOP_STEP = "Stopping the app's services — emulators and data stay up";
|
|
405
354
|
function valueReadsChangedText(change) {
|
|
406
|
-
|
|
407
|
-
...change.added.length > 0 ? [`reads of ${quotedList(change.added)} were added`] : [],
|
|
408
|
-
...change.removed.length > 0 ? [`reads of ${quotedList(change.removed)} were removed`] : [],
|
|
409
|
-
...change.changed.length > 0 ? [`${quotedList(change.changed)} ${change.changed.length === 1 ? "was" : "were"} changed`] : []
|
|
410
|
-
];
|
|
411
|
-
return `The platform variables the app reads changed since dev started: ${third !== void 0 ? `${first}, ${second}, and ${third}` : second !== void 0 ? `${first} and ${second}` : first}. Restart dev to apply them; rebuilds are paused until then.`;
|
|
355
|
+
return `The platform variables the app reads changed since dev started: ${valueReadsChangeText(change)}. Restart dev to apply them; rebuilds are paused until then.`;
|
|
412
356
|
}
|
|
413
357
|
/** Resolves when the run is asked to stop. */
|
|
414
358
|
function stopRequested(signal) {
|
|
@@ -417,36 +361,12 @@ function stopRequested(signal) {
|
|
|
417
361
|
signal.addEventListener("abort", () => resolve(), { once: true });
|
|
418
362
|
});
|
|
419
363
|
}
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
* itself, and it is sound because every dev converge is the SAME invocation:
|
|
427
|
-
* one stack file at one fixed path, rewritten in place before each request.
|
|
428
|
-
*/
|
|
429
|
-
function coalescedConverge(run) {
|
|
430
|
-
let live;
|
|
431
|
-
let queued;
|
|
432
|
-
const start = (invocation) => {
|
|
433
|
-
const outcome = run(invocation);
|
|
434
|
-
const settled = outcome.then(() => void 0, () => void 0);
|
|
435
|
-
live = settled;
|
|
436
|
-
settled.then(() => {
|
|
437
|
-
if (live === settled) live = void 0;
|
|
438
|
-
});
|
|
439
|
-
return outcome;
|
|
440
|
-
};
|
|
441
|
-
return (invocation) => {
|
|
442
|
-
const running = live;
|
|
443
|
-
if (running === void 0) return start(invocation);
|
|
444
|
-
queued ??= running.then(() => {
|
|
445
|
-
queued = void 0;
|
|
446
|
-
return start(invocation);
|
|
447
|
-
});
|
|
448
|
-
return queued;
|
|
449
|
-
};
|
|
364
|
+
function devStepId(step) {
|
|
365
|
+
return step.name === "converge" ? step.id : `${step.converge}.${step.resourceId}`;
|
|
366
|
+
}
|
|
367
|
+
function devStepLabel(step) {
|
|
368
|
+
if (step.name === "apply-resource") return `${step.status} ${step.resourceId}`;
|
|
369
|
+
return step.id === "dev.converge" ? "converge" : step.id.replace(/^dev\.rebuild\./, "rebuild ");
|
|
450
370
|
}
|
|
451
371
|
/** The front door, ordered by address depth (fewest dots first) then lexicographically. */
|
|
452
372
|
function frontDoorOrder(endpoints) {
|
|
@@ -460,7 +380,7 @@ function frontDoorOrder(endpoints) {
|
|
|
460
380
|
* The operation's events as engine events. The legacy `[dev]` console prefix
|
|
461
381
|
* is gone: these are commentary the engine renders and frames.
|
|
462
382
|
*/
|
|
463
|
-
function reportDevEvent(report,
|
|
383
|
+
function reportDevEvent(report, cwd) {
|
|
464
384
|
let stopFailed = false;
|
|
465
385
|
return (event) => {
|
|
466
386
|
switch (event.kind) {
|
|
@@ -547,26 +467,44 @@ function reportDevEvent(report, lastChild, cwd) {
|
|
|
547
467
|
text: `Watch error: ${event.message}`
|
|
548
468
|
});
|
|
549
469
|
return;
|
|
550
|
-
case "
|
|
551
|
-
|
|
552
|
-
|
|
470
|
+
case "step-started":
|
|
471
|
+
report({
|
|
472
|
+
kind: "step-started",
|
|
473
|
+
step: devStepLabel(event.step),
|
|
474
|
+
id: devStepId(event.step),
|
|
475
|
+
...event.step.name === "apply-resource" ? {
|
|
476
|
+
parentId: event.step.converge,
|
|
477
|
+
data: { resourceType: event.step.resourceType }
|
|
478
|
+
} : {}
|
|
479
|
+
});
|
|
480
|
+
return;
|
|
481
|
+
case "step-finished":
|
|
482
|
+
report({
|
|
483
|
+
kind: "step-finished",
|
|
484
|
+
step: devStepLabel(event.step),
|
|
485
|
+
id: devStepId(event.step),
|
|
486
|
+
outcome: event.outcome,
|
|
487
|
+
data: { durationMs: event.durationMs }
|
|
488
|
+
});
|
|
489
|
+
return;
|
|
490
|
+
case "message":
|
|
553
491
|
report({
|
|
554
492
|
kind: "message",
|
|
555
|
-
severity:
|
|
556
|
-
text:
|
|
557
|
-
Generated stack file: ${event.stackFilePath}\nRun \`${event.reproduceCommand}\` from ${event.cwd} to reproduce this directly.`
|
|
493
|
+
severity: event.severity,
|
|
494
|
+
text: event.text
|
|
558
495
|
});
|
|
496
|
+
return;
|
|
497
|
+
case "converge-failed":
|
|
559
498
|
report({
|
|
560
|
-
kind: "
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
499
|
+
kind: "message",
|
|
500
|
+
severity: "warn",
|
|
501
|
+
text: `Converge failed; the running app is untouched and dev is still watching.\n${event.message}`,
|
|
502
|
+
data: {
|
|
503
|
+
code: event.code,
|
|
504
|
+
reasons: event.reasons
|
|
566
505
|
}
|
|
567
506
|
});
|
|
568
507
|
return;
|
|
569
|
-
}
|
|
570
508
|
case "stopping":
|
|
571
509
|
report({
|
|
572
510
|
kind: "step-started",
|
|
@@ -610,7 +548,7 @@ async function stopDetachedApp(operations, app, ctx) {
|
|
|
610
548
|
const createDevCommand = (operations) => defineSessionCommand({
|
|
611
549
|
help: {
|
|
612
550
|
summary: "Bring up the application whose root node is the entry module's default export, entirely on this machine.",
|
|
613
|
-
description: "Runs credential-free and watches the app for changes, reconverging on
|
|
551
|
+
description: "Runs credential-free and watches the app for changes, reconverging when a service's build output or an app definition file (the entry module, or any app file it loaded) changes. An edit that adds or removes a node, changes which platform variables the app reads, or makes the app's root pass on an input field it did not pass on at start, needs a restart of dev, which says so. A service whose build adapter declares a dev server (Next.js's `next dev`, or the `dev` command written on node()) runs that instead of its build, and its output is shown here, prefixed with its address. A node is one service, database or bucket in the app. Each node runs on a local emulator: a program on this machine that stands in for Prisma Cloud and runs services, databases or S3-compatible buckets. A node's address is its path from the app name, with dots between names (shop.catalog.database). Each environment is a complete local copy of the app, with its own services, databases, buckets and ports; the default is dev, and copies of other environments run alongside it. Where each node runs is recorded in this directory: `prisma dev url` works from here while `prisma dev` runs, and `prisma dev stop` also works after `prisma dev` was killed. Ending `prisma dev` stops its services and database servers; data and ports are kept. With --detach it returns once every service answers and leaves the app running without watching for changes, until `prisma dev stop`.",
|
|
614
552
|
examples: [
|
|
615
553
|
"{bin} dev",
|
|
616
554
|
"{bin} dev --fresh",
|
|
@@ -637,31 +575,43 @@ const createDevCommand = (operations) => defineSessionCommand({
|
|
|
637
575
|
detach: flag.boolean({ brief: "Return once every service answers and leave the app running without watching for changes. Use it in scripts, agents and CI. `prisma dev stop` stops the app." })
|
|
638
576
|
} },
|
|
639
577
|
needs: { config: composerSection },
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
entry: args.flags.entry,
|
|
645
|
-
config: ctx.config,
|
|
646
|
-
name: args.flags.name,
|
|
647
|
-
environment: args.flags.environment,
|
|
648
|
-
fresh: args.flags.fresh,
|
|
649
|
-
detach: args.flags.detach,
|
|
650
|
-
cwd: ctx.cwd,
|
|
651
|
-
onEvent: reportDevEvent(ctx.report, ctx.lastChild, ctx.cwd)
|
|
652
|
-
}, { alchemy: coalescedConverge(alchemy) });
|
|
653
|
-
if (!result.ok) return settleConvergeFailure(result.failure, ctx);
|
|
654
|
-
if (args.flags.detach) {
|
|
655
|
-
if (ctx.signal.aborted) await stopDetachedApp(operations, {
|
|
578
|
+
handler: (args, ctx) => {
|
|
579
|
+
const redaction = new SecretRedaction(process.env);
|
|
580
|
+
return withConsoleOnStderr((text) => redaction.redact(text), async () => {
|
|
581
|
+
const result = await operations.dev({
|
|
656
582
|
entry: args.flags.entry,
|
|
583
|
+
config: ctx.config,
|
|
657
584
|
name: args.flags.name,
|
|
658
|
-
environment: args.flags.environment
|
|
659
|
-
|
|
585
|
+
environment: args.flags.environment,
|
|
586
|
+
fresh: args.flags.fresh,
|
|
587
|
+
detach: args.flags.detach,
|
|
588
|
+
cwd: ctx.cwd,
|
|
589
|
+
onEvent: reportDevEvent(ctx.report, ctx.cwd),
|
|
590
|
+
signal: ctx.signal
|
|
591
|
+
}, { redaction });
|
|
592
|
+
if (!result.ok) {
|
|
593
|
+
if (result.failure.code === "DEV.INTERRUPTED" && ctx.signal.aborted) {
|
|
594
|
+
ctx.report({
|
|
595
|
+
kind: "message",
|
|
596
|
+
severity: "warn",
|
|
597
|
+
text: `${result.failure.message} ${result.failure.fix ?? ""}`.trim()
|
|
598
|
+
});
|
|
599
|
+
return ok(void 0);
|
|
600
|
+
}
|
|
601
|
+
return notOk(toEngineError(result.failure));
|
|
602
|
+
}
|
|
603
|
+
if (args.flags.detach) {
|
|
604
|
+
if (ctx.signal.aborted) await stopDetachedApp(operations, {
|
|
605
|
+
entry: args.flags.entry,
|
|
606
|
+
name: args.flags.name,
|
|
607
|
+
environment: args.flags.environment
|
|
608
|
+
}, ctx);
|
|
609
|
+
return ok(void 0);
|
|
610
|
+
}
|
|
611
|
+
await stopRequested(ctx.signal);
|
|
612
|
+
await result.value.stop();
|
|
660
613
|
return ok(void 0);
|
|
661
|
-
}
|
|
662
|
-
await stopRequested(ctx.signal);
|
|
663
|
-
await result.value.stop();
|
|
664
|
-
return ok(void 0);
|
|
614
|
+
});
|
|
665
615
|
}
|
|
666
616
|
});
|
|
667
617
|
/**
|
|
@@ -904,7 +854,7 @@ function createComposerFamily$1(options = {}) {
|
|
|
904
854
|
* assembled into the family here, where both domains may be imported.
|
|
905
855
|
*/
|
|
906
856
|
/** Loaded on first use, so nothing of the Management API reads loads with the family. */
|
|
907
|
-
const listDeployed = async (input) => (await import("./list-deployed-
|
|
857
|
+
const listDeployed = async (input) => (await import("./list-deployed-C1cwFHrb.mjs")).listDeployed(input);
|
|
908
858
|
const createDeployListCommand = (list) => defineCommand({
|
|
909
859
|
help: {
|
|
910
860
|
summary: "List every node the app has deployed in an environment, with its platform ID and URL.",
|
|
@@ -983,7 +933,7 @@ const createDeployListCommand = (list) => defineCommand({
|
|
|
983
933
|
* family here, where both domains may be imported.
|
|
984
934
|
*/
|
|
985
935
|
/** Loaded on first use, so nothing of the emulators' clients loads with the family. */
|
|
986
|
-
const listEmulators = async () => (await import("./dist-
|
|
936
|
+
const listEmulators = async () => (await import("./dist-C0OGaDnj.mjs")).listEmulators();
|
|
987
937
|
const EMULATOR_NAMES = {
|
|
988
938
|
service: "Service emulator",
|
|
989
939
|
database: "Database emulator",
|