@geekmidas/cli 10.0.0-alpha.146 → 10.0.0-alpha.148
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/{GoDaddyProvider-BESq24p-.mjs → GoDaddyProvider-CGgS-I6m.mjs} +2 -2
- package/dist/{GoDaddyProvider-BESq24p-.mjs.map → GoDaddyProvider-CGgS-I6m.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-BK5N6-fx.cjs → GoDaddyProvider-D_dZQJIX.cjs} +2 -2
- package/dist/{GoDaddyProvider-BK5N6-fx.cjs.map → GoDaddyProvider-D_dZQJIX.cjs.map} +1 -1
- package/dist/{HostingerProvider-BV30wTNI.mjs → HostingerProvider-CWRE6auw.mjs} +2 -2
- package/dist/{HostingerProvider-BV30wTNI.mjs.map → HostingerProvider-CWRE6auw.mjs.map} +1 -1
- package/dist/{HostingerProvider-BbQod5OB.cjs → HostingerProvider-eGuDBjfN.cjs} +2 -2
- package/dist/{HostingerProvider-BbQod5OB.cjs.map → HostingerProvider-eGuDBjfN.cjs.map} +1 -1
- package/dist/{LegacyStateStore-Ck3HI28A.mjs → LegacyStateStore-CLyFmPIj.mjs} +2 -2
- package/dist/{LegacyStateStore-Ck3HI28A.mjs.map → LegacyStateStore-CLyFmPIj.mjs.map} +1 -1
- package/dist/{LegacyStateStore-OEno6vIb.cjs → LegacyStateStore-DyX9-7R_.cjs} +2 -2
- package/dist/{LegacyStateStore-OEno6vIb.cjs.map → LegacyStateStore-DyX9-7R_.cjs.map} +1 -1
- package/dist/{LocalStateStore-ukDFg6GM.cjs → LocalStateStore-C-v8K8zO.cjs} +2 -2
- package/dist/{LocalStateStore-ukDFg6GM.cjs.map → LocalStateStore-C-v8K8zO.cjs.map} +1 -1
- package/dist/{LocalStateStore-Fa54CpLw.mjs → LocalStateStore-DQVwsyTh.mjs} +2 -2
- package/dist/{LocalStateStore-Fa54CpLw.mjs.map → LocalStateStore-DQVwsyTh.mjs.map} +1 -1
- package/dist/{S3StateStore-Cjuft2Lk.cjs → S3StateStore-GA-DOTmj.cjs} +4 -4
- package/dist/{S3StateStore-Cjuft2Lk.cjs.map → S3StateStore-GA-DOTmj.cjs.map} +1 -1
- package/dist/{S3StateStore-D53985SR.mjs → S3StateStore-gR_6fNF6.mjs} +4 -4
- package/dist/{S3StateStore-D53985SR.mjs.map → S3StateStore-gR_6fNF6.mjs.map} +1 -1
- package/dist/{SSMStateStore-CRjV2h2G.mjs → SSMStateStore-CT68N-Ti.mjs} +2 -2
- package/dist/{SSMStateStore-CRjV2h2G.mjs.map → SSMStateStore-CT68N-Ti.mjs.map} +1 -1
- package/dist/{SSMStateStore-CnJgw3_-.cjs → SSMStateStore-kdb9rf7x.cjs} +2 -2
- package/dist/{SSMStateStore-CnJgw3_-.cjs.map → SSMStateStore-kdb9rf7x.cjs.map} +1 -1
- package/dist/{add-CG_4mNir.cjs → add-C7_WJEv2.cjs} +7 -8
- package/dist/{add-CG_4mNir.cjs.map → add-C7_WJEv2.cjs.map} +1 -1
- package/dist/{add-D0-1UyFj.mjs → add-CvmRPEfW.mjs} +6 -7
- package/dist/{add-D0-1UyFj.mjs.map → add-CvmRPEfW.mjs.map} +1 -1
- package/dist/{apps-DHi6E_yH.cjs → apps-ClZkLcMz.cjs} +771 -17
- package/dist/apps-ClZkLcMz.cjs.map +1 -0
- package/dist/{apps-DWALM-8s.mjs → apps-CmKxFPTj.mjs} +611 -19
- package/dist/apps-CmKxFPTj.mjs.map +1 -0
- package/dist/{bundler-Cb5ynXXS.mjs → bundler-D6IEJvq4.mjs} +6 -6
- package/dist/{bundler-Cb5ynXXS.mjs.map → bundler-D6IEJvq4.mjs.map} +1 -1
- package/dist/{bundler-Co_7zpYC.cjs → bundler-Ronn7-mL.cjs} +6 -6
- package/dist/{bundler-Co_7zpYC.cjs.map → bundler-Ronn7-mL.cjs.map} +1 -1
- package/dist/{cli-D_9WqN6C.mjs → cli-AZVyGSRn.mjs} +4 -4
- package/dist/{cli-D_9WqN6C.mjs.map → cli-AZVyGSRn.mjs.map} +1 -1
- package/dist/{cli-C5M_7Kux.cjs → cli-B1g2OvS0.cjs} +4 -4
- package/dist/{cli-C5M_7Kux.cjs.map → cli-B1g2OvS0.cjs.map} +1 -1
- package/dist/{compose-BeQ01iYk.cjs → compose-B5AsRVqr.cjs} +291 -36
- package/dist/compose-B5AsRVqr.cjs.map +1 -0
- package/dist/{compose-DxmEMeTu.mjs → compose-BRNMF29g.mjs} +286 -31
- package/dist/compose-BRNMF29g.mjs.map +1 -0
- package/dist/{compose-7p0-3ogo.mjs → compose-DNuENvIt.mjs} +15 -9
- package/dist/{compose-7p0-3ogo.mjs.map → compose-DNuENvIt.mjs.map} +1 -1
- package/dist/{compose-C10hkeHU.cjs → compose-DVPWitEu.cjs} +32 -8
- package/dist/{compose-C10hkeHU.cjs.map → compose-DVPWitEu.cjs.map} +1 -1
- package/dist/{config-B-wza0Xk.mjs → config-BLrAd7Of.mjs} +2 -2
- package/dist/{config-B-wza0Xk.mjs.map → config-BLrAd7Of.mjs.map} +1 -1
- package/dist/{config-BcL1Fojs.d.cts → config-CRk2vdSp.d.mts} +3 -3
- package/dist/{config-BbivVpq0.d.mts.map → config-CRk2vdSp.d.mts.map} +1 -1
- package/dist/{config-CWExbDxA.cjs → config-juUyBlb1.cjs} +2 -2
- package/dist/{config-CWExbDxA.cjs.map → config-juUyBlb1.cjs.map} +1 -1
- package/dist/{config-BbivVpq0.d.mts → config-oBgsbLip.d.cts} +3 -3
- package/dist/{config-BcL1Fojs.d.cts.map → config-oBgsbLip.d.cts.map} +1 -1
- package/dist/config.cjs +2 -2
- package/dist/config.d.cts +3 -3
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +2 -2
- package/dist/{credentials-Csnd7M8M.cjs → credentials-CrQglKgo.cjs} +6 -70
- package/dist/credentials-CrQglKgo.cjs.map +1 -0
- package/dist/{credentials-B5Oe4fLE.mjs → credentials-FRF4PZYo.mjs} +8 -42
- package/dist/credentials-FRF4PZYo.mjs.map +1 -0
- package/dist/deploy/public.cjs +12 -12
- 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 +12 -12
- package/dist/{deploy-6DDEG4Ai.mjs → deploy-DI_tg5Mi.mjs} +13 -13
- package/dist/{deploy-6DDEG4Ai.mjs.map → deploy-DI_tg5Mi.mjs.map} +1 -1
- package/dist/{deploy-BwNxJ3ZI.cjs → deploy-DTBod420.cjs} +31 -31
- package/dist/{deploy-BwNxJ3ZI.cjs.map → deploy-DTBod420.cjs.map} +1 -1
- package/dist/{docker-BZnNUJCy.cjs → docker-CnWX5QNR.cjs} +8 -8
- package/dist/{docker-BZnNUJCy.cjs.map → docker-CnWX5QNR.cjs.map} +1 -1
- package/dist/{docker-Ch5aPQ04.mjs → docker-DsJNWnaX.mjs} +5 -5
- package/dist/{docker-Ch5aPQ04.mjs.map → docker-DsJNWnaX.mjs.map} +1 -1
- package/dist/{dokploy-Cn7dQqmE.cjs → dokploy-CxttPnYP.cjs} +2 -2
- package/dist/{dokploy-Cn7dQqmE.cjs.map → dokploy-CxttPnYP.cjs.map} +1 -1
- package/dist/{dokploy-CTWw3WSo.mjs → dokploy-Dd2mXHgX.mjs} +2 -2
- package/dist/{dokploy-CTWw3WSo.mjs.map → dokploy-Dd2mXHgX.mjs.map} +1 -1
- package/dist/{eas-IPjz0PWK.cjs → eas-B-JskJLP.cjs} +3 -3
- package/dist/{eas-IPjz0PWK.cjs.map → eas-B-JskJLP.cjs.map} +1 -1
- package/dist/{eas-D0B8H7hT.mjs → eas-B_yjP_Sl.mjs} +3 -3
- package/dist/{eas-D0B8H7hT.mjs.map → eas-B_yjP_Sl.mjs.map} +1 -1
- package/dist/{encryption-C9auXcSV.mjs → encryption-dUnvnbu8.mjs} +4 -4
- package/dist/{encryption-C9auXcSV.mjs.map → encryption-dUnvnbu8.mjs.map} +1 -1
- package/dist/{encryption-vK64UP4M.cjs → encryption-yW6cWTsN.cjs} +4 -4
- package/dist/{encryption-vK64UP4M.cjs.map → encryption-yW6cWTsN.cjs.map} +1 -1
- package/dist/{engine-C3N2WhbC.mjs → engine-W1gbyy7T.mjs} +17 -12
- package/dist/engine-W1gbyy7T.mjs.map +1 -0
- package/dist/{engine-Icqv5JI6.cjs → engine-oBwumCI2.cjs} +21 -16
- package/dist/engine-oBwumCI2.cjs.map +1 -0
- package/dist/{github-D24wTOe2.mjs → github-D2-FIlNY.mjs} +8 -9
- package/dist/{github-D24wTOe2.mjs.map → github-D2-FIlNY.mjs.map} +1 -1
- package/dist/{github-DUuNInc0.cjs → github-DLucfS9E.cjs} +9 -10
- package/dist/{github-DUuNInc0.cjs.map → github-DLucfS9E.cjs.map} +1 -1
- package/dist/{googlePlay-BGDKlnPx.cjs → googlePlay-C91kIbBZ.cjs} +5 -5
- package/dist/{googlePlay-BGDKlnPx.cjs.map → googlePlay-C91kIbBZ.cjs.map} +1 -1
- package/dist/{googlePlay-Cy-MaYr2.mjs → googlePlay-CapfGnZ8.mjs} +5 -5
- package/dist/{googlePlay-Cy-MaYr2.mjs.map → googlePlay-CapfGnZ8.mjs.map} +1 -1
- package/dist/{index-C1jffZ5_.d.cts → index-B35vTdAW.d.cts} +2 -2
- package/dist/{index-BZZeEWug.d.mts.map → index-B35vTdAW.d.cts.map} +1 -1
- package/dist/{index-BZZeEWug.d.mts → index-Dv1Zj86i.d.mts} +2 -2
- package/dist/{index-C1jffZ5_.d.cts.map → index-Dv1Zj86i.d.mts.map} +1 -1
- package/dist/index.cjs +99 -81
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +87 -69
- package/dist/index.mjs.map +1 -1
- package/dist/{local-CdpBgn3d.mjs → local-2SR2d_BC.mjs} +2 -2
- package/dist/{local-CdpBgn3d.mjs.map → local-2SR2d_BC.mjs.map} +1 -1
- package/dist/{local-B4xobzh-.cjs → local-l5_-A-zI.cjs} +2 -2
- package/dist/{local-B4xobzh-.cjs.map → local-l5_-A-zI.cjs.map} +1 -1
- package/dist/{migrate--hMBtpx-.cjs → migrate-B05YVukh.cjs} +4 -4
- package/dist/{migrate--hMBtpx-.cjs.map → migrate-B05YVukh.cjs.map} +1 -1
- package/dist/{migrate-DVrXTq58.mjs → migrate-C0ecSkL2.mjs} +4 -4
- package/dist/{migrate-DVrXTq58.mjs.map → migrate-C0ecSkL2.mjs.map} +1 -1
- package/dist/{migrate-DwQ-zaMy.cjs → migrate-DNLNhKNT.cjs} +6 -6
- package/dist/{migrate-DwQ-zaMy.cjs.map → migrate-DNLNhKNT.cjs.map} +1 -1
- package/dist/{migrate-DhZfvCkJ.mjs → migrate-KdqlzELQ.mjs} +6 -6
- package/dist/{migrate-DhZfvCkJ.mjs.map → migrate-KdqlzELQ.mjs.map} +1 -1
- package/dist/{notes-z5OOMqm4.mjs → notes-Cj8jL1kS.mjs} +4 -4
- package/dist/{notes-z5OOMqm4.mjs.map → notes-Cj8jL1kS.mjs.map} +1 -1
- package/dist/{notes-C2b5RzGl.cjs → notes-DTTUGZyi.cjs} +4 -4
- package/dist/{notes-C2b5RzGl.cjs.map → notes-DTTUGZyi.cjs.map} +1 -1
- package/dist/openapi.cjs +2 -2
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +2 -2
- package/dist/{projectBucket-DPD0_B8N.mjs → projectBucket-6BKUPlDp.mjs} +2 -2
- package/dist/{projectBucket-DPD0_B8N.mjs.map → projectBucket-6BKUPlDp.mjs.map} +1 -1
- package/dist/{projectBucket-Dk_aZ1cD.cjs → projectBucket-CjJB-nom.cjs} +2 -2
- package/dist/{projectBucket-Dk_aZ1cD.cjs.map → projectBucket-CjJB-nom.cjs.map} +1 -1
- package/dist/{publish-CDvh-9OG.cjs → publish-Cj36G3de.cjs} +2 -2
- package/dist/{publish-CDvh-9OG.cjs.map → publish-Cj36G3de.cjs.map} +1 -1
- package/dist/{publish-Bmc1Wfs3.mjs → publish-DRsFN1td.mjs} +2 -2
- package/dist/{publish-Bmc1Wfs3.mjs.map → publish-DRsFN1td.mjs.map} +1 -1
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/{resolve-CuxPZ3ga.cjs → resolve-C1NkdIcy.cjs} +4 -4
- package/dist/{resolve-CuxPZ3ga.cjs.map → resolve-C1NkdIcy.cjs.map} +1 -1
- package/dist/{resolve-DHARlMdl.mjs → resolve-DjbMNLt-.mjs} +4 -4
- package/dist/{resolve-DHARlMdl.mjs.map → resolve-DjbMNLt-.mjs.map} +1 -1
- package/dist/{rollback-DxHut8C-.cjs → rollback-531Va3dw.cjs} +7 -7
- package/dist/{rollback-DxHut8C-.cjs.map → rollback-531Va3dw.cjs.map} +1 -1
- package/dist/{rollback-DZq_dIbl.mjs → rollback-D0ZpwlFq.mjs} +7 -7
- package/dist/{rollback-DZq_dIbl.mjs.map → rollback-D0ZpwlFq.mjs.map} +1 -1
- package/dist/{runtime-Bvgyxm88.d.cts → runtime-CFvcLEJW.d.cts} +2 -2
- package/dist/{runtime-Bvgyxm88.d.cts.map → runtime-CFvcLEJW.d.cts.map} +1 -1
- package/dist/{runtime-CeAt1IJd.d.mts → runtime-dwsH6ddo.d.mts} +2 -2
- package/dist/{runtime-CeAt1IJd.d.mts.map → runtime-dwsH6ddo.d.mts.map} +1 -1
- package/dist/{s3-Dhy58V_y.cjs → s3-BSfFgbms.cjs} +3 -3
- package/dist/{s3-Dhy58V_y.cjs.map → s3-BSfFgbms.cjs.map} +1 -1
- package/dist/{s3-Cd7UK2y8.mjs → s3-Ho00alt7.mjs} +3 -3
- package/dist/{s3-Cd7UK2y8.mjs.map → s3-Ho00alt7.mjs.map} +1 -1
- package/dist/{serverSetup-qe5bdBhO.mjs → serverSetup-BW1RgJXo.mjs} +7 -7
- package/dist/{serverSetup-qe5bdBhO.mjs.map → serverSetup-BW1RgJXo.mjs.map} +1 -1
- package/dist/{serverSetup-DYiKHMVp.cjs → serverSetup-C59lCe80.cjs} +7 -7
- package/dist/{serverSetup-DYiKHMVp.cjs.map → serverSetup-C59lCe80.cjs.map} +1 -1
- package/dist/{sniffer-DFix2ORf.cjs → sniffer-BL7X_kzC.cjs} +7 -7
- package/dist/{sniffer-DFix2ORf.cjs.map → sniffer-BL7X_kzC.cjs.map} +1 -1
- package/dist/{sniffer-BNcLP8MO.mjs → sniffer-DrmSlwg9.mjs} +7 -7
- package/dist/{sniffer-BNcLP8MO.mjs.map → sniffer-DrmSlwg9.mjs.map} +1 -1
- package/dist/{snsSubscriptions-Dr-gJWtR.cjs → snsSubscriptions-B8nZBBEE.cjs} +3 -3
- package/dist/{snsSubscriptions-Dr-gJWtR.cjs.map → snsSubscriptions-B8nZBBEE.cjs.map} +1 -1
- package/dist/{snsSubscriptions-BwX28_Kl.mjs → snsSubscriptions-DF7YGauz.mjs} +3 -3
- package/dist/{snsSubscriptions-BwX28_Kl.mjs.map → snsSubscriptions-DF7YGauz.mjs.map} +1 -1
- package/dist/{sst-Bvtx6uZ9.mjs → sst-C-RSpWC2.mjs} +5 -5
- package/dist/{sst-Bvtx6uZ9.mjs.map → sst-C-RSpWC2.mjs.map} +1 -1
- package/dist/{sst-CoKFPW7f.cjs → sst-Dvko43Y3.cjs} +5 -5
- package/dist/{sst-CoKFPW7f.cjs.map → sst-Dvko43Y3.cjs.map} +1 -1
- package/dist/{stack-BeSbt_7k.mjs → stack-CVzOFHed.mjs} +70 -387
- package/dist/stack-CVzOFHed.mjs.map +1 -0
- package/dist/{stack-DbaKGKnI.cjs → stack-l_eQ63Gl.cjs} +73 -462
- package/dist/stack-l_eQ63Gl.cjs.map +1 -0
- package/dist/{stage-BblkSR2C.mjs → stage-JMlDwobz.mjs} +18 -15
- package/dist/stage-JMlDwobz.mjs.map +1 -0
- package/dist/{stage-DI5mzoAi.cjs → stage-_vzQ82Gz.cjs} +19 -16
- package/dist/stage-_vzQ82Gz.cjs.map +1 -0
- package/dist/{stages-C-bVwvJZ.cjs → stages-Bs1THSy7.cjs} +3 -3
- package/dist/{stages-C-bVwvJZ.cjs.map → stages-Bs1THSy7.cjs.map} +1 -1
- package/dist/{stages-DBsDvEbo.mjs → stages-_xCG4Ymu.mjs} +3 -3
- package/dist/{stages-DBsDvEbo.mjs.map → stages-_xCG4Ymu.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-DDqusYW0.mjs → terminal-BnKPi06T.mjs} +2 -2
- package/dist/{terminal-DDqusYW0.mjs.map → terminal-BnKPi06T.mjs.map} +1 -1
- package/dist/{terminal-Bxy_A8iP.cjs → terminal-CdPFlCS_.cjs} +2 -2
- package/dist/{terminal-Bxy_A8iP.cjs.map → terminal-CdPFlCS_.cjs.map} +1 -1
- package/dist/{types-Dy1eV7yc.d.cts → types-Dk--xVOT.d.cts} +31 -11
- package/dist/{types-Dy1eV7yc.d.cts.map → types-Dk--xVOT.d.cts.map} +1 -1
- package/dist/{types-C6hDCkV2.d.mts → types-DwQYpd_0.d.mts} +31 -11
- package/dist/{types-C6hDCkV2.d.mts.map → types-DwQYpd_0.d.mts.map} +1 -1
- 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-BbbkJDUU.cjs → workspace-1szcahj9.cjs} +19 -27
- package/dist/workspace-1szcahj9.cjs.map +1 -0
- package/dist/{workspace-CZGJdcTs.mjs → workspace-DFGsrjGD.mjs} +19 -27
- package/dist/workspace-DFGsrjGD.mjs.map +1 -0
- package/package.json +15 -15
- package/dist/apps-DHi6E_yH.cjs.map +0 -1
- package/dist/apps-DWALM-8s.mjs.map +0 -1
- package/dist/compose-BeQ01iYk.cjs.map +0 -1
- package/dist/compose-DxmEMeTu.mjs.map +0 -1
- package/dist/credentials-B5Oe4fLE.mjs.map +0 -1
- package/dist/credentials-Csnd7M8M.cjs.map +0 -1
- package/dist/engine-C3N2WhbC.mjs.map +0 -1
- package/dist/engine-Icqv5JI6.cjs.map +0 -1
- package/dist/stack-BeSbt_7k.mjs.map +0 -1
- package/dist/stack-DbaKGKnI.cjs.map +0 -1
- package/dist/stage-BblkSR2C.mjs.map +0 -1
- package/dist/stage-DI5mzoAi.cjs.map +0 -1
- package/dist/workspace-BbbkJDUU.cjs.map +0 -1
- package/dist/workspace-CZGJdcTs.mjs.map +0 -1
|
@@ -1,333 +1,20 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
|
|
2
2
|
const require_errors = require("./errors-DMC4Umsb.cjs");
|
|
3
|
-
const require_credentials = require("./credentials-
|
|
4
|
-
const require_workspace = require("./workspace-
|
|
5
|
-
const
|
|
6
|
-
const
|
|
3
|
+
const require_credentials = require("./credentials-CrQglKgo.cjs");
|
|
4
|
+
const require_workspace = require("./workspace-1szcahj9.cjs");
|
|
5
|
+
const require_apps = require("./apps-ClZkLcMz.cjs");
|
|
6
|
+
const require_compose = require("./compose-DVPWitEu.cjs");
|
|
7
7
|
const require_SubscriberGenerator = require("./SubscriberGenerator-BNJyPmXJ.cjs");
|
|
8
|
-
const require_config = require("./config-
|
|
8
|
+
const require_config = require("./config-juUyBlb1.cjs");
|
|
9
9
|
const require_types = require("./types-Bl_CwZC9.cjs");
|
|
10
|
-
const require_notes = require("./notes-
|
|
11
|
-
const require_docker = require("./docker-
|
|
10
|
+
const require_notes = require("./notes-DTTUGZyi.cjs");
|
|
11
|
+
const require_docker = require("./docker-CnWX5QNR.cjs");
|
|
12
12
|
let node_path = require("node:path");
|
|
13
|
-
let node_fs = require("node:fs");
|
|
14
13
|
let node_crypto = require("node:crypto");
|
|
15
14
|
let _geekmidas_manifest = require("@geekmidas/manifest");
|
|
16
|
-
let node_module = require("node:module");
|
|
17
|
-
let node_url = require("node:url");
|
|
18
15
|
let yaml = require("yaml");
|
|
19
16
|
let bcryptjs = require("bcryptjs");
|
|
20
17
|
bcryptjs = require_rolldown_runtime.__toESM(bcryptjs, 1);
|
|
21
|
-
//#region src/providers/dns.ts
|
|
22
|
-
/** Whether the workspace deploys through the compose target. */
|
|
23
|
-
function deploysWithCompose(workspace) {
|
|
24
|
-
return workspace.deploy?.default === "compose" || Object.values(workspace.apps).some((app) => app.resolvedDeployTarget === "compose");
|
|
25
|
-
}
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region src/backups/config.ts
|
|
28
|
-
/**
|
|
29
|
-
* Which stages take backups, and where they are kept.
|
|
30
|
-
*
|
|
31
|
-
* A deployed compose stage whose stack runs Postgres is backed up by
|
|
32
|
-
* default — every day at 02:00 UTC, kept 30 days — unless
|
|
33
|
-
* `deploy.backups.<stage>` says otherwise. The local stage never is.
|
|
34
|
-
*
|
|
35
|
-
* Every backup is kept in the project bucket (`providers/projectBucket.ts`),
|
|
36
|
-
* beside the stage's deploy state, one folder per run and one file per
|
|
37
|
-
* database:
|
|
38
|
-
*
|
|
39
|
-
* ```
|
|
40
|
-
* gkm/<project>/<stage>/backups/2026-10-10/02-00-00Z/database.sql.gz
|
|
41
|
-
* gkm/<project>/<stage>/backups/2026-10-10/02-00-00Z/auth-database.sql.gz
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* The file is named after the database's construct, the way its migrations
|
|
45
|
-
* folder is: `AuthDatabase` is `db/auth-database`, and `auth-database.sql.gz`.
|
|
46
|
-
*/
|
|
47
|
-
/** Whether the stack runs Postgres: some construct is a database. */
|
|
48
|
-
function runsPostgres(manifest) {
|
|
49
|
-
return Object.values(manifest).some((d) => d.kind === "database");
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* What `stage`'s backups are: on — by its entry or the default — off by
|
|
53
|
-
* `false`, or none, for the local stage, a stage compose does not deploy,
|
|
54
|
-
* and a stack with no database.
|
|
55
|
-
*/
|
|
56
|
-
function stageBackups(workspace, manifest, stage) {
|
|
57
|
-
if (stage === workspace.stages?.local) return {
|
|
58
|
-
mode: "none",
|
|
59
|
-
reason: "local"
|
|
60
|
-
};
|
|
61
|
-
if (!deploysWithCompose(workspace)) return {
|
|
62
|
-
mode: "none",
|
|
63
|
-
reason: "not-compose"
|
|
64
|
-
};
|
|
65
|
-
if (!runsPostgres(manifest)) return {
|
|
66
|
-
mode: "none",
|
|
67
|
-
reason: "no-postgres"
|
|
68
|
-
};
|
|
69
|
-
const value = (workspace.deploy?.backups)?.[stage];
|
|
70
|
-
const checked = require_workspace.checkStageBackups(stage, value ?? {});
|
|
71
|
-
if (checked === false) return { mode: "disabled" };
|
|
72
|
-
return {
|
|
73
|
-
mode: "on",
|
|
74
|
-
backups: checked,
|
|
75
|
-
source: value === void 0 ? "default" : "config"
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Where a stage's backups are, in the project bucket — under the same
|
|
80
|
-
* `<prefix>/<project>/<stage>` its deploy state is: `gkm/shop/production/backups`.
|
|
81
|
-
*/
|
|
82
|
-
function backupsPrefix(workspace, stage) {
|
|
83
|
-
const state = workspace.state;
|
|
84
|
-
const prefix = state?.provider === "s3" && state.prefix !== void 0 ? state.prefix.replace(/\/+$/, "") : "gkm";
|
|
85
|
-
return `${prefix ? `${prefix}/` : ""}${workspace.name}/${stage}/backups`;
|
|
86
|
-
}
|
|
87
|
-
/** A run folder's time back, or `undefined` for a key that is not one. */
|
|
88
|
-
function runTime(folder) {
|
|
89
|
-
const match = /^(\d{4}-\d{2}-\d{2})\/(\d{2})-(\d{2})-(\d{2})Z$/.exec(folder);
|
|
90
|
-
if (!match) return void 0;
|
|
91
|
-
const at = /* @__PURE__ */ new Date(`${match[1]}T${match[2]}:${match[3]}:${match[4]}Z`);
|
|
92
|
-
return Number.isNaN(at.getTime()) ? void 0 : at;
|
|
93
|
-
}
|
|
94
|
-
/** A database's file in a run's folder: `auth-database.sql.gz`. */
|
|
95
|
-
function backupFile(database) {
|
|
96
|
-
return `${database.file}.sql.gz`;
|
|
97
|
-
}
|
|
98
|
-
/** Each database the stack runs, by its construct and its name in Postgres. */
|
|
99
|
-
function backupDatabases(resources) {
|
|
100
|
-
return resources.filter((r) => r.kind === "database").map((r) => ({
|
|
101
|
-
id: r.id,
|
|
102
|
-
file: (0, _geekmidas_manifest.kebabCase)(r.id),
|
|
103
|
-
name: r.name
|
|
104
|
-
})).sort((a, b) => a.file.localeCompare(b.file));
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* The expiry of every stage's backups, by each stage's own entry — what the
|
|
108
|
-
* project bucket's lifecycle carries beside its own rule.
|
|
109
|
-
*
|
|
110
|
-
* A put replaces a bucket's whole lifecycle, so this is built from every
|
|
111
|
-
* deployed stage each time, never from the stage being deployed alone: one
|
|
112
|
-
* stage's deploy keeps every other's rule. A stage set to `false` has none,
|
|
113
|
-
* and its backups are kept until someone deletes them.
|
|
114
|
-
*/
|
|
115
|
-
function backupExpiries(workspace, manifest) {
|
|
116
|
-
const expiries = [];
|
|
117
|
-
for (const stage of [...workspace.stages?.deployed ?? []].sort()) {
|
|
118
|
-
const choice = stageBackups(workspace, manifest, stage);
|
|
119
|
-
if (choice.mode !== "on") continue;
|
|
120
|
-
expiries.push({
|
|
121
|
-
id: `gkm-backups-${stage}`,
|
|
122
|
-
prefix: `${backupsPrefix(workspace, stage)}/`,
|
|
123
|
-
days: choice.backups.keepDays,
|
|
124
|
-
abortIncompleteDays: 1
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
return expiries;
|
|
128
|
-
}
|
|
129
|
-
//#endregion
|
|
130
|
-
//#region src/backups/service.ts
|
|
131
|
-
/**
|
|
132
|
-
* The stack's `backups` service: what a deployed compose stage with Postgres
|
|
133
|
-
* runs beside its apps, unless `deploy.backups.<stage>` is `false`.
|
|
134
|
-
*
|
|
135
|
-
* - **The image** is built from the stack's own Postgres image —
|
|
136
|
-
* `postgres:<major>-alpine`, already on the server for the stack, and with
|
|
137
|
-
* the `pg_dump` that matches the server — with Node added and gkm's runner
|
|
138
|
-
* (`runner.ts`) copied in. Nothing is pulled that the stack does not have,
|
|
139
|
-
* and nothing is mounted from the host: the build context is two files.
|
|
140
|
-
* - **Its key** is `BACKUPS_URL`, from the stage's secrets, like any app's:
|
|
141
|
-
* allowed to put objects under the stage's backups prefix and nothing else.
|
|
142
|
-
* The server holds no AWS credentials of its own.
|
|
143
|
-
* - **Its login** is a role of its own, `<project>_backups`, granted
|
|
144
|
-
* `pg_read_all_data` — it can read every database and write none. Postgres
|
|
145
|
-
* before 14 has no such role, and there it signs in as the stack's
|
|
146
|
-
* superuser.
|
|
147
|
-
* - **Its health** is the last good run: unhealthy once that is more than
|
|
148
|
-
* twice the schedule's longest gap old, after a startup grace.
|
|
149
|
-
*/
|
|
150
|
-
/** The service's name in the stack. */
|
|
151
|
-
const BACKUPS_SERVICE = "backups";
|
|
152
|
-
/** The secret its key is written to. */
|
|
153
|
-
const BACKUPS_URL_KEY = "BACKUPS_URL";
|
|
154
|
-
/** Where the runner is, in the image. */
|
|
155
|
-
const RUNNER_PATH = "/gkm/backup.mjs";
|
|
156
|
-
/** The first Postgres with `pg_read_all_data`. */
|
|
157
|
-
const READ_ALL_DATA_SINCE = 14;
|
|
158
|
-
/** A stage that backs up, and no key to back up with. */
|
|
159
|
-
var BackupsUrlMissing = class extends require_errors.GkmError {
|
|
160
|
-
stage;
|
|
161
|
-
constructor(stage) {
|
|
162
|
-
super(`'${stage}' runs Postgres, so its stack backs it up, and its secrets hold no ${BACKUPS_URL_KEY} to back up with. The deploy writes it — the IAM user and key it creates in the stage's AWS account — so run the deploy with the account's credentials. To take no backups on this stage, set deploy.backups.${stage}: false.`);
|
|
163
|
-
this.stage = stage;
|
|
164
|
-
this.name = "BackupsUrlMissing";
|
|
165
|
-
}
|
|
166
|
-
};
|
|
167
|
-
/** The backups role: `<project>_backups`, as the superuser is `<project>_admin`. */
|
|
168
|
-
function backupsRole(project) {
|
|
169
|
-
return `${require_compose.postgresRoleSlug(project)}_backups`;
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* The runner's source, as JavaScript: the built `backups/runner.mjs` beside
|
|
173
|
-
* the CLI's bundle, or — run from source — `runner.ts`, with its types
|
|
174
|
-
* stripped by esbuild.
|
|
175
|
-
*/
|
|
176
|
-
function runnerSource() {
|
|
177
|
-
const here = (0, node_path.dirname)((0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href));
|
|
178
|
-
for (const path of [
|
|
179
|
-
(0, node_path.join)(here, "backups", "runner.mjs"),
|
|
180
|
-
(0, node_path.join)(here, "runner.mjs"),
|
|
181
|
-
(0, node_path.join)(here, "..", "backups", "runner.mjs")
|
|
182
|
-
]) if ((0, node_fs.existsSync)(path)) return (0, node_fs.readFileSync)(path, "utf-8");
|
|
183
|
-
const { transformSync } = (0, node_module.createRequire)(require("url").pathToFileURL(__filename).href)("esbuild");
|
|
184
|
-
return transformSync((0, node_fs.readFileSync)((0, node_path.join)(here, "runner.ts"), "utf-8"), {
|
|
185
|
-
loader: "ts",
|
|
186
|
-
format: "esm",
|
|
187
|
-
target: "node22"
|
|
188
|
-
}).code;
|
|
189
|
-
}
|
|
190
|
-
/** The image's Dockerfile: the stack's Postgres, Node, and the runner. */
|
|
191
|
-
function backupsDockerfile(from) {
|
|
192
|
-
return `# Generated by gkm — the stage's backups: pg_dump from ${from}, and gkm's uploader.
|
|
193
|
-
FROM ${from}
|
|
194
|
-
RUN apk add --no-cache nodejs
|
|
195
|
-
COPY backup.mjs ${RUNNER_PATH}
|
|
196
|
-
USER postgres
|
|
197
|
-
ENTRYPOINT []
|
|
198
|
-
CMD ["node", "${RUNNER_PATH}", "serve"]
|
|
199
|
-
`;
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* The stack's backups service, for a stage whose backups are on.
|
|
203
|
-
*
|
|
204
|
-
* @throws {BackupsUrlMissing} when the stage's secrets hold no key
|
|
205
|
-
*/
|
|
206
|
-
function stackBackups(input) {
|
|
207
|
-
const { plan, stage } = input;
|
|
208
|
-
const version = plan.resources.find((r) => r.version)?.version ?? _geekmidas_manifest.DEFAULT_POSTGRES_VERSION;
|
|
209
|
-
const from = require_compose.postgresImage(version);
|
|
210
|
-
const script = runnerSource();
|
|
211
|
-
const dockerfile = backupsDockerfile(from);
|
|
212
|
-
const hash = (0, node_crypto.createHash)("sha256").update(dockerfile).update(script).digest("hex").slice(0, 12);
|
|
213
|
-
const readOnly = version >= READ_ALL_DATA_SINCE;
|
|
214
|
-
const role = backupsRole(input.workspace.name);
|
|
215
|
-
const login = readOnly ? {
|
|
216
|
-
user: role,
|
|
217
|
-
password: require_apps.localRolePassword(input.workspace.name, plan, role, input.seed)
|
|
218
|
-
} : input.superuser;
|
|
219
|
-
const databases = backupDatabases(plan.resources);
|
|
220
|
-
const prefix = backupsPrefix(input.workspace, stage);
|
|
221
|
-
const { kind, ...schedule } = input.backups.schedule;
|
|
222
|
-
let env = {};
|
|
223
|
-
if (!input.buildOnly) {
|
|
224
|
-
const url = input.custom[BACKUPS_URL_KEY];
|
|
225
|
-
if (!url) throw new BackupsUrlMissing(stage);
|
|
226
|
-
env = {
|
|
227
|
-
BACKUPS_URL: url,
|
|
228
|
-
BACKUPS_PREFIX: prefix,
|
|
229
|
-
BACKUPS_DATABASES: JSON.stringify(databases.map(({ file, name }) => ({
|
|
230
|
-
file,
|
|
231
|
-
name
|
|
232
|
-
}))),
|
|
233
|
-
BACKUPS_SCHEDULE: JSON.stringify(kind === "cron" ? {
|
|
234
|
-
kind,
|
|
235
|
-
minutes: input.backups.schedule.minutes,
|
|
236
|
-
hours: input.backups.schedule.hours,
|
|
237
|
-
days: input.backups.schedule.days,
|
|
238
|
-
months: input.backups.schedule.months,
|
|
239
|
-
weekdays: input.backups.schedule.weekdays
|
|
240
|
-
} : {
|
|
241
|
-
kind,
|
|
242
|
-
...schedule
|
|
243
|
-
}),
|
|
244
|
-
BACKUPS_MAX_GAP_SECONDS: String(input.backups.maxGapSeconds),
|
|
245
|
-
PGHOST: "postgres",
|
|
246
|
-
PGPORT: "5432",
|
|
247
|
-
PGUSER: login.user,
|
|
248
|
-
PGPASSWORD: login.password,
|
|
249
|
-
...input.telemetry?.OTEL_EXPORTER_OTLP_ENDPOINT ? {
|
|
250
|
-
OTEL_EXPORTER_OTLP_ENDPOINT: input.telemetry.OTEL_EXPORTER_OTLP_ENDPOINT,
|
|
251
|
-
...input.telemetry.OTEL_EXPORTER_OTLP_HEADERS ? { OTEL_EXPORTER_OTLP_HEADERS: input.telemetry.OTEL_EXPORTER_OTLP_HEADERS } : {},
|
|
252
|
-
OTEL_SERVICE_NAME: BACKUPS_SERVICE
|
|
253
|
-
} : {}
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
return {
|
|
257
|
-
backups: input.backups,
|
|
258
|
-
databases,
|
|
259
|
-
prefix,
|
|
260
|
-
from,
|
|
261
|
-
image: `${input.project}-backups:pg${version}-${hash}`,
|
|
262
|
-
files: {
|
|
263
|
-
Dockerfile: dockerfile,
|
|
264
|
-
"backup.mjs": script
|
|
265
|
-
},
|
|
266
|
-
login,
|
|
267
|
-
readOnly,
|
|
268
|
-
env
|
|
269
|
-
};
|
|
270
|
-
}
|
|
271
|
-
/** The service in the stack's compose file. */
|
|
272
|
-
function backupsService(backups, envFiles) {
|
|
273
|
-
return {
|
|
274
|
-
image: backups.image,
|
|
275
|
-
build: {
|
|
276
|
-
context: `./${BACKUPS_SERVICE}`,
|
|
277
|
-
dockerfile: "Dockerfile"
|
|
278
|
-
},
|
|
279
|
-
pull_policy: "build",
|
|
280
|
-
restart: "unless-stopped",
|
|
281
|
-
...envFiles ? { env_file: [{
|
|
282
|
-
path: `./${BACKUPS_SERVICE}.env`,
|
|
283
|
-
format: "raw"
|
|
284
|
-
}] } : {},
|
|
285
|
-
depends_on: { postgres: { condition: "service_healthy" } },
|
|
286
|
-
healthcheck: {
|
|
287
|
-
test: [
|
|
288
|
-
"CMD",
|
|
289
|
-
"node",
|
|
290
|
-
RUNNER_PATH,
|
|
291
|
-
"health"
|
|
292
|
-
],
|
|
293
|
-
interval: "1m",
|
|
294
|
-
timeout: "10s",
|
|
295
|
-
retries: 3,
|
|
296
|
-
start_period: "30s"
|
|
297
|
-
}
|
|
298
|
-
};
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
* The backups role, created and kept: able to sign in and read every
|
|
302
|
-
* database, and nothing else. None when it signs in as the superuser.
|
|
303
|
-
*/
|
|
304
|
-
function backupsRoleStatements(backups) {
|
|
305
|
-
if (!backups.readOnly) return [];
|
|
306
|
-
const role = require_apps.quoteIdentifier(backups.login.user);
|
|
307
|
-
const password = `'${backups.login.password.replace(/'/g, "''")}'`;
|
|
308
|
-
return [
|
|
309
|
-
{
|
|
310
|
-
id: BACKUPS_SERVICE,
|
|
311
|
-
describe: `role ${backups.login.user}`,
|
|
312
|
-
exists: {
|
|
313
|
-
sql: "SELECT 1 FROM pg_roles WHERE rolname = $1",
|
|
314
|
-
values: [backups.login.user]
|
|
315
|
-
},
|
|
316
|
-
create: `CREATE ROLE ${role} LOGIN PASSWORD ${password}`
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
id: BACKUPS_SERVICE,
|
|
320
|
-
describe: `role ${backups.login.user}: its password`,
|
|
321
|
-
create: `ALTER ROLE ${role} WITH LOGIN PASSWORD ${password}`
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
id: BACKUPS_SERVICE,
|
|
325
|
-
describe: `role ${backups.login.user}: read every database`,
|
|
326
|
-
create: `GRANT pg_read_all_data TO ${role}`
|
|
327
|
-
}
|
|
328
|
-
];
|
|
329
|
-
}
|
|
330
|
-
//#endregion
|
|
331
18
|
//#region src/compose/routes.ts
|
|
332
19
|
/** A route with handlers and a check that would have to hold for each of them. */
|
|
333
20
|
var EdgeRouteConflict = class extends Error {
|
|
@@ -391,7 +78,7 @@ function edgeCaddyfile(routes, options) {
|
|
|
391
78
|
const certificate = tls.kind === "files" ? `
|
|
392
79
|
tls ${tls.certFile} ${tls.keyFile}
|
|
393
80
|
` : "";
|
|
394
|
-
const blocks = [...routes.filter((route) => !route.wildcard), ...routes.filter((route) => route.wildcard)].map((route) => siteBlock(route, route.wildcard?.tls.kind === "on-demand" ? `
|
|
81
|
+
const blocks = [...routes.filter((route) => !route.wildcard), ...routes.filter((route) => route.wildcard)].map((route) => siteBlock(route, options.edgeToken, route.wildcard?.tls.kind === "on-demand" ? `
|
|
395
82
|
tls {
|
|
396
83
|
on_demand
|
|
397
84
|
}
|
|
@@ -399,7 +86,7 @@ function edgeCaddyfile(routes, options) {
|
|
|
399
86
|
return `${HEADER}${global ? `${global}\n\n` : ""}${blocks.join("\n\n")}\n`;
|
|
400
87
|
}
|
|
401
88
|
/** One route's site block. */
|
|
402
|
-
function siteBlock(route, certificate) {
|
|
89
|
+
function siteBlock(route, edgeToken, certificate) {
|
|
403
90
|
assertRouteRenderable(route);
|
|
404
91
|
const { host, allow, auth, paths, prefixes, requireHeader, handlers } = route;
|
|
405
92
|
const allowed = [...paths ?? [], ...(prefixes ?? []).map((prefix) => `${prefix}*`)];
|
|
@@ -439,10 +126,7 @@ function siteBlock(route, certificate) {
|
|
|
439
126
|
`).join("")}
|
|
440
127
|
handle {${proxy.replace(/\n/g, "\n ")}
|
|
441
128
|
}` : proxy;
|
|
442
|
-
return `https://${host} {${certificate}
|
|
443
|
-
# gkm's own header, which only a service of this stack may send: the auth
|
|
444
|
-
# server rate-limits by the client address it carries.
|
|
445
|
-
request_header -${_geekmidas_manifest.CLIENT_IP_HEADER}
|
|
129
|
+
return `https://${host} {${certificate}${require_apps.clientIpRule(edgeToken)}
|
|
446
130
|
${checks}${body}
|
|
447
131
|
}`;
|
|
448
132
|
}
|
|
@@ -925,7 +609,7 @@ function edgeCompose(options) {
|
|
|
925
609
|
}
|
|
926
610
|
/** A stack's dynamic configuration, as an object. */
|
|
927
611
|
function traefikDynamic(routes, options) {
|
|
928
|
-
const { project, tls } = options;
|
|
612
|
+
const { project, tls, edgeToken } = options;
|
|
929
613
|
const name = (route, suffix) => `${project}-${route.name}${suffix ? `-${suffix}` : ""}`;
|
|
930
614
|
const url = ({ service, port }) => `http://${edgeAlias(project, service)}:${port}`;
|
|
931
615
|
const routers = {};
|
|
@@ -967,14 +651,23 @@ function traefikDynamic(routes, options) {
|
|
|
967
651
|
};
|
|
968
652
|
services[handlerName] = { loadBalancer: { servers: handler.upstreams.map((upstream) => ({ url: url(upstream) })) } };
|
|
969
653
|
}
|
|
654
|
+
const rule = `${hostRule(route)}${paths}${header}`;
|
|
970
655
|
routers[name(route)] = {
|
|
971
|
-
rule
|
|
656
|
+
rule,
|
|
972
657
|
...route.wildcard ? { priority: 1 } : {},
|
|
973
658
|
entryPoints: ["websecure"],
|
|
974
659
|
service: name(route),
|
|
975
660
|
middlewares: chain,
|
|
976
661
|
tls: certificate()
|
|
977
662
|
};
|
|
663
|
+
if (edgeToken && !route.prefix) routers[name(route, "stack")] = {
|
|
664
|
+
rule: `${rule} && Header(\`${_geekmidas_manifest.EDGE_TOKEN_HEADER}\`, \`${edgeToken}\`)`,
|
|
665
|
+
...route.wildcard ? { priority: 2 } : {},
|
|
666
|
+
entryPoints: ["websecure"],
|
|
667
|
+
service: name(route),
|
|
668
|
+
...chain.length > 1 ? { middlewares: chain.slice(1) } : {},
|
|
669
|
+
tls: certificate()
|
|
670
|
+
};
|
|
978
671
|
services[name(route)] = { loadBalancer: {
|
|
979
672
|
servers: route.upstreams.map((upstream) => ({ url: url(upstream) })),
|
|
980
673
|
...route.prefix ? { passHostHeader: false } : {},
|
|
@@ -1043,16 +736,17 @@ function yaml$1(value) {
|
|
|
1043
736
|
* The stack a workspace runs as for one stage — pure.
|
|
1044
737
|
*
|
|
1045
738
|
* Everything `gkm compose` writes is decided here, as data: the compose file,
|
|
1046
|
-
* the Caddyfile, one env file per
|
|
739
|
+
* the Caddyfile, one env file per process that reads one — each backend,
|
|
740
|
+
* worker and site that runs a server — and the image each app runs. The
|
|
1047
741
|
* command around it reads the workspace, asks the registry, writes the files
|
|
1048
742
|
* and starts Docker; none of those decide anything, so all of it can be
|
|
1049
743
|
* asserted without a daemon.
|
|
1050
744
|
*
|
|
1051
745
|
* The values come from the same derivations every other target uses. The
|
|
1052
|
-
* plan is reconcile's `planFor`, the keys
|
|
1053
|
-
*
|
|
1054
|
-
*
|
|
1055
|
-
* service reach the same
|
|
746
|
+
* plan is reconcile's `planFor`, the keys a process reads are
|
|
747
|
+
* `processEnvKeys` — the rule `gkm dev` and `gkm exec` apply — and every URL
|
|
748
|
+
* is `envFor`'s, with each app at its public address: a browser and a sibling
|
|
749
|
+
* service reach an API by the same name, through the edge.
|
|
1056
750
|
*/
|
|
1057
751
|
/** Where a stack's files are written, relative to the workspace root. */
|
|
1058
752
|
function stackDir(stage) {
|
|
@@ -1382,7 +1076,7 @@ function composeStack(input) {
|
|
|
1382
1076
|
const https = input.ports?.https ?? 443;
|
|
1383
1077
|
const http = input.ports?.http ?? 80;
|
|
1384
1078
|
const proxy = require_workspace.proxyFor(workspace.deploy?.compose, stage, local);
|
|
1385
|
-
const certificate =
|
|
1079
|
+
const certificate = require_workspace.certificateFor(workspace.deploy?.compose, stage, workspace.root);
|
|
1386
1080
|
const plan = stackPlan(workspace, manifest, stage);
|
|
1387
1081
|
const byId = new Map(plan.resources.map((r) => [r.id, r]));
|
|
1388
1082
|
if (local && !input.localCredentials) throw new LocalCredentialsMissing(stage);
|
|
@@ -1556,12 +1250,6 @@ function composeStack(input) {
|
|
|
1556
1250
|
...derivation,
|
|
1557
1251
|
addresses: publicAddresses
|
|
1558
1252
|
}, hostOf);
|
|
1559
|
-
const inside = require_apps.networkEnv(plan, {
|
|
1560
|
-
...derivation,
|
|
1561
|
-
addresses: Object.fromEntries(apps.map((app) => [app.id, `${app.kind === "websocket-api" ? "ws" : "http"}://${hostOf(app.name)}:${app.port}`]))
|
|
1562
|
-
}, hostOf);
|
|
1563
|
-
const surfaceUrls = new Map(plan.resources.filter((r) => r.kind === "rest-api" || r.kind === "websocket-api" || r.kind === "site").map((r) => [r.envKey, r.id]));
|
|
1564
|
-
const appById = new Map(apps.map((app) => [app.id, app]));
|
|
1565
1253
|
/**
|
|
1566
1254
|
* What a key resolves to for one app, from the stage's secrets where only
|
|
1567
1255
|
* they can hold it, and the derivations otherwise.
|
|
@@ -1596,8 +1284,6 @@ function composeStack(input) {
|
|
|
1596
1284
|
if (custom[key] !== void 0) return custom[key];
|
|
1597
1285
|
if (owner?.kind === "cache") return redis?.urls[key];
|
|
1598
1286
|
if (owner?.kind === "websocket-api" && key === (0, _geekmidas_manifest.provideKey)(owner.id, "publisherConnectionString")) return redis?.urls[key];
|
|
1599
|
-
const surface = surfaceUrls.get(key);
|
|
1600
|
-
if ((app.kind === "rest-api" || app.kind === "websocket-api") && surface && surface !== app.id) return inside[key];
|
|
1601
1287
|
return outside[key];
|
|
1602
1288
|
};
|
|
1603
1289
|
const telemetryValues = logs ? require_workspace.telemetryEnv({
|
|
@@ -1620,26 +1306,21 @@ function composeStack(input) {
|
|
|
1620
1306
|
}
|
|
1621
1307
|
return values;
|
|
1622
1308
|
};
|
|
1309
|
+
const stageKeys = Object.keys(custom);
|
|
1623
1310
|
for (const app of apps) {
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
if (site?.kind !== "site") continue;
|
|
1311
|
+
const site = manifest[app.id];
|
|
1312
|
+
if (site?.kind === "site") {
|
|
1627
1313
|
const args = require_apps.publicBuildValues(site, manifest, (key) => valueFor(app, key, owners.get(key)), custom);
|
|
1628
1314
|
if (app.build && Object.keys(args).length > 0) app.build.args = args;
|
|
1629
|
-
|
|
1315
|
+
const offline = require_apps.offlineBuildHosts(site, manifest, (key) => valueFor(app, key, owners.get(key)));
|
|
1316
|
+
if (app.build && offline.length > 0) app.build.offlineHosts = offline;
|
|
1317
|
+
if (!app.runtime) continue;
|
|
1630
1318
|
}
|
|
1631
1319
|
if (input.buildOnly) continue;
|
|
1632
|
-
const
|
|
1633
|
-
const values = valuesFor(app, keys);
|
|
1634
|
-
const trusted = (0, _geekmidas_manifest.provideKey)(app.id, "trustedOrigins");
|
|
1635
|
-
if (keys.has(trusted)) {
|
|
1636
|
-
const internal = (byId.get(app.id)?.callers ?? []).map((caller) => appById.get(caller)).filter((caller) => caller?.kind === "rest-api" || caller?.kind === "websocket-api").map((caller) => `http://${hostOf(caller.name)}:${caller.port}`);
|
|
1637
|
-
const origins = [...(values[trusted] ?? "").split(",").filter(Boolean), ...internal];
|
|
1638
|
-
values[trusted] = [...new Set(origins)].join(",");
|
|
1639
|
-
}
|
|
1320
|
+
const values = valuesFor(app, require_apps.processEnvKeys(manifest, { app: app.name }, stageKeys) ?? /* @__PURE__ */ new Set());
|
|
1640
1321
|
app.env = {
|
|
1641
1322
|
...require_apps.scopeTelemetryEnv(values, {
|
|
1642
|
-
uses: require_apps.telemetryOf(manifest, app.id) !== void 0,
|
|
1323
|
+
uses: app.kind !== "site" && require_apps.telemetryOf(manifest, app.id) !== void 0,
|
|
1643
1324
|
serviceName: app.name,
|
|
1644
1325
|
...telemetryValues ? { telemetry: telemetryValues } : {}
|
|
1645
1326
|
}),
|
|
@@ -1664,7 +1345,7 @@ function composeStack(input) {
|
|
|
1664
1345
|
});
|
|
1665
1346
|
}
|
|
1666
1347
|
for (const worker of input.buildOnly ? [] : workers) {
|
|
1667
|
-
const keys = require_apps.
|
|
1348
|
+
const keys = require_apps.processEnvKeys(manifest, { workers: [worker.id] }, stageKeys) ?? /* @__PURE__ */ new Set();
|
|
1668
1349
|
const resolved = valuesFor({
|
|
1669
1350
|
name: worker.name,
|
|
1670
1351
|
id: worker.id,
|
|
@@ -1706,17 +1387,17 @@ function composeStack(input) {
|
|
|
1706
1387
|
};
|
|
1707
1388
|
else if (!local && !input.buildOnly) {
|
|
1708
1389
|
if (!domain) throw new require_compose.NoDomainForStage(stage);
|
|
1709
|
-
const key =
|
|
1390
|
+
const key = require_apps.originSecretKey(unit.id);
|
|
1710
1391
|
const secret = custom[key];
|
|
1711
1392
|
if (!secret) throw new ProcessorOriginSecretMissing(unit.id, key, stage);
|
|
1712
1393
|
unit.origin = {
|
|
1713
|
-
host:
|
|
1394
|
+
host: require_apps.processorOriginHost(unit.id, domain),
|
|
1714
1395
|
secret
|
|
1715
1396
|
};
|
|
1716
1397
|
}
|
|
1717
1398
|
if (proxy === "traefik" && (served || unit.origin)) edgeServices.add(unit.name);
|
|
1718
1399
|
if (input.buildOnly) continue;
|
|
1719
|
-
const keys = require_apps.
|
|
1400
|
+
const keys = require_apps.processEnvKeys(manifest, { processors: [unit.id] }, stageKeys) ?? /* @__PURE__ */ new Set();
|
|
1720
1401
|
unit.env = {
|
|
1721
1402
|
...require_apps.scopeTelemetryEnv(valuesFor({
|
|
1722
1403
|
name: unit.name,
|
|
@@ -1755,21 +1436,17 @@ function composeStack(input) {
|
|
|
1755
1436
|
const token = relay?.env?.[require_SubscriberGenerator.INBOX_RELAY_TOKEN_KEY];
|
|
1756
1437
|
if (relay && token) inboxRelay = require_SubscriberGenerator.inboxWebhookUrl(`http://${hostOf(relay.name)}:${relay.port}`, token);
|
|
1757
1438
|
}
|
|
1758
|
-
const
|
|
1439
|
+
const tls = certificate || local ? {
|
|
1759
1440
|
kind: "files",
|
|
1760
1441
|
...proxy === "caddy" ? {
|
|
1761
1442
|
certFile: `${CADDY_TLS_DIR}/cert.pem`,
|
|
1762
1443
|
keyFile: `${CADDY_TLS_DIR}/key.pem`
|
|
1763
1444
|
} : edgeCertificatePaths(project)
|
|
1764
1445
|
} : { kind: "acme" };
|
|
1765
|
-
const
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
} : deployedTls;
|
|
1770
|
-
const authority = local ? input.localAuthority ?? require_apps.localAuthorityPaths() : void 0;
|
|
1771
|
-
const backupsChoice = input.buildOnly ? void 0 : stageBackups(workspace, manifest, stage);
|
|
1772
|
-
const backups = backupsChoice?.mode === "on" && infra.includes("postgres") ? stackBackups({
|
|
1446
|
+
const authority = local && !certificate ? input.localAuthority ?? require_apps.localAuthorityPaths() : void 0;
|
|
1447
|
+
const root = authority?.certFile ?? certificate?.caFile;
|
|
1448
|
+
const backupsChoice = input.buildOnly ? void 0 : require_apps.stageBackups(workspace, manifest, stage);
|
|
1449
|
+
const backups = backupsChoice?.mode === "on" && infra.includes("postgres") ? require_apps.stackBackups({
|
|
1773
1450
|
workspace,
|
|
1774
1451
|
stage,
|
|
1775
1452
|
project,
|
|
@@ -1822,7 +1499,7 @@ function composeStack(input) {
|
|
|
1822
1499
|
streaming: false,
|
|
1823
1500
|
prefixes,
|
|
1824
1501
|
requireHeader: {
|
|
1825
|
-
name:
|
|
1502
|
+
name: require_apps.ORIGIN_VERIFY_HEADER,
|
|
1826
1503
|
value: origin.secret
|
|
1827
1504
|
},
|
|
1828
1505
|
health: "/health"
|
|
@@ -1885,9 +1562,9 @@ function composeStack(input) {
|
|
|
1885
1562
|
envFiles: !input.buildOnly,
|
|
1886
1563
|
proxy,
|
|
1887
1564
|
edge: new Map([...edgeServices].map((service) => [service, hostOf(service)])),
|
|
1888
|
-
...
|
|
1565
|
+
...local ? { localEdge: {
|
|
1889
1566
|
hosts: stackPublicHosts(routes),
|
|
1890
|
-
authority:
|
|
1567
|
+
...root ? { authority: root } : {}
|
|
1891
1568
|
} } : {}
|
|
1892
1569
|
});
|
|
1893
1570
|
const dockerfiles = {};
|
|
@@ -1948,10 +1625,12 @@ function composeStack(input) {
|
|
|
1948
1625
|
} } : {},
|
|
1949
1626
|
...proxy === "caddy" ? { caddyfile: edgeCaddyfile(routes, {
|
|
1950
1627
|
tls,
|
|
1628
|
+
edgeToken: outside[_geekmidas_manifest.EDGE_TOKEN_KEY],
|
|
1951
1629
|
...local ? { redirects: false } : {}
|
|
1952
1630
|
}) } : { traefik: traefikDynamicFile(routes, {
|
|
1953
1631
|
project,
|
|
1954
|
-
tls
|
|
1632
|
+
tls,
|
|
1633
|
+
edgeToken: outside[_geekmidas_manifest.EDGE_TOKEN_KEY]
|
|
1955
1634
|
}) },
|
|
1956
1635
|
...certificate ? { tls: certificate } : {},
|
|
1957
1636
|
dockerfiles,
|
|
@@ -1996,14 +1675,17 @@ function stackApps(workspace, manifest, plan, options) {
|
|
|
1996
1675
|
const resource = resources.get(id);
|
|
1997
1676
|
if (!app || !resource || !app.port) continue;
|
|
1998
1677
|
const host = hostOf(name, app, workspace, resource, options);
|
|
1999
|
-
const
|
|
1678
|
+
const site = declaration.kind === "site";
|
|
1679
|
+
const tag = site ? siteTag(options.images.tag, options.stage) : options.images.tag;
|
|
2000
1680
|
const ref = require_docker.validateImageRef(require_credentials.imageRef(options.identity, name, options.images.registry, tag));
|
|
2001
1681
|
apps.push({
|
|
2002
1682
|
app: name,
|
|
2003
1683
|
name,
|
|
2004
1684
|
id,
|
|
2005
1685
|
kind: declaration.kind,
|
|
1686
|
+
...declaration.kind === "site" ? { variant: declaration.variant } : {},
|
|
2006
1687
|
replicas: declaration.kind === "websocket-api" ? declaration.replicas ?? 1 : 1,
|
|
1688
|
+
runtime: !site || require_apps.runsServer(declaration),
|
|
2007
1689
|
path: app.path,
|
|
2008
1690
|
port: app.port,
|
|
2009
1691
|
host,
|
|
@@ -2236,17 +1918,19 @@ function stackPublicHosts(routes) {
|
|
|
2236
1918
|
* handed because a browser is.
|
|
2237
1919
|
*
|
|
2238
1920
|
* Inside a container `*.localhost` is its own loopback, so each host is
|
|
2239
|
-
* resolved to the host's gateway, where the edge
|
|
2240
|
-
*
|
|
1921
|
+
* resolved to the host's gateway, where the edge — the stack's Caddy, or the
|
|
1922
|
+
* shared Traefik edge — publishes its ports. Not a network alias on the edge:
|
|
1923
|
+
* the address may carry the edge's published port
|
|
2241
1924
|
* (`https://api.shop.localhost:8443`), which only the host answers on. And the
|
|
2242
|
-
*
|
|
2243
|
-
* certificate
|
|
1925
|
+
* container trusts the root the edge's certificate chains to — gkm's, or the
|
|
1926
|
+
* one the stage's own certificate names — its public certificate, never a
|
|
1927
|
+
* key, mounted read-only.
|
|
2244
1928
|
*/
|
|
2245
1929
|
function localEdgeAccess(edge) {
|
|
2246
1930
|
return {
|
|
2247
1931
|
extra_hosts: edge.hosts.map((host) => `${host}:host-gateway`),
|
|
2248
|
-
volumes: [`${edge.authority}:${LOCAL_CA_IN_CONTAINER}:ro`],
|
|
2249
|
-
environment: { NODE_EXTRA_CA_CERTS: LOCAL_CA_IN_CONTAINER }
|
|
1932
|
+
volumes: edge.authority ? [`${edge.authority}:${LOCAL_CA_IN_CONTAINER}:ro`] : [],
|
|
1933
|
+
environment: edge.authority ? { NODE_EXTRA_CA_CERTS: LOCAL_CA_IN_CONTAINER } : {}
|
|
2250
1934
|
};
|
|
2251
1935
|
}
|
|
2252
1936
|
/** The compose document: the infrastructure, the apps, and the edge. */
|
|
@@ -2296,7 +1980,7 @@ function stackFile(options) {
|
|
|
2296
1980
|
};
|
|
2297
1981
|
if (services["redis"] && options.redis) services[require_compose.REDIS_SERVICE] = require_compose.redisService(options.redis);
|
|
2298
1982
|
if (options.logs) services[require_compose.LOGS_SERVICE] = require_compose.logsService(options.logs);
|
|
2299
|
-
if (options.backups) services[BACKUPS_SERVICE] = backupsService(options.backups, options.envFiles);
|
|
1983
|
+
if (options.backups) services[require_apps.BACKUPS_SERVICE] = require_apps.backupsService(options.backups, options.envFiles);
|
|
2300
1984
|
for (const app of apps) {
|
|
2301
1985
|
const definition = {
|
|
2302
1986
|
image: app.ref,
|
|
@@ -2307,16 +1991,15 @@ function stackFile(options) {
|
|
|
2307
1991
|
workspaceRoot: options.workspaceRoot,
|
|
2308
1992
|
dockerfile: app.build.dockerfile
|
|
2309
1993
|
}),
|
|
2310
|
-
...app.build.args ? { args: app.build.args } : {}
|
|
1994
|
+
...app.build.args ? { args: app.build.args } : {},
|
|
1995
|
+
...app.build.offlineHosts ? { extra_hosts: app.build.offlineHosts.map((host) => `${host}:${require_apps.OFFLINE_BUILD_ADDRESS}`) } : {}
|
|
2311
1996
|
} } : {},
|
|
2312
1997
|
restart: "unless-stopped",
|
|
2313
|
-
...app.
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
...infra.length ? { depends_on: Object.fromEntries(infra.map((name) => [name, HEALTHY])) } : {}
|
|
2319
|
-
} : {},
|
|
1998
|
+
...app.runtime ? { env_file: [{
|
|
1999
|
+
path: `./${app.name}.env`,
|
|
2000
|
+
format: "raw"
|
|
2001
|
+
}] } : {},
|
|
2002
|
+
...app.kind !== "site" && infra.length ? { depends_on: Object.fromEntries(infra.map((name) => [name, HEALTHY])) } : {},
|
|
2320
2003
|
healthcheck: probe(app.port, app.kind === "site" ? "/" : "/health"),
|
|
2321
2004
|
...app.kind === "websocket-api" ? { ulimits: { nofile: NOFILE } } : {}
|
|
2322
2005
|
};
|
|
@@ -2353,7 +2036,7 @@ function stackFile(options) {
|
|
|
2353
2036
|
...service.environment,
|
|
2354
2037
|
...access.environment
|
|
2355
2038
|
},
|
|
2356
|
-
volumes: [...service.volumes ?? [], ...access.volumes],
|
|
2039
|
+
...access.volumes.length ? { volumes: [...service.volumes ?? [], ...access.volumes] } : {},
|
|
2357
2040
|
...access.extra_hosts.length ? { extra_hosts: [...service.extra_hosts ?? [], ...access.extra_hosts] } : {}
|
|
2358
2041
|
};
|
|
2359
2042
|
}
|
|
@@ -2426,18 +2109,6 @@ function envFile(env) {
|
|
|
2426
2109
|
return `${Object.entries(env).sort(([a], [b]) => a.localeCompare(b)).map(([key, value]) => `${key}=${value}`).join("\n")}\n`;
|
|
2427
2110
|
}
|
|
2428
2111
|
//#endregion
|
|
2429
|
-
Object.defineProperty(exports, "BACKUPS_SERVICE", {
|
|
2430
|
-
enumerable: true,
|
|
2431
|
-
get: function() {
|
|
2432
|
-
return BACKUPS_SERVICE;
|
|
2433
|
-
}
|
|
2434
|
-
});
|
|
2435
|
-
Object.defineProperty(exports, "BACKUPS_URL_KEY", {
|
|
2436
|
-
enumerable: true,
|
|
2437
|
-
get: function() {
|
|
2438
|
-
return BACKUPS_URL_KEY;
|
|
2439
|
-
}
|
|
2440
|
-
});
|
|
2441
2112
|
Object.defineProperty(exports, "EDGE_AWS_CREDENTIALS", {
|
|
2442
2113
|
enumerable: true,
|
|
2443
2114
|
get: function() {
|
|
@@ -2498,12 +2169,6 @@ Object.defineProperty(exports, "LOOPBACK_SERVICES", {
|
|
|
2498
2169
|
return LOOPBACK_SERVICES;
|
|
2499
2170
|
}
|
|
2500
2171
|
});
|
|
2501
|
-
Object.defineProperty(exports, "RUNNER_PATH", {
|
|
2502
|
-
enumerable: true,
|
|
2503
|
-
get: function() {
|
|
2504
|
-
return RUNNER_PATH;
|
|
2505
|
-
}
|
|
2506
|
-
});
|
|
2507
2172
|
Object.defineProperty(exports, "RegistryRequired", {
|
|
2508
2173
|
enumerable: true,
|
|
2509
2174
|
get: function() {
|
|
@@ -2522,36 +2187,6 @@ Object.defineProperty(exports, "assertSitePasswords", {
|
|
|
2522
2187
|
return assertSitePasswords;
|
|
2523
2188
|
}
|
|
2524
2189
|
});
|
|
2525
|
-
Object.defineProperty(exports, "backupDatabases", {
|
|
2526
|
-
enumerable: true,
|
|
2527
|
-
get: function() {
|
|
2528
|
-
return backupDatabases;
|
|
2529
|
-
}
|
|
2530
|
-
});
|
|
2531
|
-
Object.defineProperty(exports, "backupExpiries", {
|
|
2532
|
-
enumerable: true,
|
|
2533
|
-
get: function() {
|
|
2534
|
-
return backupExpiries;
|
|
2535
|
-
}
|
|
2536
|
-
});
|
|
2537
|
-
Object.defineProperty(exports, "backupFile", {
|
|
2538
|
-
enumerable: true,
|
|
2539
|
-
get: function() {
|
|
2540
|
-
return backupFile;
|
|
2541
|
-
}
|
|
2542
|
-
});
|
|
2543
|
-
Object.defineProperty(exports, "backupsPrefix", {
|
|
2544
|
-
enumerable: true,
|
|
2545
|
-
get: function() {
|
|
2546
|
-
return backupsPrefix;
|
|
2547
|
-
}
|
|
2548
|
-
});
|
|
2549
|
-
Object.defineProperty(exports, "backupsRoleStatements", {
|
|
2550
|
-
enumerable: true,
|
|
2551
|
-
get: function() {
|
|
2552
|
-
return backupsRoleStatements;
|
|
2553
|
-
}
|
|
2554
|
-
});
|
|
2555
2190
|
Object.defineProperty(exports, "composeProject", {
|
|
2556
2191
|
enumerable: true,
|
|
2557
2192
|
get: function() {
|
|
@@ -2570,24 +2205,12 @@ Object.defineProperty(exports, "deployedInboxEnv", {
|
|
|
2570
2205
|
return deployedInboxEnv;
|
|
2571
2206
|
}
|
|
2572
2207
|
});
|
|
2573
|
-
Object.defineProperty(exports, "deploysWithCompose", {
|
|
2574
|
-
enumerable: true,
|
|
2575
|
-
get: function() {
|
|
2576
|
-
return deploysWithCompose;
|
|
2577
|
-
}
|
|
2578
|
-
});
|
|
2579
2208
|
Object.defineProperty(exports, "derivedCredentials", {
|
|
2580
2209
|
enumerable: true,
|
|
2581
2210
|
get: function() {
|
|
2582
2211
|
return derivedCredentials;
|
|
2583
2212
|
}
|
|
2584
2213
|
});
|
|
2585
|
-
Object.defineProperty(exports, "edgeAlias", {
|
|
2586
|
-
enumerable: true,
|
|
2587
|
-
get: function() {
|
|
2588
|
-
return edgeAlias;
|
|
2589
|
-
}
|
|
2590
|
-
});
|
|
2591
2214
|
Object.defineProperty(exports, "edgeComposeFile", {
|
|
2592
2215
|
enumerable: true,
|
|
2593
2216
|
get: function() {
|
|
@@ -2624,12 +2247,6 @@ Object.defineProperty(exports, "replicaNames", {
|
|
|
2624
2247
|
return replicaNames;
|
|
2625
2248
|
}
|
|
2626
2249
|
});
|
|
2627
|
-
Object.defineProperty(exports, "runTime", {
|
|
2628
|
-
enumerable: true,
|
|
2629
|
-
get: function() {
|
|
2630
|
-
return runTime;
|
|
2631
|
-
}
|
|
2632
|
-
});
|
|
2633
2250
|
Object.defineProperty(exports, "stackDir", {
|
|
2634
2251
|
enumerable: true,
|
|
2635
2252
|
get: function() {
|
|
@@ -2642,12 +2259,6 @@ Object.defineProperty(exports, "stackPlan", {
|
|
|
2642
2259
|
return stackPlan;
|
|
2643
2260
|
}
|
|
2644
2261
|
});
|
|
2645
|
-
Object.defineProperty(exports, "stageBackups", {
|
|
2646
|
-
enumerable: true,
|
|
2647
|
-
get: function() {
|
|
2648
|
-
return stageBackups;
|
|
2649
|
-
}
|
|
2650
|
-
});
|
|
2651
2262
|
Object.defineProperty(exports, "traefikStaticFile", {
|
|
2652
2263
|
enumerable: true,
|
|
2653
2264
|
get: function() {
|
|
@@ -2661,4 +2272,4 @@ Object.defineProperty(exports, "withCaddyConfigs", {
|
|
|
2661
2272
|
}
|
|
2662
2273
|
});
|
|
2663
2274
|
|
|
2664
|
-
//# sourceMappingURL=stack-
|
|
2275
|
+
//# sourceMappingURL=stack-l_eQ63Gl.cjs.map
|