@geekmidas/cli 10.0.0-alpha.187 → 10.0.0-alpha.189
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/{LegacyStateStore-BYJwVE8_.mjs → LegacyStateStore-BI0-sXct.mjs} +2 -2
- package/dist/{LegacyStateStore-BYJwVE8_.mjs.map → LegacyStateStore-BI0-sXct.mjs.map} +1 -1
- package/dist/{LegacyStateStore-B3kv1Dlb.cjs → LegacyStateStore-DSl-Kjhn.cjs} +2 -2
- package/dist/{LegacyStateStore-B3kv1Dlb.cjs.map → LegacyStateStore-DSl-Kjhn.cjs.map} +1 -1
- package/dist/{LocalStateStore-CIT6SyRe.mjs → LocalStateStore-CKoytnSh.mjs} +2 -2
- package/dist/{LocalStateStore-CIT6SyRe.mjs.map → LocalStateStore-CKoytnSh.mjs.map} +1 -1
- package/dist/{LocalStateStore-D7QcuAVb.cjs → LocalStateStore-DlXihNk5.cjs} +2 -2
- package/dist/{LocalStateStore-D7QcuAVb.cjs.map → LocalStateStore-DlXihNk5.cjs.map} +1 -1
- package/dist/{S3StateStore-BufODsIW.mjs → S3StateStore-BWiLJgjA.mjs} +4 -4
- package/dist/{S3StateStore-BufODsIW.mjs.map → S3StateStore-BWiLJgjA.mjs.map} +1 -1
- package/dist/{S3StateStore-DenzHSZI.cjs → S3StateStore-DAQh1WJ_.cjs} +4 -4
- package/dist/{S3StateStore-DenzHSZI.cjs.map → S3StateStore-DAQh1WJ_.cjs.map} +1 -1
- package/dist/{SSMStateStore-BcsFXUE4.cjs → SSMStateStore-CwpsKiqW.cjs} +2 -2
- package/dist/{SSMStateStore-BcsFXUE4.cjs.map → SSMStateStore-CwpsKiqW.cjs.map} +1 -1
- package/dist/{SSMStateStore-DK8GsGGP.mjs → SSMStateStore-Dtjc3Tcy.mjs} +2 -2
- package/dist/{SSMStateStore-DK8GsGGP.mjs.map → SSMStateStore-Dtjc3Tcy.mjs.map} +1 -1
- package/dist/{add-Bp-Rr-CO.mjs → add-CgR8OZmf.mjs} +4 -4
- package/dist/{add-Bp-Rr-CO.mjs.map → add-CgR8OZmf.mjs.map} +1 -1
- package/dist/{add-BWr0-iEz.cjs → add-DgoqWfHX.cjs} +4 -4
- package/dist/{add-BWr0-iEz.cjs.map → add-DgoqWfHX.cjs.map} +1 -1
- package/dist/{bundler-aW-QiGWN.mjs → bundler-B0GTqknw.mjs} +6 -6
- package/dist/{bundler-aW-QiGWN.mjs.map → bundler-B0GTqknw.mjs.map} +1 -1
- package/dist/{bundler-Cox-23P6.cjs → bundler-ZNjpx5xS.cjs} +6 -6
- package/dist/{bundler-Cox-23P6.cjs.map → bundler-ZNjpx5xS.cjs.map} +1 -1
- package/dist/{cli-Crhs1fmo.cjs → cli-DqEhTw8n.cjs} +4 -4
- package/dist/{cli-Crhs1fmo.cjs.map → cli-DqEhTw8n.cjs.map} +1 -1
- package/dist/{cli-BsiXqFrT.mjs → cli-bjBjd1zg.mjs} +4 -4
- package/dist/{cli-BsiXqFrT.mjs.map → cli-bjBjd1zg.mjs.map} +1 -1
- package/dist/{clientTelemetry-Bzc4KXz5.d.mts → clientTelemetry-C3GsvvLK.d.cts} +2 -2
- package/dist/clientTelemetry-C3GsvvLK.d.cts.map +1 -0
- package/dist/{clientTelemetry-N8NAguGI.d.cts → clientTelemetry-Dcp0jgkV.d.mts} +2 -2
- package/dist/clientTelemetry-Dcp0jgkV.d.mts.map +1 -0
- package/dist/{compose-BcL1Swdp.mjs → compose-BE2Fi1Bs.mjs} +186 -33
- package/dist/compose-BE2Fi1Bs.mjs.map +1 -0
- package/dist/{compose-BiQ6kNhM.cjs → compose-QHm47c8E.cjs} +197 -32
- package/dist/compose-QHm47c8E.cjs.map +1 -0
- package/dist/{config-KFyPSS0R.d.cts → config-B_pfl-ZN.d.cts} +3 -3
- package/dist/{config-DpqIrrRJ.d.mts.map → config-B_pfl-ZN.d.cts.map} +1 -1
- package/dist/{config-DpqIrrRJ.d.mts → config-CDulXPTe.d.mts} +3 -3
- package/dist/{config-KFyPSS0R.d.cts.map → config-CDulXPTe.d.mts.map} +1 -1
- package/dist/config.cjs +1 -1
- package/dist/config.d.cts +3 -3
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +1 -1
- package/dist/{credentials-CJyYk-m9.cjs → credentials--QL1R8mL.cjs} +40 -5
- package/dist/credentials--QL1R8mL.cjs.map +1 -0
- package/dist/{credentials-N_yElkgc.mjs → credentials-0Kmo6GAw.mjs} +7 -6
- package/dist/credentials-0Kmo6GAw.mjs.map +1 -0
- package/dist/{credentials-8EmlMGSU.mjs → credentials-CRgp0huX.mjs} +29 -6
- package/dist/credentials-CRgp0huX.mjs.map +1 -0
- package/dist/{credentials-BsgMQm1V.cjs → credentials-No8csre7.cjs} +6 -5
- package/dist/credentials-No8csre7.cjs.map +1 -0
- package/dist/{dbTunnel-CZ-6PUzq.cjs → dbTunnel-CEHBYvbM.cjs} +5 -5
- package/dist/{dbTunnel-CZ-6PUzq.cjs.map → dbTunnel-CEHBYvbM.cjs.map} +1 -1
- package/dist/{dbTunnel-Bmj9fmXv.mjs → dbTunnel-DOiMt-yL.mjs} +5 -5
- package/dist/{dbTunnel-Bmj9fmXv.mjs.map → dbTunnel-DOiMt-yL.mjs.map} +1 -1
- package/dist/deploy/public.cjs +10 -10
- package/dist/deploy/public.d.cts +5 -5
- package/dist/deploy/public.d.mts +5 -5
- package/dist/deploy/public.mjs +10 -10
- package/dist/{deploy-DokDmyUV.mjs → deploy-KdBFBME1.mjs} +12 -11
- package/dist/deploy-KdBFBME1.mjs.map +1 -0
- package/dist/{deploy-DtO1rC_U.cjs → deploy-Pkvk9jIL.cjs} +12 -11
- package/dist/deploy-Pkvk9jIL.cjs.map +1 -0
- package/dist/{destroy-BwKhuhFd.mjs → destroy-CFc0rdP4.mjs} +10 -9
- package/dist/{destroy-BwKhuhFd.mjs.map → destroy-CFc0rdP4.mjs.map} +1 -1
- package/dist/{destroy-BKZY6QLy.cjs → destroy-oqNna46x.cjs} +10 -9
- package/dist/{destroy-BKZY6QLy.cjs.map → destroy-oqNna46x.cjs.map} +1 -1
- package/dist/{dokploy-Clnb-dRK.mjs → dokploy-BkwTpeNU.mjs} +2 -2
- package/dist/{dokploy-Clnb-dRK.mjs.map → dokploy-BkwTpeNU.mjs.map} +1 -1
- package/dist/{dokploy-BJEAhFPx.cjs → dokploy-CxEzce91.cjs} +2 -2
- package/dist/{dokploy-BJEAhFPx.cjs.map → dokploy-CxEzce91.cjs.map} +1 -1
- package/dist/{eas-PwJTBvEv.cjs → eas-DbDHF2WZ.cjs} +3 -3
- package/dist/{eas-PwJTBvEv.cjs.map → eas-DbDHF2WZ.cjs.map} +1 -1
- package/dist/{eas-RRLe1Ykb.mjs → eas-vzSPhv0B.mjs} +3 -3
- package/dist/{eas-RRLe1Ykb.mjs.map → eas-vzSPhv0B.mjs.map} +1 -1
- package/dist/{encryption-C0Obifb1.cjs → encryption-4xb0WByC.cjs} +3 -3
- package/dist/{encryption-C0Obifb1.cjs.map → encryption-4xb0WByC.cjs.map} +1 -1
- package/dist/{encryption-DsiFDtEs.mjs → encryption-BJirKe8H.mjs} +3 -3
- package/dist/{encryption-DsiFDtEs.mjs.map → encryption-BJirKe8H.mjs.map} +1 -1
- package/dist/{engine-C0gShT3p.mjs → engine-Blw0271a.mjs} +7 -7
- package/dist/{engine-C0gShT3p.mjs.map → engine-Blw0271a.mjs.map} +1 -1
- package/dist/{engine-DVDe8Hx_.cjs → engine-C-tyF0OQ.cjs} +7 -7
- package/dist/{engine-DVDe8Hx_.cjs.map → engine-C-tyF0OQ.cjs.map} +1 -1
- package/dist/{github-B0Al5cId.cjs → github-Aydv6vu5.cjs} +7 -7
- package/dist/{github-B0Al5cId.cjs.map → github-Aydv6vu5.cjs.map} +1 -1
- package/dist/{github-o9OKgpAz.mjs → github-C_h3NRr7.mjs} +7 -7
- package/dist/{github-o9OKgpAz.mjs.map → github-C_h3NRr7.mjs.map} +1 -1
- package/dist/{googlePlay-CgEgbCVa.mjs → googlePlay-B7AYn6Pc.mjs} +4 -4
- package/dist/{googlePlay-CgEgbCVa.mjs.map → googlePlay-B7AYn6Pc.mjs.map} +1 -1
- package/dist/{googlePlay-INjqj3Sc.cjs → googlePlay-DpJTysGZ.cjs} +4 -4
- package/dist/{googlePlay-INjqj3Sc.cjs.map → googlePlay-DpJTysGZ.cjs.map} +1 -1
- package/dist/{iam-DloEBLXZ.mjs → iam-CE1QQeEQ.mjs} +2 -2
- package/dist/{iam-DloEBLXZ.mjs.map → iam-CE1QQeEQ.mjs.map} +1 -1
- package/dist/{iam-SxPKYCI_.cjs → iam-DlPqLzjO.cjs} +2 -2
- package/dist/{iam-SxPKYCI_.cjs.map → iam-DlPqLzjO.cjs.map} +1 -1
- package/dist/{index-BThTZV8T.d.mts → index-CBl51bCQ.d.cts} +2 -2
- package/dist/{index-BThTZV8T.d.mts.map → index-CBl51bCQ.d.cts.map} +1 -1
- package/dist/{index-Cgd-ouyI.d.cts → index-Dqp1lLjF.d.mts} +2 -2
- package/dist/{index-Cgd-ouyI.d.cts.map → index-Dqp1lLjF.d.mts.map} +1 -1
- package/dist/index.cjs +126 -72
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +126 -72
- package/dist/index.mjs.map +1 -1
- package/dist/{local-BiM__VCH.cjs → local-BEM8UVsa.cjs} +2 -2
- package/dist/{local-BiM__VCH.cjs.map → local-BEM8UVsa.cjs.map} +1 -1
- package/dist/{local-Cnbc8rQp.mjs → local-ZaXGH2eP.mjs} +2 -2
- package/dist/{local-Cnbc8rQp.mjs.map → local-ZaXGH2eP.mjs.map} +1 -1
- package/dist/{migrate-dgTtl7hO.mjs → migrate-BuReWK8R.mjs} +5 -5
- package/dist/{migrate-dgTtl7hO.mjs.map → migrate-BuReWK8R.mjs.map} +1 -1
- package/dist/{migrate-DgONWHqx.mjs → migrate-CkeIl9YW.mjs} +3 -3
- package/dist/{migrate-DgONWHqx.mjs.map → migrate-CkeIl9YW.mjs.map} +1 -1
- package/dist/{migrate-BIuREfyX.cjs → migrate-Cq4s3V1M.cjs} +3 -3
- package/dist/{migrate-BIuREfyX.cjs.map → migrate-Cq4s3V1M.cjs.map} +1 -1
- package/dist/{migrate-DMePGfDk.cjs → migrate-DTMYWQn6.cjs} +5 -5
- package/dist/{migrate-DMePGfDk.cjs.map → migrate-DTMYWQn6.cjs.map} +1 -1
- package/dist/openapi.cjs +1 -1
- package/dist/openapi.d.cts +2 -2
- package/dist/openapi.d.mts +2 -2
- package/dist/openapi.mjs +1 -1
- package/dist/{projectBucket-DS8YAcjG.mjs → projectBucket-BaZfu9b6.mjs} +2 -2
- package/dist/{projectBucket-DS8YAcjG.mjs.map → projectBucket-BaZfu9b6.mjs.map} +1 -1
- package/dist/{projectBucket-D33fcuVv.cjs → projectBucket-CBzCpLML.cjs} +2 -2
- package/dist/{projectBucket-D33fcuVv.cjs.map → projectBucket-CBzCpLML.cjs.map} +1 -1
- package/dist/{publish-DTESp-zL.cjs → publish-CLYnKn-k.cjs} +2 -2
- package/dist/{publish-DTESp-zL.cjs.map → publish-CLYnKn-k.cjs.map} +1 -1
- package/dist/{publish-DayqXMgK.mjs → publish-UxavszCu.mjs} +2 -2
- package/dist/{publish-DayqXMgK.mjs.map → publish-UxavszCu.mjs.map} +1 -1
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/{resolve-CFrS9f8t.mjs → resolve-Bk9a9BVj.mjs} +4 -4
- package/dist/{resolve-CFrS9f8t.mjs.map → resolve-Bk9a9BVj.mjs.map} +1 -1
- package/dist/{resolve-smEj5R9u.cjs → resolve-CeeNr_ex.cjs} +4 -4
- package/dist/{resolve-smEj5R9u.cjs.map → resolve-CeeNr_ex.cjs.map} +1 -1
- package/dist/{rollback-Di2aDQd8.cjs → rollback-D6AdPlie.cjs} +7 -7
- package/dist/{rollback-Di2aDQd8.cjs.map → rollback-D6AdPlie.cjs.map} +1 -1
- package/dist/{rollback-Nh0ECNZP.mjs → rollback-DyMVhn7L.mjs} +7 -7
- package/dist/{rollback-Nh0ECNZP.mjs.map → rollback-DyMVhn7L.mjs.map} +1 -1
- package/dist/{runtime-Ct41f0tN.d.mts → runtime-DFG1CAWA.d.mts} +2 -2
- package/dist/{runtime-BtoiRP5G.d.cts.map → runtime-DFG1CAWA.d.mts.map} +1 -1
- package/dist/{runtime-BtoiRP5G.d.cts → runtime-DjhB4Oxn.d.cts} +2 -2
- package/dist/{runtime-Ct41f0tN.d.mts.map → runtime-DjhB4Oxn.d.cts.map} +1 -1
- package/dist/{s3-NJ6g9LT4.mjs → s3-B9UimcQe.mjs} +3 -3
- package/dist/{s3-NJ6g9LT4.mjs.map → s3-B9UimcQe.mjs.map} +1 -1
- package/dist/{s3-w4NEUmAb.cjs → s3-FbPmbPft.cjs} +3 -3
- package/dist/{s3-w4NEUmAb.cjs.map → s3-FbPmbPft.cjs.map} +1 -1
- package/dist/{serverSetup-C7M3XUzI.mjs → serverSetup-BH7_Zt0N.mjs} +7 -7
- package/dist/{serverSetup-C7M3XUzI.mjs.map → serverSetup-BH7_Zt0N.mjs.map} +1 -1
- package/dist/{serverSetup-QLq-WZ-0.cjs → serverSetup-CeFkPTVz.cjs} +7 -7
- package/dist/{serverSetup-QLq-WZ-0.cjs.map → serverSetup-CeFkPTVz.cjs.map} +1 -1
- package/dist/{sniffer-Cg5jF0Ks.mjs → sniffer-8TlRbqb0.mjs} +7 -7
- package/dist/{sniffer-Cg5jF0Ks.mjs.map → sniffer-8TlRbqb0.mjs.map} +1 -1
- package/dist/{sniffer-DaDiVZV2.cjs → sniffer-B83jVMSA.cjs} +7 -7
- package/dist/{sniffer-DaDiVZV2.cjs.map → sniffer-B83jVMSA.cjs.map} +1 -1
- package/dist/{snsSubscriptions-5EWtnPvE.cjs → snsSubscriptions-B7uEpoJ2.cjs} +12 -6
- package/dist/snsSubscriptions-B7uEpoJ2.cjs.map +1 -0
- package/dist/{snsSubscriptions-Ct4_v2HZ.mjs → snsSubscriptions-BQcD_3UK.mjs} +12 -6
- package/dist/snsSubscriptions-BQcD_3UK.mjs.map +1 -0
- package/dist/{sst-BlXVHMle.cjs → sst-D0t-8yEl.cjs} +6 -6
- package/dist/{sst-BlXVHMle.cjs.map → sst-D0t-8yEl.cjs.map} +1 -1
- package/dist/{sst-DD9MlGXY.mjs → sst-w90IUOX_.mjs} +6 -6
- package/dist/{sst-DD9MlGXY.mjs.map → sst-w90IUOX_.mjs.map} +1 -1
- package/dist/{stack-DWsG_ZL-.mjs → stack-B5-pHmtX.mjs} +64 -28
- package/dist/stack-B5-pHmtX.mjs.map +1 -0
- package/dist/{stack-dyeQ8u3c.cjs → stack-CBgOAZDP.cjs} +63 -27
- package/dist/stack-CBgOAZDP.cjs.map +1 -0
- package/dist/{stage-QJk7pMSh.mjs → stage-C6ogkiRu.mjs} +5 -5
- package/dist/{stage-QJk7pMSh.mjs.map → stage-C6ogkiRu.mjs.map} +1 -1
- package/dist/{stage-Dkd13Ije.cjs → stage-EnQ76HLW.cjs} +5 -5
- package/dist/{stage-Dkd13Ije.cjs.map → stage-EnQ76HLW.cjs.map} +1 -1
- package/dist/{stages-Dk6Lv7DY.cjs → stages-C8HQ9ozh.cjs} +2 -2
- package/dist/{stages-Dk6Lv7DY.cjs.map → stages-C8HQ9ozh.cjs.map} +1 -1
- package/dist/{stages-DFvE7iEO.mjs → stages-DnN6lwL4.mjs} +2 -2
- package/dist/{stages-DFvE7iEO.mjs.map → stages-DnN6lwL4.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-ByYXHXDB.mjs → terminal-Cb58S1Yx.mjs} +2 -2
- package/dist/{terminal-ByYXHXDB.mjs.map → terminal-Cb58S1Yx.mjs.map} +1 -1
- package/dist/{terminal-CsRESfL9.cjs → terminal-D9abUcq9.cjs} +2 -2
- package/dist/{terminal-CsRESfL9.cjs.map → terminal-D9abUcq9.cjs.map} +1 -1
- package/dist/{types-CJTKWLkK.d.mts → types-B-ohhDwy.d.mts} +13 -1
- package/dist/types-B-ohhDwy.d.mts.map +1 -0
- package/dist/{types-BVDaaLas.d.cts → types-BAqI--_q.d.cts} +13 -1
- package/dist/types-BAqI--_q.d.cts.map +1 -0
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.d.cts +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-CdiCMRap.mjs → workspace-BSGUH2DO.mjs} +5 -3
- package/dist/workspace-BSGUH2DO.mjs.map +1 -0
- package/dist/{workspace-CTspddnJ.cjs → workspace-K403npiD.cjs} +5 -3
- package/dist/workspace-K403npiD.cjs.map +1 -0
- package/package.json +16 -16
- package/dist/clientTelemetry-Bzc4KXz5.d.mts.map +0 -1
- package/dist/clientTelemetry-N8NAguGI.d.cts.map +0 -1
- package/dist/compose-BcL1Swdp.mjs.map +0 -1
- package/dist/compose-BiQ6kNhM.cjs.map +0 -1
- package/dist/credentials-8EmlMGSU.mjs.map +0 -1
- package/dist/credentials-BsgMQm1V.cjs.map +0 -1
- package/dist/credentials-CJyYk-m9.cjs.map +0 -1
- package/dist/credentials-N_yElkgc.mjs.map +0 -1
- package/dist/deploy-DokDmyUV.mjs.map +0 -1
- package/dist/deploy-DtO1rC_U.cjs.map +0 -1
- package/dist/snsSubscriptions-5EWtnPvE.cjs.map +0 -1
- package/dist/snsSubscriptions-Ct4_v2HZ.mjs.map +0 -1
- package/dist/stack-DWsG_ZL-.mjs.map +0 -1
- package/dist/stack-dyeQ8u3c.cjs.map +0 -1
- package/dist/types-BVDaaLas.d.cts.map +0 -1
- package/dist/types-CJTKWLkK.d.mts.map +0 -1
- package/dist/workspace-CTspddnJ.cjs.map +0 -1
- package/dist/workspace-CdiCMRap.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
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-D1x8duqI.cjs");
|
|
5
|
-
const require_credentials = require("./credentials
|
|
6
|
-
const require_stack = require("./stack-
|
|
7
|
-
const require_workspace = require("./workspace-
|
|
8
|
-
const require_compose = require("./compose-
|
|
5
|
+
const require_credentials = require("./credentials--QL1R8mL.cjs");
|
|
6
|
+
const require_stack = require("./stack-CBgOAZDP.cjs");
|
|
7
|
+
const require_workspace = require("./workspace-K403npiD.cjs");
|
|
8
|
+
const require_compose = require("./compose-QHm47c8E.cjs");
|
|
9
9
|
const require_schemas = require("./schemas-BQ_v0lEX.cjs");
|
|
10
|
-
const require_credentials$1 = require("./credentials-
|
|
10
|
+
const require_credentials$1 = require("./credentials-No8csre7.cjs");
|
|
11
11
|
const require_drivers = require("./drivers-DP7__dJX.cjs");
|
|
12
12
|
const require_SubscriberGenerator = require("./SubscriberGenerator-CxzECrfj.cjs");
|
|
13
13
|
const require_EndpointGenerator = require("./EndpointGenerator-iyA3HkOH.cjs");
|
|
@@ -16,12 +16,12 @@ const require_config = require("./config.cjs");
|
|
|
16
16
|
const require_openapi = require("./openapi.cjs");
|
|
17
17
|
const require_appPorts = require("./appPorts-IW-OZmRi.cjs");
|
|
18
18
|
const require_emit = require("./emit-DiW0kbue.cjs");
|
|
19
|
-
const require_local = require("./local-
|
|
20
|
-
const require_sniffer = require("./sniffer-
|
|
21
|
-
const require_deploy = require("./deploy-
|
|
19
|
+
const require_local = require("./local-BEM8UVsa.cjs");
|
|
20
|
+
const require_sniffer = require("./sniffer-B83jVMSA.cjs");
|
|
21
|
+
const require_deploy = require("./deploy-Pkvk9jIL.cjs");
|
|
22
22
|
const require_seeds = require("./seeds-Bc3niNVb.cjs");
|
|
23
23
|
const require_credentialSchemas = require("./credentialSchemas-DjK6xKMk.cjs");
|
|
24
|
-
const require_LocalStateStore = require("./LocalStateStore-
|
|
24
|
+
const require_LocalStateStore = require("./LocalStateStore-DlXihNk5.cjs");
|
|
25
25
|
const require_utils = require("./utils-DBqXbB8P.cjs");
|
|
26
26
|
const require_ready = require("./ready-DCvnFZnJ.cjs");
|
|
27
27
|
let node_path = require("node:path");
|
|
@@ -59,7 +59,7 @@ let crypto = require("crypto");
|
|
|
59
59
|
crypto = require_rolldown_runtime.__toESM(crypto, 1);
|
|
60
60
|
let _geekmidas_constructs_topic = require("@geekmidas/constructs/topic");
|
|
61
61
|
//#region package.json
|
|
62
|
-
var version = "10.0.0-alpha.
|
|
62
|
+
var version = "10.0.0-alpha.189";
|
|
63
63
|
//#endregion
|
|
64
64
|
//#region src/prompt.ts
|
|
65
65
|
/**
|
|
@@ -142,7 +142,7 @@ const logger$8 = console;
|
|
|
142
142
|
* Validate Dokploy token by making a test API call
|
|
143
143
|
*/
|
|
144
144
|
async function validateDokployToken(endpoint, token) {
|
|
145
|
-
const { DokployApi } = await Promise.resolve().then(() => require("./sniffer-
|
|
145
|
+
const { DokployApi } = await Promise.resolve().then(() => require("./sniffer-B83jVMSA.cjs")).then((n) => n.dokploy_api_exports);
|
|
146
146
|
return new DokployApi({
|
|
147
147
|
baseUrl: endpoint,
|
|
148
148
|
token
|
|
@@ -193,6 +193,10 @@ async function loginCommand(options) {
|
|
|
193
193
|
await loginGoDaddy(options);
|
|
194
194
|
return;
|
|
195
195
|
}
|
|
196
|
+
if (provider === "cloudflare") {
|
|
197
|
+
await loginCloudflare(options);
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
196
200
|
if (provider === "hostinger") {
|
|
197
201
|
logger$8.log("\n🔐 Logging in to Hostinger...\n");
|
|
198
202
|
let token = providedToken;
|
|
@@ -215,6 +219,32 @@ async function loginCommand(options) {
|
|
|
215
219
|
}
|
|
216
220
|
}
|
|
217
221
|
/**
|
|
222
|
+
* Store a Cloudflare API token. Not validated: a token scoped to one zone's
|
|
223
|
+
* DNS may not call the account's verify endpoint, so the first deploy that
|
|
224
|
+
* writes a record is where a bad token reports itself.
|
|
225
|
+
*/
|
|
226
|
+
async function loginCloudflare(options) {
|
|
227
|
+
logger$8.log("\n🔐 Logging in to Cloudflare...\n");
|
|
228
|
+
let token = options.token;
|
|
229
|
+
if (!token) {
|
|
230
|
+
logger$8.log("\nCreate an API token at https://dash.cloudflare.com/profile/api-tokens\nwith Zone:Read and DNS:Edit on the zones gkm writes.\n");
|
|
231
|
+
token = await prompt("API Token: ", {
|
|
232
|
+
hidden: true,
|
|
233
|
+
instead: LOGIN_INSTEAD
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
if (!token) {
|
|
237
|
+
logger$8.error("Token is required");
|
|
238
|
+
process.exit(1);
|
|
239
|
+
}
|
|
240
|
+
const where = options.home ? { home: options.home } : void 0;
|
|
241
|
+
await require_credentials.storeCloudflareToken(token, where);
|
|
242
|
+
logger$8.log("\n✓ Cloudflare token stored.");
|
|
243
|
+
logger$8.log(` Token: ${maskToken(token)}`);
|
|
244
|
+
logger$8.log(` Credentials stored in: ${require_credentials.getCredentialsPath(where)}`);
|
|
245
|
+
logger$8.log("\nYou can now use it as a DNS provider without setting CLOUDFLARE_API_TOKEN.");
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
218
248
|
* Store a GoDaddy Personal Access Token. Not validated: the only call that
|
|
219
249
|
* proves a token without a domain is an account call (`GET /v1/domains`),
|
|
220
250
|
* which a token scoped to `domains.dns:update` alone may not make — the first
|
|
@@ -250,10 +280,16 @@ async function logoutCommand(options) {
|
|
|
250
280
|
if (provider === "all") {
|
|
251
281
|
const dokployRemoved = await require_credentials.removeDokployCredentials();
|
|
252
282
|
const godaddyRemoved = await require_credentials.removeGoDaddyCredentials();
|
|
253
|
-
|
|
283
|
+
const cloudflareRemoved = await require_credentials.removeCloudflareCredentials();
|
|
284
|
+
if (dokployRemoved || godaddyRemoved || cloudflareRemoved) logger$8.log("\n✓ Logged out from all services");
|
|
254
285
|
else logger$8.log("\nNo stored credentials found");
|
|
255
286
|
return;
|
|
256
287
|
}
|
|
288
|
+
if (provider === "cloudflare") {
|
|
289
|
+
const removed = await require_credentials.removeCloudflareCredentials();
|
|
290
|
+
logger$8.log(removed ? "\n✓ Logged out from Cloudflare" : "\nNo Cloudflare credentials found");
|
|
291
|
+
return;
|
|
292
|
+
}
|
|
257
293
|
if (provider === "godaddy") {
|
|
258
294
|
const removed = await require_credentials.removeGoDaddyCredentials();
|
|
259
295
|
logger$8.log(removed ? "\n✓ Logged out from GoDaddy" : "\nNo GoDaddy credentials found");
|
|
@@ -275,8 +311,11 @@ async function whoamiCommand() {
|
|
|
275
311
|
logger$8.log(` Endpoint: ${dokploy.endpoint}`);
|
|
276
312
|
logger$8.log(` Token: ${maskToken(dokploy.token)}`);
|
|
277
313
|
} else logger$8.log(" Dokploy: Not logged in");
|
|
278
|
-
const
|
|
314
|
+
const stored = await require_credentials.readCredentials();
|
|
315
|
+
const godaddy = stored.godaddy;
|
|
279
316
|
logger$8.log(godaddy ? ` GoDaddy:\n Token: ${maskToken(godaddy.token)}` : " GoDaddy: Not logged in");
|
|
317
|
+
const cloudflare = stored.cloudflare;
|
|
318
|
+
logger$8.log(cloudflare ? ` Cloudflare:\n Token: ${maskToken(cloudflare.token)}` : " Cloudflare: Not logged in");
|
|
280
319
|
logger$8.log(`\n Credentials file: ${require_credentials.getCredentialsPath()}`);
|
|
281
320
|
}
|
|
282
321
|
/**
|
|
@@ -2874,7 +2913,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2874
2913
|
const cwd = options.cwd ?? process.cwd();
|
|
2875
2914
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2876
2915
|
if (options.stage && !require_stack.isImageBuild()) {
|
|
2877
|
-
const { execOnStage } = await Promise.resolve().then(() => require("./stage-
|
|
2916
|
+
const { execOnStage } = await Promise.resolve().then(() => require("./stage-EnQ76HLW.cjs")).then((n) => n.stage_exports);
|
|
2878
2917
|
const { loadWorkspaceConfig } = await Promise.resolve().then(() => require("./config.cjs"));
|
|
2879
2918
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2880
2919
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -3450,9 +3489,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
3450
3489
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
3451
3490
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
3452
3491
|
if (options.migrate || options.seed) {
|
|
3453
|
-
const { prepareDevDatabases } = await Promise.resolve().then(() => require("./migrate-
|
|
3492
|
+
const { prepareDevDatabases } = await Promise.resolve().then(() => require("./migrate-DTMYWQn6.cjs"));
|
|
3454
3493
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
3455
|
-
} else await Promise.resolve().then(() => require("./migrate-
|
|
3494
|
+
} else await Promise.resolve().then(() => require("./migrate-DTMYWQn6.cjs")).then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
3456
3495
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
3457
3496
|
});
|
|
3458
3497
|
const appUrls = {};
|
|
@@ -4600,7 +4639,7 @@ async function buildApp(input) {
|
|
|
4600
4639
|
...telemetry ? { telemetry } : {},
|
|
4601
4640
|
trustedOriginsKey: (0, _geekmidas_manifest.providedKeyFor)(selfServing.id, "rest-api", "trustedOrigins")
|
|
4602
4641
|
});
|
|
4603
|
-
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-
|
|
4642
|
+
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-ZNjpx5xS.cjs"));
|
|
4604
4643
|
await bundleServer({
|
|
4605
4644
|
entryPoint,
|
|
4606
4645
|
outputDir: (0, node_path.join)(outputDir, "dist"),
|
|
@@ -4881,7 +4920,7 @@ async function buildWorkers(input) {
|
|
|
4881
4920
|
});
|
|
4882
4921
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4883
4922
|
if (!input.bundle) continue;
|
|
4884
|
-
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-
|
|
4923
|
+
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-ZNjpx5xS.cjs"));
|
|
4885
4924
|
const outfile = require_stack.workerBundleName(worker.id);
|
|
4886
4925
|
await bundleServer({
|
|
4887
4926
|
entryPoint,
|
|
@@ -4923,7 +4962,7 @@ async function buildProcessors(input) {
|
|
|
4923
4962
|
for (const { key, construct } of processors) infos.push(await require_stack.processorInfo(key, construct, handler, context));
|
|
4924
4963
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4925
4964
|
if (!input.bundle) continue;
|
|
4926
|
-
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-
|
|
4965
|
+
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-ZNjpx5xS.cjs"));
|
|
4927
4966
|
const outfile = require_stack.processorBundleName(fileServerId);
|
|
4928
4967
|
await bundleServer({
|
|
4929
4968
|
entryPoint,
|
|
@@ -5009,7 +5048,7 @@ async function buildForTarget(target, context, appRoot, outputDir, workspaceRoot
|
|
|
5009
5048
|
let masterKey;
|
|
5010
5049
|
if (context.production?.bundle && !skipBundle) {
|
|
5011
5050
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
5012
|
-
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-
|
|
5051
|
+
const { bundleServer } = await Promise.resolve().then(() => require("./bundler-ZNjpx5xS.cjs"));
|
|
5013
5052
|
const allConstructs = [
|
|
5014
5053
|
...endpoints.map((e) => e.construct),
|
|
5015
5054
|
...functions.map((f) => f.construct),
|
|
@@ -5285,10 +5324,11 @@ async function composeCommand(options, deps = {}) {
|
|
|
5285
5324
|
["build", "--build"],
|
|
5286
5325
|
["pull", "--pull"],
|
|
5287
5326
|
["push", "--push"],
|
|
5327
|
+
["check", "--check"],
|
|
5288
5328
|
["tag", "--tag"]
|
|
5289
5329
|
].find(([key]) => options[key] !== void 0 && options[key] !== false)?.[1];
|
|
5290
5330
|
if (flag) throw new ComposeDestroyConflict(flag);
|
|
5291
|
-
const { composeDestroyCommand } = await Promise.resolve().then(() => require("./destroy-
|
|
5331
|
+
const { composeDestroyCommand } = await Promise.resolve().then(() => require("./destroy-oqNna46x.cjs"));
|
|
5292
5332
|
await composeDestroyCommand({
|
|
5293
5333
|
stage: options.stage,
|
|
5294
5334
|
...options.cwd ? { cwd: options.cwd } : {},
|
|
@@ -5299,14 +5339,16 @@ async function composeCommand(options, deps = {}) {
|
|
|
5299
5339
|
}
|
|
5300
5340
|
if (options.build && options.pull) throw new ComposeModeConflict();
|
|
5301
5341
|
if (options.push && !options.build) throw new require_compose.ComposePushNeedsBuild();
|
|
5342
|
+
if (options.check && !options.build) throw new require_compose.StartupCheckNeedsBuild();
|
|
5302
5343
|
const pulls = !options.build && (options.pull || options.tag !== void 0);
|
|
5303
5344
|
if (options.digestsFile && !options.push && !pulls) throw new require_compose.ComposePinNeedsPull();
|
|
5304
5345
|
const cwd = (0, node_path.resolve)(options.cwd ?? process.cwd());
|
|
5305
5346
|
const loaded = await require_config.loadWorkspaceConfig(cwd);
|
|
5306
5347
|
const { workspace } = loaded;
|
|
5307
5348
|
const { stage } = options;
|
|
5349
|
+
if (options.check) require_compose.assertCheckable(workspace, stage, "build");
|
|
5308
5350
|
if (options.down) {
|
|
5309
|
-
const { composeStackRef } = await Promise.resolve().then(() => require("./destroy-
|
|
5351
|
+
const { composeStackRef } = await Promise.resolve().then(() => require("./destroy-oqNna46x.cjs"));
|
|
5310
5352
|
const { ref, dir, server } = await composeStackRef(workspace, stage);
|
|
5311
5353
|
const docker = deps.docker ?? require_stack.dockerCompose;
|
|
5312
5354
|
if (server) console.log(`→ ${require_compose.sshTarget(server)} (docker over ssh)`);
|
|
@@ -5332,6 +5374,7 @@ async function composeCommand(options, deps = {}) {
|
|
|
5332
5374
|
...deps,
|
|
5333
5375
|
...mode ? { mode } : {},
|
|
5334
5376
|
...options.push ? { push: true } : {},
|
|
5377
|
+
...options.check ? { check: true } : {},
|
|
5335
5378
|
...pin ? { pin } : {},
|
|
5336
5379
|
report: (done) => {
|
|
5337
5380
|
finished = done;
|
|
@@ -5339,7 +5382,7 @@ async function composeCommand(options, deps = {}) {
|
|
|
5339
5382
|
}) },
|
|
5340
5383
|
...tag ? { tag } : {},
|
|
5341
5384
|
...options.dryRun ? { dryRun: true } : {},
|
|
5342
|
-
...options.push ? { buildOnly: true } : {},
|
|
5385
|
+
...options.push || options.check ? { buildOnly: true } : {},
|
|
5343
5386
|
...options.allowDevServices ? { allowDevServices: true } : {},
|
|
5344
5387
|
...options.skipDns ? { skipDns: true } : {},
|
|
5345
5388
|
...options.rotateKeys ? { rotateKeys: true } : {},
|
|
@@ -6887,25 +6930,25 @@ function loadPackageJson() {
|
|
|
6887
6930
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6888
6931
|
*/
|
|
6889
6932
|
const GEEKMIDAS_VERSIONS = {
|
|
6890
|
-
"@geekmidas/audit": ">=10.0.0-alpha.
|
|
6891
|
-
"@geekmidas/auth": ">=10.0.0-alpha.
|
|
6892
|
-
"@geekmidas/cache": ">=10.0.0-alpha.
|
|
6893
|
-
"@geekmidas/client": ">=10.0.0-alpha.
|
|
6894
|
-
"@geekmidas/cloud": ">=10.0.0-alpha.
|
|
6895
|
-
"@geekmidas/constructs": ">=10.0.0-alpha.
|
|
6896
|
-
"@geekmidas/db": ">=10.0.0-alpha.
|
|
6897
|
-
"@geekmidas/emailkit": ">=10.0.0-alpha.
|
|
6898
|
-
"@geekmidas/envkit": ">=10.0.0-alpha.
|
|
6899
|
-
"@geekmidas/errors": ">=10.0.0-alpha.
|
|
6900
|
-
"@geekmidas/events": ">=10.0.0-alpha.
|
|
6901
|
-
"@geekmidas/logger": ">=10.0.0-alpha.
|
|
6902
|
-
"@geekmidas/manifest": ">=10.0.0-alpha.
|
|
6903
|
-
"@geekmidas/rate-limit": ">=10.0.0-alpha.
|
|
6904
|
-
"@geekmidas/schema": ">=10.0.0-alpha.
|
|
6905
|
-
"@geekmidas/services": ">=10.0.0-alpha.
|
|
6906
|
-
"@geekmidas/storage": ">=10.0.0-alpha.
|
|
6907
|
-
"@geekmidas/telescope": ">=10.0.0-alpha.
|
|
6908
|
-
"@geekmidas/testkit": ">=10.0.0-alpha.
|
|
6933
|
+
"@geekmidas/audit": ">=10.0.0-alpha.189 <10.0.0",
|
|
6934
|
+
"@geekmidas/auth": ">=10.0.0-alpha.189 <10.0.0",
|
|
6935
|
+
"@geekmidas/cache": ">=10.0.0-alpha.189 <10.0.0",
|
|
6936
|
+
"@geekmidas/client": ">=10.0.0-alpha.189 <10.0.0",
|
|
6937
|
+
"@geekmidas/cloud": ">=10.0.0-alpha.189 <10.0.0",
|
|
6938
|
+
"@geekmidas/constructs": ">=10.0.0-alpha.189 <10.0.0",
|
|
6939
|
+
"@geekmidas/db": ">=10.0.0-alpha.189 <10.0.0",
|
|
6940
|
+
"@geekmidas/emailkit": ">=10.0.0-alpha.189 <10.0.0",
|
|
6941
|
+
"@geekmidas/envkit": ">=10.0.0-alpha.189 <10.0.0",
|
|
6942
|
+
"@geekmidas/errors": ">=10.0.0-alpha.189 <10.0.0",
|
|
6943
|
+
"@geekmidas/events": ">=10.0.0-alpha.189 <10.0.0",
|
|
6944
|
+
"@geekmidas/logger": ">=10.0.0-alpha.189 <10.0.0",
|
|
6945
|
+
"@geekmidas/manifest": ">=10.0.0-alpha.189 <10.0.0",
|
|
6946
|
+
"@geekmidas/rate-limit": ">=10.0.0-alpha.189 <10.0.0",
|
|
6947
|
+
"@geekmidas/schema": ">=10.0.0-alpha.189 <10.0.0",
|
|
6948
|
+
"@geekmidas/services": ">=10.0.0-alpha.189 <10.0.0",
|
|
6949
|
+
"@geekmidas/storage": ">=10.0.0-alpha.189 <10.0.0",
|
|
6950
|
+
"@geekmidas/telescope": ">=10.0.0-alpha.189 <10.0.0",
|
|
6951
|
+
"@geekmidas/testkit": ">=10.0.0-alpha.189 <10.0.0",
|
|
6909
6952
|
"@geekmidas/cli": versionRange(loadPackageJson().version)
|
|
6910
6953
|
};
|
|
6911
6954
|
//#endregion
|
|
@@ -8098,7 +8141,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
8098
8141
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
8099
8142
|
* release the pinned commit is.
|
|
8100
8143
|
*/
|
|
8101
|
-
function stagesActionUses(commit = "
|
|
8144
|
+
function stagesActionUses(commit = "3b11ae5c34154a17b3b964d792bd925709347570", version = cliVersion()) {
|
|
8102
8145
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
8103
8146
|
}
|
|
8104
8147
|
//#endregion
|
|
@@ -8349,6 +8392,7 @@ function stagesJob(options) {
|
|
|
8349
8392
|
deploy: \${{ steps.stages.outputs.deploy }}
|
|
8350
8393
|
has-build: \${{ steps.stages.outputs.has-build }}
|
|
8351
8394
|
has-deploy: \${{ steps.stages.outputs.has-deploy }}
|
|
8395
|
+
protected: \${{ steps.stages.outputs.protected }}
|
|
8352
8396
|
aws-region: \${{ steps.stages.outputs.aws-region }}
|
|
8353
8397
|
registry: \${{ steps.stages.outputs.registry }}
|
|
8354
8398
|
steps:
|
|
@@ -8461,12 +8505,19 @@ ${registryLogin()}
|
|
|
8461
8505
|
aws-region: \${{ needs.stages.outputs.aws-region }}
|
|
8462
8506
|
|
|
8463
8507
|
# Builds and pushes every image the stage runs, tagged with the commit
|
|
8464
|
-
# and the stage (<sha>-<stage>)
|
|
8465
|
-
|
|
8466
|
-
|
|
8508
|
+
# and the stage (<sha>-<stage>). A stage that is not protected starts
|
|
8509
|
+
# each image here first, with its secrets and backing services, and
|
|
8510
|
+
# pushes nothing unless every one turns healthy (--check). A protected
|
|
8511
|
+
# stage's secrets are never handed to a check.
|
|
8512
|
+
- name: Build, check and push
|
|
8513
|
+
run: |
|
|
8514
|
+
check=()
|
|
8515
|
+
if [ "$PROTECTED" = false ]; then check=(--check); fi
|
|
8516
|
+
${pm.exec} gkm compose --stage "$STAGE" --build "\${check[@]}" --push --tag "$SHA" --digests-file digests.json
|
|
8467
8517
|
env:
|
|
8468
8518
|
STAGE: \${{ matrix.stage }}
|
|
8469
8519
|
SHA: \${{ github.sha }}
|
|
8520
|
+
PROTECTED: \${{ contains(fromJSON(needs.stages.outputs.protected), matrix.stage) }}
|
|
8470
8521
|
|
|
8471
8522
|
# What each tag pointed at when it was pushed. A deploy runs these
|
|
8472
8523
|
# digests, so a tag moved since cannot change what is released.
|
|
@@ -8630,6 +8681,7 @@ ${registryLogin()}
|
|
|
8630
8681
|
SHA: \${{ steps.commit.outputs.sha }}
|
|
8631
8682
|
GODADDY_API_TOKEN: \${{ secrets.GODADDY_API_TOKEN }}
|
|
8632
8683
|
HOSTINGER_API_TOKEN: \${{ secrets.HOSTINGER_API_TOKEN }}
|
|
8684
|
+
CLOUDFLARE_API_TOKEN: \${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
8633
8685
|
`;
|
|
8634
8686
|
}
|
|
8635
8687
|
/**
|
|
@@ -8670,7 +8722,8 @@ function targetDeploy(options) {
|
|
|
8670
8722
|
DOKPLOY_API_TOKEN: \${{ secrets.DOKPLOY_API_TOKEN }}
|
|
8671
8723
|
DOKPLOY_ENDPOINT: \${{ vars.DOKPLOY_ENDPOINT }}
|
|
8672
8724
|
GODADDY_API_TOKEN: \${{ secrets.GODADDY_API_TOKEN }}
|
|
8673
|
-
HOSTINGER_API_TOKEN: \${{ secrets.HOSTINGER_API_TOKEN }}
|
|
8725
|
+
HOSTINGER_API_TOKEN: \${{ secrets.HOSTINGER_API_TOKEN }}
|
|
8726
|
+
CLOUDFLARE_API_TOKEN: \${{ secrets.CLOUDFLARE_API_TOKEN }}`;
|
|
8674
8727
|
return `${deployHeader(false)}
|
|
8675
8728
|
jobs:
|
|
8676
8729
|
${stagesJob(options)}
|
|
@@ -17071,7 +17124,7 @@ function testDatabases(reconciled) {
|
|
|
17071
17124
|
* starts without the reference data the app needs.
|
|
17072
17125
|
*/
|
|
17073
17126
|
async function migrateTestStage(workspace, env) {
|
|
17074
|
-
const { migrateAndSeed } = await Promise.resolve().then(() => require("./migrate-
|
|
17127
|
+
const { migrateAndSeed } = await Promise.resolve().then(() => require("./migrate-DTMYWQn6.cjs"));
|
|
17075
17128
|
const { discover } = await Promise.resolve().then(() => require("./discover-OXczlq08.cjs")).then((n) => n.discover_exports);
|
|
17076
17129
|
const sources = {};
|
|
17077
17130
|
const manifest = await discover({
|
|
@@ -17525,7 +17578,7 @@ program.command("db:tunnel").description("Open an SSH tunnel to a deployed compo
|
|
|
17525
17578
|
try {
|
|
17526
17579
|
const globalOptions = program.opts();
|
|
17527
17580
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17528
|
-
const { dbTunnel } = await Promise.resolve().then(() => require("./dbTunnel-
|
|
17581
|
+
const { dbTunnel } = await Promise.resolve().then(() => require("./dbTunnel-CEHBYvbM.cjs"));
|
|
17529
17582
|
await dbTunnel({
|
|
17530
17583
|
...options,
|
|
17531
17584
|
...construct ? { construct } : {}
|
|
@@ -17538,7 +17591,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
17538
17591
|
try {
|
|
17539
17592
|
const globalOptions = program.opts();
|
|
17540
17593
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17541
|
-
const { easSync } = await Promise.resolve().then(() => require("./eas-
|
|
17594
|
+
const { easSync } = await Promise.resolve().then(() => require("./eas-DbDHF2WZ.cjs"));
|
|
17542
17595
|
await easSync(options);
|
|
17543
17596
|
} catch (error) {
|
|
17544
17597
|
exitWithError(error);
|
|
@@ -17548,7 +17601,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
17548
17601
|
try {
|
|
17549
17602
|
const globalOptions = program.opts();
|
|
17550
17603
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17551
|
-
const { publish, PublishModeConflict } = await Promise.resolve().then(() => require("./publish-
|
|
17604
|
+
const { publish, PublishModeConflict } = await Promise.resolve().then(() => require("./publish-CLYnKn-k.cjs"));
|
|
17552
17605
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
17553
17606
|
const { build, update, ...rest } = options;
|
|
17554
17607
|
await publish({
|
|
@@ -17564,7 +17617,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
17564
17617
|
try {
|
|
17565
17618
|
const globalOptions = program.opts();
|
|
17566
17619
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17567
|
-
const { deployGooglePlay } = await Promise.resolve().then(() => require("./googlePlay-
|
|
17620
|
+
const { deployGooglePlay } = await Promise.resolve().then(() => require("./googlePlay-DpJTysGZ.cjs"));
|
|
17568
17621
|
await deployGooglePlay(options);
|
|
17569
17622
|
} catch (error) {
|
|
17570
17623
|
exitWithError(error);
|
|
@@ -17586,7 +17639,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
17586
17639
|
try {
|
|
17587
17640
|
const globalOptions = program.opts();
|
|
17588
17641
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17589
|
-
const { migrateCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
17642
|
+
const { migrateCommand } = await Promise.resolve().then(() => require("./migrate-DTMYWQn6.cjs"));
|
|
17590
17643
|
await migrateCommand({
|
|
17591
17644
|
...options,
|
|
17592
17645
|
...construct ? { construct } : {}
|
|
@@ -17599,7 +17652,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
17599
17652
|
try {
|
|
17600
17653
|
const globalOptions = program.opts();
|
|
17601
17654
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17602
|
-
const { seedCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
17655
|
+
const { seedCommand } = await Promise.resolve().then(() => require("./migrate-DTMYWQn6.cjs"));
|
|
17603
17656
|
await seedCommand({
|
|
17604
17657
|
...options,
|
|
17605
17658
|
...construct ? { construct } : {}
|
|
@@ -17612,7 +17665,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
17612
17665
|
try {
|
|
17613
17666
|
const globalOptions = program.opts();
|
|
17614
17667
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17615
|
-
const { migrationCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
17668
|
+
const { migrationCommand } = await Promise.resolve().then(() => require("./migrate-DTMYWQn6.cjs"));
|
|
17616
17669
|
await migrationCommand({
|
|
17617
17670
|
construct,
|
|
17618
17671
|
...name ? { name } : {}
|
|
@@ -17658,7 +17711,7 @@ program.command("docker").description("Generate Docker deployment files").option
|
|
|
17658
17711
|
exitWithError(error);
|
|
17659
17712
|
}
|
|
17660
17713
|
});
|
|
17661
|
-
program.command("compose").description("Run the workspace's APIs and sites for a stage as one Docker Compose stack behind Caddy").requiredOption("--stage <stage>", "Stage to run — always named, so a stack is never a deployed stage by accident").option("--tag <tag>", "Run the images CI pushed at this tag (sites: <tag>-<stage>); nothing is built").option("--build", "Build images from this checkout, tagged with the commit").option("--pull", "Pull images (at --tag, or latest) rather than build them").option("--push", "With --build: push every image to deploy.registry and start nothing (for CI)").option("--digests-file <path>", "With --push: write each image as <ref>@sha256:… (JSON). With --tag: run the images at those digests").option("--dry-run", "Write the files and print the plan; start nothing").option("--down", "Stop the stage's stack (its volumes are kept)").option("--destroy", "Delete everything the stage's deploys made: its stack and volumes, and the AWS resources and DNS records gkm made. Asks you to type the project's name; no flag skips it").option("--secrets", "With --destroy: delete the stage's secrets too (kept otherwise)").option("--allow-dev-services", "Deployed stage: run the dev service (MinIO, Mailpit) for every bucket and mail the stage doesn't account for. Not production-grade").option("--skip-dns", "Deployed stage: 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) => {
|
|
17714
|
+
program.command("compose").description("Run the workspace's APIs and sites for a stage as one Docker Compose stack behind Caddy").requiredOption("--stage <stage>", "Stage to run — always named, so a stack is never a deployed stage by accident").option("--tag <tag>", "Run the images CI pushed at this tag (sites: <tag>-<stage>); nothing is built").option("--build", "Build images from this checkout, tagged with the commit").option("--pull", "Pull images (at --tag, or latest) rather than build them").option("--push", "With --build: push every image to deploy.registry and start nothing (for CI)").option("--check", "With --build: start every image here with the stage's secrets and backing services, and fail unless each turns healthy — before --push pushes anything. A deployed stage that is not protected").option("--digests-file <path>", "With --push: write each image as <ref>@sha256:… (JSON). With --tag: run the images at those digests").option("--dry-run", "Write the files and print the plan; start nothing").option("--down", "Stop the stage's stack (its volumes are kept)").option("--destroy", "Delete everything the stage's deploys made: its stack and volumes, and the AWS resources and DNS records gkm made. Asks you to type the project's name; no flag skips it").option("--secrets", "With --destroy: delete the stage's secrets too (kept otherwise)").option("--allow-dev-services", "Deployed stage: run the dev service (MinIO, Mailpit) for every bucket and mail the stage doesn't account for. Not production-grade").option("--skip-dns", "Deployed stage: 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) => {
|
|
17662
17715
|
try {
|
|
17663
17716
|
const globalOptions = program.opts();
|
|
17664
17717
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
@@ -17712,7 +17765,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
17712
17765
|
try {
|
|
17713
17766
|
const globalOptions = program.opts();
|
|
17714
17767
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17715
|
-
const { secretsAddCommand } = await Promise.resolve().then(() => require("./add-
|
|
17768
|
+
const { secretsAddCommand } = await Promise.resolve().then(() => require("./add-DgoqWfHX.cjs"));
|
|
17716
17769
|
await secretsAddCommand(options);
|
|
17717
17770
|
} catch (error) {
|
|
17718
17771
|
exitWithError(error);
|
|
@@ -17722,7 +17775,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
17722
17775
|
try {
|
|
17723
17776
|
const globalOptions = program.opts();
|
|
17724
17777
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17725
|
-
const { encryptionRotateCommand } = await Promise.resolve().then(() => require("./encryption-
|
|
17778
|
+
const { encryptionRotateCommand } = await Promise.resolve().then(() => require("./encryption-4xb0WByC.cjs"));
|
|
17726
17779
|
await encryptionRotateCommand(construct, options);
|
|
17727
17780
|
} catch (error) {
|
|
17728
17781
|
exitWithError(error);
|
|
@@ -17732,7 +17785,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
17732
17785
|
try {
|
|
17733
17786
|
const globalOptions = program.opts();
|
|
17734
17787
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17735
|
-
const { encryptionRetireCommand } = await Promise.resolve().then(() => require("./encryption-
|
|
17788
|
+
const { encryptionRetireCommand } = await Promise.resolve().then(() => require("./encryption-4xb0WByC.cjs"));
|
|
17736
17789
|
await encryptionRetireCommand(construct, key, options);
|
|
17737
17790
|
} catch (error) {
|
|
17738
17791
|
exitWithError(error);
|
|
@@ -17771,7 +17824,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17771
17824
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17772
17825
|
const { loadWorkspaceConfig } = await Promise.resolve().then(() => require("./config.cjs"));
|
|
17773
17826
|
const { reconcileMissingSecrets } = await Promise.resolve().then(() => require("./reconcile-CuCQBa5-.cjs"));
|
|
17774
|
-
const { secretsStoreFor } = await Promise.resolve().then(() => require("./credentials
|
|
17827
|
+
const { secretsStoreFor } = await Promise.resolve().then(() => require("./credentials--QL1R8mL.cjs")).then((n) => n.store_exports);
|
|
17775
17828
|
const { workspace } = await loadWorkspaceConfig();
|
|
17776
17829
|
const stage = options.stage ?? workspace.stages.local;
|
|
17777
17830
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -17780,7 +17833,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17780
17833
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
17781
17834
|
process.exit(1);
|
|
17782
17835
|
}
|
|
17783
|
-
const { derivedContainers } = await Promise.resolve().then(() => require("./stack-
|
|
17836
|
+
const { derivedContainers } = await Promise.resolve().then(() => require("./stack-CBgOAZDP.cjs")).then((n) => n.workspace_exports);
|
|
17784
17837
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
17785
17838
|
if (!result) {
|
|
17786
17839
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -17797,14 +17850,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
17797
17850
|
try {
|
|
17798
17851
|
const globalOptions = program.opts();
|
|
17799
17852
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17800
|
-
const { secretsMigrateCommand } = await Promise.resolve().then(() => require("./migrate-
|
|
17853
|
+
const { secretsMigrateCommand } = await Promise.resolve().then(() => require("./migrate-Cq4s3V1M.cjs"));
|
|
17801
17854
|
await secretsMigrateCommand(options);
|
|
17802
17855
|
} catch (error) {
|
|
17803
17856
|
exitWithError(error);
|
|
17804
17857
|
}
|
|
17805
17858
|
});
|
|
17806
17859
|
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>", "Release tag (default: a timestamp; compose: the commit). Each image is tagged <tag>-<stage>. 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) => {
|
|
17807
|
-
const { deployCli } = await Promise.resolve().then(() => require("./cli-
|
|
17860
|
+
const { deployCli } = await Promise.resolve().then(() => require("./cli-DqEhTw8n.cjs"));
|
|
17808
17861
|
const globalOptions = program.opts();
|
|
17809
17862
|
const code = await deployCli({
|
|
17810
17863
|
cwd: (0, node_path.resolve)(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17824,8 +17877,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
17824
17877
|
});
|
|
17825
17878
|
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) => {
|
|
17826
17879
|
try {
|
|
17827
|
-
const { rollbackStage } = await Promise.resolve().then(() => require("./rollback-
|
|
17828
|
-
const { terminalCredentials } = await Promise.resolve().then(() => require("./terminal-
|
|
17880
|
+
const { rollbackStage } = await Promise.resolve().then(() => require("./rollback-D6AdPlie.cjs")).then((n) => n.rollback_exports);
|
|
17881
|
+
const { terminalCredentials } = await Promise.resolve().then(() => require("./terminal-D9abUcq9.cjs"));
|
|
17829
17882
|
const globalOptions = program.opts();
|
|
17830
17883
|
await rollbackStage({
|
|
17831
17884
|
cwd: (0, node_path.resolve)(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17843,7 +17896,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
17843
17896
|
try {
|
|
17844
17897
|
const globalOptions = program.opts();
|
|
17845
17898
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17846
|
-
const { composeServerCommand } = await Promise.resolve().then(() => require("./serverSetup-
|
|
17899
|
+
const { composeServerCommand } = await Promise.resolve().then(() => require("./serverSetup-CeFkPTVz.cjs"));
|
|
17847
17900
|
await composeServerCommand(options);
|
|
17848
17901
|
} catch (error) {
|
|
17849
17902
|
exitWithError(error);
|
|
@@ -17868,7 +17921,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17868
17921
|
try {
|
|
17869
17922
|
const globalOptions = program.opts();
|
|
17870
17923
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17871
|
-
const { deployGithubCommand } = await Promise.resolve().then(() => require("./github-
|
|
17924
|
+
const { deployGithubCommand } = await Promise.resolve().then(() => require("./github-Aydv6vu5.cjs"));
|
|
17872
17925
|
await deployGithubCommand(options);
|
|
17873
17926
|
} catch (error) {
|
|
17874
17927
|
exitWithError(error);
|
|
@@ -17878,7 +17931,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
17878
17931
|
try {
|
|
17879
17932
|
const globalOptions = program.opts();
|
|
17880
17933
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17881
|
-
const { stagesCommand } = await Promise.resolve().then(() => require("./stages-
|
|
17934
|
+
const { stagesCommand } = await Promise.resolve().then(() => require("./stages-C8HQ9ozh.cjs"));
|
|
17882
17935
|
await stagesCommand(options);
|
|
17883
17936
|
} catch (error) {
|
|
17884
17937
|
exitWithError(error);
|
|
@@ -17910,7 +17963,7 @@ program.command("deploy:list").description("List Dokploy resources (projects, re
|
|
|
17910
17963
|
exitWithError(error);
|
|
17911
17964
|
}
|
|
17912
17965
|
});
|
|
17913
|
-
program.command("login").description("Authenticate with a deployment or DNS provider").option("--provider <provider>", "Provider to log in to (dokploy, hostinger, godaddy)", "dokploy").option("--service <provider>", "[DEPRECATED] Use --provider instead").option("--token <token>", "API token (will prompt if not provided)").option("--endpoint <url>", "Service endpoint URL").action(async (options) => {
|
|
17966
|
+
program.command("login").description("Authenticate with a deployment or DNS provider").option("--provider <provider>", "Provider to log in to (dokploy, hostinger, godaddy, cloudflare)", "dokploy").option("--service <provider>", "[DEPRECATED] Use --provider instead").option("--token <token>", "API token (will prompt if not provided)").option("--endpoint <url>", "Service endpoint URL").action(async (options) => {
|
|
17914
17967
|
try {
|
|
17915
17968
|
const globalOptions = program.opts();
|
|
17916
17969
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
@@ -17918,9 +17971,10 @@ program.command("login").description("Authenticate with a deployment or DNS prov
|
|
|
17918
17971
|
if (![
|
|
17919
17972
|
"dokploy",
|
|
17920
17973
|
"hostinger",
|
|
17921
|
-
"godaddy"
|
|
17974
|
+
"godaddy",
|
|
17975
|
+
"cloudflare"
|
|
17922
17976
|
].includes(provider)) {
|
|
17923
|
-
console.error(`Unknown provider: ${provider}. Supported: dokploy, hostinger, godaddy`);
|
|
17977
|
+
console.error(`Unknown provider: ${provider}. Supported: dokploy, hostinger, godaddy, cloudflare`);
|
|
17924
17978
|
process.exit(1);
|
|
17925
17979
|
}
|
|
17926
17980
|
await loginCommand({
|
|
@@ -17932,7 +17986,7 @@ program.command("login").description("Authenticate with a deployment or DNS prov
|
|
|
17932
17986
|
exitWithError(error);
|
|
17933
17987
|
}
|
|
17934
17988
|
});
|
|
17935
|
-
program.command("logout").description("Remove stored credentials").option("--provider <provider>", "Whose credentials to remove (dokploy, godaddy, all)", "dokploy").option("--service <provider>", "[DEPRECATED] Use --provider instead").action(async (options) => {
|
|
17989
|
+
program.command("logout").description("Remove stored credentials").option("--provider <provider>", "Whose credentials to remove (dokploy, godaddy, cloudflare, all)", "dokploy").option("--service <provider>", "[DEPRECATED] Use --provider instead").action(async (options) => {
|
|
17936
17990
|
try {
|
|
17937
17991
|
const globalOptions = program.opts();
|
|
17938
17992
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|