@geekmidas/cli 10.0.0-alpha.168 → 10.0.0-alpha.169
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-CJIYlkUN.mjs → GoDaddyProvider-Cvmy2SPq.mjs} +2 -2
- package/dist/{GoDaddyProvider-CJIYlkUN.mjs.map → GoDaddyProvider-Cvmy2SPq.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-CYAlIeML.cjs → GoDaddyProvider-KmdZlFSL.cjs} +2 -2
- package/dist/{GoDaddyProvider-CYAlIeML.cjs.map → GoDaddyProvider-KmdZlFSL.cjs.map} +1 -1
- package/dist/{HostingerProvider-Ceqc_nlG.cjs → HostingerProvider--IyQKlIC.cjs} +2 -2
- package/dist/{HostingerProvider-Ceqc_nlG.cjs.map → HostingerProvider--IyQKlIC.cjs.map} +1 -1
- package/dist/{HostingerProvider-Tb0bnTpM.mjs → HostingerProvider-DYf1XT_W.mjs} +2 -2
- package/dist/{HostingerProvider-Tb0bnTpM.mjs.map → HostingerProvider-DYf1XT_W.mjs.map} +1 -1
- package/dist/{LegacyStateStore-Ci-CRqt2.cjs → LegacyStateStore-8GVMHI12.cjs} +2 -2
- package/dist/{LegacyStateStore-Ci-CRqt2.cjs.map → LegacyStateStore-8GVMHI12.cjs.map} +1 -1
- package/dist/{LegacyStateStore-DJWY64Jj.mjs → LegacyStateStore-BOZj8nj1.mjs} +2 -2
- package/dist/{LegacyStateStore-DJWY64Jj.mjs.map → LegacyStateStore-BOZj8nj1.mjs.map} +1 -1
- package/dist/{LocalStateStore-Enw_wV7d.cjs → LocalStateStore-CfBABk6G.cjs} +2 -2
- package/dist/{LocalStateStore-Enw_wV7d.cjs.map → LocalStateStore-CfBABk6G.cjs.map} +1 -1
- package/dist/{LocalStateStore-BFgjv29N.mjs → LocalStateStore-D3wY7Qkb.mjs} +2 -2
- package/dist/{LocalStateStore-BFgjv29N.mjs.map → LocalStateStore-D3wY7Qkb.mjs.map} +1 -1
- package/dist/{S3StateStore-B48M3z7L.cjs → S3StateStore-C-Fs7CWD.cjs} +4 -4
- package/dist/{S3StateStore-B48M3z7L.cjs.map → S3StateStore-C-Fs7CWD.cjs.map} +1 -1
- package/dist/{S3StateStore-Cwfd-ZnJ.mjs → S3StateStore-CO92LBQI.mjs} +4 -4
- package/dist/{S3StateStore-Cwfd-ZnJ.mjs.map → S3StateStore-CO92LBQI.mjs.map} +1 -1
- package/dist/{SSMStateStore-DYgE98Sm.mjs → SSMStateStore-Ns7FpnmB.mjs} +2 -2
- package/dist/{SSMStateStore-DYgE98Sm.mjs.map → SSMStateStore-Ns7FpnmB.mjs.map} +1 -1
- package/dist/{SSMStateStore-CuBe-NK5.cjs → SSMStateStore-t6mkXQew.cjs} +2 -2
- package/dist/{SSMStateStore-CuBe-NK5.cjs.map → SSMStateStore-t6mkXQew.cjs.map} +1 -1
- package/dist/{add-C85tazt0.mjs → add-Byp8-rRf.mjs} +5 -5
- package/dist/{add-C85tazt0.mjs.map → add-Byp8-rRf.mjs.map} +1 -1
- package/dist/{add-4AT0LlDK.cjs → add-C3oUiBAc.cjs} +5 -5
- package/dist/{add-4AT0LlDK.cjs.map → add-C3oUiBAc.cjs.map} +1 -1
- package/dist/{apps-CWGmV2nQ.mjs → apps-C21-TXqR.mjs} +72 -16
- package/dist/apps-C21-TXqR.mjs.map +1 -0
- package/dist/{apps-By6pnfzA.cjs → apps-D_-DXV0H.cjs} +76 -14
- package/dist/apps-D_-DXV0H.cjs.map +1 -0
- package/dist/{bundler-DPBLrtjT.cjs → bundler-D43S2YTJ.cjs} +6 -6
- package/dist/{bundler-DPBLrtjT.cjs.map → bundler-D43S2YTJ.cjs.map} +1 -1
- package/dist/{bundler-B9rkNGpK.mjs → bundler-DjfpJ0mX.mjs} +6 -6
- package/dist/{bundler-B9rkNGpK.mjs.map → bundler-DjfpJ0mX.mjs.map} +1 -1
- package/dist/{cli-DgL0QED8.mjs → cli-00fMnBFk.mjs} +4 -4
- package/dist/{cli-DgL0QED8.mjs.map → cli-00fMnBFk.mjs.map} +1 -1
- package/dist/{cli-BnWRqhwx.cjs → cli-CYBb8rgx.cjs} +4 -4
- package/dist/{cli-BnWRqhwx.cjs.map → cli-CYBb8rgx.cjs.map} +1 -1
- package/dist/{compose-CLM-sqgE.cjs → compose-D9ksPt5H.cjs} +8 -8
- package/dist/{compose-CLM-sqgE.cjs.map → compose-D9ksPt5H.cjs.map} +1 -1
- package/dist/{compose-DwjaxFFK.cjs → compose-Dgd-yfJT.cjs} +5 -5
- package/dist/{compose-DwjaxFFK.cjs.map → compose-Dgd-yfJT.cjs.map} +1 -1
- package/dist/{compose-CcK-QoYU.mjs → compose-MwgjPj_A.mjs} +8 -8
- package/dist/{compose-CcK-QoYU.mjs.map → compose-MwgjPj_A.mjs.map} +1 -1
- package/dist/{compose-DuRBnjxx.mjs → compose-rn_DWcup.mjs} +5 -5
- package/dist/{compose-DuRBnjxx.mjs.map → compose-rn_DWcup.mjs.map} +1 -1
- package/dist/config.cjs +1 -1
- package/dist/config.mjs +1 -1
- package/dist/{credentials-CCCAy3NL.cjs → credentials-C6n_kdu4.cjs} +6 -6
- package/dist/{credentials-CCCAy3NL.cjs.map → credentials-C6n_kdu4.cjs.map} +1 -1
- package/dist/{credentials-CeCOEKP3.mjs → credentials-kK0X754I.mjs} +6 -6
- package/dist/{credentials-CeCOEKP3.mjs.map → credentials-kK0X754I.mjs.map} +1 -1
- package/dist/deploy/public.cjs +11 -11
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +11 -11
- package/dist/{deploy-Dy5jyciI.cjs → deploy-C1gf4bT-.cjs} +25 -23
- package/dist/deploy-C1gf4bT-.cjs.map +1 -0
- package/dist/{deploy-F6GA-u59.mjs → deploy-CFuDCbTq.mjs} +26 -24
- package/dist/deploy-CFuDCbTq.mjs.map +1 -0
- package/dist/{destroy-B7-8EgCJ.cjs → destroy-CMz0BPEe.cjs} +9 -9
- package/dist/{destroy-B7-8EgCJ.cjs.map → destroy-CMz0BPEe.cjs.map} +1 -1
- package/dist/{destroy-Gyxrl5yO.mjs → destroy-UTWZmaGn.mjs} +9 -9
- package/dist/{destroy-Gyxrl5yO.mjs.map → destroy-UTWZmaGn.mjs.map} +1 -1
- package/dist/{docker-COHyyOkv.mjs → docker-BIuidyEB.mjs} +5 -5
- package/dist/{docker-COHyyOkv.mjs.map → docker-BIuidyEB.mjs.map} +1 -1
- package/dist/{docker-CP4bspkW.cjs → docker-BrdCdNwm.cjs} +5 -5
- package/dist/{docker-CP4bspkW.cjs.map → docker-BrdCdNwm.cjs.map} +1 -1
- package/dist/{dokploy-DBmB9vWu.mjs → dokploy--ndQ72iu.mjs} +2 -2
- package/dist/{dokploy-DBmB9vWu.mjs.map → dokploy--ndQ72iu.mjs.map} +1 -1
- package/dist/{dokploy-C7ampvzk.cjs → dokploy-D7ZChrtZ.cjs} +2 -2
- package/dist/{dokploy-C7ampvzk.cjs.map → dokploy-D7ZChrtZ.cjs.map} +1 -1
- package/dist/{eas-EXRkhGSM.mjs → eas-BCcpBC4k.mjs} +3 -3
- package/dist/{eas-EXRkhGSM.mjs.map → eas-BCcpBC4k.mjs.map} +1 -1
- package/dist/{eas-CbnTdz8d.cjs → eas-DCvA907G.cjs} +3 -3
- package/dist/{eas-CbnTdz8d.cjs.map → eas-DCvA907G.cjs.map} +1 -1
- package/dist/{encryption-CdDDSAu_.cjs → encryption-8TklMCh2.cjs} +3 -3
- package/dist/{encryption-CdDDSAu_.cjs.map → encryption-8TklMCh2.cjs.map} +1 -1
- package/dist/{encryption-lLZV2eMs.mjs → encryption-C2LzfQp8.mjs} +3 -3
- package/dist/{encryption-lLZV2eMs.mjs.map → encryption-C2LzfQp8.mjs.map} +1 -1
- package/dist/{engine-Cg92m1Xf.cjs → engine-BMoNLayn.cjs} +9 -9
- package/dist/{engine-Cg92m1Xf.cjs.map → engine-BMoNLayn.cjs.map} +1 -1
- package/dist/{engine-ZzUy2czq.mjs → engine-D-_nkxQL.mjs} +9 -9
- package/dist/{engine-ZzUy2czq.mjs.map → engine-D-_nkxQL.mjs.map} +1 -1
- package/dist/{github-CPpJmNgV.mjs → github-B_zfStMR.mjs} +7 -7
- package/dist/{github-CPpJmNgV.mjs.map → github-B_zfStMR.mjs.map} +1 -1
- package/dist/{github-BHqRcUgU.cjs → github-CZjNDPAp.cjs} +7 -7
- package/dist/{github-BHqRcUgU.cjs.map → github-CZjNDPAp.cjs.map} +1 -1
- package/dist/{googlePlay-Dg-0ASWN.mjs → googlePlay-BcVRYMh4.mjs} +4 -4
- package/dist/{googlePlay-Dg-0ASWN.mjs.map → googlePlay-BcVRYMh4.mjs.map} +1 -1
- package/dist/{googlePlay-DRz0ya3q.cjs → googlePlay-Btn0lut5.cjs} +4 -4
- package/dist/{googlePlay-DRz0ya3q.cjs.map → googlePlay-Btn0lut5.cjs.map} +1 -1
- package/dist/{iam-b4IvC1fm.cjs → iam-BoYPPNdM.cjs} +2 -2
- package/dist/{iam-b4IvC1fm.cjs.map → iam-BoYPPNdM.cjs.map} +1 -1
- package/dist/{iam-CLIne3Ny.mjs → iam-ra1_Y405.mjs} +2 -2
- package/dist/{iam-CLIne3Ny.mjs.map → iam-ra1_Y405.mjs.map} +1 -1
- package/dist/index.cjs +63 -63
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +63 -63
- package/dist/index.mjs.map +1 -1
- package/dist/{local-Cin6exc0.mjs → local-B9Vniy-F.mjs} +2 -2
- package/dist/{local-Cin6exc0.mjs.map → local-B9Vniy-F.mjs.map} +1 -1
- package/dist/{local-BIrl0ENw.cjs → local-DxfqOu7A.cjs} +2 -2
- package/dist/{local-BIrl0ENw.cjs.map → local-DxfqOu7A.cjs.map} +1 -1
- package/dist/{migrate-BtkwylxW.cjs → migrate-C1u7Tl7D.cjs} +5 -5
- package/dist/{migrate-BtkwylxW.cjs.map → migrate-C1u7Tl7D.cjs.map} +1 -1
- package/dist/{migrate-CxI07Ey0.cjs → migrate-CcYfCpMe.cjs} +3 -3
- package/dist/{migrate-CxI07Ey0.cjs.map → migrate-CcYfCpMe.cjs.map} +1 -1
- package/dist/{migrate-DEU8I8sQ.mjs → migrate-b5rcr4sw.mjs} +5 -5
- package/dist/{migrate-DEU8I8sQ.mjs.map → migrate-b5rcr4sw.mjs.map} +1 -1
- package/dist/{migrate-DpLMJLCw.mjs → migrate-blnmh2Tm.mjs} +3 -3
- package/dist/{migrate-DpLMJLCw.mjs.map → migrate-blnmh2Tm.mjs.map} +1 -1
- package/dist/{notes-or_kXTal.mjs → notes-CT1jNLDC.mjs} +6 -5
- package/dist/notes-CT1jNLDC.mjs.map +1 -0
- package/dist/{notes-rTfi6rfN.cjs → notes-Cw3JQ0Y_.cjs} +5 -4
- package/dist/notes-Cw3JQ0Y_.cjs.map +1 -0
- package/dist/openapi.cjs +1 -1
- package/dist/openapi.mjs +1 -1
- package/dist/{projectBucket-CRa1b1Td.cjs → projectBucket-8hJmCusk.cjs} +2 -2
- package/dist/{projectBucket-CRa1b1Td.cjs.map → projectBucket-8hJmCusk.cjs.map} +1 -1
- package/dist/{projectBucket-Coh5K3-g.mjs → projectBucket-DJNi2yJL.mjs} +2 -2
- package/dist/{projectBucket-Coh5K3-g.mjs.map → projectBucket-DJNi2yJL.mjs.map} +1 -1
- package/dist/{publish-Bwhywmpz.mjs → publish-CMaPsMsT.mjs} +2 -2
- package/dist/{publish-Bwhywmpz.mjs.map → publish-CMaPsMsT.mjs.map} +1 -1
- package/dist/{publish-D9Yl4AzW.cjs → publish-Dlb-rrc5.cjs} +2 -2
- package/dist/{publish-D9Yl4AzW.cjs.map → publish-Dlb-rrc5.cjs.map} +1 -1
- package/dist/{resolve-BrJUFIUu.cjs → resolve-BKn4TTn3.cjs} +4 -4
- package/dist/{resolve-BrJUFIUu.cjs.map → resolve-BKn4TTn3.cjs.map} +1 -1
- package/dist/{resolve-B9tboVm2.mjs → resolve-DrFS2Ivb.mjs} +4 -4
- package/dist/{resolve-B9tboVm2.mjs.map → resolve-DrFS2Ivb.mjs.map} +1 -1
- package/dist/{rollback-D48bPMpD.cjs → rollback-6ZeoByXd.cjs} +6 -6
- package/dist/{rollback-D48bPMpD.cjs.map → rollback-6ZeoByXd.cjs.map} +1 -1
- package/dist/{rollback-M6b0z1tp.mjs → rollback-B3lHgwkj.mjs} +6 -6
- package/dist/{rollback-M6b0z1tp.mjs.map → rollback-B3lHgwkj.mjs.map} +1 -1
- package/dist/{s3-3iS3jlKU.cjs → s3-Cq1_F2J8.cjs} +3 -3
- package/dist/{s3-3iS3jlKU.cjs.map → s3-Cq1_F2J8.cjs.map} +1 -1
- package/dist/{s3-CNOSRjqH.mjs → s3-DfAM0soB.mjs} +3 -3
- package/dist/{s3-CNOSRjqH.mjs.map → s3-DfAM0soB.mjs.map} +1 -1
- package/dist/{serverSetup-DnOdoucM.cjs → serverSetup-DMNKsLKq.cjs} +6 -6
- package/dist/{serverSetup-DnOdoucM.cjs.map → serverSetup-DMNKsLKq.cjs.map} +1 -1
- package/dist/{serverSetup-CzLJ_RV0.mjs → serverSetup-lZ7tYUZJ.mjs} +6 -6
- package/dist/{serverSetup-CzLJ_RV0.mjs.map → serverSetup-lZ7tYUZJ.mjs.map} +1 -1
- package/dist/{sniffer-C5F7uYQB.cjs → sniffer-CUImZsQL.cjs} +7 -7
- package/dist/{sniffer-C5F7uYQB.cjs.map → sniffer-CUImZsQL.cjs.map} +1 -1
- package/dist/{sniffer-yeftYpWK.mjs → sniffer-DcT9RrAj.mjs} +7 -7
- package/dist/{sniffer-yeftYpWK.mjs.map → sniffer-DcT9RrAj.mjs.map} +1 -1
- package/dist/{snsSubscriptions-CXwELBil.cjs → snsSubscriptions-1lX1ze3u.cjs} +10 -5
- package/dist/snsSubscriptions-1lX1ze3u.cjs.map +1 -0
- package/dist/{snsSubscriptions-CXRa_bwG.mjs → snsSubscriptions-DFWhEgiA.mjs} +10 -5
- package/dist/snsSubscriptions-DFWhEgiA.mjs.map +1 -0
- package/dist/{sst-BAQrBaGa.mjs → sst-CB6rX5Zs.mjs} +5 -5
- package/dist/{sst-BAQrBaGa.mjs.map → sst-CB6rX5Zs.mjs.map} +1 -1
- package/dist/{sst-B_srWo15.cjs → sst-ct0Vhta9.cjs} +5 -5
- package/dist/{sst-B_srWo15.cjs.map → sst-ct0Vhta9.cjs.map} +1 -1
- package/dist/{stack-DaJ9D2Uc.cjs → stack-CkdkfmpN.cjs} +111 -34
- package/dist/stack-CkdkfmpN.cjs.map +1 -0
- package/dist/{stack-t2tN1jYo.mjs → stack-Dsl0l3fi.mjs} +106 -35
- package/dist/stack-Dsl0l3fi.mjs.map +1 -0
- package/dist/{stage-Clk6oQO_.cjs → stage-Cmn0dCV2.cjs} +6 -6
- package/dist/{stage-Clk6oQO_.cjs.map → stage-Cmn0dCV2.cjs.map} +1 -1
- package/dist/{stage-B4gqRg7l.mjs → stage-DfdUf2sj.mjs} +6 -6
- package/dist/{stage-B4gqRg7l.mjs.map → stage-DfdUf2sj.mjs.map} +1 -1
- package/dist/{stages-afi9P-Cd.cjs → stages-BWg3NU3J.cjs} +2 -2
- package/dist/{stages-afi9P-Cd.cjs.map → stages-BWg3NU3J.cjs.map} +1 -1
- package/dist/{stages-D1rnfO18.mjs → stages-COiipV8N.mjs} +2 -2
- package/dist/{stages-D1rnfO18.mjs.map → stages-COiipV8N.mjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-D4kY5oz7.mjs → terminal-BDKhPIBA.mjs} +2 -2
- package/dist/{terminal-D4kY5oz7.mjs.map → terminal-BDKhPIBA.mjs.map} +1 -1
- package/dist/{terminal-JAudEZRC.cjs → terminal-CFeiyJxJ.cjs} +2 -2
- package/dist/{terminal-JAudEZRC.cjs.map → terminal-CFeiyJxJ.cjs.map} +1 -1
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-p7gmCQVS.cjs → workspace-CEpojAus.cjs} +41 -14
- package/dist/workspace-CEpojAus.cjs.map +1 -0
- package/dist/{workspace-Gubg8xLJ.mjs → workspace-_aoe8v6u.mjs} +42 -15
- package/dist/workspace-_aoe8v6u.mjs.map +1 -0
- package/package.json +15 -15
- package/dist/apps-By6pnfzA.cjs.map +0 -1
- package/dist/apps-CWGmV2nQ.mjs.map +0 -1
- package/dist/deploy-Dy5jyciI.cjs.map +0 -1
- package/dist/deploy-F6GA-u59.mjs.map +0 -1
- package/dist/notes-or_kXTal.mjs.map +0 -1
- package/dist/notes-rTfi6rfN.cjs.map +0 -1
- package/dist/snsSubscriptions-CXRa_bwG.mjs.map +0 -1
- package/dist/snsSubscriptions-CXwELBil.cjs.map +0 -1
- package/dist/stack-DaJ9D2Uc.cjs.map +0 -1
- package/dist/stack-t2tN1jYo.mjs.map +0 -1
- package/dist/workspace-Gubg8xLJ.mjs.map +0 -1
- package/dist/workspace-p7gmCQVS.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
#!/usr/bin/env -S npx tsx
|
|
2
2
|
import { n as __require, t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
3
3
|
import { n as isGkmError, t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
4
|
-
import { B as FileSecretsStore, E as providerOf, F as toEmbeddableSecrets, I as withCustomSecret, N as maskPassword, T as eventsBackendFor, U as getKeyPath, X as deployIdentity, _t as storeGoDaddyToken, at as DEFAULT_TIMEOUT_MS, ct as getCredentialsPath, dt as getDokployToken, gt as storeDokployCredentials, ht as removeGoDaddyCredentials, k as secretsStoreFor, lt as getDokployCredentials, mt as removeDokployCredentials, pt as readCredentials, q as projectKey, rt as CommandFailed, ut as getDokployRegistryId, vt as storeHostingerToken, w as cacheBackendFor } from "./credentials-
|
|
5
|
-
import { _ as projectNetwork, c as edgeRef, d as dockerHost, g as dockerCompose, h as ContainersNotStopped, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as ContainersNotStarted, p as sshTarget, r as ComposePinNeedsPull, t as composeTarget, u as composeServer } from "./compose-
|
|
6
|
-
import { A as InvalidStages, F as stageProblems, P as deployedProblems, R as stageSampleRate, a as allConstructGlobs, ct as protectedSubdomains, d as getAppGkmConfig, j as TEST_STAGE, lt as wildcardSite, ot as appKey, u as getAppBuildOrder } from "./workspace-
|
|
7
|
-
import { $ as imageBuildCredentials, At as TELEMETRY_CONTAINER, Ct as postgresDatabaseNames, Ft as scopeTelemetryEnv,
|
|
4
|
+
import { B as FileSecretsStore, E as providerOf, F as toEmbeddableSecrets, I as withCustomSecret, N as maskPassword, T as eventsBackendFor, U as getKeyPath, X as deployIdentity, _t as storeGoDaddyToken, at as DEFAULT_TIMEOUT_MS, ct as getCredentialsPath, dt as getDokployToken, gt as storeDokployCredentials, ht as removeGoDaddyCredentials, k as secretsStoreFor, lt as getDokployCredentials, mt as removeDokployCredentials, pt as readCredentials, q as projectKey, rt as CommandFailed, ut as getDokployRegistryId, vt as storeHostingerToken, w as cacheBackendFor } from "./credentials-kK0X754I.mjs";
|
|
5
|
+
import { _ as projectNetwork, c as edgeRef, d as dockerHost, g as dockerCompose, h as ContainersNotStopped, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as ContainersNotStarted, p as sshTarget, r as ComposePinNeedsPull, t as composeTarget, u as composeServer } from "./compose-MwgjPj_A.mjs";
|
|
6
|
+
import { A as InvalidStages, F as stageProblems, P as deployedProblems, R as stageSampleRate, a as allConstructGlobs, ct as protectedSubdomains, d as getAppGkmConfig, j as TEST_STAGE, lt as wildcardSite, ot as appKey, u as getAppBuildOrder } from "./workspace-_aoe8v6u.mjs";
|
|
7
|
+
import { $ as imageBuildCredentials, At as TELEMETRY_CONTAINER, Ct as postgresDatabaseNames, Ft as scopeTelemetryEnv, Gt as backupDatabases, Jt as backupsPrefix, Lt as surfaceClientTraced, Nt as appTelemetry, Rt as telemetryOf, S as ensureLocalAuthority, Tt as quoteIdentifier, Xt as stageBackups, Yt as runTime, _ as forgetState, ct as processorUnits, d as backendsOf$1, dt as BACKUPS_URL_KEY, et as isImageBuild, f as constructGlobs, ft as RUNNER_PATH, kt as stageEnv$1, lt as workerUnits, m as reconcileWorkspace, n as appProcess, o as processEnv, ot as isUnder, p as derivedContainers, qt as backupFile, u as FAKE_ENV, ut as BACKUPS_SERVICE, w as localAuthorityPaths, x as pgClient } from "./apps-C21-TXqR.mjs";
|
|
8
8
|
import { o as email } from "./schemas-BCwKKA42.mjs";
|
|
9
|
-
import { B as fakeKey, H as portsOf, K as LOCAL_LOGS_EMAIL, W as primaryPortKey, _ as readLocalCredentials, a as createEntryWrapper, c as loadEnvFiles, d as prepareEntryCredentials, i as createCredentialsPreload, l as loadPortState, o as findAvailablePort, s as isPortAvailable, t as CLUSTER_DATABASE, u as loadSecretsForApp, z as describeServices } from "./compose-
|
|
9
|
+
import { B as fakeKey, H as portsOf, K as LOCAL_LOGS_EMAIL, W as primaryPortKey, _ as readLocalCredentials, a as createEntryWrapper, c as loadEnvFiles, d as prepareEntryCredentials, i as createCredentialsPreload, l as loadPortState, o as findAvailablePort, s as isPortAvailable, t as CLUSTER_DATABASE, u as loadSecretsForApp, z as describeServices } from "./compose-rn_DWcup.mjs";
|
|
10
10
|
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-CfZWX0lT.mjs";
|
|
11
11
|
import { a as isCacheBackend } from "./types-Y1NfWlyG.mjs";
|
|
12
12
|
import { a as startTelemetryCode, c as parseTelemetryFlag, i as routeTelemetry, n as runtimeFor, o as telemetryFor, r as mountRequestSpansCode, s as writeTelemetryModule, t as EndpointGenerator } from "./EndpointGenerator-CSKhAD6W.mjs";
|
|
13
13
|
import { i as discover, r as consumedBy, u as withOwningTsconfigJsx, v as ConstructGenerator } from "./discover-B_PDDaVj.mjs";
|
|
14
14
|
import { ConfigNotFound, NotABackendApp, NotInAnApp, loadAppConfig, loadConfig, loadWorkspaceConfig, loadWorkspaceSettings, parseModuleConfig } from "./config.mjs";
|
|
15
|
-
import { d as assertDevServicesFlag } from "./notes-
|
|
16
|
-
import { D as parseDigests, a as composeProject, c as derivedCredentials, f as stackPlan, k as pinnedRef, v as EDGE_PROJECT } from "./stack-
|
|
17
|
-
import { _ as processorInfo, d as workerEntryDir, f as QueueGenerator, g as processorEntryDir, h as processorBundleName, i as dockerCommand, l as WorkerGenerator, m as ProcessorGenerator, p as CronGenerator, u as workerBundleName } from "./docker-
|
|
18
|
-
import { S as awsProvisioningCredentials, b as awsClientConfig, x as awsEndpoint } from "./snsSubscriptions-
|
|
15
|
+
import { d as assertDevServicesFlag } from "./notes-CT1jNLDC.mjs";
|
|
16
|
+
import { D as parseDigests, a as composeProject, c as derivedCredentials, f as stackPlan, k as pinnedRef, v as EDGE_PROJECT } from "./stack-Dsl0l3fi.mjs";
|
|
17
|
+
import { _ as processorInfo, d as workerEntryDir, f as QueueGenerator, g as processorEntryDir, h as processorBundleName, i as dockerCommand, l as WorkerGenerator, m as ProcessorGenerator, p as CronGenerator, u as workerBundleName } from "./docker-BIuidyEB.mjs";
|
|
18
|
+
import { S as awsProvisioningCredentials, b as awsClientConfig, x as awsEndpoint } from "./snsSubscriptions-DFWhEgiA.mjs";
|
|
19
19
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
20
20
|
import { a as describeHolder, c as withAppPorts, i as assignAppPorts, o as describeMove, r as appTag, s as holderOf, t as APP_TAG_ENV } from "./appPorts-BoXMwolc.mjs";
|
|
21
21
|
import { a as opensKmsKeys, n as driversFor, o as publishesToApiGateway, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-wcDnzf7l.mjs";
|
|
22
22
|
import { n as withHandlers, t as manifestModule } from "./emit-C4KSXOeS.mjs";
|
|
23
|
-
import { t as LocalSandbox } from "./local-
|
|
24
|
-
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-
|
|
25
|
-
import { t as deploy$1 } from "./deploy-
|
|
23
|
+
import { t as LocalSandbox } from "./local-B9Vniy-F.mjs";
|
|
24
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-DcT9RrAj.mjs";
|
|
25
|
+
import { t as deploy$1 } from "./deploy-CFuDCbTq.mjs";
|
|
26
26
|
import { a as describeActor, d as dnsResources } from "./seeds-Ccn0Ru2T.mjs";
|
|
27
27
|
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-BzJiK1nQ.mjs";
|
|
28
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
28
|
+
import { t as LocalStateStore } from "./LocalStateStore-D3wY7Qkb.mjs";
|
|
29
29
|
import { a as getExecCommand, c as validateProjectName, i as findWorkspaceRoot, n as detectPackageManager$1, o as getInstallCommand, r as findWorkspacePackages, s as getRunCommand, t as checkDirectoryExists } from "./utils-D_fxUqvU.mjs";
|
|
30
30
|
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-COJHr1Yi.mjs";
|
|
31
31
|
import { createRequire } from "node:module";
|
|
@@ -55,7 +55,7 @@ import { Readable as Readable$1 } from "stream";
|
|
|
55
55
|
import crypto from "crypto";
|
|
56
56
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
57
57
|
//#region package.json
|
|
58
|
-
var version = "10.0.0-alpha.
|
|
58
|
+
var version = "10.0.0-alpha.169";
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/prompt.ts
|
|
61
61
|
/**
|
|
@@ -138,7 +138,7 @@ const logger$8 = console;
|
|
|
138
138
|
* Validate Dokploy token by making a test API call
|
|
139
139
|
*/
|
|
140
140
|
async function validateDokployToken(endpoint, token) {
|
|
141
|
-
const { DokployApi } = await import("./sniffer-
|
|
141
|
+
const { DokployApi } = await import("./sniffer-DcT9RrAj.mjs").then((n) => n.c);
|
|
142
142
|
return new DokployApi({
|
|
143
143
|
baseUrl: endpoint,
|
|
144
144
|
token
|
|
@@ -2437,7 +2437,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2437
2437
|
const cwd = options.cwd ?? process.cwd();
|
|
2438
2438
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2439
2439
|
if (options.stage && !isImageBuild()) {
|
|
2440
|
-
const { execOnStage } = await import("./stage-
|
|
2440
|
+
const { execOnStage } = await import("./stage-DfdUf2sj.mjs").then((n) => n.n);
|
|
2441
2441
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2442
2442
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2443
2443
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -3012,9 +3012,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
3012
3012
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
3013
3013
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
3014
3014
|
if (options.migrate || options.seed) {
|
|
3015
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
3015
|
+
const { prepareDevDatabases } = await import("./migrate-b5rcr4sw.mjs");
|
|
3016
3016
|
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
3017
|
-
} else await import("./migrate-
|
|
3017
|
+
} else await import("./migrate-b5rcr4sw.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
3018
3018
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
3019
3019
|
});
|
|
3020
3020
|
const appUrls = {};
|
|
@@ -4218,7 +4218,7 @@ async function buildApp(input) {
|
|
|
4218
4218
|
...telemetry ? { telemetry } : {},
|
|
4219
4219
|
trustedOriginsKey: providedKeyFor(selfServing.id, "rest-api", "trustedOrigins")
|
|
4220
4220
|
});
|
|
4221
|
-
const { bundleServer } = await import("./bundler-
|
|
4221
|
+
const { bundleServer } = await import("./bundler-DjfpJ0mX.mjs");
|
|
4222
4222
|
await bundleServer({
|
|
4223
4223
|
entryPoint,
|
|
4224
4224
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4488,7 +4488,7 @@ async function buildWorkers(input) {
|
|
|
4488
4488
|
});
|
|
4489
4489
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4490
4490
|
if (!input.bundle) continue;
|
|
4491
|
-
const { bundleServer } = await import("./bundler-
|
|
4491
|
+
const { bundleServer } = await import("./bundler-DjfpJ0mX.mjs");
|
|
4492
4492
|
const outfile = workerBundleName(worker.id);
|
|
4493
4493
|
await bundleServer({
|
|
4494
4494
|
entryPoint,
|
|
@@ -4530,7 +4530,7 @@ async function buildProcessors(input) {
|
|
|
4530
4530
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4531
4531
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4532
4532
|
if (!input.bundle) continue;
|
|
4533
|
-
const { bundleServer } = await import("./bundler-
|
|
4533
|
+
const { bundleServer } = await import("./bundler-DjfpJ0mX.mjs");
|
|
4534
4534
|
const outfile = processorBundleName(fileServerId);
|
|
4535
4535
|
await bundleServer({
|
|
4536
4536
|
entryPoint,
|
|
@@ -4613,7 +4613,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4613
4613
|
let masterKey;
|
|
4614
4614
|
if (context.production?.bundle && !skipBundle) {
|
|
4615
4615
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4616
|
-
const { bundleServer } = await import("./bundler-
|
|
4616
|
+
const { bundleServer } = await import("./bundler-DjfpJ0mX.mjs");
|
|
4617
4617
|
const allConstructs = [
|
|
4618
4618
|
...endpoints.map((e) => e.construct),
|
|
4619
4619
|
...functions.map((f) => f.construct),
|
|
@@ -4891,7 +4891,7 @@ async function composeCommand(options, deps = {}) {
|
|
|
4891
4891
|
["tag", "--tag"]
|
|
4892
4892
|
].find(([key]) => options[key] !== void 0 && options[key] !== false)?.[1];
|
|
4893
4893
|
if (flag) throw new ComposeDestroyConflict(flag);
|
|
4894
|
-
const { composeDestroyCommand } = await import("./destroy-
|
|
4894
|
+
const { composeDestroyCommand } = await import("./destroy-UTWZmaGn.mjs");
|
|
4895
4895
|
await composeDestroyCommand({
|
|
4896
4896
|
stage: options.stage,
|
|
4897
4897
|
...options.cwd ? { cwd: options.cwd } : {},
|
|
@@ -4909,7 +4909,7 @@ async function composeCommand(options, deps = {}) {
|
|
|
4909
4909
|
const { workspace } = loaded;
|
|
4910
4910
|
const { stage } = options;
|
|
4911
4911
|
if (options.down) {
|
|
4912
|
-
const { composeStackRef } = await import("./destroy-
|
|
4912
|
+
const { composeStackRef } = await import("./destroy-UTWZmaGn.mjs");
|
|
4913
4913
|
const { ref, dir, server } = await composeStackRef(workspace, stage);
|
|
4914
4914
|
const docker = deps.docker ?? dockerCompose;
|
|
4915
4915
|
if (server) console.log(`→ ${sshTarget(server)} (docker over ssh)`);
|
|
@@ -6490,25 +6490,25 @@ function loadPackageJson() {
|
|
|
6490
6490
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6491
6491
|
*/
|
|
6492
6492
|
const GEEKMIDAS_VERSIONS = {
|
|
6493
|
-
"@geekmidas/audit": ">=10.0.0-alpha.
|
|
6494
|
-
"@geekmidas/auth": ">=10.0.0-alpha.
|
|
6495
|
-
"@geekmidas/cache": ">=10.0.0-alpha.
|
|
6496
|
-
"@geekmidas/client": ">=10.0.0-alpha.
|
|
6497
|
-
"@geekmidas/cloud": ">=10.0.0-alpha.
|
|
6498
|
-
"@geekmidas/constructs": ">=10.0.0-alpha.
|
|
6499
|
-
"@geekmidas/db": ">=10.0.0-alpha.
|
|
6500
|
-
"@geekmidas/emailkit": ">=10.0.0-alpha.
|
|
6501
|
-
"@geekmidas/envkit": ">=10.0.0-alpha.
|
|
6502
|
-
"@geekmidas/errors": ">=10.0.0-alpha.
|
|
6503
|
-
"@geekmidas/events": ">=10.0.0-alpha.
|
|
6504
|
-
"@geekmidas/logger": ">=10.0.0-alpha.
|
|
6505
|
-
"@geekmidas/manifest": ">=10.0.0-alpha.
|
|
6506
|
-
"@geekmidas/rate-limit": ">=10.0.0-alpha.
|
|
6507
|
-
"@geekmidas/schema": ">=10.0.0-alpha.
|
|
6508
|
-
"@geekmidas/services": ">=10.0.0-alpha.
|
|
6509
|
-
"@geekmidas/storage": ">=10.0.0-alpha.
|
|
6510
|
-
"@geekmidas/telescope": ">=10.0.0-alpha.
|
|
6511
|
-
"@geekmidas/testkit": ">=10.0.0-alpha.
|
|
6493
|
+
"@geekmidas/audit": ">=10.0.0-alpha.169 <10.0.0",
|
|
6494
|
+
"@geekmidas/auth": ">=10.0.0-alpha.169 <10.0.0",
|
|
6495
|
+
"@geekmidas/cache": ">=10.0.0-alpha.169 <10.0.0",
|
|
6496
|
+
"@geekmidas/client": ">=10.0.0-alpha.169 <10.0.0",
|
|
6497
|
+
"@geekmidas/cloud": ">=10.0.0-alpha.169 <10.0.0",
|
|
6498
|
+
"@geekmidas/constructs": ">=10.0.0-alpha.169 <10.0.0",
|
|
6499
|
+
"@geekmidas/db": ">=10.0.0-alpha.169 <10.0.0",
|
|
6500
|
+
"@geekmidas/emailkit": ">=10.0.0-alpha.169 <10.0.0",
|
|
6501
|
+
"@geekmidas/envkit": ">=10.0.0-alpha.169 <10.0.0",
|
|
6502
|
+
"@geekmidas/errors": ">=10.0.0-alpha.169 <10.0.0",
|
|
6503
|
+
"@geekmidas/events": ">=10.0.0-alpha.169 <10.0.0",
|
|
6504
|
+
"@geekmidas/logger": ">=10.0.0-alpha.169 <10.0.0",
|
|
6505
|
+
"@geekmidas/manifest": ">=10.0.0-alpha.169 <10.0.0",
|
|
6506
|
+
"@geekmidas/rate-limit": ">=10.0.0-alpha.169 <10.0.0",
|
|
6507
|
+
"@geekmidas/schema": ">=10.0.0-alpha.169 <10.0.0",
|
|
6508
|
+
"@geekmidas/services": ">=10.0.0-alpha.169 <10.0.0",
|
|
6509
|
+
"@geekmidas/storage": ">=10.0.0-alpha.169 <10.0.0",
|
|
6510
|
+
"@geekmidas/telescope": ">=10.0.0-alpha.169 <10.0.0",
|
|
6511
|
+
"@geekmidas/testkit": ">=10.0.0-alpha.169 <10.0.0",
|
|
6512
6512
|
"@geekmidas/cli": versionRange(loadPackageJson().version)
|
|
6513
6513
|
};
|
|
6514
6514
|
//#endregion
|
|
@@ -7701,7 +7701,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7701
7701
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7702
7702
|
* release the pinned commit is.
|
|
7703
7703
|
*/
|
|
7704
|
-
function stagesActionUses(commit = "
|
|
7704
|
+
function stagesActionUses(commit = "5705ceca52d8d90a0942576fd1bfec358f40a21f", version = cliVersion()) {
|
|
7705
7705
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7706
7706
|
}
|
|
7707
7707
|
//#endregion
|
|
@@ -16673,7 +16673,7 @@ function testDatabases(reconciled) {
|
|
|
16673
16673
|
* starts without the reference data the app needs.
|
|
16674
16674
|
*/
|
|
16675
16675
|
async function migrateTestStage(workspace, env) {
|
|
16676
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16676
|
+
const { migrateAndSeed } = await import("./migrate-b5rcr4sw.mjs");
|
|
16677
16677
|
const { discover } = await import("./discover-B_PDDaVj.mjs").then((n) => n.a);
|
|
16678
16678
|
const sources = {};
|
|
16679
16679
|
const manifest = await discover({
|
|
@@ -17126,7 +17126,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
17126
17126
|
try {
|
|
17127
17127
|
const globalOptions = program.opts();
|
|
17128
17128
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17129
|
-
const { easSync } = await import("./eas-
|
|
17129
|
+
const { easSync } = await import("./eas-BCcpBC4k.mjs");
|
|
17130
17130
|
await easSync(options);
|
|
17131
17131
|
} catch (error) {
|
|
17132
17132
|
exitWithError(error);
|
|
@@ -17136,7 +17136,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
17136
17136
|
try {
|
|
17137
17137
|
const globalOptions = program.opts();
|
|
17138
17138
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17139
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
17139
|
+
const { publish, PublishModeConflict } = await import("./publish-CMaPsMsT.mjs");
|
|
17140
17140
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
17141
17141
|
const { build, update, ...rest } = options;
|
|
17142
17142
|
await publish({
|
|
@@ -17152,7 +17152,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
17152
17152
|
try {
|
|
17153
17153
|
const globalOptions = program.opts();
|
|
17154
17154
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17155
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
17155
|
+
const { deployGooglePlay } = await import("./googlePlay-BcVRYMh4.mjs");
|
|
17156
17156
|
await deployGooglePlay(options);
|
|
17157
17157
|
} catch (error) {
|
|
17158
17158
|
exitWithError(error);
|
|
@@ -17174,7 +17174,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
17174
17174
|
try {
|
|
17175
17175
|
const globalOptions = program.opts();
|
|
17176
17176
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17177
|
-
const { migrateCommand } = await import("./migrate-
|
|
17177
|
+
const { migrateCommand } = await import("./migrate-b5rcr4sw.mjs");
|
|
17178
17178
|
await migrateCommand({
|
|
17179
17179
|
...options,
|
|
17180
17180
|
...construct ? { construct } : {}
|
|
@@ -17187,7 +17187,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
17187
17187
|
try {
|
|
17188
17188
|
const globalOptions = program.opts();
|
|
17189
17189
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17190
|
-
const { seedCommand } = await import("./migrate-
|
|
17190
|
+
const { seedCommand } = await import("./migrate-b5rcr4sw.mjs");
|
|
17191
17191
|
await seedCommand({
|
|
17192
17192
|
...options,
|
|
17193
17193
|
...construct ? { construct } : {}
|
|
@@ -17200,7 +17200,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
17200
17200
|
try {
|
|
17201
17201
|
const globalOptions = program.opts();
|
|
17202
17202
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17203
|
-
const { migrationCommand } = await import("./migrate-
|
|
17203
|
+
const { migrationCommand } = await import("./migrate-b5rcr4sw.mjs");
|
|
17204
17204
|
await migrationCommand({
|
|
17205
17205
|
construct,
|
|
17206
17206
|
...name ? { name } : {}
|
|
@@ -17300,7 +17300,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
17300
17300
|
try {
|
|
17301
17301
|
const globalOptions = program.opts();
|
|
17302
17302
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17303
|
-
const { secretsAddCommand } = await import("./add-
|
|
17303
|
+
const { secretsAddCommand } = await import("./add-Byp8-rRf.mjs");
|
|
17304
17304
|
await secretsAddCommand(options);
|
|
17305
17305
|
} catch (error) {
|
|
17306
17306
|
exitWithError(error);
|
|
@@ -17310,7 +17310,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
17310
17310
|
try {
|
|
17311
17311
|
const globalOptions = program.opts();
|
|
17312
17312
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17313
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
17313
|
+
const { encryptionRotateCommand } = await import("./encryption-C2LzfQp8.mjs");
|
|
17314
17314
|
await encryptionRotateCommand(construct, options);
|
|
17315
17315
|
} catch (error) {
|
|
17316
17316
|
exitWithError(error);
|
|
@@ -17320,7 +17320,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
17320
17320
|
try {
|
|
17321
17321
|
const globalOptions = program.opts();
|
|
17322
17322
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17323
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
17323
|
+
const { encryptionRetireCommand } = await import("./encryption-C2LzfQp8.mjs");
|
|
17324
17324
|
await encryptionRetireCommand(construct, key, options);
|
|
17325
17325
|
} catch (error) {
|
|
17326
17326
|
exitWithError(error);
|
|
@@ -17359,7 +17359,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17359
17359
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17360
17360
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
17361
17361
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
17362
|
-
const { secretsStoreFor } = await import("./credentials-
|
|
17362
|
+
const { secretsStoreFor } = await import("./credentials-kK0X754I.mjs").then((n) => n.j);
|
|
17363
17363
|
const { workspace } = await loadWorkspaceConfig();
|
|
17364
17364
|
const stage = options.stage ?? workspace.stages.local;
|
|
17365
17365
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -17368,7 +17368,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
17368
17368
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
17369
17369
|
process.exit(1);
|
|
17370
17370
|
}
|
|
17371
|
-
const { derivedContainers } = await import("./apps-
|
|
17371
|
+
const { derivedContainers } = await import("./apps-C21-TXqR.mjs").then((n) => n.h);
|
|
17372
17372
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
17373
17373
|
if (!result) {
|
|
17374
17374
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -17385,14 +17385,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
17385
17385
|
try {
|
|
17386
17386
|
const globalOptions = program.opts();
|
|
17387
17387
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17388
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
17388
|
+
const { secretsMigrateCommand } = await import("./migrate-blnmh2Tm.mjs");
|
|
17389
17389
|
await secretsMigrateCommand(options);
|
|
17390
17390
|
} catch (error) {
|
|
17391
17391
|
exitWithError(error);
|
|
17392
17392
|
}
|
|
17393
17393
|
});
|
|
17394
17394
|
program.command("deploy").description("Deploy a stage through its target").option("--target <name>", "Deploy target: dokploy, compose, sst, or one named in deploy.targets (default: deploy.default)").option("--provider <provider>", "[DEPRECATED] Use --target instead").requiredOption("--stage <stage>", "Deployment stage (e.g., production, staging)").option("--tag <tag>", "Image tag (default: stage-timestamp; compose: the commit). Compose pulls a given tag").option("--skip-push", "Skip pushing image to registry").option("--skip-build", "Skip build step (use existing build)").option("--json", "Write events as JSON lines instead of progress; never prompts").option("--dry-run", "Show what would be created or reused; change, build and push nothing").option("--atomic", "If the release fails, roll back every app it released, not only the failed ones").option("--allow-dev-services", "Server targets: run the dev service (MinIO, Mailpit) for every bucket and mail the stage doesn't account for. Not production-grade").option("--skip-dns", "Compose: neither write the public hosts' DNS records nor check they point at GKM_SERVER_IPV4 (a CDN or proxy in front, or records written elsewhere)").option("--rotate-keys", "Deployed stage: each provider issues its runtime keys a successor (the old one is deleted by the next deploy)").option("--retire-old-keys", "Deployed stage: delete a rotated-out key now instead of on the next deploy").action(async (options) => {
|
|
17395
|
-
const { deployCli } = await import("./cli-
|
|
17395
|
+
const { deployCli } = await import("./cli-00fMnBFk.mjs");
|
|
17396
17396
|
const globalOptions = program.opts();
|
|
17397
17397
|
const code = await deployCli({
|
|
17398
17398
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17412,8 +17412,8 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
17412
17412
|
});
|
|
17413
17413
|
program.command("deploy:rollback").description("Put a stage's app back on its previous release (Dokploy): one app with --app, every app with --atomic").requiredOption("--stage <stage>", "A deployed stage").option("--app <app>", "The app to roll back").option("--atomic", "Roll back every app that has an earlier release").action(async (options) => {
|
|
17414
17414
|
try {
|
|
17415
|
-
const { rollbackStage } = await import("./rollback-
|
|
17416
|
-
const { terminalCredentials } = await import("./terminal-
|
|
17415
|
+
const { rollbackStage } = await import("./rollback-B3lHgwkj.mjs").then((n) => n.a);
|
|
17416
|
+
const { terminalCredentials } = await import("./terminal-BDKhPIBA.mjs");
|
|
17417
17417
|
const globalOptions = program.opts();
|
|
17418
17418
|
await rollbackStage({
|
|
17419
17419
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -17431,7 +17431,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
17431
17431
|
try {
|
|
17432
17432
|
const globalOptions = program.opts();
|
|
17433
17433
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17434
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
17434
|
+
const { composeServerCommand } = await import("./serverSetup-lZ7tYUZJ.mjs");
|
|
17435
17435
|
await composeServerCommand(options);
|
|
17436
17436
|
} catch (error) {
|
|
17437
17437
|
exitWithError(error);
|
|
@@ -17456,7 +17456,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
17456
17456
|
try {
|
|
17457
17457
|
const globalOptions = program.opts();
|
|
17458
17458
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17459
|
-
const { deployGithubCommand } = await import("./github-
|
|
17459
|
+
const { deployGithubCommand } = await import("./github-B_zfStMR.mjs");
|
|
17460
17460
|
await deployGithubCommand(options);
|
|
17461
17461
|
} catch (error) {
|
|
17462
17462
|
exitWithError(error);
|
|
@@ -17466,7 +17466,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
17466
17466
|
try {
|
|
17467
17467
|
const globalOptions = program.opts();
|
|
17468
17468
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17469
|
-
const { stagesCommand } = await import("./stages-
|
|
17469
|
+
const { stagesCommand } = await import("./stages-COiipV8N.mjs");
|
|
17470
17470
|
await stagesCommand(options);
|
|
17471
17471
|
} catch (error) {
|
|
17472
17472
|
exitWithError(error);
|