@geekmidas/cli 10.0.0-alpha.126 → 10.0.0-alpha.127
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-errMeldx.mjs → EndpointGenerator-B99OGzbO.mjs} +2 -2
- package/dist/{EndpointGenerator-errMeldx.mjs.map → EndpointGenerator-B99OGzbO.mjs.map} +1 -1
- package/dist/{EndpointGenerator-BGxf9jWE.cjs → EndpointGenerator-De0lknKD.cjs} +2 -2
- package/dist/{EndpointGenerator-BGxf9jWE.cjs.map → EndpointGenerator-De0lknKD.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-CvRVmN4W.mjs → GoDaddyProvider-BG-UdElN.mjs} +2 -2
- package/dist/{GoDaddyProvider-CvRVmN4W.mjs.map → GoDaddyProvider-BG-UdElN.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-DFfpzCOP.cjs → GoDaddyProvider-DnmLq7eo.cjs} +2 -2
- package/dist/{GoDaddyProvider-DFfpzCOP.cjs.map → GoDaddyProvider-DnmLq7eo.cjs.map} +1 -1
- package/dist/{LegacyStateStore-BFrCHrFQ.cjs → LegacyStateStore-CeBkK9K2.cjs} +3 -3
- package/dist/{LegacyStateStore-BFrCHrFQ.cjs.map → LegacyStateStore-CeBkK9K2.cjs.map} +1 -1
- package/dist/{LegacyStateStore-CgfENrXF.mjs → LegacyStateStore-DHG_4jcn.mjs} +3 -3
- package/dist/{LegacyStateStore-CgfENrXF.mjs.map → LegacyStateStore-DHG_4jcn.mjs.map} +1 -1
- package/dist/{LocalStateStore-DxoNpiBg.mjs → LocalStateStore-EenTHwr4.mjs} +2 -2
- package/dist/{LocalStateStore-DxoNpiBg.mjs.map → LocalStateStore-EenTHwr4.mjs.map} +1 -1
- package/dist/{LocalStateStore-BU5z_IOE.cjs → LocalStateStore-HRnBQFe3.cjs} +2 -2
- package/dist/{LocalStateStore-BU5z_IOE.cjs.map → LocalStateStore-HRnBQFe3.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-cQgtxWQo.cjs → OpenApiTsGenerator-DMLzN-LU.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-cQgtxWQo.cjs.map → OpenApiTsGenerator-DMLzN-LU.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-W_HRXH1X.mjs → OpenApiTsGenerator-DNUCgkkx.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-W_HRXH1X.mjs.map → OpenApiTsGenerator-DNUCgkkx.mjs.map} +1 -1
- package/dist/{S3StateStore-DiekMLpn.cjs → S3StateStore-DyLljVN1.cjs} +2 -2
- package/dist/{S3StateStore-DiekMLpn.cjs.map → S3StateStore-DyLljVN1.cjs.map} +1 -1
- package/dist/{S3StateStore-CGMSDilh.mjs → S3StateStore-vbkyBnRB.mjs} +2 -2
- package/dist/{S3StateStore-CGMSDilh.mjs.map → S3StateStore-vbkyBnRB.mjs.map} +1 -1
- package/dist/{SSMStateStore-BDCOFdKq.cjs → SSMStateStore-BBKlmfaU.cjs} +2 -2
- package/dist/{SSMStateStore-BDCOFdKq.cjs.map → SSMStateStore-BBKlmfaU.cjs.map} +1 -1
- package/dist/{SSMStateStore-Cq2H9MlF.mjs → SSMStateStore-uk2QLUgz.mjs} +2 -2
- package/dist/{SSMStateStore-Cq2H9MlF.mjs.map → SSMStateStore-uk2QLUgz.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-BALddfuW.mjs → SubscriberGenerator-0ruEmYXj.mjs} +3 -3
- package/dist/{SubscriberGenerator-BALddfuW.mjs.map → SubscriberGenerator-0ruEmYXj.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-LgyTxZ8r.cjs → SubscriberGenerator-CPjbWEOI.cjs} +3 -3
- package/dist/{SubscriberGenerator-LgyTxZ8r.cjs.map → SubscriberGenerator-CPjbWEOI.cjs.map} +1 -1
- package/dist/{add-BsiBYkAW.cjs → add-CH7-9AHI.cjs} +7 -7
- package/dist/add-CH7-9AHI.cjs.map +1 -0
- package/dist/{add-CamA9Uqv.mjs → add-CgyyN6aF.mjs} +7 -7
- package/dist/add-CgyyN6aF.mjs.map +1 -0
- package/dist/{bundler-CijtdIZ2.cjs → bundler-BtAkF9wb.cjs} +5 -5
- package/dist/{bundler-CijtdIZ2.cjs.map → bundler-BtAkF9wb.cjs.map} +1 -1
- package/dist/{bundler-2V2PR_E-.mjs → bundler-DqHozK8W.mjs} +5 -5
- package/dist/{bundler-2V2PR_E-.mjs.map → bundler-DqHozK8W.mjs.map} +1 -1
- package/dist/{cli-7gc1QG8X.cjs → cli-D08bMg7m.cjs} +3 -3
- package/dist/{cli-7gc1QG8X.cjs.map → cli-D08bMg7m.cjs.map} +1 -1
- package/dist/{cli-PiyYqHGx.mjs → cli-D_BQkb4B.mjs} +3 -3
- package/dist/{cli-PiyYqHGx.mjs.map → cli-D_BQkb4B.mjs.map} +1 -1
- package/dist/{compose-8e2xJ61E.cjs → compose-BK9s_2Qe.cjs} +68 -40
- package/dist/compose-BK9s_2Qe.cjs.map +1 -0
- package/dist/{compose-CvHIjMDd.mjs → compose-CIzCcsoz.mjs} +68 -40
- package/dist/compose-CIzCcsoz.mjs.map +1 -0
- package/dist/{config-_y1FGBWR.d.mts → config-B8fXmuK0.d.cts} +3 -3
- package/dist/{config-CdytFgSR.d.cts.map → config-B8fXmuK0.d.cts.map} +1 -1
- package/dist/{config-CdytFgSR.d.cts → config-CRRxZMk7.d.mts} +3 -3
- package/dist/{config-_y1FGBWR.d.mts.map → config-CRRxZMk7.d.mts.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-DFxvGEwa.cjs → credentialSchemas-CM0rxWmS.cjs} +2 -2
- package/dist/{credentialSchemas-DFxvGEwa.cjs.map → credentialSchemas-CM0rxWmS.cjs.map} +1 -1
- package/dist/{credentialSchemas-DaMpt-Dx.mjs → credentialSchemas-DPOGqOrU.mjs} +2 -2
- package/dist/{credentialSchemas-DaMpt-Dx.mjs.map → credentialSchemas-DPOGqOrU.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-wSlIRPn5.cjs → deploy-A_fzSa59.cjs} +10 -10
- package/dist/deploy-A_fzSa59.cjs.map +1 -0
- package/dist/{deploy-CIPwTJ47.mjs → deploy-BVf6c_h8.mjs} +10 -10
- package/dist/deploy-BVf6c_h8.mjs.map +1 -0
- package/dist/{derive-DAbo49sm.cjs → derive-BtGidITm.cjs} +7 -7
- package/dist/derive-BtGidITm.cjs.map +1 -0
- package/dist/{derive-B4vDpzgP.mjs → derive-Dew0QoGe.mjs} +7 -7
- package/dist/derive-Dew0QoGe.mjs.map +1 -0
- package/dist/{discover-DL6h-J97.cjs → discover-DEOspD9M.cjs} +12 -1
- package/dist/discover-DEOspD9M.cjs.map +1 -0
- package/dist/{discover-CzGM5P3p.mjs → discover-DOhYSKY_.mjs} +12 -1
- package/dist/discover-DOhYSKY_.mjs.map +1 -0
- package/dist/{dokploy-BKbUrz05.cjs → dokploy-CshlFRwr.cjs} +2 -2
- package/dist/{dokploy-BKbUrz05.cjs.map → dokploy-CshlFRwr.cjs.map} +1 -1
- package/dist/{dokploy-BZf1AHd0.mjs → dokploy-DOndleTd.mjs} +2 -2
- package/dist/{dokploy-BZf1AHd0.mjs.map → dokploy-DOndleTd.mjs.map} +1 -1
- package/dist/{eas-DzDMGzfc.cjs → eas-ApfPYR4-.cjs} +3 -3
- package/dist/{eas-DzDMGzfc.cjs.map → eas-ApfPYR4-.cjs.map} +1 -1
- package/dist/{eas-CxX2RCE_.mjs → eas-Dlr1Lw56.mjs} +3 -3
- package/dist/{eas-CxX2RCE_.mjs.map → eas-Dlr1Lw56.mjs.map} +1 -1
- package/dist/{encryption-BFSrt89F.mjs → encryption-D0tWRvy_.mjs} +2 -2
- package/dist/{encryption-BFSrt89F.mjs.map → encryption-D0tWRvy_.mjs.map} +1 -1
- package/dist/{encryption-RNcBnG4Z.cjs → encryption-SGWvnBxV.cjs} +2 -2
- package/dist/{encryption-RNcBnG4Z.cjs.map → encryption-SGWvnBxV.cjs.map} +1 -1
- package/dist/{engine-Dqe9KQCm.cjs → engine-CYu4wavP.cjs} +5 -5
- package/dist/{engine-Dqe9KQCm.cjs.map → engine-CYu4wavP.cjs.map} +1 -1
- package/dist/{engine-_0pjyCd_.mjs → engine-DKz1NYDX.mjs} +5 -5
- package/dist/{engine-_0pjyCd_.mjs.map → engine-DKz1NYDX.mjs.map} +1 -1
- package/dist/{github-Csev5EFf.cjs → github-CxWaWQtW.cjs} +5 -5
- package/dist/{github-Csev5EFf.cjs.map → github-CxWaWQtW.cjs.map} +1 -1
- package/dist/{github-Dck0nLW9.mjs → github-VQaj8gLE.mjs} +5 -5
- package/dist/{github-Dck0nLW9.mjs.map → github-VQaj8gLE.mjs.map} +1 -1
- package/dist/{googlePlay-DBtDAGBk.cjs → googlePlay-4KVtZ89D.cjs} +3 -3
- package/dist/{googlePlay-DBtDAGBk.cjs.map → googlePlay-4KVtZ89D.cjs.map} +1 -1
- package/dist/{googlePlay-DTuvDHi5.mjs → googlePlay-Nqc4EAiC.mjs} +3 -3
- package/dist/{googlePlay-DTuvDHi5.mjs.map → googlePlay-Nqc4EAiC.mjs.map} +1 -1
- package/dist/{index-DrkV7N5w.d.mts → index-Cu8eIwUW.d.mts} +2 -2
- package/dist/{index-DrkV7N5w.d.mts.map → index-Cu8eIwUW.d.mts.map} +1 -1
- package/dist/{index-yaXZ9m-J.d.cts → index-Dx93n3Ur.d.cts} +2 -2
- package/dist/{index-yaXZ9m-J.d.cts.map → index-Dx93n3Ur.d.cts.map} +1 -1
- package/dist/index.cjs +101 -73
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +101 -73
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-3ZEoqx5q.cjs → migrate-BQPRclv2.cjs} +2 -2
- package/dist/{migrate-3ZEoqx5q.cjs.map → migrate-BQPRclv2.cjs.map} +1 -1
- package/dist/{migrate-BABIuzQj.mjs → migrate-C7exqXTD.mjs} +2 -2
- package/dist/{migrate-BABIuzQj.mjs.map → migrate-C7exqXTD.mjs.map} +1 -1
- package/dist/{migrate-DZeNpuX2.mjs → migrate-DQPEUiFC.mjs} +3 -3
- package/dist/{migrate-DZeNpuX2.mjs.map → migrate-DQPEUiFC.mjs.map} +1 -1
- package/dist/{migrate-pGiUqvBi.cjs → migrate-DTv6LHux.cjs} +3 -3
- package/dist/{migrate-pGiUqvBi.cjs.map → migrate-DTv6LHux.cjs.map} +1 -1
- 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-CS6xDvGT.cjs → publish-CgwqwKDs.cjs} +2 -2
- package/dist/{publish-CS6xDvGT.cjs.map → publish-CgwqwKDs.cjs.map} +1 -1
- package/dist/{publish-BsnDeOVL.mjs → publish-VYt4xOOc.mjs} +2 -2
- package/dist/{publish-BsnDeOVL.mjs.map → publish-VYt4xOOc.mjs.map} +1 -1
- package/dist/{ready-DrvaAwKv.mjs → ready-BwtLriAF.mjs} +5 -5
- package/dist/{ready-DrvaAwKv.mjs.map → ready-BwtLriAF.mjs.map} +1 -1
- package/dist/{ready-CxPJm0Hc.cjs → ready-Cj4pI0dw.cjs} +5 -5
- package/dist/{ready-CxPJm0Hc.cjs.map → ready-Cj4pI0dw.cjs.map} +1 -1
- package/dist/reconcile/public.cjs +1 -1
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/reconcile/public.mjs +1 -1
- package/dist/{resolve-zqCMFio0.cjs → resolve-C-W3kZM7.cjs} +4 -4
- package/dist/{resolve-zqCMFio0.cjs.map → resolve-C-W3kZM7.cjs.map} +1 -1
- package/dist/{resolve-fCGJmM-R.mjs → resolve-CCVCc43b.mjs} +4 -4
- package/dist/{resolve-fCGJmM-R.mjs.map → resolve-CCVCc43b.mjs.map} +1 -1
- package/dist/{rollback-qc79mj6L.cjs → rollback-CdBj1Boy.cjs} +4 -4
- package/dist/{rollback-qc79mj6L.cjs.map → rollback-CdBj1Boy.cjs.map} +1 -1
- package/dist/{rollback-BkhVrtAf.mjs → rollback-dUShCpZu.mjs} +4 -4
- package/dist/{rollback-BkhVrtAf.mjs.map → rollback-dUShCpZu.mjs.map} +1 -1
- package/dist/{runtime-DCkfI2E7.d.mts → runtime-C_1PteGG.d.cts} +2 -2
- package/dist/{runtime-DCkfI2E7.d.mts.map → runtime-C_1PteGG.d.cts.map} +1 -1
- package/dist/{runtime-Ie4znWIB.d.cts → runtime-jjB2e3-M.d.mts} +2 -2
- package/dist/{runtime-Ie4znWIB.d.cts.map → runtime-jjB2e3-M.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 -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-Cfejy8wj.mjs → seeds-BX9pskrU.mjs} +66 -27
- package/dist/seeds-BX9pskrU.mjs.map +1 -0
- package/dist/{seeds-3awh33Wz.cjs → seeds-sMVADbkg.cjs} +66 -27
- package/dist/seeds-sMVADbkg.cjs.map +1 -0
- package/dist/{serverSetup-BFQuwUeL.cjs → serverSetup-4avavig6.cjs} +25 -5
- package/dist/serverSetup-4avavig6.cjs.map +1 -0
- package/dist/{serverSetup-C8ZbHTm_.mjs → serverSetup-BvHpm7QD.mjs} +25 -5
- package/dist/serverSetup-BvHpm7QD.mjs.map +1 -0
- package/dist/{sniffer-Cq1nhxIB.cjs → sniffer-DWLala8l.cjs} +7 -7
- package/dist/{sniffer-Cq1nhxIB.cjs.map → sniffer-DWLala8l.cjs.map} +1 -1
- package/dist/{sniffer-CCkdzjiU.mjs → sniffer-XnAnEbuI.mjs} +7 -7
- package/dist/{sniffer-CCkdzjiU.mjs.map → sniffer-XnAnEbuI.mjs.map} +1 -1
- package/dist/{snsSubscriptions-R_AKBZYK.mjs → snsSubscriptions-BxLJQH4u.mjs} +3 -3
- package/dist/{snsSubscriptions-R_AKBZYK.mjs.map → snsSubscriptions-BxLJQH4u.mjs.map} +1 -1
- package/dist/{snsSubscriptions-DYyYP0Xf.cjs → snsSubscriptions-f_z4PSFb.cjs} +3 -3
- package/dist/{snsSubscriptions-DYyYP0Xf.cjs.map → snsSubscriptions-f_z4PSFb.cjs.map} +1 -1
- package/dist/{sst-lEkBwzGc.cjs → sst-DmVJRu5l.cjs} +2 -2
- package/dist/{sst-lEkBwzGc.cjs.map → sst-DmVJRu5l.cjs.map} +1 -1
- package/dist/{sst-CTqZZl1_.mjs → sst-fop6uZ25.mjs} +2 -2
- package/dist/{sst-CTqZZl1_.mjs.map → sst-fop6uZ25.mjs.map} +1 -1
- package/dist/{stage-BkgbVJ9Z.cjs → stage-ZWOE0oLB.cjs} +5 -5
- package/dist/{stage-BkgbVJ9Z.cjs.map → stage-ZWOE0oLB.cjs.map} +1 -1
- package/dist/{stage-DCaxqm-G.mjs → stage-mta618Oy.mjs} +5 -5
- package/dist/{stage-DCaxqm-G.mjs.map → stage-mta618Oy.mjs.map} +1 -1
- 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-bqY33lpN.mjs → terminal-CebFDhWQ.mjs} +2 -2
- package/dist/{terminal-bqY33lpN.mjs.map → terminal-CebFDhWQ.mjs.map} +1 -1
- package/dist/{terminal-PKhPAajN.cjs → terminal-DBwedwSS.cjs} +2 -2
- package/dist/{terminal-PKhPAajN.cjs.map → terminal-DBwedwSS.cjs.map} +1 -1
- package/dist/{types-D0IsQxES.d.cts → types-DLANxOpy.d.mts} +7 -2
- package/dist/types-DLANxOpy.d.mts.map +1 -0
- package/dist/{types-Bmjs4jZV.d.mts → types-SEHMr6Aw.d.cts} +8 -1
- package/dist/types-SEHMr6Aw.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-BsiBYkAW.cjs.map +0 -1
- package/dist/add-CamA9Uqv.mjs.map +0 -1
- package/dist/compose-8e2xJ61E.cjs.map +0 -1
- package/dist/compose-CvHIjMDd.mjs.map +0 -1
- package/dist/deploy-CIPwTJ47.mjs.map +0 -1
- package/dist/deploy-wSlIRPn5.cjs.map +0 -1
- package/dist/derive-B4vDpzgP.mjs.map +0 -1
- package/dist/derive-DAbo49sm.cjs.map +0 -1
- package/dist/discover-CzGM5P3p.mjs.map +0 -1
- package/dist/discover-DL6h-J97.cjs.map +0 -1
- package/dist/seeds-3awh33Wz.cjs.map +0 -1
- package/dist/seeds-Cfejy8wj.mjs.map +0 -1
- package/dist/serverSetup-BFQuwUeL.cjs.map +0 -1
- package/dist/serverSetup-C8ZbHTm_.mjs.map +0 -1
- package/dist/types-Bmjs4jZV.d.mts.map +0 -1
- package/dist/types-D0IsQxES.d.cts.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -3,28 +3,28 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
|
|
4
4
|
const require_errors = require("./errors-DMC4Umsb.cjs");
|
|
5
5
|
const require_credentials = require("./credentials-D7XJypNd.cjs");
|
|
6
|
-
const require_compose = require("./compose-
|
|
6
|
+
const require_compose = require("./compose-BK9s_2Qe.cjs");
|
|
7
7
|
const require_workspace = require("./workspace-Du4Afb03.cjs");
|
|
8
|
-
const require_snsSubscriptions = require("./snsSubscriptions-
|
|
8
|
+
const require_snsSubscriptions = require("./snsSubscriptions-f_z4PSFb.cjs");
|
|
9
9
|
const require_schemas = require("./schemas-BQ_v0lEX.cjs");
|
|
10
|
-
const require_seeds = require("./seeds-
|
|
11
|
-
const require_derive = require("./derive-
|
|
10
|
+
const require_seeds = require("./seeds-sMVADbkg.cjs");
|
|
11
|
+
const require_derive = require("./derive-BtGidITm.cjs");
|
|
12
12
|
const require_drivers = require("./drivers-C47nm-wB.cjs");
|
|
13
13
|
const require_identity = require("./identity-CbLfgQNT.cjs");
|
|
14
|
-
const require_EndpointGenerator = require("./EndpointGenerator-
|
|
15
|
-
const require_discover = require("./discover-
|
|
14
|
+
const require_EndpointGenerator = require("./EndpointGenerator-De0lknKD.cjs");
|
|
15
|
+
const require_discover = require("./discover-DEOspD9M.cjs");
|
|
16
16
|
const require_config = require("./config.cjs");
|
|
17
|
-
const require_SubscriberGenerator = require("./SubscriberGenerator-
|
|
17
|
+
const require_SubscriberGenerator = require("./SubscriberGenerator-CPjbWEOI.cjs");
|
|
18
18
|
const require_openapi = require("./openapi.cjs");
|
|
19
19
|
const require_appPorts = require("./appPorts-IW-OZmRi.cjs");
|
|
20
20
|
const require_emit = require("./emit-CYloptRS.cjs");
|
|
21
21
|
const require_local = require("./local-OPC9BCZt.cjs");
|
|
22
|
-
const require_sniffer = require("./sniffer-
|
|
23
|
-
const require_deploy = require("./deploy-
|
|
24
|
-
const require_credentialSchemas = require("./credentialSchemas-
|
|
25
|
-
const require_LocalStateStore = require("./LocalStateStore-
|
|
22
|
+
const require_sniffer = require("./sniffer-DWLala8l.cjs");
|
|
23
|
+
const require_deploy = require("./deploy-A_fzSa59.cjs");
|
|
24
|
+
const require_credentialSchemas = require("./credentialSchemas-CM0rxWmS.cjs");
|
|
25
|
+
const require_LocalStateStore = require("./LocalStateStore-HRnBQFe3.cjs");
|
|
26
26
|
const require_utils = require("./utils-D2Nk1Nv2.cjs");
|
|
27
|
-
const require_ready = require("./ready-
|
|
27
|
+
const require_ready = require("./ready-Cj4pI0dw.cjs");
|
|
28
28
|
let node_path = require("node:path");
|
|
29
29
|
let commander = require("commander");
|
|
30
30
|
let node_process = require("node:process");
|
|
@@ -57,7 +57,7 @@ crypto = require_rolldown_runtime.__toESM(crypto, 1);
|
|
|
57
57
|
let _geekmidas_constructs_functions = require("@geekmidas/constructs/functions");
|
|
58
58
|
let _geekmidas_constructs_topic = require("@geekmidas/constructs/topic");
|
|
59
59
|
//#region package.json
|
|
60
|
-
var version = "10.0.0-alpha.
|
|
60
|
+
var version = "10.0.0-alpha.127";
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region src/prompt.ts
|
|
63
63
|
/**
|
|
@@ -140,7 +140,7 @@ const logger$8 = console;
|
|
|
140
140
|
* Validate Dokploy token by making a test API call
|
|
141
141
|
*/
|
|
142
142
|
async function validateDokployToken(endpoint, token) {
|
|
143
|
-
const { DokployApi } = await Promise.resolve().then(() => require("./sniffer-
|
|
143
|
+
const { DokployApi } = await Promise.resolve().then(() => require("./sniffer-DWLala8l.cjs")).then((n) => n.dokploy_api_exports);
|
|
144
144
|
return new DokployApi({
|
|
145
145
|
baseUrl: endpoint,
|
|
146
146
|
token
|
|
@@ -2180,7 +2180,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2180
2180
|
const cwd = options.cwd ?? process.cwd();
|
|
2181
2181
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2182
2182
|
if (options.stage && !require_seeds.isImageBuild()) {
|
|
2183
|
-
const { execOnStage } = await Promise.resolve().then(() => require("./stage-
|
|
2183
|
+
const { execOnStage } = await Promise.resolve().then(() => require("./stage-ZWOE0oLB.cjs")).then((n) => n.stage_exports);
|
|
2184
2184
|
const { loadWorkspaceConfig } = await Promise.resolve().then(() => require("./config.cjs"));
|
|
2185
2185
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2186
2186
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -2407,7 +2407,7 @@ async function devCommand(options) {
|
|
|
2407
2407
|
});
|
|
2408
2408
|
for (const key of Object.keys(appSecrets)) if (!(key in scoped)) delete appSecrets[key];
|
|
2409
2409
|
Object.assign(appSecrets, scoped);
|
|
2410
|
-
const own = reconciled.plan.resources.find((r) => (r.kind === "rest-api" || r.kind === "site") && require_derive.appKey(r.id) === workspaceAppName);
|
|
2410
|
+
const own = reconciled.plan.resources.find((r) => (r.kind === "rest-api" || r.kind === "websocket-api" || r.kind === "site") && require_derive.appKey(r.id) === workspaceAppName);
|
|
2411
2411
|
publicUrl = own ? reconciled.env[own.envKey] : void 0;
|
|
2412
2412
|
manifest = reconciled.manifest;
|
|
2413
2413
|
telemetryUi = telemetryUiOf(reconciled.services);
|
|
@@ -2753,14 +2753,14 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2753
2753
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2754
2754
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2755
2755
|
if (options.migrate || options.seed) {
|
|
2756
|
-
const { prepareDevDatabases } = await Promise.resolve().then(() => require("./migrate-
|
|
2756
|
+
const { prepareDevDatabases } = await Promise.resolve().then(() => require("./migrate-DTv6LHux.cjs"));
|
|
2757
2757
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
2758
|
-
} else await Promise.resolve().then(() => require("./migrate-
|
|
2758
|
+
} else await Promise.resolve().then(() => require("./migrate-DTv6LHux.cjs")).then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2759
2759
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2760
2760
|
});
|
|
2761
2761
|
const appUrls = {};
|
|
2762
2762
|
for (const resource of reconciled.plan.resources) {
|
|
2763
|
-
if (resource.kind !== "rest-api" && resource.kind !== "site") continue;
|
|
2763
|
+
if (resource.kind !== "rest-api" && resource.kind !== "websocket-api" && resource.kind !== "site") continue;
|
|
2764
2764
|
const address = reconciled.env[resource.envKey];
|
|
2765
2765
|
if (address) appUrls[resource.id] = address;
|
|
2766
2766
|
}
|
|
@@ -3088,7 +3088,7 @@ ${credentialsInjection}${parentWatch}const port = process.argv.includes('--port'
|
|
|
3088
3088
|
|
|
3089
3089
|
${telemetry}
|
|
3090
3090
|
// Dynamic import so Credentials are populated before the surface evaluates
|
|
3091
|
-
const { app: surface } = await import('${appImportPath}');
|
|
3091
|
+
const { app: surface, attach } = await import('${appImportPath}');
|
|
3092
3092
|
|
|
3093
3093
|
// Behind the request spans when there are any, as the production server is.
|
|
3094
3094
|
const { Hono } = await import('hono');
|
|
@@ -3098,7 +3098,9 @@ if (requestSpans) {
|
|
|
3098
3098
|
app.route('/', surface);
|
|
3099
3099
|
}
|
|
3100
3100
|
|
|
3101
|
-
${serveCode.replace(/^ {4}/gm, "")}
|
|
3101
|
+
${serveCode.replace(/^ {4}/gm, "")}${runtime === "bun" ? "" : `
|
|
3102
|
+
// A surface that takes upgrades — a WebSocket one — is handed them.
|
|
3103
|
+
attach?.(server);`}
|
|
3102
3104
|
`;
|
|
3103
3105
|
return `#!/usr/bin/env node
|
|
3104
3106
|
/**
|
|
@@ -3530,7 +3532,7 @@ function servesItself(construct) {
|
|
|
3530
3532
|
*/
|
|
3531
3533
|
function selfServingSurface(options) {
|
|
3532
3534
|
const { declared, sources, workspaceRoot, appRoot } = options;
|
|
3533
|
-
const served = servedSurface(declared, workspaceRoot, appRoot);
|
|
3535
|
+
const served = servedSurface(declared, workspaceRoot, appRoot) ?? servedWebSocketApi(declared, workspaceRoot, appRoot);
|
|
3534
3536
|
const source = served ? sources[served.id] : void 0;
|
|
3535
3537
|
if (!served || !source || !servesItself(source.construct)) return void 0;
|
|
3536
3538
|
return {
|
|
@@ -3538,6 +3540,15 @@ function selfServingSurface(options) {
|
|
|
3538
3540
|
source
|
|
3539
3541
|
};
|
|
3540
3542
|
}
|
|
3543
|
+
/** The WebSocket surface whose `path` is the directory being built. */
|
|
3544
|
+
function servedWebSocketApi(declared, workspaceRoot, appRoot) {
|
|
3545
|
+
return Object.values(declared).find((d) => d.kind === "websocket-api" && (0, node_path.resolve)(workspaceRoot, d.path) === (0, node_path.resolve)(appRoot));
|
|
3546
|
+
}
|
|
3547
|
+
/** An import specifier for `file`, from `outputDir`, as the bundle sees it. */
|
|
3548
|
+
function specifierOf(outputDir, file) {
|
|
3549
|
+
const rel = (0, node_path.relative)(outputDir, file).replace(/\.ts$/, ".js");
|
|
3550
|
+
return rel.startsWith(".") ? rel : `./${rel}`;
|
|
3551
|
+
}
|
|
3541
3552
|
/**
|
|
3542
3553
|
* The entry for a surface that serves itself.
|
|
3543
3554
|
*
|
|
@@ -3550,10 +3561,12 @@ function selfServingSurface(options) {
|
|
|
3550
3561
|
* The import specifier comes from discovery, which globbed the file and
|
|
3551
3562
|
* imported it. Nothing about the surface is named here.
|
|
3552
3563
|
*/
|
|
3553
|
-
async function writeSurfaceEntry(outputDir, source) {
|
|
3564
|
+
async function writeSurfaceEntry(outputDir, source, served = []) {
|
|
3554
3565
|
await (0, node_fs_promises.mkdir)(outputDir, { recursive: true });
|
|
3555
|
-
const
|
|
3556
|
-
const
|
|
3566
|
+
const specifier = specifierOf(outputDir, source.file);
|
|
3567
|
+
const modules = served.filter((file) => file !== source.file);
|
|
3568
|
+
const imports = modules.map((file, index) => `import * as served${index} from '${specifierOf(outputDir, file)}';\n`).join("");
|
|
3569
|
+
const options = modules.length ? `{ envParser, context: snifferContext, modules: [${modules.map((_, index) => `served${index}`).join(", ")}] }` : "{ envParser, context: snifferContext }";
|
|
3557
3570
|
await (0, node_fs_promises.writeFile)((0, node_path.join)(outputDir, "app.ts"), `/**
|
|
3558
3571
|
* Generated entry for a surface that serves itself.
|
|
3559
3572
|
*
|
|
@@ -3563,10 +3576,19 @@ async function writeSurfaceEntry(outputDir, source) {
|
|
|
3563
3576
|
import { snifferContext } from '@geekmidas/constructs';
|
|
3564
3577
|
import { defaultEnvParser } from '@geekmidas/constructs/endpoints';
|
|
3565
3578
|
import { ${source.exportName} as surface } from '${specifier}';
|
|
3566
|
-
|
|
3579
|
+
${imports}
|
|
3567
3580
|
const envParser = defaultEnvParser();
|
|
3568
3581
|
|
|
3569
|
-
|
|
3582
|
+
const served = await surface.server(${options});
|
|
3583
|
+
|
|
3584
|
+
export const app = served.app;
|
|
3585
|
+
/** Hands the HTTP server's upgrades to the surface, when it takes them. */
|
|
3586
|
+
export const attach: ((server: unknown) => void) | undefined = served.attach;
|
|
3587
|
+
/**
|
|
3588
|
+
* Ends what the HTTP server would otherwise wait on forever — open sockets —
|
|
3589
|
+
* before it is closed.
|
|
3590
|
+
*/
|
|
3591
|
+
export const release: (() => Promise<void>) | undefined = served.release;
|
|
3570
3592
|
|
|
3571
3593
|
export default app;
|
|
3572
3594
|
`);
|
|
@@ -3594,6 +3616,9 @@ const shutdown = async () => {
|
|
|
3594
3616
|
shuttingDown = true;
|
|
3595
3617
|
const deadline = Number(process.env.GKM_SHUTDOWN_TIMEOUT_MS) || 8000;
|
|
3596
3618
|
setTimeout(() => process.exit(1), deadline).unref();
|
|
3619
|
+
// Upgraded sockets hold the server open: they are closed first, with a code
|
|
3620
|
+
// that tells a client to reconnect elsewhere.
|
|
3621
|
+
await release?.();
|
|
3597
3622
|
await new Promise<void>((resolve) => server.close(() => resolve()));
|
|
3598
3623
|
await runShutdownHooks((error) => console.error(error));
|
|
3599
3624
|
process.exit(0);
|
|
@@ -3612,7 +3637,7 @@ import { serve } from '@hono/node-server';
|
|
|
3612
3637
|
import { Hono } from 'hono';
|
|
3613
3638
|
${options.gracefulShutdown ? "import { runShutdownHooks } from '@geekmidas/constructs';\n" : ""}
|
|
3614
3639
|
${require_EndpointGenerator.startTelemetryCode([options.healthCheck])}
|
|
3615
|
-
const { app: surface } = await import('./app.js');
|
|
3640
|
+
const { app: surface, attach, release } = await import('./app.js');
|
|
3616
3641
|
|
|
3617
3642
|
const port = Number(process.env.PORT) || 3000;
|
|
3618
3643
|
|
|
@@ -3624,6 +3649,7 @@ app.get(${JSON.stringify(options.healthCheck)}, (c) =>
|
|
|
3624
3649
|
app.route('/', surface);
|
|
3625
3650
|
|
|
3626
3651
|
const server = serve({ fetch: app.fetch, port });
|
|
3652
|
+
attach?.(server);
|
|
3627
3653
|
console.log(JSON.stringify({ msg: 'Production server started', port }));
|
|
3628
3654
|
${shutdown}`);
|
|
3629
3655
|
return path;
|
|
@@ -3801,12 +3827,14 @@ async function buildApp(input) {
|
|
|
3801
3827
|
const constructGlobs = config.constructs;
|
|
3802
3828
|
const constructSources = {};
|
|
3803
3829
|
const background = {};
|
|
3830
|
+
const served = {};
|
|
3804
3831
|
const declared = constructGlobs ? await require_discover.discover({
|
|
3805
3832
|
patterns: constructGlobs,
|
|
3806
3833
|
cwd: appRoot,
|
|
3807
3834
|
bustCache,
|
|
3808
3835
|
sources: constructSources,
|
|
3809
|
-
background
|
|
3836
|
+
background,
|
|
3837
|
+
served
|
|
3810
3838
|
}) : {};
|
|
3811
3839
|
const selfServing = selfServingSurface({
|
|
3812
3840
|
declared,
|
|
@@ -3815,7 +3843,7 @@ async function buildApp(input) {
|
|
|
3815
3843
|
appRoot
|
|
3816
3844
|
});
|
|
3817
3845
|
if (selfServing) {
|
|
3818
|
-
await writeSurfaceEntry((0, node_path.join)(appRoot, ".gkm", "server"), selfServing.source);
|
|
3846
|
+
await writeSurfaceEntry((0, node_path.join)(appRoot, ".gkm", "server"), selfServing.source, served[selfServing.id] ?? []);
|
|
3819
3847
|
const telemetry = require_EndpointGenerator.telemetryFor({
|
|
3820
3848
|
node: require_seeds.telemetryOf(declared, selfServing.id),
|
|
3821
3849
|
appRoot,
|
|
@@ -3832,7 +3860,7 @@ async function buildApp(input) {
|
|
|
3832
3860
|
...production,
|
|
3833
3861
|
...telemetry ? { telemetry } : {}
|
|
3834
3862
|
});
|
|
3835
|
-
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-
|
|
3863
|
+
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-BtAkF9wb.cjs"));
|
|
3836
3864
|
await bundleServer({
|
|
3837
3865
|
entryPoint,
|
|
3838
3866
|
outputDir: (0, node_path.join)(outputDir, "dist"),
|
|
@@ -4077,7 +4105,7 @@ async function buildWorkers(input) {
|
|
|
4077
4105
|
});
|
|
4078
4106
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4079
4107
|
if (!input.bundle) continue;
|
|
4080
|
-
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-
|
|
4108
|
+
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-BtAkF9wb.cjs"));
|
|
4081
4109
|
const outfile = require_seeds.workerBundleName(worker.id);
|
|
4082
4110
|
await bundleServer({
|
|
4083
4111
|
entryPoint,
|
|
@@ -4119,7 +4147,7 @@ async function buildProcessors(input) {
|
|
|
4119
4147
|
for (const { key, construct } of processors) infos.push(await require_seeds.processorInfo(key, construct, handler, context));
|
|
4120
4148
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4121
4149
|
if (!input.bundle) continue;
|
|
4122
|
-
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-
|
|
4150
|
+
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-BtAkF9wb.cjs"));
|
|
4123
4151
|
const outfile = require_seeds.processorBundleName(fileServerId);
|
|
4124
4152
|
await bundleServer({
|
|
4125
4153
|
entryPoint,
|
|
@@ -4202,7 +4230,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4202
4230
|
let masterKey;
|
|
4203
4231
|
if (context.production?.bundle && !skipBundle) {
|
|
4204
4232
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4205
|
-
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-
|
|
4233
|
+
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-BtAkF9wb.cjs"));
|
|
4206
4234
|
const allConstructs = [
|
|
4207
4235
|
...endpoints.map((e) => e.construct),
|
|
4208
4236
|
...functions.map((f) => f.construct),
|
|
@@ -6036,25 +6064,25 @@ function loadPackageJson() {
|
|
|
6036
6064
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6037
6065
|
*/
|
|
6038
6066
|
const GEEKMIDAS_VERSIONS = {
|
|
6039
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
6040
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
6041
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
6042
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
6043
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
6044
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
6045
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
6046
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
6047
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
6048
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
6049
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
6050
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
6051
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
6052
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
6053
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
6054
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
6055
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
6056
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
6057
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
6067
|
+
"@geekmidas/audit": "~10.0.0-alpha.127",
|
|
6068
|
+
"@geekmidas/auth": "~10.0.0-alpha.127",
|
|
6069
|
+
"@geekmidas/cache": "~10.0.0-alpha.127",
|
|
6070
|
+
"@geekmidas/client": "~10.0.0-alpha.127",
|
|
6071
|
+
"@geekmidas/cloud": "~10.0.0-alpha.127",
|
|
6072
|
+
"@geekmidas/constructs": "~10.0.0-alpha.127",
|
|
6073
|
+
"@geekmidas/db": "~10.0.0-alpha.127",
|
|
6074
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.127",
|
|
6075
|
+
"@geekmidas/envkit": "~10.0.0-alpha.127",
|
|
6076
|
+
"@geekmidas/errors": "~10.0.0-alpha.127",
|
|
6077
|
+
"@geekmidas/events": "~10.0.0-alpha.127",
|
|
6078
|
+
"@geekmidas/logger": "~10.0.0-alpha.127",
|
|
6079
|
+
"@geekmidas/manifest": "~10.0.0-alpha.127",
|
|
6080
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.127",
|
|
6081
|
+
"@geekmidas/schema": "~10.0.0-alpha.127",
|
|
6082
|
+
"@geekmidas/services": "~10.0.0-alpha.127",
|
|
6083
|
+
"@geekmidas/storage": "~10.0.0-alpha.127",
|
|
6084
|
+
"@geekmidas/telescope": "~10.0.0-alpha.127",
|
|
6085
|
+
"@geekmidas/testkit": "~10.0.0-alpha.127",
|
|
6058
6086
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
6059
6087
|
};
|
|
6060
6088
|
//#endregion
|
|
@@ -7247,7 +7275,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7247
7275
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7248
7276
|
* release the pinned commit is.
|
|
7249
7277
|
*/
|
|
7250
|
-
function stagesActionUses(commit = "
|
|
7278
|
+
function stagesActionUses(commit = "ba2d3fd603ba7812a218838e777b845267582e05", version = cliVersion()) {
|
|
7251
7279
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7252
7280
|
}
|
|
7253
7281
|
//#endregion
|
|
@@ -16219,8 +16247,8 @@ function testDatabases(reconciled) {
|
|
|
16219
16247
|
* starts without the reference data the app needs.
|
|
16220
16248
|
*/
|
|
16221
16249
|
async function migrateTestStage(workspace, env) {
|
|
16222
|
-
const { migrateAndSeed } = await Promise.resolve().then(() => require("./migrate-
|
|
16223
|
-
const { discover } = await Promise.resolve().then(() => require("./discover-
|
|
16250
|
+
const { migrateAndSeed } = await Promise.resolve().then(() => require("./migrate-DTv6LHux.cjs"));
|
|
16251
|
+
const { discover } = await Promise.resolve().then(() => require("./discover-DEOspD9M.cjs")).then((n) => n.discover_exports);
|
|
16224
16252
|
const sources = {};
|
|
16225
16253
|
const manifest = await discover({
|
|
16226
16254
|
patterns: require_seeds.constructGlobs(workspace),
|
|
@@ -16644,7 +16672,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16644
16672
|
try {
|
|
16645
16673
|
const globalOptions = program.opts();
|
|
16646
16674
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16647
|
-
const { easSync } = await Promise.resolve().then(() => require("./eas-
|
|
16675
|
+
const { easSync } = await Promise.resolve().then(() => require("./eas-ApfPYR4-.cjs"));
|
|
16648
16676
|
await easSync(options);
|
|
16649
16677
|
} catch (error) {
|
|
16650
16678
|
exitWithError(error);
|
|
@@ -16654,7 +16682,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16654
16682
|
try {
|
|
16655
16683
|
const globalOptions = program.opts();
|
|
16656
16684
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16657
|
-
const { publish, PublishModeConflict } = await Promise.resolve().then(() => require("./publish-
|
|
16685
|
+
const { publish, PublishModeConflict } = await Promise.resolve().then(() => require("./publish-CgwqwKDs.cjs"));
|
|
16658
16686
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16659
16687
|
const { build, update, ...rest } = options;
|
|
16660
16688
|
await publish({
|
|
@@ -16670,7 +16698,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16670
16698
|
try {
|
|
16671
16699
|
const globalOptions = program.opts();
|
|
16672
16700
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16673
|
-
const { deployGooglePlay } = await Promise.resolve().then(() => require("./googlePlay-
|
|
16701
|
+
const { deployGooglePlay } = await Promise.resolve().then(() => require("./googlePlay-4KVtZ89D.cjs"));
|
|
16674
16702
|
await deployGooglePlay(options);
|
|
16675
16703
|
} catch (error) {
|
|
16676
16704
|
exitWithError(error);
|
|
@@ -16692,7 +16720,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16692
16720
|
try {
|
|
16693
16721
|
const globalOptions = program.opts();
|
|
16694
16722
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16695
|
-
const { migrateCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
16723
|
+
const { migrateCommand } = await Promise.resolve().then(() => require("./migrate-DTv6LHux.cjs"));
|
|
16696
16724
|
await migrateCommand({
|
|
16697
16725
|
...options,
|
|
16698
16726
|
...construct ? { construct } : {}
|
|
@@ -16705,7 +16733,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16705
16733
|
try {
|
|
16706
16734
|
const globalOptions = program.opts();
|
|
16707
16735
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16708
|
-
const { seedCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
16736
|
+
const { seedCommand } = await Promise.resolve().then(() => require("./migrate-DTv6LHux.cjs"));
|
|
16709
16737
|
await seedCommand({
|
|
16710
16738
|
...options,
|
|
16711
16739
|
...construct ? { construct } : {}
|
|
@@ -16718,7 +16746,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16718
16746
|
try {
|
|
16719
16747
|
const globalOptions = program.opts();
|
|
16720
16748
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16721
|
-
const { migrationCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
16749
|
+
const { migrationCommand } = await Promise.resolve().then(() => require("./migrate-DTv6LHux.cjs"));
|
|
16722
16750
|
await migrationCommand({
|
|
16723
16751
|
construct,
|
|
16724
16752
|
...name ? { name } : {}
|
|
@@ -16818,7 +16846,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16818
16846
|
try {
|
|
16819
16847
|
const globalOptions = program.opts();
|
|
16820
16848
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16821
|
-
const { secretsAddCommand } = await Promise.resolve().then(() => require("./add-
|
|
16849
|
+
const { secretsAddCommand } = await Promise.resolve().then(() => require("./add-CH7-9AHI.cjs"));
|
|
16822
16850
|
await secretsAddCommand(options);
|
|
16823
16851
|
} catch (error) {
|
|
16824
16852
|
exitWithError(error);
|
|
@@ -16828,7 +16856,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16828
16856
|
try {
|
|
16829
16857
|
const globalOptions = program.opts();
|
|
16830
16858
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16831
|
-
const { encryptionRotateCommand } = await Promise.resolve().then(() => require("./encryption-
|
|
16859
|
+
const { encryptionRotateCommand } = await Promise.resolve().then(() => require("./encryption-SGWvnBxV.cjs"));
|
|
16832
16860
|
await encryptionRotateCommand(construct, options);
|
|
16833
16861
|
} catch (error) {
|
|
16834
16862
|
exitWithError(error);
|
|
@@ -16838,7 +16866,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16838
16866
|
try {
|
|
16839
16867
|
const globalOptions = program.opts();
|
|
16840
16868
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16841
|
-
const { encryptionRetireCommand } = await Promise.resolve().then(() => require("./encryption-
|
|
16869
|
+
const { encryptionRetireCommand } = await Promise.resolve().then(() => require("./encryption-SGWvnBxV.cjs"));
|
|
16842
16870
|
await encryptionRetireCommand(construct, key, options);
|
|
16843
16871
|
} catch (error) {
|
|
16844
16872
|
exitWithError(error);
|
|
@@ -16877,7 +16905,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16877
16905
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16878
16906
|
const { loadWorkspaceConfig } = await Promise.resolve().then(() => require("./config.cjs"));
|
|
16879
16907
|
const { reconcileMissingSecrets } = await Promise.resolve().then(() => require("./reconcile-CuCQBa5-.cjs"));
|
|
16880
|
-
const { secretsStoreFor } = await Promise.resolve().then(() => require("./seeds-
|
|
16908
|
+
const { secretsStoreFor } = await Promise.resolve().then(() => require("./seeds-sMVADbkg.cjs")).then((n) => n.store_exports);
|
|
16881
16909
|
const { workspace } = await loadWorkspaceConfig();
|
|
16882
16910
|
const stage = options.stage ?? workspace.stages.local;
|
|
16883
16911
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16886,7 +16914,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16886
16914
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16887
16915
|
process.exit(1);
|
|
16888
16916
|
}
|
|
16889
|
-
const { derivedContainers } = await Promise.resolve().then(() => require("./seeds-
|
|
16917
|
+
const { derivedContainers } = await Promise.resolve().then(() => require("./seeds-sMVADbkg.cjs")).then((n) => n.workspace_exports);
|
|
16890
16918
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16891
16919
|
if (!result) {
|
|
16892
16920
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16903,14 +16931,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16903
16931
|
try {
|
|
16904
16932
|
const globalOptions = program.opts();
|
|
16905
16933
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16906
|
-
const { secretsMigrateCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
16934
|
+
const { secretsMigrateCommand } = await Promise.resolve().then(() => require("./migrate-BQPRclv2.cjs"));
|
|
16907
16935
|
await secretsMigrateCommand(options);
|
|
16908
16936
|
} catch (error) {
|
|
16909
16937
|
exitWithError(error);
|
|
16910
16938
|
}
|
|
16911
16939
|
});
|
|
16912
16940
|
program.command("deploy").description("Deploy a stage through its target").option("--target <name>", "Deploy target: dokploy, compose, sst, or one named in deploy.targets (default: deploy.default)").option("--provider <provider>", "[DEPRECATED] Use --target instead").requiredOption("--stage <stage>", "Deployment stage (e.g., production, staging)").option("--tag <tag>", "Image tag (default: stage-timestamp; compose: the commit). Compose pulls a given tag").option("--skip-push", "Skip pushing image to registry").option("--skip-build", "Skip build step (use existing build)").option("--json", "Write events as JSON lines instead of progress; never prompts").option("--dry-run", "Show what would be created or reused; change, build and push nothing").option("--atomic", "If the release fails, roll back every app it released, not only the failed ones").option("--allow-dev-services", "Server targets: run the dev service (MinIO, Mailpit) for every bucket and mail the stage doesn't account for. Not production-grade").option("--skip-dns", "Compose: neither write the public hosts' DNS records nor check they point at GKM_SERVER_IPV4 (a CDN or proxy in front, or records written elsewhere)").option("--rotate-keys", "Deployed stage: each provider issues its runtime keys a successor (the old one is deleted by the next deploy)").option("--retire-old-keys", "Deployed stage: delete a rotated-out key now instead of on the next deploy").action(async (options) => {
|
|
16913
|
-
const { deployCli } = await Promise.resolve().then(() => require("./cli-
|
|
16941
|
+
const { deployCli } = await Promise.resolve().then(() => require("./cli-D08bMg7m.cjs"));
|
|
16914
16942
|
const globalOptions = program.opts();
|
|
16915
16943
|
const code = await deployCli({
|
|
16916
16944
|
cwd: (0, node_path.resolve)(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16930,8 +16958,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16930
16958
|
});
|
|
16931
16959
|
program.command("deploy:rollback").description("Put a stage's app back on its previous release (Dokploy): one app with --app, every app with --atomic").requiredOption("--stage <stage>", "A deployed stage").option("--app <app>", "The app to roll back").option("--atomic", "Roll back every app that has an earlier release").action(async (options) => {
|
|
16932
16960
|
try {
|
|
16933
|
-
const { rollbackStage } = await Promise.resolve().then(() => require("./rollback-
|
|
16934
|
-
const { terminalCredentials } = await Promise.resolve().then(() => require("./terminal-
|
|
16961
|
+
const { rollbackStage } = await Promise.resolve().then(() => require("./rollback-CdBj1Boy.cjs")).then((n) => n.rollback_exports);
|
|
16962
|
+
const { terminalCredentials } = await Promise.resolve().then(() => require("./terminal-DBwedwSS.cjs"));
|
|
16935
16963
|
const globalOptions = program.opts();
|
|
16936
16964
|
await rollbackStage({
|
|
16937
16965
|
cwd: (0, node_path.resolve)(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16949,7 +16977,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
16949
16977
|
try {
|
|
16950
16978
|
const globalOptions = program.opts();
|
|
16951
16979
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16952
|
-
const { composeServerCommand } = await Promise.resolve().then(() => require("./serverSetup-
|
|
16980
|
+
const { composeServerCommand } = await Promise.resolve().then(() => require("./serverSetup-4avavig6.cjs"));
|
|
16953
16981
|
await composeServerCommand(options);
|
|
16954
16982
|
} catch (error) {
|
|
16955
16983
|
exitWithError(error);
|
|
@@ -16974,7 +17002,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
16974
17002
|
try {
|
|
16975
17003
|
const globalOptions = program.opts();
|
|
16976
17004
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16977
|
-
const { deployGithubCommand } = await Promise.resolve().then(() => require("./github-
|
|
17005
|
+
const { deployGithubCommand } = await Promise.resolve().then(() => require("./github-CxWaWQtW.cjs"));
|
|
16978
17006
|
await deployGithubCommand(options);
|
|
16979
17007
|
} catch (error) {
|
|
16980
17008
|
exitWithError(error);
|