@geekmidas/cli 10.0.0-alpha.136 → 10.0.0-alpha.138
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-D3p5WQOv.cjs → EndpointGenerator-BGKb_Ie6.cjs} +2 -2
- package/dist/{EndpointGenerator-D3p5WQOv.cjs.map → EndpointGenerator-BGKb_Ie6.cjs.map} +1 -1
- package/dist/{EndpointGenerator-Bm6xwLIF.mjs → EndpointGenerator-DDfPq2AZ.mjs} +2 -2
- package/dist/{EndpointGenerator-Bm6xwLIF.mjs.map → EndpointGenerator-DDfPq2AZ.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-BZJtRv5p.cjs → GoDaddyProvider-DA0rzRQt.cjs} +2 -2
- package/dist/{GoDaddyProvider-BZJtRv5p.cjs.map → GoDaddyProvider-DA0rzRQt.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-CDTSKt1k.mjs → GoDaddyProvider-baMIwhIy.mjs} +2 -2
- package/dist/{GoDaddyProvider-CDTSKt1k.mjs.map → GoDaddyProvider-baMIwhIy.mjs.map} +1 -1
- package/dist/{LegacyStateStore-CfhOur9W.mjs → LegacyStateStore-BSrw1yNS.mjs} +3 -3
- package/dist/{LegacyStateStore-CfhOur9W.mjs.map → LegacyStateStore-BSrw1yNS.mjs.map} +1 -1
- package/dist/{LegacyStateStore-CmQbzQGC.cjs → LegacyStateStore-h1u5xlpb.cjs} +3 -3
- package/dist/{LegacyStateStore-CmQbzQGC.cjs.map → LegacyStateStore-h1u5xlpb.cjs.map} +1 -1
- package/dist/{LocalStateStore-k3i8wp2q.mjs → LocalStateStore-BlH6Eanc.mjs} +2 -2
- package/dist/{LocalStateStore-k3i8wp2q.mjs.map → LocalStateStore-BlH6Eanc.mjs.map} +1 -1
- package/dist/{LocalStateStore-3ZT4-yUX.cjs → LocalStateStore-HmKqUWkF.cjs} +2 -2
- package/dist/{LocalStateStore-3ZT4-yUX.cjs.map → LocalStateStore-HmKqUWkF.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-HkNH_xw-.cjs → OpenApiTsGenerator-DoLFZu4i.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-HkNH_xw-.cjs.map → OpenApiTsGenerator-DoLFZu4i.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-BB6dGP8i.mjs → OpenApiTsGenerator-l1DUhgLV.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-BB6dGP8i.mjs.map → OpenApiTsGenerator-l1DUhgLV.mjs.map} +1 -1
- package/dist/{S3StateStore-Cf2DoRBZ.cjs → S3StateStore-Ccz7J7Cf.cjs} +2 -2
- package/dist/{S3StateStore-Cf2DoRBZ.cjs.map → S3StateStore-Ccz7J7Cf.cjs.map} +1 -1
- package/dist/{S3StateStore-D71GhBoc.mjs → S3StateStore-CwVWjNXJ.mjs} +2 -2
- package/dist/{S3StateStore-D71GhBoc.mjs.map → S3StateStore-CwVWjNXJ.mjs.map} +1 -1
- package/dist/{SSMStateStore-B40DvAuy.mjs → SSMStateStore-CASt-lob.mjs} +2 -2
- package/dist/{SSMStateStore-B40DvAuy.mjs.map → SSMStateStore-CASt-lob.mjs.map} +1 -1
- package/dist/{SSMStateStore-agvlAonC.cjs → SSMStateStore-CAxcx0U2.cjs} +2 -2
- package/dist/{SSMStateStore-agvlAonC.cjs.map → SSMStateStore-CAxcx0U2.cjs.map} +1 -1
- package/dist/{SubscriberGenerator-uDZW1ddC.cjs → SubscriberGenerator-DDCqRTbq.cjs} +3 -3
- package/dist/{SubscriberGenerator-uDZW1ddC.cjs.map → SubscriberGenerator-DDCqRTbq.cjs.map} +1 -1
- package/dist/{SubscriberGenerator-CI7roxx9.mjs → SubscriberGenerator-zUd87wvg.mjs} +3 -3
- package/dist/{SubscriberGenerator-CI7roxx9.mjs.map → SubscriberGenerator-zUd87wvg.mjs.map} +1 -1
- package/dist/{add-Cj6yp560.mjs → add-6tyL4tWq.mjs} +9 -15
- package/dist/add-6tyL4tWq.mjs.map +1 -0
- package/dist/{add-BpJ40b1f.cjs → add-Cq7B_VSJ.cjs} +9 -15
- package/dist/add-Cq7B_VSJ.cjs.map +1 -0
- package/dist/{bundler-BjIag8nr.mjs → bundler-CXuVyqXY.mjs} +5 -5
- package/dist/{bundler-BjIag8nr.mjs.map → bundler-CXuVyqXY.mjs.map} +1 -1
- package/dist/{bundler-D0YmORqs.cjs → bundler-DRmdcbXx.cjs} +5 -5
- package/dist/{bundler-D0YmORqs.cjs.map → bundler-DRmdcbXx.cjs.map} +1 -1
- package/dist/{cli-ffQmsXua.cjs → cli-DYru-gjk.cjs} +3 -3
- package/dist/{cli-ffQmsXua.cjs.map → cli-DYru-gjk.cjs.map} +1 -1
- package/dist/{cli-CJwPXzWW.mjs → cli-DxtrQdRa.mjs} +3 -3
- package/dist/{cli-CJwPXzWW.mjs.map → cli-DxtrQdRa.mjs.map} +1 -1
- package/dist/{compose-D6L79YLV.mjs → compose-Bdx2rqtO.mjs} +59 -34
- package/dist/compose-Bdx2rqtO.mjs.map +1 -0
- package/dist/{compose-Diz_QC7m.cjs → compose-DJMHSSDI.cjs} +59 -34
- package/dist/compose-DJMHSSDI.cjs.map +1 -0
- package/dist/{config-CnrwEcSa.d.mts → config-B7HaIfYM.d.mts} +3 -3
- package/dist/{config-CnrwEcSa.d.mts.map → config-B7HaIfYM.d.mts.map} +1 -1
- package/dist/{config-DlKOvs3Y.d.cts → config-DySjXKd2.d.cts} +3 -3
- package/dist/{config-DlKOvs3Y.d.cts.map → config-DySjXKd2.d.cts.map} +1 -1
- package/dist/config.cjs +2 -2
- package/dist/config.d.cts +3 -3
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +2 -2
- package/dist/{credentialSchemas-CM0rxWmS.cjs → credentialSchemas-BJMvQlks.cjs} +2 -2
- package/dist/{credentialSchemas-CM0rxWmS.cjs.map → credentialSchemas-BJMvQlks.cjs.map} +1 -1
- package/dist/{credentialSchemas-DPOGqOrU.mjs → credentialSchemas-DYzO2_yG.mjs} +2 -2
- package/dist/{credentialSchemas-DPOGqOrU.mjs.map → credentialSchemas-DYzO2_yG.mjs.map} +1 -1
- package/dist/deploy/public.cjs +8 -8
- package/dist/deploy/public.d.cts +3 -3
- package/dist/deploy/public.d.mts +3 -3
- package/dist/deploy/public.mjs +8 -8
- package/dist/deploy/sniffer-routes-worker.cjs +2 -2
- package/dist/deploy/sniffer-routes-worker.mjs +2 -2
- package/dist/{deploy-CZHTReh1.cjs → deploy-88E_1bHW.cjs} +26 -40
- package/dist/deploy-88E_1bHW.cjs.map +1 -0
- package/dist/{deploy-D6wCG-OQ.mjs → deploy-o5n6l4MO.mjs} +26 -40
- package/dist/deploy-o5n6l4MO.mjs.map +1 -0
- package/dist/{derive-Bsnm81mg.mjs → derive-Cd7Hl3r2.mjs} +4 -4
- package/dist/derive-Cd7Hl3r2.mjs.map +1 -0
- package/dist/{derive-ClMgyPzp.cjs → derive-CgZfoBU2.cjs} +3 -3
- package/dist/derive-CgZfoBU2.cjs.map +1 -0
- package/dist/{discover-DEOspD9M.cjs → discover-B3G8eyWX.cjs} +181 -43
- package/dist/discover-B3G8eyWX.cjs.map +1 -0
- package/dist/{discover-DOhYSKY_.mjs → discover-DWtHjc1x.mjs} +177 -39
- package/dist/discover-DWtHjc1x.mjs.map +1 -0
- package/dist/{dokploy-Dad-f6mO.mjs → dokploy-C1QCPJ1t.mjs} +2 -2
- package/dist/{dokploy-Dad-f6mO.mjs.map → dokploy-C1QCPJ1t.mjs.map} +1 -1
- package/dist/{dokploy-BeqMm-aL.cjs → dokploy-al6V2P9s.cjs} +2 -2
- package/dist/{dokploy-BeqMm-aL.cjs.map → dokploy-al6V2P9s.cjs.map} +1 -1
- package/dist/{eas-CamaGWDL.mjs → eas-D0jmXv7F.mjs} +3 -3
- package/dist/{eas-CamaGWDL.mjs.map → eas-D0jmXv7F.mjs.map} +1 -1
- package/dist/{eas-DWYhlJCr.cjs → eas-DAsdU35R.cjs} +3 -3
- package/dist/{eas-DWYhlJCr.cjs.map → eas-DAsdU35R.cjs.map} +1 -1
- package/dist/emit-Bj6XSivk.mjs +136 -0
- package/dist/emit-Bj6XSivk.mjs.map +1 -0
- package/dist/emit-CDC__ubE.cjs +147 -0
- package/dist/emit-CDC__ubE.cjs.map +1 -0
- package/dist/{encryption-UjD4kDRB.cjs → encryption-C5c50qvt.cjs} +2 -2
- package/dist/{encryption-UjD4kDRB.cjs.map → encryption-C5c50qvt.cjs.map} +1 -1
- package/dist/{encryption-DmDnVYe4.mjs → encryption-G8Ouiy55.mjs} +2 -2
- package/dist/{encryption-DmDnVYe4.mjs.map → encryption-G8Ouiy55.mjs.map} +1 -1
- package/dist/{engine-BaRuSjJf.cjs → engine-9C68_A78.cjs} +9 -14
- package/dist/engine-9C68_A78.cjs.map +1 -0
- package/dist/{engine-BxHQrByl.mjs → engine-bEuItjJN.mjs} +9 -14
- package/dist/engine-bEuItjJN.mjs.map +1 -0
- package/dist/{github-Fvg_6wTt.mjs → github-Buh2ldNN.mjs} +5 -5
- package/dist/{github-Fvg_6wTt.mjs.map → github-Buh2ldNN.mjs.map} +1 -1
- package/dist/{github-BO-bu8kf.cjs → github-R-Pot7QV.cjs} +5 -5
- package/dist/{github-BO-bu8kf.cjs.map → github-R-Pot7QV.cjs.map} +1 -1
- package/dist/{googlePlay-C5TgJQcS.mjs → googlePlay-B_X_DJp0.mjs} +3 -3
- package/dist/{googlePlay-C5TgJQcS.mjs.map → googlePlay-B_X_DJp0.mjs.map} +1 -1
- package/dist/{googlePlay-Dnlvz3rE.cjs → googlePlay-Bi5qneXA.cjs} +3 -3
- package/dist/{googlePlay-Dnlvz3rE.cjs.map → googlePlay-Bi5qneXA.cjs.map} +1 -1
- package/dist/{index-BYJMHnMt.d.cts → index-BymyHYdL.d.mts} +2 -2
- package/dist/{index-BYJMHnMt.d.cts.map → index-BymyHYdL.d.mts.map} +1 -1
- package/dist/{index-CBCGDhD6.d.mts → index-CTKfBwU3.d.cts} +2 -2
- package/dist/{index-CBCGDhD6.d.mts.map → index-CTKfBwU3.d.cts.map} +1 -1
- package/dist/index.cjs +69 -72
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +69 -72
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-BYvhE1Ek.cjs → migrate-Bv4AqxYP.cjs} +5 -7
- package/dist/migrate-Bv4AqxYP.cjs.map +1 -0
- package/dist/{migrate-SLRDSOkN.mjs → migrate-C9abovJK.mjs} +2 -2
- package/dist/{migrate-SLRDSOkN.mjs.map → migrate-C9abovJK.mjs.map} +1 -1
- package/dist/{migrate-DYncKsiF.cjs → migrate-DjCvZL4P.cjs} +2 -2
- package/dist/{migrate-DYncKsiF.cjs.map → migrate-DjCvZL4P.cjs.map} +1 -1
- package/dist/{migrate-Qe7kNf7P.mjs → migrate-WkC0pay4.mjs} +5 -7
- package/dist/migrate-WkC0pay4.mjs.map +1 -0
- package/dist/openapi.cjs +3 -3
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +3 -3
- package/dist/{publish-CZ7650El.mjs → publish-BVsLFs-n.mjs} +2 -2
- package/dist/{publish-CZ7650El.mjs.map → publish-BVsLFs-n.mjs.map} +1 -1
- package/dist/{publish-CdgAuHGF.cjs → publish-BbJ7Ols2.cjs} +2 -2
- package/dist/{publish-CdgAuHGF.cjs.map → publish-BbJ7Ols2.cjs.map} +1 -1
- package/dist/{ready-DhkmqsOH.cjs → ready-D0u7jGFV.cjs} +5 -5
- package/dist/{ready-DhkmqsOH.cjs.map → ready-D0u7jGFV.cjs.map} +1 -1
- package/dist/{ready-AcAH2WL6.mjs → ready-DyvWvbiq.mjs} +5 -5
- package/dist/{ready-AcAH2WL6.mjs.map → ready-DyvWvbiq.mjs.map} +1 -1
- package/dist/reconcile/public.cjs +3 -3
- package/dist/reconcile/public.d.cts +24 -29
- package/dist/reconcile/public.d.cts.map +1 -1
- package/dist/reconcile/public.d.mts +24 -29
- package/dist/reconcile/public.d.mts.map +1 -1
- package/dist/reconcile/public.mjs +3 -3
- package/dist/{resolve-jB0LX21y.cjs → resolve-CBEFNYca.cjs} +4 -4
- package/dist/{resolve-jB0LX21y.cjs.map → resolve-CBEFNYca.cjs.map} +1 -1
- package/dist/{resolve-MoZFp8BC.mjs → resolve-CTYtfl0x.mjs} +4 -4
- package/dist/{resolve-MoZFp8BC.mjs.map → resolve-CTYtfl0x.mjs.map} +1 -1
- package/dist/{rollback-BpM_ekEG.mjs → rollback-BT6oPcnZ.mjs} +4 -4
- package/dist/{rollback-BpM_ekEG.mjs.map → rollback-BT6oPcnZ.mjs.map} +1 -1
- package/dist/{rollback-CTkBmEzm.cjs → rollback-RzUJ728z.cjs} +4 -4
- package/dist/{rollback-CTkBmEzm.cjs.map → rollback-RzUJ728z.cjs.map} +1 -1
- package/dist/{runtime-CBro-1N4.d.cts → runtime-Dl601UcU.d.cts} +2 -2
- package/dist/{runtime-CBro-1N4.d.cts.map → runtime-Dl601UcU.d.cts.map} +1 -1
- package/dist/{runtime-f9aiOHxq.d.mts → runtime-mR2O0z64.d.mts} +2 -2
- package/dist/{runtime-f9aiOHxq.d.mts.map → runtime-mR2O0z64.d.mts.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 -4
- package/dist/sandbox/discover-worker.cjs.map +1 -1
- package/dist/sandbox/discover-worker.mjs +1 -4
- package/dist/sandbox/discover-worker.mjs.map +1 -1
- package/dist/sandbox/migrate-worker.cjs +1 -1
- package/dist/sandbox/migrate-worker.mjs +1 -1
- package/dist/{seeds-D4qjzFDF.mjs → seeds-CSNYLc4p.mjs} +48 -31
- package/dist/seeds-CSNYLc4p.mjs.map +1 -0
- package/dist/{seeds-6IhH9esB.cjs → seeds-CcK_C30B.cjs} +53 -30
- package/dist/seeds-CcK_C30B.cjs.map +1 -0
- package/dist/{serverSetup-CRJvE-KF.cjs → serverSetup-C2U4-2i0.cjs} +5 -5
- package/dist/{serverSetup-CRJvE-KF.cjs.map → serverSetup-C2U4-2i0.cjs.map} +1 -1
- package/dist/{serverSetup-23Jmihhj.mjs → serverSetup-DiJPhPOz.mjs} +5 -5
- package/dist/{serverSetup-23Jmihhj.mjs.map → serverSetup-DiJPhPOz.mjs.map} +1 -1
- package/dist/{sniffer-Ve5oNbHX.cjs → sniffer-B1iineXX.cjs} +7 -7
- package/dist/{sniffer-Ve5oNbHX.cjs.map → sniffer-B1iineXX.cjs.map} +1 -1
- package/dist/{sniffer-DbGKPWFo.mjs → sniffer-z-p2lTtc.mjs} +7 -7
- package/dist/{sniffer-DbGKPWFo.mjs.map → sniffer-z-p2lTtc.mjs.map} +1 -1
- package/dist/{snsSubscriptions-Cr6pcIgx.cjs → snsSubscriptions-C7wClS6U.cjs} +3 -3
- package/dist/{snsSubscriptions-Cr6pcIgx.cjs.map → snsSubscriptions-C7wClS6U.cjs.map} +1 -1
- package/dist/{snsSubscriptions-CUi0Wtto.mjs → snsSubscriptions-CYy7Faid.mjs} +3 -3
- package/dist/{snsSubscriptions-CUi0Wtto.mjs.map → snsSubscriptions-CYy7Faid.mjs.map} +1 -1
- package/dist/{sst-WPkIfa64.mjs → sst-Bz2HJlqc.mjs} +2 -2
- package/dist/{sst-WPkIfa64.mjs.map → sst-Bz2HJlqc.mjs.map} +1 -1
- package/dist/{sst-CHOp2-qt.cjs → sst-lvCHdYsY.cjs} +2 -2
- package/dist/{sst-CHOp2-qt.cjs.map → sst-lvCHdYsY.cjs.map} +1 -1
- package/dist/{stage-BiLP7bXI.cjs → stage-Cn3EEIB9.cjs} +5 -8
- package/dist/stage-Cn3EEIB9.cjs.map +1 -0
- package/dist/{stage-DrHKRHLN.mjs → stage-Cx1KKX_o.mjs} +5 -8
- package/dist/stage-Cx1KKX_o.mjs.map +1 -0
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.d.cts +2 -2
- package/dist/target/public.d.mts +2 -2
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-DBwedwSS.cjs → terminal-BIZRxV-e.cjs} +2 -2
- package/dist/{terminal-DBwedwSS.cjs.map → terminal-BIZRxV-e.cjs.map} +1 -1
- package/dist/{terminal-CebFDhWQ.mjs → terminal-PEvt24kO.mjs} +2 -2
- package/dist/{terminal-CebFDhWQ.mjs.map → terminal-PEvt24kO.mjs.map} +1 -1
- package/dist/{types-C5Zvkpc_.d.mts → types-C-uwKr3O.d.mts} +1 -18
- package/dist/types-C-uwKr3O.d.mts.map +1 -0
- package/dist/{types-CSOoemtk.d.cts → types-DOYYfQme.d.cts} +1 -18
- package/dist/types-DOYYfQme.d.cts.map +1 -0
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +1 -1
- package/dist/workspace/index.d.cts +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/package.json +15 -15
- package/dist/add-BpJ40b1f.cjs.map +0 -1
- package/dist/add-Cj6yp560.mjs.map +0 -1
- package/dist/compose-D6L79YLV.mjs.map +0 -1
- package/dist/compose-Diz_QC7m.cjs.map +0 -1
- package/dist/deploy-CZHTReh1.cjs.map +0 -1
- package/dist/deploy-D6wCG-OQ.mjs.map +0 -1
- package/dist/derive-Bsnm81mg.mjs.map +0 -1
- package/dist/derive-ClMgyPzp.cjs.map +0 -1
- package/dist/discover-DEOspD9M.cjs.map +0 -1
- package/dist/discover-DOhYSKY_.mjs.map +0 -1
- package/dist/emit-CYloptRS.cjs +0 -243
- package/dist/emit-CYloptRS.cjs.map +0 -1
- package/dist/emit-CiJGdy_f.mjs +0 -226
- package/dist/emit-CiJGdy_f.mjs.map +0 -1
- package/dist/engine-BaRuSjJf.cjs.map +0 -1
- package/dist/engine-BxHQrByl.mjs.map +0 -1
- package/dist/migrate-BYvhE1Ek.cjs.map +0 -1
- package/dist/migrate-Qe7kNf7P.mjs.map +0 -1
- package/dist/seeds-6IhH9esB.cjs.map +0 -1
- package/dist/seeds-D4qjzFDF.mjs.map +0 -1
- package/dist/stage-BiLP7bXI.cjs.map +0 -1
- package/dist/stage-DrHKRHLN.mjs.map +0 -1
- package/dist/types-C5Zvkpc_.d.mts.map +0 -1
- package/dist/types-CSOoemtk.d.cts.map +0 -1
|
@@ -2,14 +2,14 @@ const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
|
|
|
2
2
|
const require_errors = require("./errors-DMC4Umsb.cjs");
|
|
3
3
|
const require_credentials = require("./credentials-D7XJypNd.cjs");
|
|
4
4
|
const require_workspace = require("./workspace-secxwA6K.cjs");
|
|
5
|
-
const require_derive = require("./derive-
|
|
5
|
+
const require_derive = require("./derive-CgZfoBU2.cjs");
|
|
6
6
|
const require_drivers = require("./drivers-C47nm-wB.cjs");
|
|
7
7
|
const require_identity = require("./identity-CbLfgQNT.cjs");
|
|
8
|
-
const require_EndpointGenerator = require("./EndpointGenerator-
|
|
9
|
-
const require_discover = require("./discover-
|
|
8
|
+
const require_EndpointGenerator = require("./EndpointGenerator-BGKb_Ie6.cjs");
|
|
9
|
+
const require_discover = require("./discover-B3G8eyWX.cjs");
|
|
10
10
|
const require_config = require("./config.cjs");
|
|
11
|
-
const require_SubscriberGenerator = require("./SubscriberGenerator-
|
|
12
|
-
const require_resolve = require("./resolve-
|
|
11
|
+
const require_SubscriberGenerator = require("./SubscriberGenerator-DDCqRTbq.cjs");
|
|
12
|
+
const require_resolve = require("./resolve-CBEFNYca.cjs");
|
|
13
13
|
let node_path = require("node:path");
|
|
14
14
|
let node_fs = require("node:fs");
|
|
15
15
|
let node_fs_promises = require("node:fs/promises");
|
|
@@ -1388,6 +1388,26 @@ function credentialOf(options) {
|
|
|
1388
1388
|
};
|
|
1389
1389
|
}
|
|
1390
1390
|
/**
|
|
1391
|
+
* What project code run against a stage is handed — a migration, a seed, an
|
|
1392
|
+
* app under `gkm dev`, `gkm exec`'s command, `gkm compose`'s seeds: the
|
|
1393
|
+
* stage's stored secrets, under every value the stage resolved.
|
|
1394
|
+
*
|
|
1395
|
+
* One merge for every command, so a seed sees the same keys whichever one
|
|
1396
|
+
* runs it. Each command supplies only what is its own — the ports it reaches
|
|
1397
|
+
* the containers on, their logins — as inputs to {@link envFor}.
|
|
1398
|
+
*
|
|
1399
|
+
* The resolved values win: they are the statement of what exists, and a
|
|
1400
|
+
* stored URL naming an old port is the drift resolution replaces. A command
|
|
1401
|
+
* whose stage says a value by hand (a deployed stack's) leaves that key out
|
|
1402
|
+
* of `resolved`.
|
|
1403
|
+
*/
|
|
1404
|
+
function stageEnv(stored, resolved) {
|
|
1405
|
+
return {
|
|
1406
|
+
...stored,
|
|
1407
|
+
...resolved
|
|
1408
|
+
};
|
|
1409
|
+
}
|
|
1410
|
+
/**
|
|
1391
1411
|
* Every env key a reconciled plan resolves, and its value.
|
|
1392
1412
|
*
|
|
1393
1413
|
* Keys come from the declaration rather than being re-derived, so what the build
|
|
@@ -1532,7 +1552,9 @@ function deviceBuckets(plan) {
|
|
|
1532
1552
|
if (caller?.kind === "mobile-app") return true;
|
|
1533
1553
|
return (caller?.kind === "rest-api" || caller?.kind === "websocket-api") && (caller.callers ?? []).some((c) => byId.get(c)?.kind === "mobile-app");
|
|
1534
1554
|
};
|
|
1535
|
-
|
|
1555
|
+
const buckets = new Set(plan.resources.filter((r) => r.kind === "objects" || r.kind === "file-server").filter((r) => (r.callers ?? []).some(fromApp)).map((r) => r.id));
|
|
1556
|
+
for (const r of plan.resources) if (r.kind === "file-server" && r.of && buckets.has(r.of)) buckets.add(r.id);
|
|
1557
|
+
return buckets;
|
|
1536
1558
|
}
|
|
1537
1559
|
/**
|
|
1538
1560
|
* Where a WebSocket surface's publisher meets its sockets: the local Redis,
|
|
@@ -1672,6 +1694,8 @@ function urlFor(resource, plan, ports, project, addresses, credential, lan) {
|
|
|
1672
1694
|
case "file-server": {
|
|
1673
1695
|
const origin = plan.resources.find((r) => r.id === resource.of);
|
|
1674
1696
|
if (!origin) return void 0;
|
|
1697
|
+
const placed = addresses?.[resource.id];
|
|
1698
|
+
if (placed) return placed;
|
|
1675
1699
|
const objects = origin.container ? ports[primaryPortKey(origin.container)] : void 0;
|
|
1676
1700
|
if (lan && !resource.processors?.length && objects !== void 0) return `http://${lan}:${objects}/${origin.name}`;
|
|
1677
1701
|
return plan.containers.includes("caddy") ? `https://${hostFor$1(resource, project)}:${port}` : `http://${LOCAL_HOST}:${port}/${origin.name}`;
|
|
@@ -3103,7 +3127,7 @@ function hostApps(workspace, manifest) {
|
|
|
3103
3127
|
return {
|
|
3104
3128
|
name,
|
|
3105
3129
|
root: (0, node_path.isAbsolute)(app.path) ? app.path : (0, node_path.join)(workspace.root, app.path),
|
|
3106
|
-
generated: !(surface?.kind === "websocket-api" || surface?.kind === "rest-api" && surface.
|
|
3130
|
+
generated: !(surface?.kind === "websocket-api" || surface?.kind === "rest-api" && surface.servesItself === true)
|
|
3107
3131
|
};
|
|
3108
3132
|
}).sort((a, b) => a.name.localeCompare(b.name));
|
|
3109
3133
|
}
|
|
@@ -6185,13 +6209,11 @@ function fakesApply(stage, fake, env = process.env) {
|
|
|
6185
6209
|
* stays a pure-ish function of its inputs and the store keeps its single owner.
|
|
6186
6210
|
*/
|
|
6187
6211
|
async function reconcileWorkspace(workspace, options) {
|
|
6188
|
-
const runnables = {};
|
|
6189
6212
|
const background = {};
|
|
6190
6213
|
const subscribers = {};
|
|
6191
6214
|
const discovered = await require_discover.discover({
|
|
6192
6215
|
patterns: constructGlobs(workspace),
|
|
6193
6216
|
cwd: workspace.root,
|
|
6194
|
-
runnables,
|
|
6195
6217
|
background,
|
|
6196
6218
|
subscribers
|
|
6197
6219
|
});
|
|
@@ -6221,7 +6243,7 @@ async function reconcileWorkspace(workspace, options) {
|
|
|
6221
6243
|
fakes,
|
|
6222
6244
|
credentialFakes,
|
|
6223
6245
|
...objectWebhooks.length > 0 ? { objectWebhooks } : {},
|
|
6224
|
-
apps: (containers) => appServices(workspace, manifest, containers, credentials,
|
|
6246
|
+
apps: (containers) => appServices(workspace, manifest, containers, credentials, fakes, credentialFakes),
|
|
6225
6247
|
...options.start === void 0 ? {} : { start: options.start },
|
|
6226
6248
|
...options.progress ? { progress: options.progress } : {}
|
|
6227
6249
|
});
|
|
@@ -6439,16 +6461,16 @@ function networkEnv(plan, options, hostOf = (container) => container) {
|
|
|
6439
6461
|
* `undefined` for an app no declaration describes, which gets nothing but its
|
|
6440
6462
|
* port.
|
|
6441
6463
|
*/
|
|
6442
|
-
function appEnvKeys(manifest, appName
|
|
6464
|
+
function appEnvKeys(manifest, appName) {
|
|
6443
6465
|
const entry = Object.entries(manifest).find(([id, d]) => (d.kind === "rest-api" || d.kind === "websocket-api" || d.kind === "site" || d.kind === "mobile-app") && require_derive.appKey(id) === appName);
|
|
6444
6466
|
if (!entry) return void 0;
|
|
6445
|
-
const [
|
|
6467
|
+
const [, declaration] = entry;
|
|
6446
6468
|
const keys = /* @__PURE__ */ new Set([
|
|
6447
6469
|
...declaration.provides ?? [],
|
|
6448
6470
|
...declaration.requires ?? [],
|
|
6449
6471
|
...declaration.kind === "rest-api" ? declaration.endpoints.flatMap((endpoint) => endpoint.requires ?? []) : []
|
|
6450
6472
|
]);
|
|
6451
|
-
addEdgeKeys(manifest,
|
|
6473
|
+
addEdgeKeys(manifest, (0, _geekmidas_manifest.dependenciesOf)(declaration).map((edge) => edge.target), keys, declaration.kind === "site" || declaration.kind === "mobile-app");
|
|
6452
6474
|
if (declaration.kind === "site" || declaration.kind === "mobile-app") {
|
|
6453
6475
|
for (const key of _geekmidas_manifest.TELEMETRY_KEYS) keys.delete(key);
|
|
6454
6476
|
for (const key of Object.keys((0, _geekmidas_manifest.publicEnvFor)(declaration, manifest))) keys.add(key);
|
|
@@ -6458,12 +6480,12 @@ function appEnvKeys(manifest, appName, runnables = {}) {
|
|
|
6458
6480
|
/**
|
|
6459
6481
|
* The keys a Worker's own process reads: what the worker and everything built
|
|
6460
6482
|
* from it declared an edge to — the queues its consumers drain and the topics
|
|
6461
|
-
* its subscribers are bound to among them (see `
|
|
6462
|
-
*
|
|
6483
|
+
* its subscribers are bound to among them (see `workerEdges`) — and the
|
|
6484
|
+
* broker its crons schedule through.
|
|
6463
6485
|
*
|
|
6464
6486
|
* `undefined` when no worker has that id.
|
|
6465
6487
|
*/
|
|
6466
|
-
function workerEnvKeys(manifest, workerId
|
|
6488
|
+
function workerEnvKeys(manifest, workerId) {
|
|
6467
6489
|
const declaration = manifest[workerId];
|
|
6468
6490
|
if (declaration?.kind !== "worker") return void 0;
|
|
6469
6491
|
const keys = /* @__PURE__ */ new Set([
|
|
@@ -6471,7 +6493,7 @@ function workerEnvKeys(manifest, workerId, runnables = {}) {
|
|
|
6471
6493
|
...declaration.requires ?? [],
|
|
6472
6494
|
"EVENT_PUBLISHER_CONNECTION_STRING"
|
|
6473
6495
|
]);
|
|
6474
|
-
addEdgeKeys(manifest,
|
|
6496
|
+
addEdgeKeys(manifest, require_discover.workerEdges(manifest, workerId), keys);
|
|
6475
6497
|
return keys;
|
|
6476
6498
|
}
|
|
6477
6499
|
/** What each construct an edge reaches hands the process that reaches it. */
|
|
@@ -6479,15 +6501,11 @@ function workerEnvKeys(manifest, workerId, runnables = {}) {
|
|
|
6479
6501
|
* The keys a file server's processor unit reads: its bucket's, and what each
|
|
6480
6502
|
* of its processors depends on. `undefined` for a file server with none.
|
|
6481
6503
|
*/
|
|
6482
|
-
function processorEnvKeys(manifest, fileServerId
|
|
6504
|
+
function processorEnvKeys(manifest, fileServerId) {
|
|
6483
6505
|
const server = manifest[fileServerId];
|
|
6484
6506
|
if (server?.kind !== "file-server" || !server.processors?.length) return;
|
|
6485
6507
|
const keys = /* @__PURE__ */ new Set();
|
|
6486
|
-
addEdgeKeys(manifest, [
|
|
6487
|
-
server.of,
|
|
6488
|
-
...server.processors.flatMap((p) => p.dependencies.map((d) => d.target)),
|
|
6489
|
-
...runnables[fileServerId] ?? []
|
|
6490
|
-
], keys);
|
|
6508
|
+
addEdgeKeys(manifest, [server.of, ...server.processors.flatMap((p) => p.dependencies.map((d) => d.target))], keys);
|
|
6491
6509
|
return keys;
|
|
6492
6510
|
}
|
|
6493
6511
|
function addEdgeKeys(manifest, edges, keys, client = false) {
|
|
@@ -6522,7 +6540,7 @@ function addEdgeKeys(manifest, edges, keys, client = false) {
|
|
|
6522
6540
|
}
|
|
6523
6541
|
}
|
|
6524
6542
|
/** One compose service per app the workspace runs, behind the apps profile. */
|
|
6525
|
-
function appServices(workspace, manifest, containers, credentials,
|
|
6543
|
+
function appServices(workspace, manifest, containers, credentials, fakes = {}, credentialFakes = {}) {
|
|
6526
6544
|
const plan = localPlan(workspace, manifest, fakes, credentialFakes);
|
|
6527
6545
|
const derivation = {
|
|
6528
6546
|
project: workspace.name,
|
|
@@ -6564,7 +6582,7 @@ function appServices(workspace, manifest, containers, credentials, runnables = {
|
|
|
6564
6582
|
};
|
|
6565
6583
|
continue;
|
|
6566
6584
|
}
|
|
6567
|
-
const allowed = appEnvKeys(manifest, name
|
|
6585
|
+
const allowed = appEnvKeys(manifest, name);
|
|
6568
6586
|
const own = scopeTelemetryEnv(Object.fromEntries(Object.entries(env).filter(([envKey]) => allowed?.has(envKey))), {
|
|
6569
6587
|
uses: appTelemetry(manifest, name) !== void 0,
|
|
6570
6588
|
serviceName: name,
|
|
@@ -6718,7 +6736,6 @@ const SERVICE_KINDS = {
|
|
|
6718
6736
|
*/
|
|
6719
6737
|
function stageServiceDeclarations(input) {
|
|
6720
6738
|
const { manifest } = input;
|
|
6721
|
-
const runnables = input.runnables ?? {};
|
|
6722
6739
|
const owners = /* @__PURE__ */ new Map();
|
|
6723
6740
|
for (const [id, declaration] of Object.entries(manifest)) {
|
|
6724
6741
|
if (!SERVICE_KINDS[declaration.kind]) continue;
|
|
@@ -6741,9 +6758,9 @@ function stageServiceDeclarations(input) {
|
|
|
6741
6758
|
};
|
|
6742
6759
|
for (const [id, declaration] of Object.entries(manifest)) {
|
|
6743
6760
|
const name = require_derive.appKey(id);
|
|
6744
|
-
if (declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site" || declaration.kind === "mobile-app") read(name, appEnvKeys(manifest, name
|
|
6761
|
+
if (declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site" || declaration.kind === "mobile-app") read(name, appEnvKeys(manifest, name) ?? []);
|
|
6745
6762
|
if (declaration.kind === "site") read(name, Object.values((0, _geekmidas_manifest.publicEnvFor)(declaration, manifest)));
|
|
6746
|
-
if (declaration.kind === "worker") read(name, workerEnvKeys(manifest, id
|
|
6763
|
+
if (declaration.kind === "worker") read(name, workerEnvKeys(manifest, id) ?? []);
|
|
6747
6764
|
}
|
|
6748
6765
|
return Object.entries(manifest).flatMap(([id, declaration]) => {
|
|
6749
6766
|
const kind = SERVICE_KINDS[declaration.kind];
|
|
@@ -8633,7 +8650,7 @@ async function createDnsProvider(options) {
|
|
|
8633
8650
|
});
|
|
8634
8651
|
}
|
|
8635
8652
|
if (provider === "godaddy") {
|
|
8636
|
-
const { GoDaddyProvider } = await Promise.resolve().then(() => require("./GoDaddyProvider-
|
|
8653
|
+
const { GoDaddyProvider } = await Promise.resolve().then(() => require("./GoDaddyProvider-DA0rzRQt.cjs"));
|
|
8637
8654
|
return new GoDaddyProvider(options.godaddy ?? {});
|
|
8638
8655
|
}
|
|
8639
8656
|
if (provider === "cloudflare") throw new DnsProviderNotImplemented("cloudflare");
|
|
@@ -10255,6 +10272,12 @@ Object.defineProperty(exports, "stackRedis", {
|
|
|
10255
10272
|
return stackRedis;
|
|
10256
10273
|
}
|
|
10257
10274
|
});
|
|
10275
|
+
Object.defineProperty(exports, "stageEnv", {
|
|
10276
|
+
enumerable: true,
|
|
10277
|
+
get: function() {
|
|
10278
|
+
return stageEnv;
|
|
10279
|
+
}
|
|
10280
|
+
});
|
|
10258
10281
|
Object.defineProperty(exports, "stageProviderNotes", {
|
|
10259
10282
|
enumerable: true,
|
|
10260
10283
|
get: function() {
|
|
@@ -10406,4 +10429,4 @@ Object.defineProperty(exports, "workspace_exports", {
|
|
|
10406
10429
|
}
|
|
10407
10430
|
});
|
|
10408
10431
|
|
|
10409
|
-
//# sourceMappingURL=seeds-
|
|
10432
|
+
//# sourceMappingURL=seeds-CcK_C30B.cjs.map
|