@geekmidas/cli 10.0.0-alpha.103 → 10.0.0-alpha.104
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/{EndpointGenerator-By5_tYE9.cjs → EndpointGenerator-BwbYTMtB.cjs} +2 -2
- package/dist/{EndpointGenerator-By5_tYE9.cjs.map → EndpointGenerator-BwbYTMtB.cjs.map} +1 -1
- package/dist/{EndpointGenerator-Br97xgs_.mjs → EndpointGenerator-CvLX8bpx.mjs} +2 -2
- package/dist/{EndpointGenerator-Br97xgs_.mjs.map → EndpointGenerator-CvLX8bpx.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-8gNDqaml.mjs → GoDaddyProvider-CuPEbbjl.mjs} +2 -2
- package/dist/{GoDaddyProvider-8gNDqaml.mjs.map → GoDaddyProvider-CuPEbbjl.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-JITjarl9.cjs → GoDaddyProvider-dezqtUth.cjs} +2 -2
- package/dist/{GoDaddyProvider-JITjarl9.cjs.map → GoDaddyProvider-dezqtUth.cjs.map} +1 -1
- package/dist/{LegacyStateStore-C0WnyYy_.mjs → LegacyStateStore-Bc8FnHEB.mjs} +3 -3
- package/dist/{LegacyStateStore-C0WnyYy_.mjs.map → LegacyStateStore-Bc8FnHEB.mjs.map} +1 -1
- package/dist/{LegacyStateStore-D-mcT2Z7.cjs → LegacyStateStore-ecxYpm9-.cjs} +3 -3
- package/dist/{LegacyStateStore-D-mcT2Z7.cjs.map → LegacyStateStore-ecxYpm9-.cjs.map} +1 -1
- package/dist/{LocalStateStore-CUFfdu-v.cjs → LocalStateStore-Sf4B6kUn.cjs} +2 -2
- package/dist/{LocalStateStore-CUFfdu-v.cjs.map → LocalStateStore-Sf4B6kUn.cjs.map} +1 -1
- package/dist/{LocalStateStore-C_8QWB2r.mjs → LocalStateStore-wSKMDDh5.mjs} +2 -2
- package/dist/{LocalStateStore-C_8QWB2r.mjs.map → LocalStateStore-wSKMDDh5.mjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-BgSX_Z-e.cjs → OpenApiTsGenerator-BD6ZOQ51.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-BgSX_Z-e.cjs.map → OpenApiTsGenerator-BD6ZOQ51.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-C8aTX--y.mjs → OpenApiTsGenerator-DXXFXSbO.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-C8aTX--y.mjs.map → OpenApiTsGenerator-DXXFXSbO.mjs.map} +1 -1
- package/dist/{S3StateStore-B0Vy19db.mjs → S3StateStore-BPlVpTfg.mjs} +2 -2
- package/dist/{S3StateStore-B0Vy19db.mjs.map → S3StateStore-BPlVpTfg.mjs.map} +1 -1
- package/dist/{S3StateStore-DIJ6CCv_.cjs → S3StateStore-DQYjsYBl.cjs} +2 -2
- package/dist/{S3StateStore-DIJ6CCv_.cjs.map → S3StateStore-DQYjsYBl.cjs.map} +1 -1
- package/dist/{SSMStateStore-DgBlEqYO.mjs → SSMStateStore-De2PY12p.mjs} +2 -2
- package/dist/{SSMStateStore-DgBlEqYO.mjs.map → SSMStateStore-De2PY12p.mjs.map} +1 -1
- package/dist/{SSMStateStore-D577um0e.cjs → SSMStateStore-P9OMZHkp.cjs} +2 -2
- package/dist/{SSMStateStore-D577um0e.cjs.map → SSMStateStore-P9OMZHkp.cjs.map} +1 -1
- package/dist/{SubscriberGenerator-DmPM_3c5.cjs → SubscriberGenerator-CeH7wbYt.cjs} +3 -3
- package/dist/{SubscriberGenerator-DmPM_3c5.cjs.map → SubscriberGenerator-CeH7wbYt.cjs.map} +1 -1
- package/dist/{SubscriberGenerator-YK-7ewmi.mjs → SubscriberGenerator-DHnIYwUU.mjs} +3 -3
- package/dist/{SubscriberGenerator-YK-7ewmi.mjs.map → SubscriberGenerator-DHnIYwUU.mjs.map} +1 -1
- package/dist/{add-D97HfZ7z.cjs → add-C_lp7-oD.cjs} +8 -9
- package/dist/add-C_lp7-oD.cjs.map +1 -0
- package/dist/{add-BJJKhUnO.mjs → add-Dgdsb3ox.mjs} +8 -9
- package/dist/add-Dgdsb3ox.mjs.map +1 -0
- package/dist/{bundler-CtEQAnym.cjs → bundler-DBTA8gXs.cjs} +5 -5
- package/dist/{bundler-CtEQAnym.cjs.map → bundler-DBTA8gXs.cjs.map} +1 -1
- package/dist/{bundler-CzbrMpDf.mjs → bundler-DVPoeMRa.mjs} +5 -5
- package/dist/{bundler-CzbrMpDf.mjs.map → bundler-DVPoeMRa.mjs.map} +1 -1
- package/dist/{cli-D_zrFs9-.mjs → cli-CGXOvWRP.mjs} +3 -3
- package/dist/{cli-D_zrFs9-.mjs.map → cli-CGXOvWRP.mjs.map} +1 -1
- package/dist/{cli-CIv8PA-v.cjs → cli-D7FyFbeC.cjs} +3 -3
- package/dist/{cli-CIv8PA-v.cjs.map → cli-D7FyFbeC.cjs.map} +1 -1
- package/dist/{compose-DtPhKs0u.mjs → compose-B8ND6s9C.mjs} +14 -11
- package/dist/{compose-DtPhKs0u.mjs.map → compose-B8ND6s9C.mjs.map} +1 -1
- package/dist/{compose-BviikvXq.cjs → compose-qbPKKAMC.cjs} +14 -11
- package/dist/compose-qbPKKAMC.cjs.map +1 -0
- package/dist/config.cjs +1 -1
- package/dist/config.mjs +1 -1
- package/dist/{credentialSchemas-DvitraL-.mjs → credentialSchemas-Cf5Pf8VE.mjs} +2 -2
- package/dist/{credentialSchemas-DvitraL-.mjs.map → credentialSchemas-Cf5Pf8VE.mjs.map} +1 -1
- package/dist/{credentialSchemas-DDda4Mmm.cjs → credentialSchemas-D_VUCDUh.cjs} +2 -2
- package/dist/{credentialSchemas-DDda4Mmm.cjs.map → credentialSchemas-D_VUCDUh.cjs.map} +1 -1
- package/dist/deploy/public.cjs +7 -7
- package/dist/deploy/public.mjs +7 -7
- package/dist/{deploy-cv0i1yFo.cjs → deploy-Bsxl6nyG.cjs} +8 -8
- package/dist/{deploy-cv0i1yFo.cjs.map → deploy-Bsxl6nyG.cjs.map} +1 -1
- package/dist/{deploy-DyPt41Oq.mjs → deploy-yLGEWuam.mjs} +8 -8
- package/dist/{deploy-DyPt41Oq.mjs.map → deploy-yLGEWuam.mjs.map} +1 -1
- package/dist/{discover-BfhVW_kT.cjs → discover-Bsr7HjqJ.cjs} +18 -2
- package/dist/{discover-BfhVW_kT.cjs.map → discover-Bsr7HjqJ.cjs.map} +1 -1
- package/dist/{discover-kziEht4W.mjs → discover-Ca8U75dl.mjs} +13 -3
- package/dist/{discover-kziEht4W.mjs.map → discover-Ca8U75dl.mjs.map} +1 -1
- package/dist/{dns-B-wqZiyQ.mjs → dns-BQrhafpk.mjs} +2 -2
- package/dist/{dns-B-wqZiyQ.mjs.map → dns-BQrhafpk.mjs.map} +1 -1
- package/dist/{dns-_rxfINeq.cjs → dns-BUUEztBH.cjs} +2 -2
- package/dist/{dns-_rxfINeq.cjs.map → dns-BUUEztBH.cjs.map} +1 -1
- package/dist/{dokploy-BJQ9HjVv.mjs → dokploy-BuIvCaE1.mjs} +2 -2
- package/dist/{dokploy-BJQ9HjVv.mjs.map → dokploy-BuIvCaE1.mjs.map} +1 -1
- package/dist/{dokploy-DSvw-l5b.cjs → dokploy-CCnoXmGV.cjs} +2 -2
- package/dist/{dokploy-DSvw-l5b.cjs.map → dokploy-CCnoXmGV.cjs.map} +1 -1
- package/dist/{drivers-OXhPkaNB.mjs → drivers-D11JHxrD.mjs} +2 -2
- package/dist/{drivers-OXhPkaNB.mjs.map → drivers-D11JHxrD.mjs.map} +1 -1
- package/dist/{drivers-DEDL8vPE.cjs → drivers-GKaA6ITM.cjs} +2 -2
- package/dist/{drivers-DEDL8vPE.cjs.map → drivers-GKaA6ITM.cjs.map} +1 -1
- package/dist/{encryption-UgYs2YYM.cjs → encryption-2KOlWvfq.cjs} +2 -2
- package/dist/{encryption-UgYs2YYM.cjs.map → encryption-2KOlWvfq.cjs.map} +1 -1
- package/dist/{encryption-BUAZ3OEJ.mjs → encryption-BFs3ItV9.mjs} +2 -2
- package/dist/{encryption-BUAZ3OEJ.mjs.map → encryption-BFs3ItV9.mjs.map} +1 -1
- package/dist/{engine-Blx6G12-.cjs → engine-Bx_ea2_k.cjs} +6 -5
- package/dist/engine-Bx_ea2_k.cjs.map +1 -0
- package/dist/{engine-VnbN4VnX.mjs → engine-vvr2EpTb.mjs} +6 -5
- package/dist/engine-vvr2EpTb.mjs.map +1 -0
- package/dist/{github-C-L3qfYZ.cjs → github-BM6afosB.cjs} +5 -5
- package/dist/{github-C-L3qfYZ.cjs.map → github-BM6afosB.cjs.map} +1 -1
- package/dist/{github-D2uJ32Af.mjs → github-DuXBKTvr.mjs} +5 -5
- package/dist/{github-D2uJ32Af.mjs.map → github-DuXBKTvr.mjs.map} +1 -1
- package/dist/index.cjs +180 -101
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +181 -102
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-DxAFe2EV.cjs → migrate-BQfq48xK.cjs} +2 -2
- package/dist/{migrate-DxAFe2EV.cjs.map → migrate-BQfq48xK.cjs.map} +1 -1
- package/dist/{migrate-Dqjr7rfs.mjs → migrate-BlLFYSIx.mjs} +2 -2
- package/dist/{migrate-Dqjr7rfs.mjs.map → migrate-BlLFYSIx.mjs.map} +1 -1
- package/dist/{migrate-BFH52jlU.mjs → migrate-CQal4P1q.mjs} +3 -3
- package/dist/{migrate-BFH52jlU.mjs.map → migrate-CQal4P1q.mjs.map} +1 -1
- package/dist/{migrate-DdociPvx.cjs → migrate-DXVzuw-s.cjs} +3 -3
- package/dist/{migrate-DdociPvx.cjs.map → migrate-DXVzuw-s.cjs.map} +1 -1
- package/dist/openapi.cjs +2 -2
- package/dist/openapi.mjs +2 -2
- package/dist/{ready-CuSU8Ap0.mjs → ready-CVNE5Pix.mjs} +6 -6
- package/dist/{ready-CuSU8Ap0.mjs.map → ready-CVNE5Pix.mjs.map} +1 -1
- package/dist/{ready-D38XpZ0L.cjs → ready-DU7wvxWk.cjs} +6 -6
- package/dist/{ready-D38XpZ0L.cjs.map → ready-DU7wvxWk.cjs.map} +1 -1
- package/dist/reconcile/public.cjs +1 -1
- package/dist/reconcile/public.mjs +1 -1
- package/dist/{resolve-aqhkZfDI.cjs → resolve-By_cw893.cjs} +3 -3
- package/dist/{resolve-aqhkZfDI.cjs.map → resolve-By_cw893.cjs.map} +1 -1
- package/dist/{resolve-BGgwxfCz.mjs → resolve-De9vfAnN.mjs} +3 -3
- package/dist/{resolve-BGgwxfCz.mjs.map → resolve-De9vfAnN.mjs.map} +1 -1
- package/dist/{rollback-DUbUQeoz.mjs → rollback-YCj4_q9l.mjs} +4 -4
- package/dist/{rollback-DUbUQeoz.mjs.map → rollback-YCj4_q9l.mjs.map} +1 -1
- package/dist/{rollback-qk3-knJ7.cjs → rollback-dkinZaOv.cjs} +4 -4
- package/dist/{rollback-qk3-knJ7.cjs.map → rollback-dkinZaOv.cjs.map} +1 -1
- package/dist/sandbox/credentials-worker.cjs +2 -2
- package/dist/sandbox/credentials-worker.mjs +2 -2
- package/dist/sandbox/discover-worker.cjs +1 -1
- package/dist/sandbox/discover-worker.mjs +1 -1
- package/dist/sandbox/migrate-worker.cjs +1 -1
- package/dist/sandbox/migrate-worker.mjs +1 -1
- package/dist/{seeds-a1H3kuqu.cjs → seeds-CjBwLvWY.cjs} +31 -46
- package/dist/seeds-CjBwLvWY.cjs.map +1 -0
- package/dist/{seeds-Cx8NmuQj.mjs → seeds-DZGuovWF.mjs} +26 -47
- package/dist/seeds-DZGuovWF.mjs.map +1 -0
- package/dist/{sniffer-Bt2H-BZ_.mjs → sniffer-bo0KeZsK.mjs} +7 -7
- package/dist/{sniffer-Bt2H-BZ_.mjs.map → sniffer-bo0KeZsK.mjs.map} +1 -1
- package/dist/{sniffer-DxYAi7bz.cjs → sniffer-t0NsMNNP.cjs} +7 -7
- package/dist/{sniffer-DxYAi7bz.cjs.map → sniffer-t0NsMNNP.cjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-Bs_lNQhL.mjs → terminal-CvRLxz6g.mjs} +2 -2
- package/dist/{terminal-Bs_lNQhL.mjs.map → terminal-CvRLxz6g.mjs.map} +1 -1
- package/dist/{terminal-CsQz4oT0.cjs → terminal-D_NRPW4W.cjs} +2 -2
- package/dist/{terminal-CsQz4oT0.cjs.map → terminal-D_NRPW4W.cjs.map} +1 -1
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +1 -1
- package/package.json +15 -15
- package/dist/add-BJJKhUnO.mjs.map +0 -1
- package/dist/add-D97HfZ7z.cjs.map +0 -1
- package/dist/compose-BviikvXq.cjs.map +0 -1
- package/dist/engine-Blx6G12-.cjs.map +0 -1
- package/dist/engine-VnbN4VnX.mjs.map +0 -1
- package/dist/seeds-Cx8NmuQj.mjs.map +0 -1
- package/dist/seeds-a1H3kuqu.cjs.map +0 -1
|
@@ -3,12 +3,12 @@ import { t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
|
3
3
|
import { i as run$1, s as gkmHome } from "./run-BJLIerMM.mjs";
|
|
4
4
|
import { B as LOGS_PORT, H as provisioningOf, R as stageSampleRate, U as stageProvider, _ as PUBLIC_ENV_PREFIXES, a as allConstructGlobs, ct as UnknownSecretsStoreProvider, ft as SERVER_IPV4_KEY, ht as isReservedStageKey, j as TEST_STAGE, pt as SERVER_IPV6_KEY, ut as s3SecretsLocation, v as getPublicEnvPrefix, z as telemetryEnv } from "./workspace-D1QbNd55.mjs";
|
|
5
5
|
import { t as appKey } from "./derive-B4vDpzgP.mjs";
|
|
6
|
-
import { a as DEFAULT_CACHE, c as holdsEveryCache, i as readFakes, o as DEFAULT_EVENTS$1, r as readCredentialFakes, s as DEFAULT_STORAGE, t as SubscriberGenerator } from "./SubscriberGenerator-
|
|
6
|
+
import { a as DEFAULT_CACHE, c as holdsEveryCache, i as readFakes, o as DEFAULT_EVENTS$1, r as readCredentialFakes, s as DEFAULT_STORAGE, t as SubscriberGenerator } from "./SubscriberGenerator-DHnIYwUU.mjs";
|
|
7
7
|
import { n as deployIdentity } from "./identity-CBXr4wNi.mjs";
|
|
8
|
-
import { a as startTelemetryCode, n as runtimeFor, s as writeTelemetryModule, u as telemetryArgs } from "./EndpointGenerator-
|
|
9
|
-
import { d as
|
|
8
|
+
import { a as startTelemetryCode, n as runtimeFor, s as writeTelemetryModule, u as telemetryArgs } from "./EndpointGenerator-CvLX8bpx.mjs";
|
|
9
|
+
import { d as ConstructGenerator, f as output, i as discover } from "./discover-Ca8U75dl.mjs";
|
|
10
10
|
import { ConfigNotFound, NotInAnApp, loadWorkspaceAppInfo, loadWorkspaceConfig } from "./config.mjs";
|
|
11
|
-
import { c as runtimeOf } from "./resolve-
|
|
11
|
+
import { c as runtimeOf } from "./resolve-De9vfAnN.mjs";
|
|
12
12
|
import { basename, dirname, isAbsolute, join, parse, relative, resolve, sep } from "node:path";
|
|
13
13
|
import { constants, existsSync, readFileSync } from "node:fs";
|
|
14
14
|
import { appendFile, chmod, copyFile, mkdir, readFile, readdir, rm, stat, writeFile } from "node:fs/promises";
|
|
@@ -724,10 +724,8 @@ function emulatorQueueUrl(name, port) {
|
|
|
724
724
|
* Which processes use a `Telemetry` node — read off the manifest's edges.
|
|
725
725
|
*
|
|
726
726
|
* A process uses telemetry when its own declaration names the node: a
|
|
727
|
-
* surface's `telemetry`, a worker's.
|
|
728
|
-
*
|
|
729
|
-
* consumers under `gkm dev`, and is handed their edges' keys by `appEnvKeys`,
|
|
730
|
-
* so a worker's edge counts for it too — the same rule, read the same way.
|
|
727
|
+
* surface's `telemetry`, a worker's. A surface's process runs its own
|
|
728
|
+
* endpoints, so a worker's edge never counts for it.
|
|
731
729
|
*
|
|
732
730
|
* A site's edge is recorded and never followed here: a site is handed none of
|
|
733
731
|
* the node's keys (see `PUBLIC.telemetry`).
|
|
@@ -753,14 +751,7 @@ function telemetryOf(manifest, id) {
|
|
|
753
751
|
if (!declaration) return void 0;
|
|
754
752
|
if (declaration.kind === "worker") return nodeOf(manifest, declaration.telemetry);
|
|
755
753
|
if (declaration.kind !== "rest-api") return void 0;
|
|
756
|
-
|
|
757
|
-
if (own) return own;
|
|
758
|
-
if (declaration.endpoints.length > 0) return void 0;
|
|
759
|
-
for (const other of Object.values(manifest)) {
|
|
760
|
-
if (other.kind !== "worker") continue;
|
|
761
|
-
const node = nodeOf(manifest, other.telemetry);
|
|
762
|
-
if (node) return node;
|
|
763
|
-
}
|
|
754
|
+
return nodeOf(manifest, declaration.telemetry);
|
|
764
755
|
}
|
|
765
756
|
/**
|
|
766
757
|
* The `Telemetry` node the app `appName` emits through — its surface's, or
|
|
@@ -2613,6 +2604,7 @@ function workerUnits(workspace, manifest, background) {
|
|
|
2613
2604
|
}
|
|
2614
2605
|
return units.sort((a, b) => a.name.localeCompare(b.name));
|
|
2615
2606
|
}
|
|
2607
|
+
/** Whether `file` is inside `dir`. */
|
|
2616
2608
|
function isUnder(file, dir) {
|
|
2617
2609
|
const rel = relative(dir, file);
|
|
2618
2610
|
return rel !== "" && !rel.startsWith("..") && !isAbsolute(rel) ? !rel.startsWith(`..${sep}`) : false;
|
|
@@ -5545,7 +5537,7 @@ async function reconcileWorkspace(workspace, options) {
|
|
|
5545
5537
|
metroPorts: metroPorts(workspace, manifest),
|
|
5546
5538
|
fakes,
|
|
5547
5539
|
credentialFakes,
|
|
5548
|
-
apps: (containers) => appServices(workspace, manifest, containers, credentials, runnables, fakes),
|
|
5540
|
+
apps: (containers) => appServices(workspace, manifest, containers, credentials, runnables, fakes, credentialFakes),
|
|
5549
5541
|
...options.start === void 0 ? {} : { start: options.start },
|
|
5550
5542
|
...options.progress ? { progress: options.progress } : {}
|
|
5551
5543
|
});
|
|
@@ -5642,11 +5634,12 @@ function dockerfileOf(appName, path) {
|
|
|
5642
5634
|
* surface resolved to its `*.localhost` host on the edge's port, which the
|
|
5643
5635
|
* rewrite to the compose network then turned into an address nothing answers.
|
|
5644
5636
|
*/
|
|
5645
|
-
function localPlan(workspace, manifest, fakes = {}) {
|
|
5637
|
+
function localPlan(workspace, manifest, fakes = {}, credentialFakes = {}) {
|
|
5646
5638
|
return planFor(manifest, workspace.stages.local, provisionOrder(manifest), {
|
|
5647
5639
|
localStage: workspace.stages.local,
|
|
5648
5640
|
...backendsOf(workspace),
|
|
5649
5641
|
fakes,
|
|
5642
|
+
credentialFakes,
|
|
5650
5643
|
edge: false
|
|
5651
5644
|
});
|
|
5652
5645
|
}
|
|
@@ -5709,8 +5702,12 @@ function networkEnv(plan, options, hostOf = (container) => container) {
|
|
|
5709
5702
|
*
|
|
5710
5703
|
* One hop: a surface an app calls is reached over HTTP, so its URL is the
|
|
5711
5704
|
* app's business and its database is not. A site also gets the public
|
|
5712
|
-
* variant of each key its bundle inlines (`NEXT_PUBLIC_API_URL`)
|
|
5713
|
-
*
|
|
5705
|
+
* variant of each key its bundle inlines (`NEXT_PUBLIC_API_URL`).
|
|
5706
|
+
*
|
|
5707
|
+
* A surface's process runs its own endpoints and nothing else. A Worker's
|
|
5708
|
+
* crons, queue consumers and subscribers run in the worker's own process
|
|
5709
|
+
* (`workerEnvKeys`), so no surface is handed a worker's edges — however its
|
|
5710
|
+
* endpoints were found.
|
|
5714
5711
|
*
|
|
5715
5712
|
* `undefined` for an app no declaration describes, which gets nothing but its
|
|
5716
5713
|
* port.
|
|
@@ -5724,20 +5721,7 @@ function appEnvKeys(manifest, appName, runnables = {}) {
|
|
|
5724
5721
|
...declaration.requires ?? [],
|
|
5725
5722
|
...declaration.kind === "rest-api" ? declaration.endpoints.flatMap((endpoint) => endpoint.requires ?? []) : []
|
|
5726
5723
|
]);
|
|
5727
|
-
|
|
5728
|
-
if (declaration.kind === "rest-api" && declaration.endpoints.length === 0) {
|
|
5729
|
-
const runsWorkers = Object.values(manifest).some((other) => other.kind === "worker");
|
|
5730
|
-
for (const [otherId, other] of Object.entries(manifest)) {
|
|
5731
|
-
if (other.kind !== "worker") continue;
|
|
5732
|
-
edges.push(...dependenciesOf(other).map((edge) => edge.target), ...runnables[otherId] ?? []);
|
|
5733
|
-
keys.add("EVENT_PUBLISHER_CONNECTION_STRING");
|
|
5734
|
-
}
|
|
5735
|
-
if (runsWorkers) for (const other of Object.values(manifest)) {
|
|
5736
|
-
if (other.kind !== "queue" && other.kind !== "topic") continue;
|
|
5737
|
-
for (const key of other.provides ?? []) keys.add(key);
|
|
5738
|
-
}
|
|
5739
|
-
}
|
|
5740
|
-
addEdgeKeys(manifest, edges, keys);
|
|
5724
|
+
addEdgeKeys(manifest, [...dependenciesOf(declaration).map((edge) => edge.target), ...runnables[id] ?? []], keys);
|
|
5741
5725
|
if (declaration.kind === "site" || declaration.kind === "mobile-app") {
|
|
5742
5726
|
for (const key of TELEMETRY_KEYS) keys.delete(key);
|
|
5743
5727
|
for (const key of Object.keys(publicEnvFor(declaration, manifest))) keys.add(key);
|
|
@@ -5746,10 +5730,9 @@ function appEnvKeys(manifest, appName, runnables = {}) {
|
|
|
5746
5730
|
}
|
|
5747
5731
|
/**
|
|
5748
5732
|
* The keys a Worker's own process reads: what the worker and everything built
|
|
5749
|
-
* from it declared an edge to
|
|
5750
|
-
*
|
|
5751
|
-
*
|
|
5752
|
-
* process that runs them is handed each carrier's.
|
|
5733
|
+
* from it declared an edge to — the queues its consumers drain and the topics
|
|
5734
|
+
* its subscribers are bound to among them (see `DiscoverOptions.runnables`) —
|
|
5735
|
+
* and the broker its crons schedule through.
|
|
5753
5736
|
*
|
|
5754
5737
|
* `undefined` when no worker has that id.
|
|
5755
5738
|
*/
|
|
@@ -5761,10 +5744,6 @@ function workerEnvKeys(manifest, workerId, runnables = {}) {
|
|
|
5761
5744
|
...declaration.requires ?? [],
|
|
5762
5745
|
"EVENT_PUBLISHER_CONNECTION_STRING"
|
|
5763
5746
|
]);
|
|
5764
|
-
for (const other of Object.values(manifest)) {
|
|
5765
|
-
if (other.kind !== "queue" && other.kind !== "topic") continue;
|
|
5766
|
-
for (const key of other.provides ?? []) keys.add(key);
|
|
5767
|
-
}
|
|
5768
5747
|
addEdgeKeys(manifest, [...dependenciesOf(declaration).map((edge) => edge.target), ...runnables[workerId] ?? []], keys);
|
|
5769
5748
|
return keys;
|
|
5770
5749
|
}
|
|
@@ -5788,8 +5767,8 @@ function addEdgeKeys(manifest, edges, keys) {
|
|
|
5788
5767
|
}
|
|
5789
5768
|
}
|
|
5790
5769
|
/** One compose service per app the workspace runs, behind the apps profile. */
|
|
5791
|
-
function appServices(workspace, manifest, containers, credentials, runnables = {}, fakes = {}) {
|
|
5792
|
-
const plan = localPlan(workspace, manifest, fakes);
|
|
5770
|
+
function appServices(workspace, manifest, containers, credentials, runnables = {}, fakes = {}, credentialFakes = {}) {
|
|
5771
|
+
const plan = localPlan(workspace, manifest, fakes, credentialFakes);
|
|
5793
5772
|
const derivation = {
|
|
5794
5773
|
project: workspace.name,
|
|
5795
5774
|
credentials,
|
|
@@ -7301,7 +7280,7 @@ async function createDnsProvider(options) {
|
|
|
7301
7280
|
});
|
|
7302
7281
|
}
|
|
7303
7282
|
if (provider === "godaddy") {
|
|
7304
|
-
const { GoDaddyProvider } = await import("./GoDaddyProvider-
|
|
7283
|
+
const { GoDaddyProvider } = await import("./GoDaddyProvider-CuPEbbjl.mjs");
|
|
7305
7284
|
return new GoDaddyProvider(options.godaddy ?? {});
|
|
7306
7285
|
}
|
|
7307
7286
|
if (provider === "cloudflare") throw new DnsProviderNotImplemented("cloudflare");
|
|
@@ -8150,6 +8129,6 @@ function reportPlannedSeeds(planned, log) {
|
|
|
8150
8129
|
for (const { folder, seeds } of planned) log(`🌱 ${folder}: would run ${seeds.length} (${seeds.join(", ")})`);
|
|
8151
8130
|
}
|
|
8152
8131
|
//#endregion
|
|
8153
|
-
export { devServicesUsed as $,
|
|
8132
|
+
export { devServicesUsed as $, workerUnits as $t, assertStageProvidersEnabled as A, isTelemetryKey as An, isPortAvailable as At, workerDockerfileOf as B, portKeys as Bn, maskPassword as Bt, setApplicationId as C, withRedisPassword as Cn, cacheBackendFor as Ct, DnsRecordsUnreadable as D, planFor as Dn, createCredentialsPreload as Dt, setPostgresBackupId as E, TELEMETRY_CONTAINER as En, storageBackendFor as Et, DockerPushFailed as F, EMULATOR_ACCESS_KEY_ID as Fn, isRemoteStore as Ft, CronGenerator as G, LOGS_SERVICE as Gn, imageLayout as Gt, workerBundleName as H, postgresImage as Hn, toEmbeddableSecrets as Ht, appDockerfile as I, hostFor as In, secretsStoreFor as It, DEV_SERVICES as J, stackLogs as Jn, detectPackageManager as Jt, validateImageRef as K, logsAccess as Kn, TURBO_VERSION as Kt, dockerCommand as L, DEFAULT_IMAGES as Ln, storeFromConfig as Lt, stageProviderNotes as M, surfaceClientTraced as Mn, loadPortState as Mt, PROVIDER_KINDS as N, telemetryOf as Nn, loadSecretsForApp as Nt, createDnsProvider as O, resourceName as On, createEntryWrapper as Ot, DockerBuildFailed as P, usesTelemetry as Pn, prepareEntryCredentials as Pt, assertDevServicesFlag as Q, resolveHost as Qn, isUnder as Qt, ensureDockerignore as R, describeServices as Rn, store_exports as Rt, recordRollback as S, stackRedis as Sn, composeFor as St, setGeneratedSecret as T, localRolePassword as Tn, providerOf as Tt, workerEntryDir as U, primaryPortKey as Un, withCustomSecret as Ut, WorkerGenerator as V, portsOf as Vn, storage_exports as Vt, QueueGenerator as W, LOCAL_LOGS_EMAIL as Wn, composeBuildPaths as Wt, ExternalServicesNotConfigured as X, NoDomainForStage as Xn, imageBuildCredentials as Xt, DevServicesNeedServerTarget as Y, withLogsPassword as Yn, findBuildRoot as Yt, STORAGE_KEY_PAIR as Z, isMainFrontendApp as Zn, isImageBuild as Zt, createComposeState as _, withGeneratedSecrets as _n, LEGACY_LOCAL_LOGIN as _t, dnsResources as a, postgresStatements as an, appEnvKeys as at, getGeneratedSecret as b, redisService as bn, pgClient as bt, describeActor as c, loadLocalCredentials as cn, workerEnvKeys as ct, extractSubdomain as d, readLocalCredentials as dn, constructGlobs as dt, applyBuckets as en, externalServices as et, findRootDomain as f, FileSecretsStore as fn, derivedContainers as ft, asDokployState as g, readKey as gn, forgetState as gt, verifyDnsRecords as h, projectKey as hn, LOCAL_CA_PATH as ht, dnsRecordResource as i, postgresDatabaseNames as in, suppliedOnly as it, provisionCommand as j, scopeTelemetryEnv as jn, loadEnvFiles as jt, StageProviderDisabled as k, appTelemetry as kn, findAvailablePort as kt, isCi as l, postgresRoleSlug as ln, FAKE_ENV as lt, orchestrateDns as m, keystoreProject as mn, workspace_exports as mt, reportDatabaseRuns as n, applyPostgres as nn, requiredStageKeys as nt, recordDnsChanges as o, quoteIdentifier as on, dockerfileOf as ot, normalizeDnsConfig as p, getKeyPath as pn, reconcileWorkspace as pt, AllowDevServicesTakesNoValue as q, logsService as qn, WORKER_PORT as qt, reportPlannedSeeds as r, bucketPolicies as rn, stageServiceDeclarations as rt, currentActor as s, LOCAL_RABBITMQ_USER as sn, networkEnv as st, DeploySeedsFailed as t, applyPolicies as tn, reportDevServices as tt, DeployJournal as u, postgresSuperuser as un, backendsOf as ut, createEmptyState as v, REDIS_SERVICE as vn, ensurePostgresLogin as vt, setBackupState as w, envFor as wn, eventsBackendFor as wt, recordRelease as x, runsRedis as xn, CLUSTER_DATABASE as xt, getBackupState as y, STACK_CACHE as yn, bucketClient as yt, workerDockerfile as z, fakeKey as zn, initStageSecrets as zt };
|
|
8154
8133
|
|
|
8155
|
-
//# sourceMappingURL=seeds-
|
|
8134
|
+
//# sourceMappingURL=seeds-DZGuovWF.mjs.map
|