@geekmidas/cli 10.0.0-alpha.125 → 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-BN1dODm9.mjs → GoDaddyProvider-BG-UdElN.mjs} +2 -2
- package/dist/{GoDaddyProvider-BN1dODm9.mjs.map → GoDaddyProvider-BG-UdElN.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-BTdtqhI_.cjs → GoDaddyProvider-DnmLq7eo.cjs} +2 -2
- package/dist/{GoDaddyProvider-BTdtqhI_.cjs.map → GoDaddyProvider-DnmLq7eo.cjs.map} +1 -1
- package/dist/{LegacyStateStore-C2S8TGwx.cjs → LegacyStateStore-CeBkK9K2.cjs} +3 -3
- package/dist/{LegacyStateStore-C2S8TGwx.cjs.map → LegacyStateStore-CeBkK9K2.cjs.map} +1 -1
- package/dist/{LegacyStateStore-DgXmuG87.mjs → LegacyStateStore-DHG_4jcn.mjs} +3 -3
- package/dist/{LegacyStateStore-DgXmuG87.mjs.map → LegacyStateStore-DHG_4jcn.mjs.map} +1 -1
- package/dist/{LocalStateStore-ojY_BiMK.mjs → LocalStateStore-EenTHwr4.mjs} +2 -2
- package/dist/{LocalStateStore-ojY_BiMK.mjs.map → LocalStateStore-EenTHwr4.mjs.map} +1 -1
- package/dist/{LocalStateStore-CaJw9H-3.cjs → LocalStateStore-HRnBQFe3.cjs} +2 -2
- package/dist/{LocalStateStore-CaJw9H-3.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-BqugXIcb.cjs → S3StateStore-DyLljVN1.cjs} +2 -2
- package/dist/{S3StateStore-BqugXIcb.cjs.map → S3StateStore-DyLljVN1.cjs.map} +1 -1
- package/dist/{S3StateStore-BSPkxhrx.mjs → S3StateStore-vbkyBnRB.mjs} +2 -2
- package/dist/{S3StateStore-BSPkxhrx.mjs.map → S3StateStore-vbkyBnRB.mjs.map} +1 -1
- package/dist/{SSMStateStore-B0OsuT_k.cjs → SSMStateStore-BBKlmfaU.cjs} +2 -2
- package/dist/{SSMStateStore-B0OsuT_k.cjs.map → SSMStateStore-BBKlmfaU.cjs.map} +1 -1
- package/dist/{SSMStateStore-DM85OiH0.mjs → SSMStateStore-uk2QLUgz.mjs} +2 -2
- package/dist/{SSMStateStore-DM85OiH0.mjs.map → SSMStateStore-uk2QLUgz.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-ocQ2yj0K.mjs → SubscriberGenerator-0ruEmYXj.mjs} +4 -62
- package/dist/SubscriberGenerator-0ruEmYXj.mjs.map +1 -0
- package/dist/{SubscriberGenerator-BDUp7OeY.cjs → SubscriberGenerator-CPjbWEOI.cjs} +3 -91
- package/dist/SubscriberGenerator-CPjbWEOI.cjs.map +1 -0
- package/dist/{add-CrxvmSpq.cjs → add-CH7-9AHI.cjs} +7 -7
- package/dist/add-CH7-9AHI.cjs.map +1 -0
- package/dist/{add-C7ZBXIzM.mjs → add-CgyyN6aF.mjs} +7 -7
- package/dist/add-CgyyN6aF.mjs.map +1 -0
- package/dist/{bundler-DVUXW95p.cjs → bundler-BtAkF9wb.cjs} +5 -5
- package/dist/{bundler-DVUXW95p.cjs.map → bundler-BtAkF9wb.cjs.map} +1 -1
- package/dist/{bundler-DpZ9uBGN.mjs → bundler-DqHozK8W.mjs} +5 -5
- package/dist/{bundler-DpZ9uBGN.mjs.map → bundler-DqHozK8W.mjs.map} +1 -1
- package/dist/{cli-BMRhE6cZ.cjs → cli-D08bMg7m.cjs} +3 -3
- package/dist/{cli-BMRhE6cZ.cjs.map → cli-D08bMg7m.cjs.map} +1 -1
- package/dist/{cli-BWfYyy1k.mjs → cli-D_BQkb4B.mjs} +3 -3
- package/dist/{cli-BWfYyy1k.mjs.map → cli-D_BQkb4B.mjs.map} +1 -1
- package/dist/{compose-Bqcy0lqo.cjs → compose-BK9s_2Qe.cjs} +73 -44
- package/dist/compose-BK9s_2Qe.cjs.map +1 -0
- package/dist/{compose-BFmdLig3.mjs → compose-CIzCcsoz.mjs} +72 -43
- 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/{databases-BPOgTn1u.mjs → databases-6GD0tI2F.mjs} +65 -3
- package/dist/databases-6GD0tI2F.mjs.map +1 -0
- package/dist/{databases-fOaoBInm.cjs → databases-CuVGf7-M.cjs} +75 -1
- package/dist/databases-CuVGf7-M.cjs.map +1 -0
- package/dist/deploy/public.cjs +8 -8
- package/dist/deploy/public.d.cts +3 -3
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts +3 -3
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +8 -8
- package/dist/{deploy-DVrNjX1X.cjs → deploy-A_fzSa59.cjs} +10 -10
- package/dist/deploy-A_fzSa59.cjs.map +1 -0
- package/dist/{deploy-D8pUA9Y0.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-TtK6Zyl3.cjs → dokploy-CshlFRwr.cjs} +2 -2
- package/dist/{dokploy-TtK6Zyl3.cjs.map → dokploy-CshlFRwr.cjs.map} +1 -1
- package/dist/{dokploy-CzDGNB6A.mjs → dokploy-DOndleTd.mjs} +2 -2
- package/dist/{dokploy-CzDGNB6A.mjs.map → dokploy-DOndleTd.mjs.map} +1 -1
- package/dist/{drivers-L29WvE95.cjs → drivers-C47nm-wB.cjs} +91 -4
- package/dist/drivers-C47nm-wB.cjs.map +1 -0
- package/dist/{drivers-C-VqMtld.mjs → drivers-CDjpjakg.mjs} +60 -3
- package/dist/drivers-CDjpjakg.mjs.map +1 -0
- package/dist/{eas-D3clzkni.cjs → eas-ApfPYR4-.cjs} +3 -3
- package/dist/{eas-D3clzkni.cjs.map → eas-ApfPYR4-.cjs.map} +1 -1
- package/dist/{eas-DaobzDks.mjs → eas-Dlr1Lw56.mjs} +3 -3
- package/dist/{eas-DaobzDks.mjs.map → eas-Dlr1Lw56.mjs.map} +1 -1
- package/dist/{encryption-DV31gEY8.mjs → encryption-D0tWRvy_.mjs} +2 -2
- package/dist/{encryption-DV31gEY8.mjs.map → encryption-D0tWRvy_.mjs.map} +1 -1
- package/dist/{encryption-DBkIFiR2.cjs → encryption-SGWvnBxV.cjs} +2 -2
- package/dist/{encryption-DBkIFiR2.cjs.map → encryption-SGWvnBxV.cjs.map} +1 -1
- package/dist/{engine-CuZUGbEh.cjs → engine-CYu4wavP.cjs} +9 -7
- package/dist/engine-CYu4wavP.cjs.map +1 -0
- package/dist/{engine-CFOR9h6X.mjs → engine-DKz1NYDX.mjs} +9 -7
- package/dist/engine-DKz1NYDX.mjs.map +1 -0
- package/dist/{github-CsvtWSBW.cjs → github-CxWaWQtW.cjs} +5 -5
- package/dist/{github-CsvtWSBW.cjs.map → github-CxWaWQtW.cjs.map} +1 -1
- package/dist/{github-Nep8pI4_.mjs → github-VQaj8gLE.mjs} +5 -5
- package/dist/{github-Nep8pI4_.mjs.map → github-VQaj8gLE.mjs.map} +1 -1
- package/dist/{googlePlay-C-UfBXJU.cjs → googlePlay-4KVtZ89D.cjs} +3 -3
- package/dist/{googlePlay-C-UfBXJU.cjs.map → googlePlay-4KVtZ89D.cjs.map} +1 -1
- package/dist/{googlePlay-lF7Atm_N.mjs → googlePlay-Nqc4EAiC.mjs} +3 -3
- package/dist/{googlePlay-lF7Atm_N.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 +105 -76
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +104 -75
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-hlNKNWmg.cjs → migrate-BQPRclv2.cjs} +2 -2
- package/dist/{migrate-hlNKNWmg.cjs.map → migrate-BQPRclv2.cjs.map} +1 -1
- package/dist/{migrate-_sBX0pve.mjs → migrate-C7exqXTD.mjs} +2 -2
- package/dist/{migrate-_sBX0pve.mjs.map → migrate-C7exqXTD.mjs.map} +1 -1
- package/dist/{migrate-NfbPVhi9.mjs → migrate-DQPEUiFC.mjs} +7 -5
- package/dist/migrate-DQPEUiFC.mjs.map +1 -0
- package/dist/{migrate-Dp3GhFnf.cjs → migrate-DTv6LHux.cjs} +7 -5
- package/dist/migrate-DTv6LHux.cjs.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-ZOo4xEuZ.cjs → publish-CgwqwKDs.cjs} +2 -2
- package/dist/{publish-ZOo4xEuZ.cjs.map → publish-CgwqwKDs.cjs.map} +1 -1
- package/dist/{publish-BuUVaZVy.mjs → publish-VYt4xOOc.mjs} +2 -2
- package/dist/{publish-BuUVaZVy.mjs.map → publish-VYt4xOOc.mjs.map} +1 -1
- package/dist/{ready-Ca883OvY.mjs → ready-BwtLriAF.mjs} +6 -6
- package/dist/{ready-Ca883OvY.mjs.map → ready-BwtLriAF.mjs.map} +1 -1
- package/dist/{ready-qnqp6JAY.cjs → ready-Cj4pI0dw.cjs} +6 -6
- package/dist/{ready-qnqp6JAY.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-C9QqOl5t.cjs → resolve-C-W3kZM7.cjs} +4 -4
- package/dist/{resolve-C9QqOl5t.cjs.map → resolve-C-W3kZM7.cjs.map} +1 -1
- package/dist/{resolve-BCU9pYDx.mjs → resolve-CCVCc43b.mjs} +4 -4
- package/dist/{resolve-BCU9pYDx.mjs.map → resolve-CCVCc43b.mjs.map} +1 -1
- package/dist/{rollback-CTWdDBgB.cjs → rollback-CdBj1Boy.cjs} +4 -4
- package/dist/{rollback-CTWdDBgB.cjs.map → rollback-CdBj1Boy.cjs.map} +1 -1
- package/dist/{rollback-CWyyTQ0B.mjs → rollback-dUShCpZu.mjs} +4 -4
- package/dist/{rollback-CWyyTQ0B.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 +5 -4
- package/dist/sandbox/migrate-worker.cjs.map +1 -1
- package/dist/sandbox/migrate-worker.mjs +5 -4
- package/dist/sandbox/migrate-worker.mjs.map +1 -1
- package/dist/{seeds-CK7w79VC.mjs → seeds-BX9pskrU.mjs} +67 -27
- package/dist/seeds-BX9pskrU.mjs.map +1 -0
- package/dist/{seeds-CPEcmoPn.cjs → seeds-sMVADbkg.cjs} +74 -34
- package/dist/seeds-sMVADbkg.cjs.map +1 -0
- package/dist/{serverSetup-C6t6Vtt7.cjs → serverSetup-4avavig6.cjs} +25 -5
- package/dist/serverSetup-4avavig6.cjs.map +1 -0
- package/dist/{serverSetup-BAPNuNEX.mjs → serverSetup-BvHpm7QD.mjs} +25 -5
- package/dist/serverSetup-BvHpm7QD.mjs.map +1 -0
- package/dist/{sniffer-DdX_WN_-.cjs → sniffer-DWLala8l.cjs} +7 -7
- package/dist/{sniffer-DdX_WN_-.cjs.map → sniffer-DWLala8l.cjs.map} +1 -1
- package/dist/{sniffer-g9v7cqDN.mjs → sniffer-XnAnEbuI.mjs} +7 -7
- package/dist/{sniffer-g9v7cqDN.mjs.map → sniffer-XnAnEbuI.mjs.map} +1 -1
- package/dist/{snsSubscriptions-BmYeeTH8.mjs → snsSubscriptions-BxLJQH4u.mjs} +3 -3
- package/dist/{snsSubscriptions-BmYeeTH8.mjs.map → snsSubscriptions-BxLJQH4u.mjs.map} +1 -1
- package/dist/{snsSubscriptions-5Cqww8S7.cjs → snsSubscriptions-f_z4PSFb.cjs} +3 -3
- package/dist/{snsSubscriptions-5Cqww8S7.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-CUE5pMmw.cjs → stage-ZWOE0oLB.cjs} +5 -5
- package/dist/{stage-CUE5pMmw.cjs.map → stage-ZWOE0oLB.cjs.map} +1 -1
- package/dist/{stage-C-I2dVw1.mjs → stage-mta618Oy.mjs} +5 -5
- package/dist/{stage-C-I2dVw1.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-Bmjs4jZV.d.mts → types-DLANxOpy.d.mts} +7 -1
- package/dist/types-DLANxOpy.d.mts.map +1 -0
- package/dist/{types-D0IsQxES.d.cts → types-SEHMr6Aw.d.cts} +7 -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/SubscriberGenerator-BDUp7OeY.cjs.map +0 -1
- package/dist/SubscriberGenerator-ocQ2yj0K.mjs.map +0 -1
- package/dist/add-C7ZBXIzM.mjs.map +0 -1
- package/dist/add-CrxvmSpq.cjs.map +0 -1
- package/dist/compose-BFmdLig3.mjs.map +0 -1
- package/dist/compose-Bqcy0lqo.cjs.map +0 -1
- package/dist/databases-BPOgTn1u.mjs.map +0 -1
- package/dist/databases-fOaoBInm.cjs.map +0 -1
- package/dist/deploy-D8pUA9Y0.mjs.map +0 -1
- package/dist/deploy-DVrNjX1X.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/drivers-C-VqMtld.mjs.map +0 -1
- package/dist/drivers-L29WvE95.cjs.map +0 -1
- package/dist/engine-CFOR9h6X.mjs.map +0 -1
- package/dist/engine-CuZUGbEh.cjs.map +0 -1
- package/dist/migrate-Dp3GhFnf.cjs.map +0 -1
- package/dist/migrate-NfbPVhi9.mjs.map +0 -1
- package/dist/seeds-CK7w79VC.mjs.map +0 -1
- package/dist/seeds-CPEcmoPn.cjs.map +0 -1
- package/dist/serverSetup-BAPNuNEX.mjs.map +0 -1
- package/dist/serverSetup-C6t6Vtt7.cjs.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-
|
|
12
|
-
const
|
|
10
|
+
const require_seeds = require("./seeds-sMVADbkg.cjs");
|
|
11
|
+
const require_derive = require("./derive-BtGidITm.cjs");
|
|
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-CPjbWEOI.cjs");
|
|
17
18
|
const require_openapi = require("./openapi.cjs");
|
|
18
19
|
const require_appPorts = require("./appPorts-IW-OZmRi.cjs");
|
|
19
|
-
const require_drivers = require("./drivers-L29WvE95.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),
|
|
@@ -16232,7 +16260,8 @@ async function migrateTestStage(workspace, env) {
|
|
|
16232
16260
|
manifest,
|
|
16233
16261
|
sources,
|
|
16234
16262
|
env,
|
|
16235
|
-
stage: require_workspace.TEST_STAGE
|
|
16263
|
+
stage: require_workspace.TEST_STAGE,
|
|
16264
|
+
backends: require_seeds.backendsOf(workspace)
|
|
16236
16265
|
});
|
|
16237
16266
|
for (const { target, applied } of migrations) if (applied.length > 0) console.log(` 🗄️ ${target.migrations}: applied ${applied.join(", ")}`);
|
|
16238
16267
|
for (const { target, seeded } of seeds) if (seeded.length > 0) console.log(` 🌱 ${target.seeds}: ran ${seeded.join(", ")}`);
|
|
@@ -16587,7 +16616,7 @@ program.command("build").description("Build handlers and the manifest from decla
|
|
|
16587
16616
|
const globalOptions = program.opts();
|
|
16588
16617
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16589
16618
|
if (options.provider !== void 0 && !isMainProvider(options.provider)) throw new UnknownBuildProvider(options.provider);
|
|
16590
|
-
if (options.cache !== void 0 && !
|
|
16619
|
+
if (options.cache !== void 0 && !require_drivers.isCacheBackend(options.cache)) throw new UnknownCacheBackend(options.cache);
|
|
16591
16620
|
await buildCommand({
|
|
16592
16621
|
...options.provider ? { provider: options.provider } : {},
|
|
16593
16622
|
...options.cache ? { cache: options.cache } : {},
|
|
@@ -16643,7 +16672,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16643
16672
|
try {
|
|
16644
16673
|
const globalOptions = program.opts();
|
|
16645
16674
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16646
|
-
const { easSync } = await Promise.resolve().then(() => require("./eas-
|
|
16675
|
+
const { easSync } = await Promise.resolve().then(() => require("./eas-ApfPYR4-.cjs"));
|
|
16647
16676
|
await easSync(options);
|
|
16648
16677
|
} catch (error) {
|
|
16649
16678
|
exitWithError(error);
|
|
@@ -16653,7 +16682,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16653
16682
|
try {
|
|
16654
16683
|
const globalOptions = program.opts();
|
|
16655
16684
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16656
|
-
const { publish, PublishModeConflict } = await Promise.resolve().then(() => require("./publish-
|
|
16685
|
+
const { publish, PublishModeConflict } = await Promise.resolve().then(() => require("./publish-CgwqwKDs.cjs"));
|
|
16657
16686
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16658
16687
|
const { build, update, ...rest } = options;
|
|
16659
16688
|
await publish({
|
|
@@ -16669,7 +16698,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16669
16698
|
try {
|
|
16670
16699
|
const globalOptions = program.opts();
|
|
16671
16700
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16672
|
-
const { deployGooglePlay } = await Promise.resolve().then(() => require("./googlePlay-
|
|
16701
|
+
const { deployGooglePlay } = await Promise.resolve().then(() => require("./googlePlay-4KVtZ89D.cjs"));
|
|
16673
16702
|
await deployGooglePlay(options);
|
|
16674
16703
|
} catch (error) {
|
|
16675
16704
|
exitWithError(error);
|
|
@@ -16691,7 +16720,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16691
16720
|
try {
|
|
16692
16721
|
const globalOptions = program.opts();
|
|
16693
16722
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16694
|
-
const { migrateCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
16723
|
+
const { migrateCommand } = await Promise.resolve().then(() => require("./migrate-DTv6LHux.cjs"));
|
|
16695
16724
|
await migrateCommand({
|
|
16696
16725
|
...options,
|
|
16697
16726
|
...construct ? { construct } : {}
|
|
@@ -16704,7 +16733,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16704
16733
|
try {
|
|
16705
16734
|
const globalOptions = program.opts();
|
|
16706
16735
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16707
|
-
const { seedCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
16736
|
+
const { seedCommand } = await Promise.resolve().then(() => require("./migrate-DTv6LHux.cjs"));
|
|
16708
16737
|
await seedCommand({
|
|
16709
16738
|
...options,
|
|
16710
16739
|
...construct ? { construct } : {}
|
|
@@ -16717,7 +16746,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16717
16746
|
try {
|
|
16718
16747
|
const globalOptions = program.opts();
|
|
16719
16748
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16720
|
-
const { migrationCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
16749
|
+
const { migrationCommand } = await Promise.resolve().then(() => require("./migrate-DTv6LHux.cjs"));
|
|
16721
16750
|
await migrationCommand({
|
|
16722
16751
|
construct,
|
|
16723
16752
|
...name ? { name } : {}
|
|
@@ -16817,7 +16846,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16817
16846
|
try {
|
|
16818
16847
|
const globalOptions = program.opts();
|
|
16819
16848
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16820
|
-
const { secretsAddCommand } = await Promise.resolve().then(() => require("./add-
|
|
16849
|
+
const { secretsAddCommand } = await Promise.resolve().then(() => require("./add-CH7-9AHI.cjs"));
|
|
16821
16850
|
await secretsAddCommand(options);
|
|
16822
16851
|
} catch (error) {
|
|
16823
16852
|
exitWithError(error);
|
|
@@ -16827,7 +16856,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16827
16856
|
try {
|
|
16828
16857
|
const globalOptions = program.opts();
|
|
16829
16858
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16830
|
-
const { encryptionRotateCommand } = await Promise.resolve().then(() => require("./encryption-
|
|
16859
|
+
const { encryptionRotateCommand } = await Promise.resolve().then(() => require("./encryption-SGWvnBxV.cjs"));
|
|
16831
16860
|
await encryptionRotateCommand(construct, options);
|
|
16832
16861
|
} catch (error) {
|
|
16833
16862
|
exitWithError(error);
|
|
@@ -16837,7 +16866,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16837
16866
|
try {
|
|
16838
16867
|
const globalOptions = program.opts();
|
|
16839
16868
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16840
|
-
const { encryptionRetireCommand } = await Promise.resolve().then(() => require("./encryption-
|
|
16869
|
+
const { encryptionRetireCommand } = await Promise.resolve().then(() => require("./encryption-SGWvnBxV.cjs"));
|
|
16841
16870
|
await encryptionRetireCommand(construct, key, options);
|
|
16842
16871
|
} catch (error) {
|
|
16843
16872
|
exitWithError(error);
|
|
@@ -16876,7 +16905,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16876
16905
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16877
16906
|
const { loadWorkspaceConfig } = await Promise.resolve().then(() => require("./config.cjs"));
|
|
16878
16907
|
const { reconcileMissingSecrets } = await Promise.resolve().then(() => require("./reconcile-CuCQBa5-.cjs"));
|
|
16879
|
-
const { secretsStoreFor } = await Promise.resolve().then(() => require("./seeds-
|
|
16908
|
+
const { secretsStoreFor } = await Promise.resolve().then(() => require("./seeds-sMVADbkg.cjs")).then((n) => n.store_exports);
|
|
16880
16909
|
const { workspace } = await loadWorkspaceConfig();
|
|
16881
16910
|
const stage = options.stage ?? workspace.stages.local;
|
|
16882
16911
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16885,7 +16914,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16885
16914
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16886
16915
|
process.exit(1);
|
|
16887
16916
|
}
|
|
16888
|
-
const { derivedContainers } = await Promise.resolve().then(() => require("./seeds-
|
|
16917
|
+
const { derivedContainers } = await Promise.resolve().then(() => require("./seeds-sMVADbkg.cjs")).then((n) => n.workspace_exports);
|
|
16889
16918
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16890
16919
|
if (!result) {
|
|
16891
16920
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16902,14 +16931,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16902
16931
|
try {
|
|
16903
16932
|
const globalOptions = program.opts();
|
|
16904
16933
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16905
|
-
const { secretsMigrateCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
16934
|
+
const { secretsMigrateCommand } = await Promise.resolve().then(() => require("./migrate-BQPRclv2.cjs"));
|
|
16906
16935
|
await secretsMigrateCommand(options);
|
|
16907
16936
|
} catch (error) {
|
|
16908
16937
|
exitWithError(error);
|
|
16909
16938
|
}
|
|
16910
16939
|
});
|
|
16911
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) => {
|
|
16912
|
-
const { deployCli } = await Promise.resolve().then(() => require("./cli-
|
|
16941
|
+
const { deployCli } = await Promise.resolve().then(() => require("./cli-D08bMg7m.cjs"));
|
|
16913
16942
|
const globalOptions = program.opts();
|
|
16914
16943
|
const code = await deployCli({
|
|
16915
16944
|
cwd: (0, node_path.resolve)(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16929,8 +16958,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16929
16958
|
});
|
|
16930
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) => {
|
|
16931
16960
|
try {
|
|
16932
|
-
const { rollbackStage } = await Promise.resolve().then(() => require("./rollback-
|
|
16933
|
-
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"));
|
|
16934
16963
|
const globalOptions = program.opts();
|
|
16935
16964
|
await rollbackStage({
|
|
16936
16965
|
cwd: (0, node_path.resolve)(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16948,7 +16977,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
16948
16977
|
try {
|
|
16949
16978
|
const globalOptions = program.opts();
|
|
16950
16979
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16951
|
-
const { composeServerCommand } = await Promise.resolve().then(() => require("./serverSetup-
|
|
16980
|
+
const { composeServerCommand } = await Promise.resolve().then(() => require("./serverSetup-4avavig6.cjs"));
|
|
16952
16981
|
await composeServerCommand(options);
|
|
16953
16982
|
} catch (error) {
|
|
16954
16983
|
exitWithError(error);
|
|
@@ -16973,7 +17002,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
16973
17002
|
try {
|
|
16974
17003
|
const globalOptions = program.opts();
|
|
16975
17004
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16976
|
-
const { deployGithubCommand } = await Promise.resolve().then(() => require("./github-
|
|
17005
|
+
const { deployGithubCommand } = await Promise.resolve().then(() => require("./github-CxWaWQtW.cjs"));
|
|
16977
17006
|
await deployGithubCommand(options);
|
|
16978
17007
|
} catch (error) {
|
|
16979
17008
|
exitWithError(error);
|