@geekmidas/cli 10.0.0-alpha.184 → 10.0.0-alpha.185
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-BtDLNkIH.cjs → LegacyStateStore-BtN83gfS.cjs} +2 -2
- package/dist/{LegacyStateStore-BtDLNkIH.cjs.map → LegacyStateStore-BtN83gfS.cjs.map} +1 -1
- package/dist/{LegacyStateStore-CTfoMtC2.mjs → LegacyStateStore-DKyEAWGI.mjs} +2 -2
- package/dist/{LegacyStateStore-CTfoMtC2.mjs.map → LegacyStateStore-DKyEAWGI.mjs.map} +1 -1
- package/dist/{LocalStateStore-BKp45OoB.cjs → LocalStateStore-BFh6rPhX.cjs} +2 -2
- package/dist/{LocalStateStore-BKp45OoB.cjs.map → LocalStateStore-BFh6rPhX.cjs.map} +1 -1
- package/dist/{LocalStateStore-C4zDHVM-.mjs → LocalStateStore-Dc3aGvQi.mjs} +2 -2
- package/dist/{LocalStateStore-C4zDHVM-.mjs.map → LocalStateStore-Dc3aGvQi.mjs.map} +1 -1
- package/dist/{S3StateStore-B6SjbLxh.cjs → S3StateStore-DZMpqbvD.cjs} +5 -5
- package/dist/{S3StateStore-B6SjbLxh.cjs.map → S3StateStore-DZMpqbvD.cjs.map} +1 -1
- package/dist/{S3StateStore-S0TXLlMW.mjs → S3StateStore-p6DyuAFZ.mjs} +4 -4
- package/dist/{S3StateStore-S0TXLlMW.mjs.map → S3StateStore-p6DyuAFZ.mjs.map} +1 -1
- package/dist/{SSMStateStore-ClPHFhRQ.mjs → SSMStateStore-BvH8XX4O.mjs} +2 -2
- package/dist/{SSMStateStore-ClPHFhRQ.mjs.map → SSMStateStore-BvH8XX4O.mjs.map} +1 -1
- package/dist/{SSMStateStore-6Di_zxwC.cjs → SSMStateStore-sbaLlCmj.cjs} +2 -2
- package/dist/{SSMStateStore-6Di_zxwC.cjs.map → SSMStateStore-sbaLlCmj.cjs.map} +1 -1
- package/dist/{add-Bd9MDHuU.cjs → add-CdVGxiKW.cjs} +13 -14
- package/dist/{add-Bd9MDHuU.cjs.map → add-CdVGxiKW.cjs.map} +1 -1
- package/dist/{add-BR8XW4IH.mjs → add-dOvgsAU6.mjs} +4 -5
- package/dist/{add-BR8XW4IH.mjs.map → add-dOvgsAU6.mjs.map} +1 -1
- package/dist/backups/runner.cjs +501 -13
- package/dist/backups/runner.cjs.map +1 -1
- package/dist/backups/runner.d.cts +87 -2
- package/dist/backups/runner.d.cts.map +1 -1
- package/dist/backups/runner.d.mts +87 -2
- package/dist/backups/runner.d.mts.map +1 -1
- package/dist/backups/runner.mjs +493 -15
- package/dist/backups/runner.mjs.map +1 -1
- package/dist/{bundler-4E-CGdL3.cjs → bundler-B5ioF-1Q.cjs} +9 -9
- package/dist/{bundler-4E-CGdL3.cjs.map → bundler-B5ioF-1Q.cjs.map} +1 -1
- package/dist/{bundler-Cwr4YSpp.mjs → bundler-Cvx6Bt3e.mjs} +6 -6
- package/dist/{bundler-Cwr4YSpp.mjs.map → bundler-Cvx6Bt3e.mjs.map} +1 -1
- package/dist/{cli-C3mHXsAE.mjs → cli-BjapgcXG.mjs} +4 -4
- package/dist/{cli-C3mHXsAE.mjs.map → cli-BjapgcXG.mjs.map} +1 -1
- package/dist/{cli-CrPJr29x.cjs → cli-PLhqvPOC.cjs} +6 -6
- package/dist/{cli-CrPJr29x.cjs.map → cli-PLhqvPOC.cjs.map} +1 -1
- package/dist/{clientTelemetry-Ej1tf1VE.d.cts → clientTelemetry-Bzc4KXz5.d.mts} +2 -2
- package/dist/clientTelemetry-Bzc4KXz5.d.mts.map +1 -0
- package/dist/{clientTelemetry-crdjgehZ.d.mts → clientTelemetry-N8NAguGI.d.cts} +2 -2
- package/dist/clientTelemetry-N8NAguGI.d.cts.map +1 -0
- package/dist/{compose-CKBieltT.cjs → compose-BEVBxf4w.cjs} +87 -948
- package/dist/compose-BEVBxf4w.cjs.map +1 -0
- package/dist/{compose-DPXoarGI.mjs → compose-Dx_nSZYU.mjs} +23 -842
- package/dist/compose-Dx_nSZYU.mjs.map +1 -0
- package/dist/{config-q4ewzIA_.d.mts → config-CTrfNKYd.d.mts} +3 -3
- package/dist/{config-lSOwPbUy.d.cts.map → config-CTrfNKYd.d.mts.map} +1 -1
- package/dist/{config-lSOwPbUy.d.cts → config-D9g_nYIu.d.cts} +3 -3
- package/dist/{config-q4ewzIA_.d.mts.map → config-D9g_nYIu.d.cts.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/{compose-CJznzQc7.mjs → credentials-DW5MvS4A.mjs} +1148 -1261
- package/dist/credentials-DW5MvS4A.mjs.map +1 -0
- package/dist/{compose-CvNyjqwL.cjs → credentials-Eyx2tM7B.cjs} +1175 -1288
- package/dist/credentials-Eyx2tM7B.cjs.map +1 -0
- package/dist/{dns-BzYrbB2Y.cjs → credentials-n2abUWwJ.cjs} +6 -847
- package/dist/credentials-n2abUWwJ.cjs.map +1 -0
- package/dist/{dns-C0wbTjVX.mjs → credentials-ztezRtR4.mjs} +5 -708
- package/dist/credentials-ztezRtR4.mjs.map +1 -0
- package/dist/{dbTunnel-DSzAG_wy.cjs → dbTunnel-DVohSZJQ.cjs} +8 -9
- package/dist/{dbTunnel-DSzAG_wy.cjs.map → dbTunnel-DVohSZJQ.cjs.map} +1 -1
- package/dist/{dbTunnel-CphoKGyk.mjs → dbTunnel-bV1CPWUv.mjs} +5 -6
- package/dist/{dbTunnel-CphoKGyk.mjs.map → dbTunnel-bV1CPWUv.mjs.map} +1 -1
- package/dist/deploy/public.cjs +25 -26
- package/dist/deploy/public.cjs.map +1 -1
- package/dist/deploy/public.d.cts +5 -5
- package/dist/deploy/public.d.mts +5 -5
- package/dist/deploy/public.mjs +10 -11
- package/dist/deploy/public.mjs.map +1 -1
- package/dist/{deploy-BaSYxpny.cjs → deploy-CDUWcl58.cjs} +72 -62
- package/dist/deploy-CDUWcl58.cjs.map +1 -0
- package/dist/{deploy-C_uZBzvS.mjs → deploy-Cpz5sKbh.mjs} +25 -15
- package/dist/deploy-Cpz5sKbh.mjs.map +1 -0
- package/dist/{destroy-yTBmL1jf.mjs → destroy-DRlcWJwm.mjs} +9 -9
- package/dist/{destroy-yTBmL1jf.mjs.map → destroy-DRlcWJwm.mjs.map} +1 -1
- package/dist/{destroy-PvrHxZDu.cjs → destroy-DzeV0EdY.cjs} +21 -21
- package/dist/{destroy-PvrHxZDu.cjs.map → destroy-DzeV0EdY.cjs.map} +1 -1
- package/dist/{dokploy-DYUMx2MY.cjs → dokploy-BTNfj3Zt.cjs} +2 -2
- package/dist/{dokploy-DYUMx2MY.cjs.map → dokploy-BTNfj3Zt.cjs.map} +1 -1
- package/dist/{dokploy-DqL3jeDu.mjs → dokploy-BveqiW2h.mjs} +2 -2
- package/dist/{dokploy-DqL3jeDu.mjs.map → dokploy-BveqiW2h.mjs.map} +1 -1
- package/dist/{eas-DHDU86PL.mjs → eas-BmYTfjY6.mjs} +3 -3
- package/dist/{eas-DHDU86PL.mjs.map → eas-BmYTfjY6.mjs.map} +1 -1
- package/dist/{eas-DEM-iWg6.cjs → eas-Dt_vRzb4.cjs} +3 -3
- package/dist/{eas-DEM-iWg6.cjs.map → eas-Dt_vRzb4.cjs.map} +1 -1
- package/dist/{encryption-BKWmbKkN.cjs → encryption-BE2wxfyH.cjs} +6 -6
- package/dist/{encryption-BKWmbKkN.cjs.map → encryption-BE2wxfyH.cjs.map} +1 -1
- package/dist/{encryption-CbMprdAb.mjs → encryption-DqoQltP8.mjs} +3 -3
- package/dist/{encryption-CbMprdAb.mjs.map → encryption-DqoQltP8.mjs.map} +1 -1
- package/dist/{engine-DaI4iScI.mjs → engine-B72vyrO8.mjs} +7 -9
- package/dist/{engine-DaI4iScI.mjs.map → engine-B72vyrO8.mjs.map} +1 -1
- package/dist/{engine-3imTFxdN.cjs → engine-BevpkNZe.cjs} +100 -102
- package/dist/{engine-3imTFxdN.cjs.map → engine-BevpkNZe.cjs.map} +1 -1
- package/dist/{github-Y6NAwHG1.cjs → github-DoHdtsDX.cjs} +18 -18
- package/dist/{github-Y6NAwHG1.cjs.map → github-DoHdtsDX.cjs.map} +1 -1
- package/dist/{github-Dijjr__H.mjs → github-hxvid6J3.mjs} +7 -7
- package/dist/{github-Dijjr__H.mjs.map → github-hxvid6J3.mjs.map} +1 -1
- package/dist/{googlePlay-Dcp3Yycu.cjs → googlePlay-CYney-Of.cjs} +5 -5
- package/dist/{googlePlay-Dcp3Yycu.cjs.map → googlePlay-CYney-Of.cjs.map} +1 -1
- package/dist/{googlePlay-SDT3j9Kf.mjs → googlePlay-DsvZTWgP.mjs} +4 -4
- package/dist/{googlePlay-SDT3j9Kf.mjs.map → googlePlay-DsvZTWgP.mjs.map} +1 -1
- package/dist/{iam-CqW9hsd2.mjs → iam-DloEBLXZ.mjs} +2 -2
- package/dist/{iam-CqW9hsd2.mjs.map → iam-DloEBLXZ.mjs.map} +1 -1
- package/dist/{iam-DeBQcSvw.cjs → iam-SxPKYCI_.cjs} +2 -2
- package/dist/{iam-DeBQcSvw.cjs.map → iam-SxPKYCI_.cjs.map} +1 -1
- package/dist/{index-DJzVO6Ht.d.cts → index-BThTZV8T.d.mts} +2 -2
- package/dist/{index-Ccsgoq3_.d.mts.map → index-BThTZV8T.d.mts.map} +1 -1
- package/dist/{index-Ccsgoq3_.d.mts → index-Cgd-ouyI.d.cts} +2 -2
- package/dist/{index-DJzVO6Ht.d.cts.map → index-Cgd-ouyI.d.cts.map} +1 -1
- package/dist/index.cjs +590 -246
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +443 -99
- package/dist/index.mjs.map +1 -1
- package/dist/{local-DjaAcHZb.cjs → local-BuR4fIW6.cjs} +3 -3
- package/dist/{local-DjaAcHZb.cjs.map → local-BuR4fIW6.cjs.map} +1 -1
- package/dist/{local-4gzM52HT.mjs → local-Cmq75U_o.mjs} +2 -2
- package/dist/{local-4gzM52HT.mjs.map → local-Cmq75U_o.mjs.map} +1 -1
- package/dist/{migrate-0Rfhftef.mjs → migrate-Bf-EG8Fj.mjs} +5 -5
- package/dist/{migrate-0Rfhftef.mjs.map → migrate-Bf-EG8Fj.mjs.map} +1 -1
- package/dist/{migrate-DDIc3twm.cjs → migrate-CDMdrniJ.cjs} +13 -13
- package/dist/{migrate-DDIc3twm.cjs.map → migrate-CDMdrniJ.cjs.map} +1 -1
- package/dist/{migrate-CuHGYJL9.cjs → migrate-CuTQha4s.cjs} +6 -6
- package/dist/{migrate-CuHGYJL9.cjs.map → migrate-CuTQha4s.cjs.map} +1 -1
- package/dist/{migrate-BLW4BwLd.mjs → migrate-DYJffHOm.mjs} +3 -3
- package/dist/{migrate-BLW4BwLd.mjs.map → migrate-DYJffHOm.mjs.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-BhEOVVch.mjs → projectBucket-B5YkuSVr.mjs} +2 -2
- package/dist/{projectBucket-BhEOVVch.mjs.map → projectBucket-B5YkuSVr.mjs.map} +1 -1
- package/dist/{projectBucket-C5Ap5kGw.cjs → projectBucket-NcgqleyH.cjs} +2 -2
- package/dist/{projectBucket-C5Ap5kGw.cjs.map → projectBucket-NcgqleyH.cjs.map} +1 -1
- package/dist/{publish-BELe2FO2.cjs → publish--EQ4Tw3F.cjs} +2 -2
- package/dist/{publish-BELe2FO2.cjs.map → publish--EQ4Tw3F.cjs.map} +1 -1
- package/dist/{publish-DiDv40hA.mjs → publish-YL8WZHSo.mjs} +2 -2
- package/dist/{publish-DiDv40hA.mjs.map → publish-YL8WZHSo.mjs.map} +1 -1
- package/dist/{ready--_hMxbUX.cjs → ready-DCvnFZnJ.cjs} +2 -2
- package/dist/{ready--_hMxbUX.cjs.map → ready-DCvnFZnJ.cjs.map} +1 -1
- package/dist/{ready-CjIqXFXe.mjs → ready-sSPuiZ7N.mjs} +2 -2
- package/dist/{ready-CjIqXFXe.mjs.map → ready-sSPuiZ7N.mjs.map} +1 -1
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/{resolve-DIPHwLan.cjs → resolve-Ced8-gj4.cjs} +4 -4
- package/dist/{resolve-DIPHwLan.cjs.map → resolve-Ced8-gj4.cjs.map} +1 -1
- package/dist/{resolve-N8EZzWqJ.mjs → resolve-DcG10_JV.mjs} +4 -4
- package/dist/{resolve-N8EZzWqJ.mjs.map → resolve-DcG10_JV.mjs.map} +1 -1
- package/dist/{rollback-DIeA6dba.mjs → rollback-BxI2p53H.mjs} +7 -6
- package/dist/{rollback-DIeA6dba.mjs.map → rollback-BxI2p53H.mjs.map} +1 -1
- package/dist/{rollback-Bp6hepUh.cjs → rollback-C6bCANv7.cjs} +10 -9
- package/dist/{rollback-Bp6hepUh.cjs.map → rollback-C6bCANv7.cjs.map} +1 -1
- package/dist/{runtime-D_UphAAH.d.cts → runtime-BtoiRP5G.d.cts} +2 -2
- package/dist/{runtime-BZlClwy2.d.mts.map → runtime-BtoiRP5G.d.cts.map} +1 -1
- package/dist/{runtime-BZlClwy2.d.mts → runtime-Ct41f0tN.d.mts} +2 -2
- package/dist/{runtime-D_UphAAH.d.cts.map → runtime-Ct41f0tN.d.mts.map} +1 -1
- package/dist/{s3-CIEf4puu.mjs → s3-BAI0ELtE.mjs} +3 -3
- package/dist/{s3-CIEf4puu.mjs.map → s3-BAI0ELtE.mjs.map} +1 -1
- package/dist/{s3-Bwd6lhTU.cjs → s3-DucPHZAn.cjs} +3 -3
- package/dist/{s3-Bwd6lhTU.cjs.map → s3-DucPHZAn.cjs.map} +1 -1
- package/dist/{serverSetup-C9DP30J4.cjs → serverSetup-D3-FE7Dj.cjs} +9 -8
- package/dist/{serverSetup-C9DP30J4.cjs.map → serverSetup-D3-FE7Dj.cjs.map} +1 -1
- package/dist/{serverSetup-mRCLdZQW.mjs → serverSetup-DS9tW50_.mjs} +7 -6
- package/dist/{serverSetup-mRCLdZQW.mjs.map → serverSetup-DS9tW50_.mjs.map} +1 -1
- package/dist/{sniffer-01tbQFmg.mjs → sniffer-CX8sI8Cu.mjs} +7 -7
- package/dist/{sniffer-01tbQFmg.mjs.map → sniffer-CX8sI8Cu.mjs.map} +1 -1
- package/dist/{sniffer-CkPIytPI.cjs → sniffer-XlvJLrhZ.cjs} +7 -7
- package/dist/{sniffer-CkPIytPI.cjs.map → sniffer-XlvJLrhZ.cjs.map} +1 -1
- package/dist/{snsSubscriptions-DmKrw7AF.cjs → snsSubscriptions-CJAOhWq9.cjs} +11 -12
- package/dist/{snsSubscriptions-DmKrw7AF.cjs.map → snsSubscriptions-CJAOhWq9.cjs.map} +1 -1
- package/dist/{snsSubscriptions-k61hsIRw.mjs → snsSubscriptions-DDrra9rN.mjs} +3 -4
- package/dist/{snsSubscriptions-k61hsIRw.mjs.map → snsSubscriptions-DDrra9rN.mjs.map} +1 -1
- package/dist/{sst-CvOnXAel.mjs → sst-CdHflajE.mjs} +6 -6
- package/dist/{sst-CvOnXAel.mjs.map → sst-CdHflajE.mjs.map} +1 -1
- package/dist/{sst-DGsteg5j.cjs → sst-CsEjVFtz.cjs} +8 -8
- package/dist/{sst-DGsteg5j.cjs.map → sst-CsEjVFtz.cjs.map} +1 -1
- package/dist/stack-BYhtz-bE.cjs +11449 -0
- package/dist/stack-BYhtz-bE.cjs.map +1 -0
- package/dist/stack-CLHY-_2m.mjs +10474 -0
- package/dist/stack-CLHY-_2m.mjs.map +1 -0
- package/dist/{stage-8KJCtYtl.cjs → stage-Bc_BtQeG.cjs} +11 -12
- package/dist/stage-Bc_BtQeG.cjs.map +1 -0
- package/dist/{stage-CXIdtjY2.mjs → stage-C7aYyDMr.mjs} +5 -6
- package/dist/stage-C7aYyDMr.mjs.map +1 -0
- package/dist/{stages-BNoiMXfL.mjs → stages-DFvE7iEO.mjs} +2 -2
- package/dist/{stages-BNoiMXfL.mjs.map → stages-DFvE7iEO.mjs.map} +1 -1
- package/dist/{stages-tdJKM9qp.cjs → stages-Dk6Lv7DY.cjs} +2 -2
- package/dist/{stages-tdJKM9qp.cjs.map → stages-Dk6Lv7DY.cjs.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-GzAW5lzO.mjs → terminal-BZzK69T9.mjs} +2 -2
- package/dist/{terminal-GzAW5lzO.mjs.map → terminal-BZzK69T9.mjs.map} +1 -1
- package/dist/{terminal-DSQgidon.cjs → terminal-DXUXlqrO.cjs} +5 -5
- package/dist/{terminal-DSQgidon.cjs.map → terminal-DXUXlqrO.cjs.map} +1 -1
- package/dist/{types-BRnmoWCt.d.cts → types-BVDaaLas.d.cts} +22 -4
- package/dist/{types-BRnmoWCt.d.cts.map → types-BVDaaLas.d.cts.map} +1 -1
- package/dist/{types-Bg7LSAD2.d.mts → types-CJTKWLkK.d.mts} +22 -4
- package/dist/{types-Bg7LSAD2.d.mts.map → types-CJTKWLkK.d.mts.map} +1 -1
- package/dist/{utils-D_fxUqvU.mjs → utils-CdKxD8Lt.mjs} +2 -2
- package/dist/{utils-D_fxUqvU.mjs.map → utils-CdKxD8Lt.mjs.map} +1 -1
- package/dist/{utils-D2Nk1Nv2.cjs → utils-DBqXbB8P.cjs} +2 -2
- package/dist/{utils-D2Nk1Nv2.cjs.map → utils-DBqXbB8P.cjs.map} +1 -1
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +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-fGwzXa5l.cjs → workspace-CTspddnJ.cjs} +55 -16
- package/dist/workspace-CTspddnJ.cjs.map +1 -0
- package/dist/{workspace-DTX6CJi2.mjs → workspace-CdiCMRap.mjs} +55 -16
- package/dist/workspace-CdiCMRap.mjs.map +1 -0
- package/package.json +16 -16
- package/dist/apps-CXzjaPWR.mjs +0 -4650
- package/dist/apps-CXzjaPWR.mjs.map +0 -1
- package/dist/apps-vLzb0ZSA.cjs +0 -5174
- package/dist/apps-vLzb0ZSA.cjs.map +0 -1
- package/dist/clientTelemetry-Ej1tf1VE.d.cts.map +0 -1
- package/dist/clientTelemetry-crdjgehZ.d.mts.map +0 -1
- package/dist/compose-CJznzQc7.mjs.map +0 -1
- package/dist/compose-CKBieltT.cjs.map +0 -1
- package/dist/compose-CvNyjqwL.cjs.map +0 -1
- package/dist/compose-DPXoarGI.mjs.map +0 -1
- package/dist/deploy-BaSYxpny.cjs.map +0 -1
- package/dist/deploy-C_uZBzvS.mjs.map +0 -1
- package/dist/dns-BzYrbB2Y.cjs.map +0 -1
- package/dist/dns-C0wbTjVX.mjs.map +0 -1
- package/dist/docker-CPoUMg5X.mjs +0 -1649
- package/dist/docker-CPoUMg5X.mjs.map +0 -1
- package/dist/docker-CrhpQWnL.cjs +0 -1798
- package/dist/docker-CrhpQWnL.cjs.map +0 -1
- package/dist/notes-6F8YXU8m.mjs +0 -409
- package/dist/notes-6F8YXU8m.mjs.map +0 -1
- package/dist/notes-DMOLnNJI.cjs +0 -510
- package/dist/notes-DMOLnNJI.cjs.map +0 -1
- package/dist/stack-Dd-egttk.mjs +0 -1777
- package/dist/stack-Dd-egttk.mjs.map +0 -1
- package/dist/stack-vBnc84e8.cjs +0 -1887
- package/dist/stack-vBnc84e8.cjs.map +0 -1
- package/dist/stage-8KJCtYtl.cjs.map +0 -1
- package/dist/stage-CXIdtjY2.mjs.map +0 -1
- package/dist/workspace-DTX6CJi2.mjs.map +0 -1
- package/dist/workspace-fGwzXa5l.cjs.map +0 -1
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
|
|
2
2
|
const require_errors = require("./errors-D1x8duqI.cjs");
|
|
3
|
-
const require_workspace = require("./workspace-
|
|
3
|
+
const require_workspace = require("./workspace-CTspddnJ.cjs");
|
|
4
4
|
const require_drivers = require("./drivers-DP7__dJX.cjs");
|
|
5
|
-
const
|
|
6
|
-
const require_resolve = require("./resolve-DIPHwLan.cjs");
|
|
5
|
+
const require_resolve = require("./resolve-Ced8-gj4.cjs");
|
|
7
6
|
let node_path = require("node:path");
|
|
8
7
|
let node_fs = require("node:fs");
|
|
9
8
|
let node_fs_promises = require("node:fs/promises");
|
|
10
9
|
let node_os = require("node:os");
|
|
11
|
-
let node_child_process = require("node:child_process");
|
|
12
10
|
let node_crypto = require("node:crypto");
|
|
13
11
|
let _geekmidas_manifest = require("@geekmidas/manifest");
|
|
14
|
-
let node_dns_promises = require("node:dns/promises");
|
|
15
|
-
let _geekmidas_edge_dns = require("@geekmidas/edge/dns");
|
|
16
12
|
//#region src/home.ts
|
|
17
13
|
/**
|
|
18
14
|
* Where the CLI keeps what belongs to a person rather than a project: stage
|
|
@@ -173,116 +169,6 @@ async function removeGoDaddyCredentials(options) {
|
|
|
173
169
|
return true;
|
|
174
170
|
}
|
|
175
171
|
//#endregion
|
|
176
|
-
//#region src/run.ts
|
|
177
|
-
/**
|
|
178
|
-
* Start a program with an argument array, never a shell string.
|
|
179
|
-
*
|
|
180
|
-
* `gkm build`, `gkm docker` and `gkm deploy` pass values that come from the
|
|
181
|
-
* workspace — image refs, tags, build args, package names — to `docker` and
|
|
182
|
-
* `turbo`. Joined into a string and handed to a shell, a package named
|
|
183
|
-
* `x;curl …|sh` or a tag holding `$(…)` became part of the command line, which
|
|
184
|
-
* matters most where the CLI builds a repository it didn't write: a CI job for a
|
|
185
|
-
* fork, a shared build runner. Here every value reaches the program as one
|
|
186
|
-
* `argv` element, whatever it contains.
|
|
187
|
-
*/
|
|
188
|
-
/** Long enough for a cold image build; short enough that a hung one ends. */
|
|
189
|
-
const DEFAULT_TIMEOUT_MS = 18e5;
|
|
190
|
-
/** How long a timed-out child has to exit on SIGTERM before it is killed. */
|
|
191
|
-
const KILL_GRACE_MS = 5e3;
|
|
192
|
-
/** The command line as a person would read it — for messages, never to run. */
|
|
193
|
-
function display(command, args) {
|
|
194
|
-
return [command, ...args].join(" ");
|
|
195
|
-
}
|
|
196
|
-
/** The program ran and exited unsuccessfully; its own output said why. */
|
|
197
|
-
var CommandFailed = class extends Error {
|
|
198
|
-
command;
|
|
199
|
-
args;
|
|
200
|
-
exitCode;
|
|
201
|
-
signal;
|
|
202
|
-
constructor(command, args, exitCode, signal) {
|
|
203
|
-
super(`\`${display(command, args)}\` ${exitCode === null ? `was stopped by ${signal ?? "a signal"}` : `exited with code ${exitCode}`}. Its output above says why; run it by hand to see it again.`);
|
|
204
|
-
this.command = command;
|
|
205
|
-
this.args = args;
|
|
206
|
-
this.exitCode = exitCode;
|
|
207
|
-
this.signal = signal;
|
|
208
|
-
this.name = "CommandFailed";
|
|
209
|
-
}
|
|
210
|
-
};
|
|
211
|
-
/** The program ran past its timeout and was killed. */
|
|
212
|
-
var CommandTimedOut = class extends Error {
|
|
213
|
-
command;
|
|
214
|
-
args;
|
|
215
|
-
timeoutMs;
|
|
216
|
-
constructor(command, args, timeoutMs) {
|
|
217
|
-
super(`\`${display(command, args)}\` was still running after ${Math.round(timeoutMs / 1e3)}s and was stopped. Check what it was waiting on — a registry, the Docker daemon, a prompt — and run it again.`);
|
|
218
|
-
this.command = command;
|
|
219
|
-
this.args = args;
|
|
220
|
-
this.timeoutMs = timeoutMs;
|
|
221
|
-
this.name = "CommandTimedOut";
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
/**
|
|
225
|
-
* Run `command` with `args`, resolving when it exits 0.
|
|
226
|
-
*
|
|
227
|
-
* Rejects with {@link CommandFailed} on any other exit, {@link CommandTimedOut}
|
|
228
|
-
* once `timeoutMs` passes (after the child is gone), and with the spawn error
|
|
229
|
-
* itself when the program cannot be started at all — `ENOENT` already names it.
|
|
230
|
-
*/
|
|
231
|
-
async function run(command, args, options = {}) {
|
|
232
|
-
await spawnChild(command, args, options, false);
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* {@link run}, resolving with what the program wrote to stdout — for a value
|
|
236
|
-
* the CLI reads back, such as the digest `docker inspect` reports. stderr still
|
|
237
|
-
* reaches the terminal, so a failure explains itself the same way.
|
|
238
|
-
*/
|
|
239
|
-
function runOutput(command, args, options = {}) {
|
|
240
|
-
return spawnChild(command, args, options, true);
|
|
241
|
-
}
|
|
242
|
-
function spawnChild(command, args, options, capture) {
|
|
243
|
-
const { timeoutMs = DEFAULT_TIMEOUT_MS, ...spawnOptions } = options;
|
|
244
|
-
return new Promise((resolve, reject) => {
|
|
245
|
-
const child = (0, node_child_process.spawn)(command, [...args], {
|
|
246
|
-
stdio: "inherit",
|
|
247
|
-
...spawnOptions,
|
|
248
|
-
...capture ? { stdio: [
|
|
249
|
-
"ignore",
|
|
250
|
-
"pipe",
|
|
251
|
-
"inherit"
|
|
252
|
-
] } : {},
|
|
253
|
-
shell: false
|
|
254
|
-
});
|
|
255
|
-
let stdout = "";
|
|
256
|
-
child.stdout?.on("data", (chunk) => {
|
|
257
|
-
stdout += chunk.toString();
|
|
258
|
-
});
|
|
259
|
-
let timedOut = false;
|
|
260
|
-
let killer;
|
|
261
|
-
const timer = setTimeout(() => {
|
|
262
|
-
timedOut = true;
|
|
263
|
-
child.kill("SIGTERM");
|
|
264
|
-
killer = setTimeout(() => child.kill("SIGKILL"), KILL_GRACE_MS);
|
|
265
|
-
killer.unref?.();
|
|
266
|
-
}, timeoutMs);
|
|
267
|
-
timer.unref?.();
|
|
268
|
-
const settle = () => {
|
|
269
|
-
clearTimeout(timer);
|
|
270
|
-
if (killer) clearTimeout(killer);
|
|
271
|
-
};
|
|
272
|
-
child.on("error", (error) => {
|
|
273
|
-
settle();
|
|
274
|
-
reject(spawnOptions.signal?.aborted ? spawnOptions.signal.reason : error);
|
|
275
|
-
});
|
|
276
|
-
child.on("close", (code, signal) => {
|
|
277
|
-
settle();
|
|
278
|
-
if (spawnOptions.signal?.aborted) reject(spawnOptions.signal.reason);
|
|
279
|
-
else if (timedOut) reject(new CommandTimedOut(command, args, timeoutMs));
|
|
280
|
-
else if (code === 0) resolve(stdout);
|
|
281
|
-
else reject(new CommandFailed(command, args, code, signal));
|
|
282
|
-
});
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
//#endregion
|
|
286
172
|
//#region src/deploy/identity.ts
|
|
287
173
|
/**
|
|
288
174
|
* Who a deploy is, on a target it shares with other workspaces.
|
|
@@ -1010,7 +896,7 @@ async function storeFromConfig(workspace, config, options = {}) {
|
|
|
1010
896
|
const profile = options.profile ? { profile: options.profile } : {};
|
|
1011
897
|
switch (config.provider) {
|
|
1012
898
|
case "s3": {
|
|
1013
|
-
const { S3SecretsStore } = await Promise.resolve().then(() => require("./s3-
|
|
899
|
+
const { S3SecretsStore } = await Promise.resolve().then(() => require("./s3-DucPHZAn.cjs"));
|
|
1014
900
|
const { deployIdentity } = await Promise.resolve().then(() => identity_exports);
|
|
1015
901
|
const location = require_workspace.s3SecretsLocation(config, workspace.state);
|
|
1016
902
|
return new S3SecretsStore({
|
|
@@ -1110,187 +996,6 @@ function eventsBackendFor(on) {
|
|
|
1110
996
|
return require_drivers.DEFAULT_EVENTS[on];
|
|
1111
997
|
}
|
|
1112
998
|
//#endregion
|
|
1113
|
-
//#region src/deploy/state.ts
|
|
1114
|
-
/**
|
|
1115
|
-
* A stage's deploy state.
|
|
1116
|
-
*
|
|
1117
|
-
* Every target records the same core — when the stage was last deployed, by
|
|
1118
|
-
* which identity, and each app's releases — and a target that keeps ids of
|
|
1119
|
-
* its own adds them in a shape of its own, told apart by `provider`:
|
|
1120
|
-
*
|
|
1121
|
-
* - `dokploy`: the project, applications, services and credentials Dokploy
|
|
1122
|
-
* gave the stage, so a later deploy updates them rather than making more.
|
|
1123
|
-
* - `compose`: nothing beyond the core. A compose stage is one stack on one
|
|
1124
|
-
* server; what it created elsewhere (DNS records) is a resource record.
|
|
1125
|
-
*/
|
|
1126
|
-
/**
|
|
1127
|
-
* Create a new empty state for a stage
|
|
1128
|
-
*/
|
|
1129
|
-
function createEmptyState(stage, projectId, environmentId) {
|
|
1130
|
-
return {
|
|
1131
|
-
provider: "dokploy",
|
|
1132
|
-
stage,
|
|
1133
|
-
projectId,
|
|
1134
|
-
environmentId,
|
|
1135
|
-
applications: {},
|
|
1136
|
-
services: {},
|
|
1137
|
-
lastDeployedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
1138
|
-
};
|
|
1139
|
-
}
|
|
1140
|
-
/** A new compose stage's state. */
|
|
1141
|
-
function createComposeState(stage) {
|
|
1142
|
-
return {
|
|
1143
|
-
provider: "compose",
|
|
1144
|
-
stage,
|
|
1145
|
-
lastDeployedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
1146
|
-
};
|
|
1147
|
-
}
|
|
1148
|
-
/**
|
|
1149
|
-
* `state` as the Dokploy target keeps it. A stage whose state another target
|
|
1150
|
-
* wrote — one moved from compose to Dokploy — keeps its core (releases,
|
|
1151
|
-
* identity) and starts with no Dokploy ids, as a first deploy would.
|
|
1152
|
-
*/
|
|
1153
|
-
function asDokployState(state) {
|
|
1154
|
-
if (state.provider === "dokploy") return state;
|
|
1155
|
-
const { provider: _provider, ...core } = state;
|
|
1156
|
-
return {
|
|
1157
|
-
...core,
|
|
1158
|
-
provider: "dokploy",
|
|
1159
|
-
projectId: "",
|
|
1160
|
-
environmentId: "",
|
|
1161
|
-
applications: {},
|
|
1162
|
-
services: {}
|
|
1163
|
-
};
|
|
1164
|
-
}
|
|
1165
|
-
/**
|
|
1166
|
-
* Set application ID in state (mutates state)
|
|
1167
|
-
*/
|
|
1168
|
-
function setApplicationId(state, appName, applicationId) {
|
|
1169
|
-
state.applications[appName] = applicationId;
|
|
1170
|
-
}
|
|
1171
|
-
/** Two records naming the same image: by digest when both have one. */
|
|
1172
|
-
function sameImage(a, b) {
|
|
1173
|
-
return a.digest && b.digest ? a.digest === b.digest : a.ref === b.ref;
|
|
1174
|
-
}
|
|
1175
|
-
/** The newest release in `history` after `index` that a rollback may restore. */
|
|
1176
|
-
function restorable(history, index, current) {
|
|
1177
|
-
return history.slice(index + 1).find((entry) => !entry.rolledBack && !sameImage(entry, current));
|
|
1178
|
-
}
|
|
1179
|
-
/**
|
|
1180
|
-
* Record that `image` went live for `appName` (mutates state): it becomes
|
|
1181
|
-
* `current`, and what was current becomes `previous`. Releasing what already
|
|
1182
|
-
* runs — a redeploy of the same digest — changes nothing.
|
|
1183
|
-
*/
|
|
1184
|
-
function recordRelease(state, appName, image, by, releasedAt = /* @__PURE__ */ new Date()) {
|
|
1185
|
-
const releases = state.releases?.[appName];
|
|
1186
|
-
if (releases && sameImage(releases.current, image)) return;
|
|
1187
|
-
const entry = {
|
|
1188
|
-
...image,
|
|
1189
|
-
releasedAt: releasedAt.toISOString(),
|
|
1190
|
-
releasedBy: by
|
|
1191
|
-
};
|
|
1192
|
-
const history = [entry, ...releases?.history ?? []].slice(0, 10);
|
|
1193
|
-
const previous = releases?.current;
|
|
1194
|
-
state.releases = {
|
|
1195
|
-
...state.releases,
|
|
1196
|
-
[appName]: {
|
|
1197
|
-
current: entry,
|
|
1198
|
-
...previous ? { previous } : {},
|
|
1199
|
-
history
|
|
1200
|
-
}
|
|
1201
|
-
};
|
|
1202
|
-
}
|
|
1203
|
-
/**
|
|
1204
|
-
* Record that `appName` was rolled back to `to` (mutates state): every
|
|
1205
|
-
* release newer than it is marked rolled back, so neither this rollback nor
|
|
1206
|
-
* a later one restores it, and `previous` moves to the release before `to`.
|
|
1207
|
-
*/
|
|
1208
|
-
function recordRollback(state, appName, to) {
|
|
1209
|
-
const releases = state.releases?.[appName];
|
|
1210
|
-
if (!releases) return;
|
|
1211
|
-
const index = releases.history.findIndex((entry) => !entry.rolledBack && sameImage(entry, to));
|
|
1212
|
-
if (index === -1) return;
|
|
1213
|
-
const history = releases.history.map((entry, i) => i < index ? {
|
|
1214
|
-
...entry,
|
|
1215
|
-
rolledBack: true
|
|
1216
|
-
} : entry);
|
|
1217
|
-
const current = history[index];
|
|
1218
|
-
const previous = restorable(history, index, current);
|
|
1219
|
-
state.releases = {
|
|
1220
|
-
...state.releases,
|
|
1221
|
-
[appName]: {
|
|
1222
|
-
current,
|
|
1223
|
-
...previous ? { previous } : {},
|
|
1224
|
-
history
|
|
1225
|
-
}
|
|
1226
|
-
};
|
|
1227
|
-
}
|
|
1228
|
-
/**
|
|
1229
|
-
* Get a generated secret for an app
|
|
1230
|
-
*/
|
|
1231
|
-
function getGeneratedSecret(state, appName, secretName) {
|
|
1232
|
-
return state?.generatedSecrets?.[appName]?.[secretName];
|
|
1233
|
-
}
|
|
1234
|
-
/**
|
|
1235
|
-
* Set a generated secret for an app (mutates state)
|
|
1236
|
-
*/
|
|
1237
|
-
function setGeneratedSecret(state, appName, secretName, value) {
|
|
1238
|
-
if (!state.generatedSecrets) state.generatedSecrets = {};
|
|
1239
|
-
if (!state.generatedSecrets[appName]) state.generatedSecrets[appName] = {};
|
|
1240
|
-
state.generatedSecrets[appName][secretName] = value;
|
|
1241
|
-
}
|
|
1242
|
-
/**
|
|
1243
|
-
* Set DNS verification record for a hostname (mutates state)
|
|
1244
|
-
*/
|
|
1245
|
-
function setDnsVerification(state, hostname, serverIp) {
|
|
1246
|
-
if (!state.dnsVerified) state.dnsVerified = {};
|
|
1247
|
-
state.dnsVerified[hostname] = {
|
|
1248
|
-
serverIp,
|
|
1249
|
-
verifiedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
1250
|
-
};
|
|
1251
|
-
}
|
|
1252
|
-
/**
|
|
1253
|
-
* Check if a hostname is already verified with the given IP
|
|
1254
|
-
*/
|
|
1255
|
-
function isDnsVerified(state, hostname, serverIp) {
|
|
1256
|
-
return (state?.dnsVerified?.[hostname])?.serverIp === serverIp;
|
|
1257
|
-
}
|
|
1258
|
-
/**
|
|
1259
|
-
* Get the key for a DNS record in state
|
|
1260
|
-
*/
|
|
1261
|
-
function getDnsRecordKey(name, type) {
|
|
1262
|
-
return `${name}:${type}`;
|
|
1263
|
-
}
|
|
1264
|
-
/**
|
|
1265
|
-
* Set a created DNS record in state (mutates state)
|
|
1266
|
-
*/
|
|
1267
|
-
function setDnsRecord(state, record) {
|
|
1268
|
-
if (!state.dnsRecords) state.dnsRecords = {};
|
|
1269
|
-
const key = getDnsRecordKey(record.name, record.type);
|
|
1270
|
-
state.dnsRecords[key] = {
|
|
1271
|
-
...record,
|
|
1272
|
-
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
1273
|
-
};
|
|
1274
|
-
}
|
|
1275
|
-
/**
|
|
1276
|
-
* Get backup state from state
|
|
1277
|
-
*/
|
|
1278
|
-
function getBackupState(state) {
|
|
1279
|
-
return state?.backups;
|
|
1280
|
-
}
|
|
1281
|
-
/**
|
|
1282
|
-
* Set backup state (mutates state)
|
|
1283
|
-
*/
|
|
1284
|
-
function setBackupState(state, backupState) {
|
|
1285
|
-
state.backups = backupState;
|
|
1286
|
-
}
|
|
1287
|
-
/**
|
|
1288
|
-
* Set postgres backup ID in state (mutates state)
|
|
1289
|
-
*/
|
|
1290
|
-
function setPostgresBackupId(state, backupId) {
|
|
1291
|
-
if (state.backups) state.backups.postgresBackupId = backupId;
|
|
1292
|
-
}
|
|
1293
|
-
//#endregion
|
|
1294
999
|
//#region src/deploy/credentials.ts
|
|
1295
1000
|
/**
|
|
1296
1001
|
* How a deploy gets the credentials it acts with.
|
|
@@ -1407,444 +1112,6 @@ function storedCredentials(options = {}) {
|
|
|
1407
1112
|
} };
|
|
1408
1113
|
}
|
|
1409
1114
|
//#endregion
|
|
1410
|
-
//#region src/dns/providers.ts
|
|
1411
|
-
/**
|
|
1412
|
-
* The DNS provider a `dns` domain names, built from the workspace's config.
|
|
1413
|
-
*
|
|
1414
|
-
* The providers themselves are `@geekmidas/edge`'s and take their credentials
|
|
1415
|
-
* as given. Where a credential comes from (a stored login, the environment)
|
|
1416
|
-
* and what to say when there is none are the CLI's, and are decided here.
|
|
1417
|
-
*/
|
|
1418
|
-
/**
|
|
1419
|
-
* Create a DNS provider based on configuration.
|
|
1420
|
-
*
|
|
1421
|
-
* - 'hostinger': HostingerProvider
|
|
1422
|
-
* - 'route53': Route53Provider
|
|
1423
|
-
* - 'godaddy': GoDaddyProvider
|
|
1424
|
-
* - 'manual': Returns null (user handles DNS)
|
|
1425
|
-
* - Custom: Use provided DnsProvider implementation
|
|
1426
|
-
*/
|
|
1427
|
-
async function createDnsProvider(options) {
|
|
1428
|
-
const { config } = options;
|
|
1429
|
-
if (config.provider === "manual") return null;
|
|
1430
|
-
if ((0, _geekmidas_edge_dns.isDnsProvider)(config.provider)) return config.provider;
|
|
1431
|
-
const provider = config.provider;
|
|
1432
|
-
if (provider === "hostinger") {
|
|
1433
|
-
const { HostingerProvider } = await import("@geekmidas/edge/dns/hostinger");
|
|
1434
|
-
return new HostingerProvider(async () => {
|
|
1435
|
-
const token = options.hostinger?.token ?? await getHostingerToken();
|
|
1436
|
-
if (!token) throw new MissingCredential("hostinger", void 0);
|
|
1437
|
-
return { token };
|
|
1438
|
-
});
|
|
1439
|
-
}
|
|
1440
|
-
if (provider === "route53") {
|
|
1441
|
-
const { Route53Provider } = await import("@geekmidas/edge/dns/route53");
|
|
1442
|
-
const route53Config = config;
|
|
1443
|
-
return new Route53Provider({
|
|
1444
|
-
region: route53Config.region,
|
|
1445
|
-
profile: route53Config.profile,
|
|
1446
|
-
hostedZoneId: route53Config.hostedZoneId
|
|
1447
|
-
});
|
|
1448
|
-
}
|
|
1449
|
-
if (provider === "godaddy") {
|
|
1450
|
-
const { GoDaddyProvider } = await import("@geekmidas/edge/dns/godaddy");
|
|
1451
|
-
const { credential, env, home, ...rest } = options.godaddy ?? {};
|
|
1452
|
-
return new GoDaddyProvider({
|
|
1453
|
-
...rest,
|
|
1454
|
-
credential: async () => {
|
|
1455
|
-
const found = credential ?? await storedCredentials({
|
|
1456
|
-
env: env ?? process.env,
|
|
1457
|
-
...home ? { home } : {}
|
|
1458
|
-
}).get({ kind: "godaddy" });
|
|
1459
|
-
if (!found) throw new MissingCredential("godaddy", void 0);
|
|
1460
|
-
return found;
|
|
1461
|
-
}
|
|
1462
|
-
});
|
|
1463
|
-
}
|
|
1464
|
-
if (provider === "cloudflare") throw new DnsProviderNotImplemented("cloudflare");
|
|
1465
|
-
throw new DnsProviderUnknown(config);
|
|
1466
|
-
}
|
|
1467
|
-
/** A DNS provider gkm names and does not have yet. */
|
|
1468
|
-
var DnsProviderNotImplemented = class extends Error {
|
|
1469
|
-
provider;
|
|
1470
|
-
constructor(provider) {
|
|
1471
|
-
super(`The ${provider} DNS provider is not implemented yet. Use 'route53', 'godaddy', 'hostinger' or 'manual' for this domain in dns, or pass your own DnsProvider object.`);
|
|
1472
|
-
this.provider = provider;
|
|
1473
|
-
this.name = "DnsProviderNotImplemented";
|
|
1474
|
-
}
|
|
1475
|
-
};
|
|
1476
|
-
/** A `provider:` that is none of the built-ins, nor a DnsProvider object. */
|
|
1477
|
-
var DnsProviderUnknown = class extends require_errors.GkmError {
|
|
1478
|
-
config;
|
|
1479
|
-
constructor(config) {
|
|
1480
|
-
super(`Unknown DNS provider: ${JSON.stringify(config)}. dns takes 'route53', 'godaddy', 'hostinger', 'manual', or an object implementing DnsProvider.`);
|
|
1481
|
-
this.config = config;
|
|
1482
|
-
this.name = "DnsProviderUnknown";
|
|
1483
|
-
}
|
|
1484
|
-
};
|
|
1485
|
-
//#endregion
|
|
1486
|
-
//#region src/dns/index.ts
|
|
1487
|
-
/**
|
|
1488
|
-
* DNS orchestration for deployments
|
|
1489
|
-
*
|
|
1490
|
-
* Handles automatic DNS record creation for deployed applications.
|
|
1491
|
-
*/
|
|
1492
|
-
const logger = require_discover.output;
|
|
1493
|
-
/**
|
|
1494
|
-
* Check if DNS config is legacy format (single domain with `domain` property)
|
|
1495
|
-
*/
|
|
1496
|
-
function isLegacyDnsConfig(config) {
|
|
1497
|
-
return typeof config === "object" && config !== null && "provider" in config && "domain" in config;
|
|
1498
|
-
}
|
|
1499
|
-
/**
|
|
1500
|
-
* Normalize DNS config to new multi-domain format
|
|
1501
|
-
*/
|
|
1502
|
-
function normalizeDnsConfig(config) {
|
|
1503
|
-
if (isLegacyDnsConfig(config)) {
|
|
1504
|
-
const { domain, ...providerConfig } = config;
|
|
1505
|
-
return { [domain]: providerConfig };
|
|
1506
|
-
}
|
|
1507
|
-
return config;
|
|
1508
|
-
}
|
|
1509
|
-
/**
|
|
1510
|
-
* Find the root domain for a hostname from available DNS configs
|
|
1511
|
-
*
|
|
1512
|
-
* @example
|
|
1513
|
-
* findRootDomain('api.geekmidas.com', { 'geekmidas.com': {...}, 'geekmidas.dev': {...} })
|
|
1514
|
-
* // Returns 'geekmidas.com'
|
|
1515
|
-
*/
|
|
1516
|
-
function findRootDomain(hostname, dnsConfig) {
|
|
1517
|
-
const domains = Object.keys(dnsConfig).sort((a, b) => b.length - a.length);
|
|
1518
|
-
for (const domain of domains) if (hostname === domain || hostname.endsWith(`.${domain}`)) return domain;
|
|
1519
|
-
return null;
|
|
1520
|
-
}
|
|
1521
|
-
/**
|
|
1522
|
-
* Group hostnames by their root domain
|
|
1523
|
-
*/
|
|
1524
|
-
function groupHostnamesByDomain(appHostnames, dnsConfig) {
|
|
1525
|
-
const grouped = /* @__PURE__ */ new Map();
|
|
1526
|
-
for (const [appName, hostname] of appHostnames) {
|
|
1527
|
-
const rootDomain = findRootDomain(hostname, dnsConfig);
|
|
1528
|
-
if (!rootDomain) {
|
|
1529
|
-
logger.log(` ⚠ No DNS config found for hostname: ${hostname}`);
|
|
1530
|
-
continue;
|
|
1531
|
-
}
|
|
1532
|
-
if (!grouped.has(rootDomain)) grouped.set(rootDomain, /* @__PURE__ */ new Map());
|
|
1533
|
-
grouped.get(rootDomain).set(appName, hostname);
|
|
1534
|
-
}
|
|
1535
|
-
return grouped;
|
|
1536
|
-
}
|
|
1537
|
-
/**
|
|
1538
|
-
* Resolve IP address from a hostname
|
|
1539
|
-
*/
|
|
1540
|
-
async function resolveHostnameToIp(hostname) {
|
|
1541
|
-
try {
|
|
1542
|
-
return (await (0, node_dns_promises.lookup)(hostname, { family: 4 })).address;
|
|
1543
|
-
} catch (error) {
|
|
1544
|
-
throw new Error(`Failed to resolve IP for ${hostname}: ${error instanceof Error ? error.message : "Unknown error"}`);
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
/**
|
|
1548
|
-
* Extract subdomain from full hostname relative to root domain
|
|
1549
|
-
*
|
|
1550
|
-
* @example
|
|
1551
|
-
* extractSubdomain('api.joemoer.traflabs.io', 'traflabs.io') => 'api.joemoer'
|
|
1552
|
-
* extractSubdomain('joemoer.traflabs.io', 'traflabs.io') => 'joemoer'
|
|
1553
|
-
*/
|
|
1554
|
-
function extractSubdomain(hostname, rootDomain) {
|
|
1555
|
-
if (!hostname.endsWith(rootDomain)) throw new Error(`Hostname ${hostname} is not under root domain ${rootDomain}`);
|
|
1556
|
-
return hostname.slice(0, -(rootDomain.length + 1)) || "@";
|
|
1557
|
-
}
|
|
1558
|
-
/**
|
|
1559
|
-
* Generate required DNS records for a deployment
|
|
1560
|
-
*/
|
|
1561
|
-
function generateRequiredRecords(appHostnames, rootDomain, serverIp) {
|
|
1562
|
-
const records = [];
|
|
1563
|
-
for (const [appName, hostname] of appHostnames) {
|
|
1564
|
-
const subdomain = extractSubdomain(hostname, rootDomain);
|
|
1565
|
-
records.push({
|
|
1566
|
-
hostname,
|
|
1567
|
-
subdomain,
|
|
1568
|
-
type: "A",
|
|
1569
|
-
value: serverIp,
|
|
1570
|
-
appName
|
|
1571
|
-
});
|
|
1572
|
-
}
|
|
1573
|
-
return records;
|
|
1574
|
-
}
|
|
1575
|
-
/**
|
|
1576
|
-
* Print DNS records table
|
|
1577
|
-
*/
|
|
1578
|
-
function printDnsRecordsTable(records, rootDomain) {
|
|
1579
|
-
logger.log(`\n 📋 DNS Records for ${rootDomain}:`);
|
|
1580
|
-
logger.log(" ┌─────────────────────────────────────┬──────┬─────────────────┬────────┐");
|
|
1581
|
-
logger.log(" │ Subdomain │ Type │ Value │ Status │");
|
|
1582
|
-
logger.log(" ├─────────────────────────────────────┼──────┼─────────────────┼────────┤");
|
|
1583
|
-
for (const record of records) {
|
|
1584
|
-
const subdomain = record.subdomain.padEnd(35);
|
|
1585
|
-
const type = record.type.padEnd(4);
|
|
1586
|
-
const value = record.value.padEnd(15);
|
|
1587
|
-
let status;
|
|
1588
|
-
if (record.error) status = "✗";
|
|
1589
|
-
else if (record.created) status = "✓ new";
|
|
1590
|
-
else if (record.existed) status = "✓";
|
|
1591
|
-
else status = "?";
|
|
1592
|
-
logger.log(` │ ${subdomain} │ ${type} │ ${value} │ ${status.padEnd(6)} │`);
|
|
1593
|
-
}
|
|
1594
|
-
logger.log(" └─────────────────────────────────────┴──────┴─────────────────┴────────┘");
|
|
1595
|
-
}
|
|
1596
|
-
/**
|
|
1597
|
-
* Print DNS records in a simple format for manual setup
|
|
1598
|
-
*/
|
|
1599
|
-
function printDnsRecordsSimple(records, rootDomain) {
|
|
1600
|
-
logger.log("\n 📋 Required DNS Records:");
|
|
1601
|
-
logger.log(` Add these A records to your DNS provider (${rootDomain}):\n`);
|
|
1602
|
-
for (const record of records) logger.log(` ${record.subdomain} → ${record.value} (A record)`);
|
|
1603
|
-
logger.log("");
|
|
1604
|
-
}
|
|
1605
|
-
/**
|
|
1606
|
-
* Create DNS records for a single domain using its configured provider
|
|
1607
|
-
*/
|
|
1608
|
-
async function createDnsRecordsForDomain(records, rootDomain, providerConfig) {
|
|
1609
|
-
const ttl = "ttl" in providerConfig && providerConfig.ttl ? providerConfig.ttl : 300;
|
|
1610
|
-
let provider;
|
|
1611
|
-
try {
|
|
1612
|
-
provider = await createDnsProvider({ config: providerConfig });
|
|
1613
|
-
} catch (error) {
|
|
1614
|
-
const message = error instanceof Error ? error.message : "Unknown error";
|
|
1615
|
-
logger.log(` ⚠ Failed to create DNS provider for ${rootDomain}: ${message}`);
|
|
1616
|
-
return records.map((r) => ({
|
|
1617
|
-
...r,
|
|
1618
|
-
error: message
|
|
1619
|
-
}));
|
|
1620
|
-
}
|
|
1621
|
-
if (!provider) return records.map((r) => ({
|
|
1622
|
-
...r,
|
|
1623
|
-
created: false,
|
|
1624
|
-
existed: false
|
|
1625
|
-
}));
|
|
1626
|
-
const results = [];
|
|
1627
|
-
const upsertRecords = records.map((r) => ({
|
|
1628
|
-
name: r.subdomain,
|
|
1629
|
-
type: r.type,
|
|
1630
|
-
ttl,
|
|
1631
|
-
value: r.value
|
|
1632
|
-
}));
|
|
1633
|
-
try {
|
|
1634
|
-
const upsertResults = await provider.upsertRecords(rootDomain, upsertRecords);
|
|
1635
|
-
for (const [i, record] of records.entries()) {
|
|
1636
|
-
const result = upsertResults[i];
|
|
1637
|
-
if (!result) {
|
|
1638
|
-
results.push({
|
|
1639
|
-
hostname: record.hostname,
|
|
1640
|
-
subdomain: record.subdomain,
|
|
1641
|
-
type: record.type,
|
|
1642
|
-
value: record.value,
|
|
1643
|
-
appName: record.appName,
|
|
1644
|
-
error: "No result returned from provider"
|
|
1645
|
-
});
|
|
1646
|
-
continue;
|
|
1647
|
-
}
|
|
1648
|
-
if (result.unchanged) results.push({
|
|
1649
|
-
hostname: record.hostname,
|
|
1650
|
-
subdomain: record.subdomain,
|
|
1651
|
-
type: record.type,
|
|
1652
|
-
value: record.value,
|
|
1653
|
-
appName: record.appName,
|
|
1654
|
-
existed: true,
|
|
1655
|
-
created: false
|
|
1656
|
-
});
|
|
1657
|
-
else results.push({
|
|
1658
|
-
hostname: record.hostname,
|
|
1659
|
-
subdomain: record.subdomain,
|
|
1660
|
-
type: record.type,
|
|
1661
|
-
value: record.value,
|
|
1662
|
-
appName: record.appName,
|
|
1663
|
-
created: result.created,
|
|
1664
|
-
existed: !result.created
|
|
1665
|
-
});
|
|
1666
|
-
}
|
|
1667
|
-
} catch (error) {
|
|
1668
|
-
const message = error instanceof Error ? error.message : "Unknown error";
|
|
1669
|
-
logger.log(` ⚠ Failed to create DNS records for ${rootDomain}: ${message}`);
|
|
1670
|
-
return records.map((r) => ({
|
|
1671
|
-
hostname: r.hostname,
|
|
1672
|
-
subdomain: r.subdomain,
|
|
1673
|
-
type: r.type,
|
|
1674
|
-
value: r.value,
|
|
1675
|
-
appName: r.appName,
|
|
1676
|
-
error: message
|
|
1677
|
-
}));
|
|
1678
|
-
}
|
|
1679
|
-
return results;
|
|
1680
|
-
}
|
|
1681
|
-
/**
|
|
1682
|
-
* Main DNS orchestration function for deployments
|
|
1683
|
-
*
|
|
1684
|
-
* Supports both legacy single-domain format and new multi-domain format:
|
|
1685
|
-
* - Legacy: { provider: 'hostinger', domain: 'example.com' }
|
|
1686
|
-
* - Multi: { 'example.com': { provider: 'hostinger' }, 'example.dev': { provider: 'route53' } }
|
|
1687
|
-
*
|
|
1688
|
-
* @param appHostnames - Map of app names to hostnames
|
|
1689
|
-
* @param dnsConfig - DNS configuration (legacy or multi-domain)
|
|
1690
|
-
* @param dokployEndpoint - Dokploy server endpoint to resolve IP from
|
|
1691
|
-
* @param state - Optional state to save created records for later deletion
|
|
1692
|
-
*/
|
|
1693
|
-
async function orchestrateDns(appHostnames, dnsConfig, dokployEndpoint, state) {
|
|
1694
|
-
if (!dnsConfig) return null;
|
|
1695
|
-
const normalizedConfig = normalizeDnsConfig(dnsConfig);
|
|
1696
|
-
logger.log("\n🌐 Setting up DNS records...");
|
|
1697
|
-
let serverIp;
|
|
1698
|
-
try {
|
|
1699
|
-
const endpointUrl = new URL(dokployEndpoint);
|
|
1700
|
-
serverIp = await resolveHostnameToIp(endpointUrl.hostname);
|
|
1701
|
-
logger.log(` Server IP: ${serverIp} (from ${endpointUrl.hostname})`);
|
|
1702
|
-
} catch (error) {
|
|
1703
|
-
const message = error instanceof Error ? error.message : "Unknown error";
|
|
1704
|
-
logger.log(` ⚠ Failed to resolve server IP: ${message}`);
|
|
1705
|
-
return null;
|
|
1706
|
-
}
|
|
1707
|
-
const groupedHostnames = groupHostnamesByDomain(appHostnames, normalizedConfig);
|
|
1708
|
-
if (groupedHostnames.size === 0) {
|
|
1709
|
-
logger.log(" No DNS records needed (no hostnames match configured domains)");
|
|
1710
|
-
return {
|
|
1711
|
-
records: [],
|
|
1712
|
-
success: true,
|
|
1713
|
-
serverIp
|
|
1714
|
-
};
|
|
1715
|
-
}
|
|
1716
|
-
const allRecords = [];
|
|
1717
|
-
let hasFailures = false;
|
|
1718
|
-
for (const [rootDomain, domainHostnames] of groupedHostnames) {
|
|
1719
|
-
const providerConfig = normalizedConfig[rootDomain];
|
|
1720
|
-
if (!providerConfig) {
|
|
1721
|
-
logger.log(` ⚠ No provider config for ${rootDomain}`);
|
|
1722
|
-
continue;
|
|
1723
|
-
}
|
|
1724
|
-
const providerName = typeof providerConfig.provider === "string" ? providerConfig.provider : "custom";
|
|
1725
|
-
const requiredRecords = generateRequiredRecords(domainHostnames, rootDomain, serverIp);
|
|
1726
|
-
if (requiredRecords.length === 0) continue;
|
|
1727
|
-
logger.log(` Creating DNS records for ${rootDomain} (${providerName})...`);
|
|
1728
|
-
const domainRecords = await createDnsRecordsForDomain(requiredRecords, rootDomain, providerConfig);
|
|
1729
|
-
allRecords.push(...domainRecords);
|
|
1730
|
-
const created = domainRecords.filter((r) => r.created).length;
|
|
1731
|
-
const existed = domainRecords.filter((r) => r.existed).length;
|
|
1732
|
-
const failed = domainRecords.filter((r) => r.error).length;
|
|
1733
|
-
if (created > 0) logger.log(` ✓ Created ${created} DNS record(s) for ${rootDomain}`);
|
|
1734
|
-
if (existed > 0) logger.log(` ✓ ${existed} record(s) already exist for ${rootDomain}`);
|
|
1735
|
-
if (failed > 0) {
|
|
1736
|
-
logger.log(` ⚠ ${failed} record(s) failed for ${rootDomain}`);
|
|
1737
|
-
hasFailures = true;
|
|
1738
|
-
}
|
|
1739
|
-
if (state) {
|
|
1740
|
-
for (const record of domainRecords) if (record.created || record.existed) setDnsRecord(state, {
|
|
1741
|
-
domain: rootDomain,
|
|
1742
|
-
name: record.subdomain,
|
|
1743
|
-
type: record.type,
|
|
1744
|
-
value: record.value,
|
|
1745
|
-
ttl: "ttl" in providerConfig && providerConfig.ttl ? providerConfig.ttl : 300
|
|
1746
|
-
});
|
|
1747
|
-
}
|
|
1748
|
-
printDnsRecordsTable(domainRecords, rootDomain);
|
|
1749
|
-
if (providerConfig.provider === "manual" || failed > 0) printDnsRecordsSimple(domainRecords.filter((r) => !r.created && !r.existed), rootDomain);
|
|
1750
|
-
}
|
|
1751
|
-
return {
|
|
1752
|
-
records: allRecords,
|
|
1753
|
-
success: !hasFailures,
|
|
1754
|
-
serverIp
|
|
1755
|
-
};
|
|
1756
|
-
}
|
|
1757
|
-
/**
|
|
1758
|
-
* Verify DNS records resolve correctly after deployment.
|
|
1759
|
-
*
|
|
1760
|
-
* This function:
|
|
1761
|
-
* 1. Checks state for previously verified hostnames (skips if already verified with same IP)
|
|
1762
|
-
* 2. Attempts to resolve each hostname to an IP
|
|
1763
|
-
* 3. Compares resolved IP with expected server IP
|
|
1764
|
-
* 4. Updates state with verification results
|
|
1765
|
-
*
|
|
1766
|
-
* @param appHostnames - Map of app names to hostnames
|
|
1767
|
-
* @param serverIp - Expected IP address the hostnames should resolve to
|
|
1768
|
-
* @param state - Deploy state for caching verification results
|
|
1769
|
-
* @returns Array of verification results
|
|
1770
|
-
*/
|
|
1771
|
-
async function verifyDnsRecords(appHostnames, serverIp, state) {
|
|
1772
|
-
const results = [];
|
|
1773
|
-
logger.log("\n🔍 Verifying DNS records...");
|
|
1774
|
-
for (const [appName, hostname] of appHostnames) {
|
|
1775
|
-
if (isDnsVerified(state, hostname, serverIp)) {
|
|
1776
|
-
logger.log(` ✓ ${hostname} (previously verified)`);
|
|
1777
|
-
results.push({
|
|
1778
|
-
hostname,
|
|
1779
|
-
appName,
|
|
1780
|
-
verified: true,
|
|
1781
|
-
expectedIp: serverIp,
|
|
1782
|
-
skipped: true
|
|
1783
|
-
});
|
|
1784
|
-
continue;
|
|
1785
|
-
}
|
|
1786
|
-
try {
|
|
1787
|
-
const resolvedIp = await resolveHostnameToIp(hostname);
|
|
1788
|
-
if (resolvedIp === serverIp) {
|
|
1789
|
-
setDnsVerification(state, hostname, serverIp);
|
|
1790
|
-
logger.log(` ✓ ${hostname} → ${resolvedIp}`);
|
|
1791
|
-
results.push({
|
|
1792
|
-
hostname,
|
|
1793
|
-
appName,
|
|
1794
|
-
verified: true,
|
|
1795
|
-
resolvedIp,
|
|
1796
|
-
expectedIp: serverIp
|
|
1797
|
-
});
|
|
1798
|
-
} else {
|
|
1799
|
-
logger.log(` ⚠ ${hostname} resolves to ${resolvedIp}, expected ${serverIp}`);
|
|
1800
|
-
results.push({
|
|
1801
|
-
hostname,
|
|
1802
|
-
appName,
|
|
1803
|
-
verified: false,
|
|
1804
|
-
resolvedIp,
|
|
1805
|
-
expectedIp: serverIp
|
|
1806
|
-
});
|
|
1807
|
-
}
|
|
1808
|
-
} catch (error) {
|
|
1809
|
-
const message = error instanceof Error ? error.message : "Unknown error";
|
|
1810
|
-
logger.log(` ⚠ ${hostname} DNS not propagated (${message})`);
|
|
1811
|
-
results.push({
|
|
1812
|
-
hostname,
|
|
1813
|
-
appName,
|
|
1814
|
-
verified: false,
|
|
1815
|
-
expectedIp: serverIp,
|
|
1816
|
-
error: message
|
|
1817
|
-
});
|
|
1818
|
-
}
|
|
1819
|
-
}
|
|
1820
|
-
const verified = results.filter((r) => r.verified).length;
|
|
1821
|
-
const skipped = results.filter((r) => r.skipped).length;
|
|
1822
|
-
const pending = results.filter((r) => !r.verified).length;
|
|
1823
|
-
if (pending > 0) {
|
|
1824
|
-
logger.log(`\n ${verified} verified, ${pending} pending propagation`);
|
|
1825
|
-
logger.log(" DNS changes may take 5-30 minutes to propagate");
|
|
1826
|
-
} else if (skipped > 0) logger.log(` ${verified} verified (${skipped} from cache)`);
|
|
1827
|
-
return results;
|
|
1828
|
-
}
|
|
1829
|
-
//#endregion
|
|
1830
|
-
Object.defineProperty(exports, "CommandFailed", {
|
|
1831
|
-
enumerable: true,
|
|
1832
|
-
get: function() {
|
|
1833
|
-
return CommandFailed;
|
|
1834
|
-
}
|
|
1835
|
-
});
|
|
1836
|
-
Object.defineProperty(exports, "CommandTimedOut", {
|
|
1837
|
-
enumerable: true,
|
|
1838
|
-
get: function() {
|
|
1839
|
-
return CommandTimedOut;
|
|
1840
|
-
}
|
|
1841
|
-
});
|
|
1842
|
-
Object.defineProperty(exports, "DEFAULT_TIMEOUT_MS", {
|
|
1843
|
-
enumerable: true,
|
|
1844
|
-
get: function() {
|
|
1845
|
-
return DEFAULT_TIMEOUT_MS;
|
|
1846
|
-
}
|
|
1847
|
-
});
|
|
1848
1115
|
Object.defineProperty(exports, "FileSecretsStore", {
|
|
1849
1116
|
enumerable: true,
|
|
1850
1117
|
get: function() {
|
|
@@ -1869,12 +1136,6 @@ Object.defineProperty(exports, "applicationName", {
|
|
|
1869
1136
|
return applicationName;
|
|
1870
1137
|
}
|
|
1871
1138
|
});
|
|
1872
|
-
Object.defineProperty(exports, "asDokployState", {
|
|
1873
|
-
enumerable: true,
|
|
1874
|
-
get: function() {
|
|
1875
|
-
return asDokployState;
|
|
1876
|
-
}
|
|
1877
|
-
});
|
|
1878
1139
|
Object.defineProperty(exports, "bundleExternals", {
|
|
1879
1140
|
enumerable: true,
|
|
1880
1141
|
get: function() {
|
|
@@ -1893,24 +1154,6 @@ Object.defineProperty(exports, "chainCredentials", {
|
|
|
1893
1154
|
return chainCredentials;
|
|
1894
1155
|
}
|
|
1895
1156
|
});
|
|
1896
|
-
Object.defineProperty(exports, "createComposeState", {
|
|
1897
|
-
enumerable: true,
|
|
1898
|
-
get: function() {
|
|
1899
|
-
return createComposeState;
|
|
1900
|
-
}
|
|
1901
|
-
});
|
|
1902
|
-
Object.defineProperty(exports, "createDnsProvider", {
|
|
1903
|
-
enumerable: true,
|
|
1904
|
-
get: function() {
|
|
1905
|
-
return createDnsProvider;
|
|
1906
|
-
}
|
|
1907
|
-
});
|
|
1908
|
-
Object.defineProperty(exports, "createEmptyState", {
|
|
1909
|
-
enumerable: true,
|
|
1910
|
-
get: function() {
|
|
1911
|
-
return createEmptyState;
|
|
1912
|
-
}
|
|
1913
|
-
});
|
|
1914
1157
|
Object.defineProperty(exports, "decrypt", {
|
|
1915
1158
|
enumerable: true,
|
|
1916
1159
|
get: function() {
|
|
@@ -1941,24 +1184,6 @@ Object.defineProperty(exports, "externalsManifestName", {
|
|
|
1941
1184
|
return externalsManifestName;
|
|
1942
1185
|
}
|
|
1943
1186
|
});
|
|
1944
|
-
Object.defineProperty(exports, "extractSubdomain", {
|
|
1945
|
-
enumerable: true,
|
|
1946
|
-
get: function() {
|
|
1947
|
-
return extractSubdomain;
|
|
1948
|
-
}
|
|
1949
|
-
});
|
|
1950
|
-
Object.defineProperty(exports, "findRootDomain", {
|
|
1951
|
-
enumerable: true,
|
|
1952
|
-
get: function() {
|
|
1953
|
-
return findRootDomain;
|
|
1954
|
-
}
|
|
1955
|
-
});
|
|
1956
|
-
Object.defineProperty(exports, "getBackupState", {
|
|
1957
|
-
enumerable: true,
|
|
1958
|
-
get: function() {
|
|
1959
|
-
return getBackupState;
|
|
1960
|
-
}
|
|
1961
|
-
});
|
|
1962
1187
|
Object.defineProperty(exports, "getCredentialsPath", {
|
|
1963
1188
|
enumerable: true,
|
|
1964
1189
|
get: function() {
|
|
@@ -1983,10 +1208,10 @@ Object.defineProperty(exports, "getDokployToken", {
|
|
|
1983
1208
|
return getDokployToken;
|
|
1984
1209
|
}
|
|
1985
1210
|
});
|
|
1986
|
-
Object.defineProperty(exports, "
|
|
1211
|
+
Object.defineProperty(exports, "getHostingerToken", {
|
|
1987
1212
|
enumerable: true,
|
|
1988
1213
|
get: function() {
|
|
1989
|
-
return
|
|
1214
|
+
return getHostingerToken;
|
|
1990
1215
|
}
|
|
1991
1216
|
});
|
|
1992
1217
|
Object.defineProperty(exports, "getKeyPath", {
|
|
@@ -2067,18 +1292,6 @@ Object.defineProperty(exports, "maskPassword", {
|
|
|
2067
1292
|
return maskPassword;
|
|
2068
1293
|
}
|
|
2069
1294
|
});
|
|
2070
|
-
Object.defineProperty(exports, "normalizeDnsConfig", {
|
|
2071
|
-
enumerable: true,
|
|
2072
|
-
get: function() {
|
|
2073
|
-
return normalizeDnsConfig;
|
|
2074
|
-
}
|
|
2075
|
-
});
|
|
2076
|
-
Object.defineProperty(exports, "orchestrateDns", {
|
|
2077
|
-
enumerable: true,
|
|
2078
|
-
get: function() {
|
|
2079
|
-
return orchestrateDns;
|
|
2080
|
-
}
|
|
2081
|
-
});
|
|
2082
1295
|
Object.defineProperty(exports, "ownershipMarker", {
|
|
2083
1296
|
enumerable: true,
|
|
2084
1297
|
get: function() {
|
|
@@ -2115,18 +1328,6 @@ Object.defineProperty(exports, "readKey", {
|
|
|
2115
1328
|
return readKey;
|
|
2116
1329
|
}
|
|
2117
1330
|
});
|
|
2118
|
-
Object.defineProperty(exports, "recordRelease", {
|
|
2119
|
-
enumerable: true,
|
|
2120
|
-
get: function() {
|
|
2121
|
-
return recordRelease;
|
|
2122
|
-
}
|
|
2123
|
-
});
|
|
2124
|
-
Object.defineProperty(exports, "recordRollback", {
|
|
2125
|
-
enumerable: true,
|
|
2126
|
-
get: function() {
|
|
2127
|
-
return recordRollback;
|
|
2128
|
-
}
|
|
2129
|
-
});
|
|
2130
1331
|
Object.defineProperty(exports, "removeDokployCredentials", {
|
|
2131
1332
|
enumerable: true,
|
|
2132
1333
|
get: function() {
|
|
@@ -2139,48 +1340,12 @@ Object.defineProperty(exports, "removeGoDaddyCredentials", {
|
|
|
2139
1340
|
return removeGoDaddyCredentials;
|
|
2140
1341
|
}
|
|
2141
1342
|
});
|
|
2142
|
-
Object.defineProperty(exports, "run", {
|
|
2143
|
-
enumerable: true,
|
|
2144
|
-
get: function() {
|
|
2145
|
-
return run;
|
|
2146
|
-
}
|
|
2147
|
-
});
|
|
2148
|
-
Object.defineProperty(exports, "runOutput", {
|
|
2149
|
-
enumerable: true,
|
|
2150
|
-
get: function() {
|
|
2151
|
-
return runOutput;
|
|
2152
|
-
}
|
|
2153
|
-
});
|
|
2154
1343
|
Object.defineProperty(exports, "secretsStoreFor", {
|
|
2155
1344
|
enumerable: true,
|
|
2156
1345
|
get: function() {
|
|
2157
1346
|
return secretsStoreFor;
|
|
2158
1347
|
}
|
|
2159
1348
|
});
|
|
2160
|
-
Object.defineProperty(exports, "setApplicationId", {
|
|
2161
|
-
enumerable: true,
|
|
2162
|
-
get: function() {
|
|
2163
|
-
return setApplicationId;
|
|
2164
|
-
}
|
|
2165
|
-
});
|
|
2166
|
-
Object.defineProperty(exports, "setBackupState", {
|
|
2167
|
-
enumerable: true,
|
|
2168
|
-
get: function() {
|
|
2169
|
-
return setBackupState;
|
|
2170
|
-
}
|
|
2171
|
-
});
|
|
2172
|
-
Object.defineProperty(exports, "setGeneratedSecret", {
|
|
2173
|
-
enumerable: true,
|
|
2174
|
-
get: function() {
|
|
2175
|
-
return setGeneratedSecret;
|
|
2176
|
-
}
|
|
2177
|
-
});
|
|
2178
|
-
Object.defineProperty(exports, "setPostgresBackupId", {
|
|
2179
|
-
enumerable: true,
|
|
2180
|
-
get: function() {
|
|
2181
|
-
return setPostgresBackupId;
|
|
2182
|
-
}
|
|
2183
|
-
});
|
|
2184
1349
|
Object.defineProperty(exports, "stageTag", {
|
|
2185
1350
|
enumerable: true,
|
|
2186
1351
|
get: function() {
|
|
@@ -2241,12 +1406,6 @@ Object.defineProperty(exports, "toEmbeddableSecrets", {
|
|
|
2241
1406
|
return toEmbeddableSecrets;
|
|
2242
1407
|
}
|
|
2243
1408
|
});
|
|
2244
|
-
Object.defineProperty(exports, "verifyDnsRecords", {
|
|
2245
|
-
enumerable: true,
|
|
2246
|
-
get: function() {
|
|
2247
|
-
return verifyDnsRecords;
|
|
2248
|
-
}
|
|
2249
|
-
});
|
|
2250
1409
|
Object.defineProperty(exports, "withCustomSecret", {
|
|
2251
1410
|
enumerable: true,
|
|
2252
1411
|
get: function() {
|
|
@@ -2254,4 +1413,4 @@ Object.defineProperty(exports, "withCustomSecret", {
|
|
|
2254
1413
|
}
|
|
2255
1414
|
});
|
|
2256
1415
|
|
|
2257
|
-
//# sourceMappingURL=
|
|
1416
|
+
//# sourceMappingURL=credentials-n2abUWwJ.cjs.map
|