@geekmidas/cli 10.0.0-alpha.130 → 10.0.0-alpha.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{EndpointGenerator-B99OGzbO.mjs → EndpointGenerator-Bm6xwLIF.mjs} +5 -3
- package/dist/EndpointGenerator-Bm6xwLIF.mjs.map +1 -0
- package/dist/{EndpointGenerator-De0lknKD.cjs → EndpointGenerator-D3p5WQOv.cjs} +5 -3
- package/dist/EndpointGenerator-D3p5WQOv.cjs.map +1 -0
- package/dist/{GoDaddyProvider-D10Le3VX.mjs → GoDaddyProvider-CLrIIpCr.mjs} +2 -2
- package/dist/{GoDaddyProvider-D10Le3VX.mjs.map → GoDaddyProvider-CLrIIpCr.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-DTfa47i3.cjs → GoDaddyProvider-CtnM5qxL.cjs} +2 -2
- package/dist/{GoDaddyProvider-DTfa47i3.cjs.map → GoDaddyProvider-CtnM5qxL.cjs.map} +1 -1
- package/dist/{LegacyStateStore-C5c_zS4h.mjs → LegacyStateStore-C0LmkRnT.mjs} +3 -3
- package/dist/{LegacyStateStore-C5c_zS4h.mjs.map → LegacyStateStore-C0LmkRnT.mjs.map} +1 -1
- package/dist/{LegacyStateStore-CZSBR6ar.cjs → LegacyStateStore-C4rb-2W_.cjs} +3 -3
- package/dist/{LegacyStateStore-CZSBR6ar.cjs.map → LegacyStateStore-C4rb-2W_.cjs.map} +1 -1
- package/dist/{LocalStateStore-CgQtQix2.cjs → LocalStateStore-DL15tGfM.cjs} +2 -2
- package/dist/{LocalStateStore-CgQtQix2.cjs.map → LocalStateStore-DL15tGfM.cjs.map} +1 -1
- package/dist/{LocalStateStore-Ba0Y6q5C.mjs → LocalStateStore-vHx3OPmE.mjs} +2 -2
- package/dist/{LocalStateStore-Ba0Y6q5C.mjs.map → LocalStateStore-vHx3OPmE.mjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-DNUCgkkx.mjs → OpenApiTsGenerator-BB6dGP8i.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-DNUCgkkx.mjs.map → OpenApiTsGenerator-BB6dGP8i.mjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-DMLzN-LU.cjs → OpenApiTsGenerator-HkNH_xw-.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-DMLzN-LU.cjs.map → OpenApiTsGenerator-HkNH_xw-.cjs.map} +1 -1
- package/dist/{S3StateStore-00mB2AG4.mjs → S3StateStore-CLJJ4G8F.mjs} +2 -2
- package/dist/{S3StateStore-00mB2AG4.mjs.map → S3StateStore-CLJJ4G8F.mjs.map} +1 -1
- package/dist/{S3StateStore-C6amZI39.cjs → S3StateStore-jJUI-UW7.cjs} +2 -2
- package/dist/{S3StateStore-C6amZI39.cjs.map → S3StateStore-jJUI-UW7.cjs.map} +1 -1
- package/dist/{SSMStateStore-Cnn5fHCg.cjs → SSMStateStore-B0Z9hEeo.cjs} +2 -2
- package/dist/{SSMStateStore-Cnn5fHCg.cjs.map → SSMStateStore-B0Z9hEeo.cjs.map} +1 -1
- package/dist/{SSMStateStore-CkYqOAzW.mjs → SSMStateStore-D1QPy_gq.mjs} +2 -2
- package/dist/{SSMStateStore-CkYqOAzW.mjs.map → SSMStateStore-D1QPy_gq.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-0ruEmYXj.mjs → SubscriberGenerator-CI7roxx9.mjs} +2 -2
- package/dist/{SubscriberGenerator-0ruEmYXj.mjs.map → SubscriberGenerator-CI7roxx9.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-CPjbWEOI.cjs → SubscriberGenerator-uDZW1ddC.cjs} +2 -2
- package/dist/{SubscriberGenerator-CPjbWEOI.cjs.map → SubscriberGenerator-uDZW1ddC.cjs.map} +1 -1
- package/dist/{add-CdMInvmN.cjs → add-BV5ZDKgx.cjs} +5 -5
- package/dist/{add-CdMInvmN.cjs.map → add-BV5ZDKgx.cjs.map} +1 -1
- package/dist/{add-DZSU5Tcc.mjs → add-xwmKaLFC.mjs} +5 -5
- package/dist/{add-DZSU5Tcc.mjs.map → add-xwmKaLFC.mjs.map} +1 -1
- package/dist/{bundler-GKF4xpYI.cjs → bundler-CHXBqzsc.cjs} +5 -5
- package/dist/{bundler-GKF4xpYI.cjs.map → bundler-CHXBqzsc.cjs.map} +1 -1
- package/dist/{bundler-BzDMJbx8.mjs → bundler-DrpnJNwr.mjs} +5 -5
- package/dist/{bundler-BzDMJbx8.mjs.map → bundler-DrpnJNwr.mjs.map} +1 -1
- package/dist/{cli-Ct6PQtc7.cjs → cli-CdwEMpeT.cjs} +2 -2
- package/dist/{cli-Ct6PQtc7.cjs.map → cli-CdwEMpeT.cjs.map} +1 -1
- package/dist/{cli-DXeLFtpA.mjs → cli-o3cXaGtO.mjs} +2 -2
- package/dist/{cli-DXeLFtpA.mjs.map → cli-o3cXaGtO.mjs.map} +1 -1
- package/dist/{compose-CnanpQBB.mjs → compose-D0SN1LaV.mjs} +23 -7
- package/dist/compose-D0SN1LaV.mjs.map +1 -0
- package/dist/{compose-BfLDidYU.cjs → compose-DNRPMVES.cjs} +22 -6
- package/dist/compose-DNRPMVES.cjs.map +1 -0
- package/dist/{config-azErNJSd.d.cts → config-CnrwEcSa.d.mts} +3 -3
- package/dist/{config-DPsCfNpR.d.mts.map → config-CnrwEcSa.d.mts.map} +1 -1
- package/dist/{config-DPsCfNpR.d.mts → config-DlKOvs3Y.d.cts} +3 -3
- package/dist/{config-azErNJSd.d.cts.map → config-DlKOvs3Y.d.cts.map} +1 -1
- package/dist/config.cjs +2 -2
- package/dist/config.d.cts +3 -3
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +2 -2
- package/dist/deploy/public.cjs +8 -8
- package/dist/deploy/public.d.cts +3 -3
- package/dist/deploy/public.d.mts +3 -3
- package/dist/deploy/public.mjs +8 -8
- package/dist/{deploy-B35L6CMr.mjs → deploy-B98pqds6.mjs} +8 -8
- package/dist/{deploy-B35L6CMr.mjs.map → deploy-B98pqds6.mjs.map} +1 -1
- package/dist/{deploy-zFe_W4WS.cjs → deploy-DC8YEQPF.cjs} +8 -8
- package/dist/{deploy-zFe_W4WS.cjs.map → deploy-DC8YEQPF.cjs.map} +1 -1
- package/dist/{derive-BtGidITm.cjs → derive-BkWnOSPH.cjs} +113 -2
- package/dist/derive-BkWnOSPH.cjs.map +1 -0
- package/dist/{derive-Dew0QoGe.mjs → derive-BpT9jpPo.mjs} +109 -4
- package/dist/derive-BpT9jpPo.mjs.map +1 -0
- package/dist/{dokploy-sDTohVj5.mjs → dokploy-BexEz2nW.mjs} +2 -2
- package/dist/{dokploy-sDTohVj5.mjs.map → dokploy-BexEz2nW.mjs.map} +1 -1
- package/dist/{dokploy-BGJxcEh0.cjs → dokploy-DGVo3gIu.cjs} +2 -2
- package/dist/{dokploy-BGJxcEh0.cjs.map → dokploy-DGVo3gIu.cjs.map} +1 -1
- package/dist/{eas-DogHTOxl.cjs → eas-DZ4DRSpN.cjs} +3 -3
- package/dist/{eas-DogHTOxl.cjs.map → eas-DZ4DRSpN.cjs.map} +1 -1
- package/dist/{eas-Bxb9pymo.mjs → eas-vfFOLF35.mjs} +3 -3
- package/dist/{eas-Bxb9pymo.mjs.map → eas-vfFOLF35.mjs.map} +1 -1
- package/dist/{encryption-BZk_sxC-.mjs → encryption-DcXhLeea.mjs} +3 -3
- package/dist/{encryption-BZk_sxC-.mjs.map → encryption-DcXhLeea.mjs.map} +1 -1
- package/dist/{encryption-DRXgL9Lh.cjs → encryption-qxFK97mG.cjs} +3 -3
- package/dist/{encryption-DRXgL9Lh.cjs.map → encryption-qxFK97mG.cjs.map} +1 -1
- package/dist/{engine-uQmNnvNQ.mjs → engine-BJ1JjsqP.mjs} +5 -5
- package/dist/{engine-uQmNnvNQ.mjs.map → engine-BJ1JjsqP.mjs.map} +1 -1
- package/dist/{engine-BuPhWFVm.cjs → engine-BsfN6Z2y.cjs} +5 -5
- package/dist/{engine-BuPhWFVm.cjs.map → engine-BsfN6Z2y.cjs.map} +1 -1
- package/dist/{github-BCRbDSQa.cjs → github-CHnzHGbI.cjs} +5 -5
- package/dist/{github-BCRbDSQa.cjs.map → github-CHnzHGbI.cjs.map} +1 -1
- package/dist/{github-YknZQnYF.mjs → github-DM8dcTS3.mjs} +5 -5
- package/dist/{github-YknZQnYF.mjs.map → github-DM8dcTS3.mjs.map} +1 -1
- package/dist/{googlePlay-Cm2uipeZ.cjs → googlePlay-D4CBqrrd.cjs} +3 -3
- package/dist/{googlePlay-Cm2uipeZ.cjs.map → googlePlay-D4CBqrrd.cjs.map} +1 -1
- package/dist/{googlePlay-B_2dIDSO.mjs → googlePlay-DDrnzQWm.mjs} +3 -3
- package/dist/{googlePlay-B_2dIDSO.mjs.map → googlePlay-DDrnzQWm.mjs.map} +1 -1
- package/dist/{index-D-gNc445.d.cts → index-BYJMHnMt.d.cts} +2 -2
- package/dist/{index-D-gNc445.d.cts.map → index-BYJMHnMt.d.cts.map} +1 -1
- package/dist/{index-Ur-ZIDYC.d.mts → index-CBCGDhD6.d.mts} +2 -2
- package/dist/{index-Ur-ZIDYC.d.mts.map → index-CBCGDhD6.d.mts.map} +1 -1
- package/dist/index.cjs +72 -75
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +72 -75
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-Co3UnkrE.cjs → migrate-Bonkj7OS.cjs} +13 -14
- package/dist/migrate-Bonkj7OS.cjs.map +1 -0
- package/dist/{migrate-D71REG0N.mjs → migrate-CtXmf5sw.mjs} +13 -14
- package/dist/migrate-CtXmf5sw.mjs.map +1 -0
- package/dist/{migrate-zqsyod5I.mjs → migrate-DXj1Kc79.mjs} +3 -3
- package/dist/{migrate-zqsyod5I.mjs.map → migrate-DXj1Kc79.mjs.map} +1 -1
- package/dist/{migrate-BIl4kLb1.cjs → migrate-Dw94du_D.cjs} +3 -3
- package/dist/{migrate-BIl4kLb1.cjs.map → migrate-Dw94du_D.cjs.map} +1 -1
- package/dist/openapi.cjs +4 -4
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +4 -4
- package/dist/{publish-BtmLOhV9.mjs → publish-0CESXM6R.mjs} +2 -2
- package/dist/{publish-BtmLOhV9.mjs.map → publish-0CESXM6R.mjs.map} +1 -1
- package/dist/{publish-BUnnuLl_.cjs → publish-CLD1NjFa.cjs} +2 -2
- package/dist/{publish-BUnnuLl_.cjs.map → publish-CLD1NjFa.cjs.map} +1 -1
- package/dist/{ready-BwtLriAF.mjs → ready-AcAH2WL6.mjs} +4 -4
- package/dist/{ready-BwtLriAF.mjs.map → ready-AcAH2WL6.mjs.map} +1 -1
- package/dist/{ready-Cj4pI0dw.cjs → ready-DhkmqsOH.cjs} +4 -4
- package/dist/{ready-Cj4pI0dw.cjs.map → ready-DhkmqsOH.cjs.map} +1 -1
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/{resolve-BVVSf27Y.cjs → resolve-Af3UHIxS.cjs} +4 -4
- package/dist/{resolve-BVVSf27Y.cjs.map → resolve-Af3UHIxS.cjs.map} +1 -1
- package/dist/{resolve-B1zK9f8_.mjs → resolve-DuZ4RSeN.mjs} +4 -4
- package/dist/{resolve-B1zK9f8_.mjs.map → resolve-DuZ4RSeN.mjs.map} +1 -1
- package/dist/{rollback-hV8Kbbg_.cjs → rollback-CWcIVBLT.cjs} +5 -5
- package/dist/{rollback-hV8Kbbg_.cjs.map → rollback-CWcIVBLT.cjs.map} +1 -1
- package/dist/{rollback-CAPWtOm3.mjs → rollback-DCIeBIX3.mjs} +5 -5
- package/dist/{rollback-CAPWtOm3.mjs.map → rollback-DCIeBIX3.mjs.map} +1 -1
- package/dist/{runtime-DfwIeO8f.d.mts → runtime-CBro-1N4.d.cts} +2 -2
- package/dist/{runtime-C0okGPpK.d.cts.map → runtime-CBro-1N4.d.cts.map} +1 -1
- package/dist/{runtime-C0okGPpK.d.cts → runtime-f9aiOHxq.d.mts} +2 -2
- package/dist/{runtime-DfwIeO8f.d.mts.map → runtime-f9aiOHxq.d.mts.map} +1 -1
- package/dist/{s3-xJtWm6WN.cjs → s3-BUkV5_fV.cjs} +2 -2
- package/dist/{s3-xJtWm6WN.cjs.map → s3-BUkV5_fV.cjs.map} +1 -1
- package/dist/{s3-CkERdmxm.mjs → s3-VpdagzYE.mjs} +2 -2
- package/dist/{s3-CkERdmxm.mjs.map → s3-VpdagzYE.mjs.map} +1 -1
- package/dist/{seeds-MR13eS-F.cjs → seeds-BGhU_55R.cjs} +32 -13
- package/dist/seeds-BGhU_55R.cjs.map +1 -0
- package/dist/{seeds-CNPdk_2f.mjs → seeds-CVbX__84.mjs} +33 -14
- package/dist/seeds-CVbX__84.mjs.map +1 -0
- package/dist/{serverSetup-DgAERQ5s.mjs → serverSetup-Blb5uyq8.mjs} +6 -6
- package/dist/{serverSetup-DgAERQ5s.mjs.map → serverSetup-Blb5uyq8.mjs.map} +1 -1
- package/dist/{serverSetup-9kFFmA86.cjs → serverSetup-C8W-mpu2.cjs} +6 -6
- package/dist/{serverSetup-9kFFmA86.cjs.map → serverSetup-C8W-mpu2.cjs.map} +1 -1
- package/dist/{sniffer-Biw5SE1V.cjs → sniffer-C94960vd.cjs} +7 -7
- package/dist/{sniffer-Biw5SE1V.cjs.map → sniffer-C94960vd.cjs.map} +1 -1
- package/dist/{sniffer-KS_EcbAk.mjs → sniffer-xx8N8mpY.mjs} +7 -7
- package/dist/{sniffer-KS_EcbAk.mjs.map → sniffer-xx8N8mpY.mjs.map} +1 -1
- package/dist/{snsSubscriptions-Bl3CChIH.mjs → snsSubscriptions-CLkFDjZc.mjs} +4 -4
- package/dist/{snsSubscriptions-Bl3CChIH.mjs.map → snsSubscriptions-CLkFDjZc.mjs.map} +1 -1
- package/dist/{snsSubscriptions-CQFfrCJf.cjs → snsSubscriptions-DcmmVj2k.cjs} +4 -4
- package/dist/{snsSubscriptions-CQFfrCJf.cjs.map → snsSubscriptions-DcmmVj2k.cjs.map} +1 -1
- package/dist/{sst-DmVJRu5l.cjs → sst-C7mwg02Z.cjs} +2 -2
- package/dist/{sst-DmVJRu5l.cjs.map → sst-C7mwg02Z.cjs.map} +1 -1
- package/dist/{sst-fop6uZ25.mjs → sst-ChTeT2qY.mjs} +2 -2
- package/dist/{sst-fop6uZ25.mjs.map → sst-ChTeT2qY.mjs.map} +1 -1
- package/dist/{stage-BIKAMxNc.cjs → stage-BdJzkWOO.cjs} +5 -5
- package/dist/{stage-BIKAMxNc.cjs.map → stage-BdJzkWOO.cjs.map} +1 -1
- package/dist/{stage-tIMFTQtj.mjs → stage-COixgz4P.mjs} +5 -5
- package/dist/{stage-tIMFTQtj.mjs.map → stage-COixgz4P.mjs.map} +1 -1
- package/dist/{stages-DhmbURs_.mjs → stages-COSKjrfd.mjs} +2 -2
- package/dist/{stages-DhmbURs_.mjs.map → stages-COSKjrfd.mjs.map} +1 -1
- package/dist/{stages-C9uSkohw.cjs → stages-CuV3zh-h.cjs} +2 -2
- package/dist/{stages-C9uSkohw.cjs.map → stages-CuV3zh-h.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/{types-xBx-07__.d.mts → types-C5Zvkpc_.d.mts} +16 -1
- package/dist/{types-xBx-07__.d.mts.map → types-C5Zvkpc_.d.mts.map} +1 -1
- package/dist/{types-Cjnqw1ta.d.cts → types-CSOoemtk.d.cts} +16 -1
- package/dist/{types-Cjnqw1ta.d.cts.map → types-CSOoemtk.d.cts.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-CjSfjfMK.mjs → workspace-aiDQZMje.mjs} +8 -1
- package/dist/workspace-aiDQZMje.mjs.map +1 -0
- package/dist/{workspace-DImrdet4.cjs → workspace-secxwA6K.cjs} +8 -1
- package/dist/workspace-secxwA6K.cjs.map +1 -0
- package/package.json +15 -15
- package/dist/EndpointGenerator-B99OGzbO.mjs.map +0 -1
- package/dist/EndpointGenerator-De0lknKD.cjs.map +0 -1
- package/dist/compose-BfLDidYU.cjs.map +0 -1
- package/dist/compose-CnanpQBB.mjs.map +0 -1
- package/dist/derive-BtGidITm.cjs.map +0 -1
- package/dist/derive-Dew0QoGe.mjs.map +0 -1
- package/dist/migrate-Co3UnkrE.cjs.map +0 -1
- package/dist/migrate-D71REG0N.mjs.map +0 -1
- package/dist/seeds-CNPdk_2f.mjs.map +0 -1
- package/dist/seeds-MR13eS-F.cjs.map +0 -1
- package/dist/workspace-CjSfjfMK.mjs.map +0 -1
- package/dist/workspace-DImrdet4.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -2,28 +2,28 @@
|
|
|
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
4
|
import { _ as storeDokployCredentials, d as getDokployRegistryId, f as getDokployToken, g as removeGoDaddyCredentials, h as removeDokployCredentials, i as CommandFailed, l as getCredentialsPath, m as readCredentials, o as DEFAULT_TIMEOUT_MS, u as getDokployCredentials, v as storeGoDaddyToken, y as storeHostingerToken } from "./credentials-DpfnUvIR.mjs";
|
|
5
|
-
import { C as dockerCompose, S as sshTarget, _ as parseDigests, b as dockerHost, c as edgeRef, f as derivedCredentials, h as EDGE_PROJECT, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as stackPlan, o as stackOverrideFile, p as stackDir, r as ComposePinNeedsPull, t as composeTarget, u as composeProject, v as pinnedRef, w as projectNetwork, y as composeServer } from "./compose-
|
|
6
|
-
import { A as InvalidStages, F as stageProblems, P as deployedProblems, R as stageSampleRate, a as allConstructGlobs, d as getAppGkmConfig, j as TEST_STAGE, u as getAppBuildOrder } from "./workspace-
|
|
7
|
-
import { D as RUNNER_PATH, E as BACKUPS_URL_KEY, F as runTime, I as stageBackups, N as backupFile, P as backupsPrefix, T as BACKUPS_SERVICE, b as awsEndpoint, j as backupDatabases, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-
|
|
5
|
+
import { C as dockerCompose, S as sshTarget, _ as parseDigests, b as dockerHost, c as edgeRef, f as derivedCredentials, h as EDGE_PROJECT, i as ComposePushNeedsBuild, l as removeEdgeRoutes, m as stackPlan, o as stackOverrideFile, p as stackDir, r as ComposePinNeedsPull, t as composeTarget, u as composeProject, v as pinnedRef, w as projectNetwork, y as composeServer } from "./compose-D0SN1LaV.mjs";
|
|
6
|
+
import { A as InvalidStages, F as stageProblems, P as deployedProblems, R as stageSampleRate, a as allConstructGlobs, d as getAppGkmConfig, j as TEST_STAGE, u as getAppBuildOrder } from "./workspace-aiDQZMje.mjs";
|
|
7
|
+
import { D as RUNNER_PATH, E as BACKUPS_URL_KEY, F as runTime, I as stageBackups, N as backupFile, P as backupsPrefix, T as BACKUPS_SERVICE, b as awsEndpoint, j as backupDatabases, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-CLkFDjZc.mjs";
|
|
8
8
|
import { o as email } from "./schemas-BCwKKA42.mjs";
|
|
9
|
-
import { $n as telemetryOf, $t as maskPassword, Bt as createCredentialsPreload, Cn as postgresDatabaseNames, Ct as backendsOf$1, Et as reconcileWorkspace, Fn as projectKey, G as workerBundleName, Gt as loadPortState, Ht as findAvailablePort, It as cacheBackendFor, J as CronGenerator, K as workerEntryDir, Kn as TELEMETRY_CONTAINER, Kt as loadSecretsForApp, Lt as eventsBackendFor, Mn as FileSecretsStore, Nn as getKeyPath, Nt as pgClient, Ot as LOCAL_CA_PATH, Pt as CLUSTER_DATABASE, Q as processorInfo, Qn as surfaceClientTraced, R as dockerCommand, Rt as providerOf, St as FAKE_ENV, Tn as quoteIdentifier, Tt as derivedContainers, Ut as isPortAvailable, Vt as createEntryWrapper, W as WorkerGenerator, Wt as loadEnvFiles, X as processorBundleName, Y as ProcessorGenerator, Yn as appTelemetry, Yt as secretsStoreFor, Z as processorEntryDir, Zn as scopeTelemetryEnv, a as dnsResources, dn as isImageBuild, dr as primaryPortKey, fr as LOCAL_LOGS_EMAIL, hn as workerUnits, jn as readLocalCredentials, kt as forgetState, l as describeActor, lr as portsOf, mn as processorUnits, nn as withCustomSecret, or as describeServices, pn as isUnder, q as QueueGenerator, qt as prepareEntryCredentials, sr as fakeKey, tn as toEmbeddableSecrets, un as imageBuildCredentials, ut as assertDevServicesFlag, wt as constructGlobs } from "./seeds-
|
|
10
|
-
import { t as appKey } from "./derive-
|
|
9
|
+
import { $n as telemetryOf, $t as maskPassword, Bt as createCredentialsPreload, Cn as postgresDatabaseNames, Ct as backendsOf$1, Et as reconcileWorkspace, Fn as projectKey, G as workerBundleName, Gt as loadPortState, Ht as findAvailablePort, It as cacheBackendFor, J as CronGenerator, K as workerEntryDir, Kn as TELEMETRY_CONTAINER, Kt as loadSecretsForApp, Lt as eventsBackendFor, Mn as FileSecretsStore, Nn as getKeyPath, Nt as pgClient, Ot as LOCAL_CA_PATH, Pt as CLUSTER_DATABASE, Q as processorInfo, Qn as surfaceClientTraced, R as dockerCommand, Rt as providerOf, St as FAKE_ENV, Tn as quoteIdentifier, Tt as derivedContainers, Ut as isPortAvailable, Vt as createEntryWrapper, W as WorkerGenerator, Wt as loadEnvFiles, X as processorBundleName, Y as ProcessorGenerator, Yn as appTelemetry, Yt as secretsStoreFor, Z as processorEntryDir, Zn as scopeTelemetryEnv, a as dnsResources, dn as isImageBuild, dr as primaryPortKey, fr as LOCAL_LOGS_EMAIL, hn as workerUnits, jn as readLocalCredentials, kt as forgetState, l as describeActor, lr as portsOf, mn as processorUnits, nn as withCustomSecret, or as describeServices, pn as isUnder, q as QueueGenerator, qt as prepareEntryCredentials, sr as fakeKey, tn as toEmbeddableSecrets, un as imageBuildCredentials, ut as assertDevServicesFlag, wt as constructGlobs } from "./seeds-CVbX__84.mjs";
|
|
10
|
+
import { t as appKey } from "./derive-BpT9jpPo.mjs";
|
|
11
11
|
import { a as opensKmsKeys, n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn, u as isCacheBackend } from "./drivers-CDjpjakg.mjs";
|
|
12
12
|
import { n as deployIdentity } from "./identity-CBXr4wNi.mjs";
|
|
13
|
-
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-
|
|
13
|
+
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-Bm6xwLIF.mjs";
|
|
14
14
|
import { d as ConstructGenerator, i as discover, r as consumedBy, u as withOwningTsconfigJsx } from "./discover-DOhYSKY_.mjs";
|
|
15
15
|
import { ConfigNotFound, NotABackendApp, NotInAnApp, loadAppConfig, loadConfig, loadWorkspaceConfig, loadWorkspaceSettings, parseModuleConfig } from "./config.mjs";
|
|
16
|
-
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-
|
|
16
|
+
import { n as assertTestCredentials, t as SubscriberGenerator } from "./SubscriberGenerator-CI7roxx9.mjs";
|
|
17
17
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
18
18
|
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";
|
|
19
19
|
import { n as withCompute, r as withRoutes, t as manifestModule } from "./emit-CiJGdy_f.mjs";
|
|
20
20
|
import { t as LocalSandbox } from "./local-B7Zv1NoA.mjs";
|
|
21
|
-
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-
|
|
22
|
-
import { t as deploy$1 } from "./deploy-
|
|
21
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-xx8N8mpY.mjs";
|
|
22
|
+
import { t as deploy$1 } from "./deploy-B98pqds6.mjs";
|
|
23
23
|
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-DPOGqOrU.mjs";
|
|
24
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
24
|
+
import { t as LocalStateStore } from "./LocalStateStore-vHx3OPmE.mjs";
|
|
25
25
|
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";
|
|
26
|
-
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-
|
|
26
|
+
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-AcAH2WL6.mjs";
|
|
27
27
|
import { createRequire } from "node:module";
|
|
28
28
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
29
29
|
import { Command, Option } from "commander";
|
|
@@ -51,7 +51,7 @@ import crypto from "crypto";
|
|
|
51
51
|
import { Function } from "@geekmidas/constructs/functions";
|
|
52
52
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
53
53
|
//#region package.json
|
|
54
|
-
var version = "10.0.0-alpha.
|
|
54
|
+
var version = "10.0.0-alpha.132";
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/prompt.ts
|
|
57
57
|
/**
|
|
@@ -134,7 +134,7 @@ const logger$8 = console;
|
|
|
134
134
|
* Validate Dokploy token by making a test API call
|
|
135
135
|
*/
|
|
136
136
|
async function validateDokployToken(endpoint, token) {
|
|
137
|
-
const { DokployApi } = await import("./sniffer-
|
|
137
|
+
const { DokployApi } = await import("./sniffer-xx8N8mpY.mjs").then((n) => n.c);
|
|
138
138
|
return new DokployApi({
|
|
139
139
|
baseUrl: endpoint,
|
|
140
140
|
token
|
|
@@ -2174,7 +2174,7 @@ async function execCommand(commandArgs, options = {}, stageDeps) {
|
|
|
2174
2174
|
const cwd = options.cwd ?? process.cwd();
|
|
2175
2175
|
if (!commandArgs[0]) throw new NoCommandSpecified();
|
|
2176
2176
|
if (options.stage && !isImageBuild()) {
|
|
2177
|
-
const { execOnStage } = await import("./stage-
|
|
2177
|
+
const { execOnStage } = await import("./stage-COixgz4P.mjs").then((n) => n.n);
|
|
2178
2178
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
2179
2179
|
const { workspace } = await loadWorkspaceConfig(cwd);
|
|
2180
2180
|
if (options.stage !== workspace.stages.local) {
|
|
@@ -2747,9 +2747,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2747
2747
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2748
2748
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2749
2749
|
if (options.migrate || options.seed) {
|
|
2750
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2751
|
-
await prepareDevDatabases(workspace,
|
|
2752
|
-
} else await import("./migrate-
|
|
2750
|
+
const { prepareDevDatabases } = await import("./migrate-CtXmf5sw.mjs");
|
|
2751
|
+
await prepareDevDatabases(workspace, secretsEnv, { seed: !!options.seed });
|
|
2752
|
+
} else await import("./migrate-CtXmf5sw.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2753
2753
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2754
2754
|
});
|
|
2755
2755
|
const appUrls = {};
|
|
@@ -2766,11 +2766,11 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2766
2766
|
const appNames = Object.keys(workspace.apps).join(", ");
|
|
2767
2767
|
throw new Error(`App "${options.app}" not found. Available apps: ${appNames}`);
|
|
2768
2768
|
}
|
|
2769
|
-
turboFilter = [
|
|
2770
|
-
} else if (options.filter) turboFilter = [
|
|
2769
|
+
turboFilter = [appPackageName(workspace, options.app) ?? options.app];
|
|
2770
|
+
} else if (options.filter) turboFilter = [options.filter];
|
|
2771
2771
|
else {
|
|
2772
2772
|
const { filters, unpackaged } = turboFilters(workspace);
|
|
2773
|
-
turboFilter = filters
|
|
2773
|
+
turboFilter = filters;
|
|
2774
2774
|
if (unpackaged.length > 0) logger$5.warn(`⚠️ No package.json with a name for: ${unpackaged.join(", ")} — turbo cannot run ${unpackaged.length === 1 ? "it" : "them"}.`);
|
|
2775
2775
|
}
|
|
2776
2776
|
const buildOrder = getAppBuildOrder(workspace);
|
|
@@ -2841,12 +2841,8 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2841
2841
|
[DISCOVERY_QUIET_ENV]: "1"
|
|
2842
2842
|
};
|
|
2843
2843
|
logger$5.log(`🚀 Starting ${appCount} app(s) — each builds before it answers, and says so when it is ready`);
|
|
2844
|
-
const
|
|
2845
|
-
|
|
2846
|
-
"run",
|
|
2847
|
-
"dev",
|
|
2848
|
-
...turboFilter
|
|
2849
|
-
], {
|
|
2844
|
+
const [turboBin, turboArgs] = getTurboArgs(detectPackageManager(workspace.root), turboFilter, { task: "dev" });
|
|
2845
|
+
const turboProcess = spawn(turboBin, turboArgs, {
|
|
2850
2846
|
cwd: workspace.root,
|
|
2851
2847
|
stdio: "inherit",
|
|
2852
2848
|
env: turboEnv,
|
|
@@ -3854,7 +3850,7 @@ async function buildApp(input) {
|
|
|
3854
3850
|
...production,
|
|
3855
3851
|
...telemetry ? { telemetry } : {}
|
|
3856
3852
|
});
|
|
3857
|
-
const { bundleServer } = await import("./bundler-
|
|
3853
|
+
const { bundleServer } = await import("./bundler-DrpnJNwr.mjs");
|
|
3858
3854
|
await bundleServer({
|
|
3859
3855
|
entryPoint,
|
|
3860
3856
|
outputDir: join(outputDir, "dist"),
|
|
@@ -4099,7 +4095,7 @@ async function buildWorkers(input) {
|
|
|
4099
4095
|
});
|
|
4100
4096
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
4101
4097
|
if (!input.bundle) continue;
|
|
4102
|
-
const { bundleServer } = await import("./bundler-
|
|
4098
|
+
const { bundleServer } = await import("./bundler-DrpnJNwr.mjs");
|
|
4103
4099
|
const outfile = workerBundleName(worker.id);
|
|
4104
4100
|
await bundleServer({
|
|
4105
4101
|
entryPoint,
|
|
@@ -4141,7 +4137,7 @@ async function buildProcessors(input) {
|
|
|
4141
4137
|
for (const { key, construct } of processors) infos.push(await processorInfo(key, construct, handler, context));
|
|
4142
4138
|
logger$4.log(`Generated processors for ${fileServerId}: ${processors.map(({ key }) => key).join(", ")}`);
|
|
4143
4139
|
if (!input.bundle) continue;
|
|
4144
|
-
const { bundleServer } = await import("./bundler-
|
|
4140
|
+
const { bundleServer } = await import("./bundler-DrpnJNwr.mjs");
|
|
4145
4141
|
const outfile = processorBundleName(fileServerId);
|
|
4146
4142
|
await bundleServer({
|
|
4147
4143
|
entryPoint,
|
|
@@ -4224,7 +4220,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4224
4220
|
let masterKey;
|
|
4225
4221
|
if (context.production?.bundle && !skipBundle) {
|
|
4226
4222
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
4227
|
-
const { bundleServer } = await import("./bundler-
|
|
4223
|
+
const { bundleServer } = await import("./bundler-DrpnJNwr.mjs");
|
|
4228
4224
|
const allConstructs = [
|
|
4229
4225
|
...endpoints.map((e) => e.construct),
|
|
4230
4226
|
...functions.map((f) => f.construct),
|
|
@@ -4261,16 +4257,17 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
4261
4257
|
} };
|
|
4262
4258
|
}
|
|
4263
4259
|
/**
|
|
4264
|
-
*
|
|
4260
|
+
* The package manager a workspace uses, by the lockfile at its root.
|
|
4265
4261
|
* @internal Exported for testing
|
|
4266
4262
|
*/
|
|
4267
|
-
function detectPackageManager() {
|
|
4268
|
-
if (existsSync("pnpm-lock.yaml")) return "pnpm";
|
|
4269
|
-
if (existsSync("yarn.lock")) return "yarn";
|
|
4263
|
+
function detectPackageManager(root = process.cwd()) {
|
|
4264
|
+
if (existsSync(join(root, "pnpm-lock.yaml"))) return "pnpm";
|
|
4265
|
+
if (existsSync(join(root, "yarn.lock"))) return "yarn";
|
|
4270
4266
|
return "npm";
|
|
4271
4267
|
}
|
|
4272
4268
|
/**
|
|
4273
|
-
* The program and argv that run turbo
|
|
4269
|
+
* The program and argv that run a turbo task — `build` unless another is
|
|
4270
|
+
* named — through the workspace's own package manager.
|
|
4274
4271
|
*
|
|
4275
4272
|
* `filters` names the packages to build. Passing none lets turbo infer its own
|
|
4276
4273
|
* scope from the working directory, which for a workspace root means the
|
|
@@ -4284,11 +4281,11 @@ function detectPackageManager() {
|
|
|
4284
4281
|
*
|
|
4285
4282
|
* @internal Exported for testing
|
|
4286
4283
|
*/
|
|
4287
|
-
function getTurboArgs(pm, filters = [], { only = false } = {}) {
|
|
4284
|
+
function getTurboArgs(pm, filters = [], { only = false, task = "build" } = {}) {
|
|
4288
4285
|
const turbo = [
|
|
4289
4286
|
"turbo",
|
|
4290
4287
|
"run",
|
|
4291
|
-
|
|
4288
|
+
task,
|
|
4292
4289
|
...(typeof filters === "string" ? [filters] : filters).map((f) => `--filter=${f}`),
|
|
4293
4290
|
...only ? ["--only"] : []
|
|
4294
4291
|
];
|
|
@@ -6058,25 +6055,25 @@ function loadPackageJson() {
|
|
|
6058
6055
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
6059
6056
|
*/
|
|
6060
6057
|
const GEEKMIDAS_VERSIONS = {
|
|
6061
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
6062
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
6063
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
6064
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
6065
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
6066
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
6067
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
6068
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
6069
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
6070
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
6071
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
6072
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
6073
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
6074
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
6075
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
6076
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
6077
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
6078
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
6079
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
6058
|
+
"@geekmidas/audit": "~10.0.0-alpha.132",
|
|
6059
|
+
"@geekmidas/auth": "~10.0.0-alpha.132",
|
|
6060
|
+
"@geekmidas/cache": "~10.0.0-alpha.132",
|
|
6061
|
+
"@geekmidas/client": "~10.0.0-alpha.132",
|
|
6062
|
+
"@geekmidas/cloud": "~10.0.0-alpha.132",
|
|
6063
|
+
"@geekmidas/constructs": "~10.0.0-alpha.132",
|
|
6064
|
+
"@geekmidas/db": "~10.0.0-alpha.132",
|
|
6065
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.132",
|
|
6066
|
+
"@geekmidas/envkit": "~10.0.0-alpha.132",
|
|
6067
|
+
"@geekmidas/errors": "~10.0.0-alpha.132",
|
|
6068
|
+
"@geekmidas/events": "~10.0.0-alpha.132",
|
|
6069
|
+
"@geekmidas/logger": "~10.0.0-alpha.132",
|
|
6070
|
+
"@geekmidas/manifest": "~10.0.0-alpha.132",
|
|
6071
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.132",
|
|
6072
|
+
"@geekmidas/schema": "~10.0.0-alpha.132",
|
|
6073
|
+
"@geekmidas/services": "~10.0.0-alpha.132",
|
|
6074
|
+
"@geekmidas/storage": "~10.0.0-alpha.132",
|
|
6075
|
+
"@geekmidas/telescope": "~10.0.0-alpha.132",
|
|
6076
|
+
"@geekmidas/testkit": "~10.0.0-alpha.132",
|
|
6080
6077
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
6081
6078
|
};
|
|
6082
6079
|
//#endregion
|
|
@@ -7269,7 +7266,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
7269
7266
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
7270
7267
|
* release the pinned commit is.
|
|
7271
7268
|
*/
|
|
7272
|
-
function stagesActionUses(commit = "
|
|
7269
|
+
function stagesActionUses(commit = "c5bd7b9877d51893baff21201569eed0998148bc", version = cliVersion()) {
|
|
7273
7270
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
7274
7271
|
}
|
|
7275
7272
|
//#endregion
|
|
@@ -16241,7 +16238,7 @@ function testDatabases(reconciled) {
|
|
|
16241
16238
|
* starts without the reference data the app needs.
|
|
16242
16239
|
*/
|
|
16243
16240
|
async function migrateTestStage(workspace, env) {
|
|
16244
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
16241
|
+
const { migrateAndSeed } = await import("./migrate-CtXmf5sw.mjs");
|
|
16245
16242
|
const { discover } = await import("./discover-DOhYSKY_.mjs").then((n) => n.a);
|
|
16246
16243
|
const sources = {};
|
|
16247
16244
|
const manifest = await discover({
|
|
@@ -16666,7 +16663,7 @@ program.command("eas:sync").description("Set up a mobile app's EAS project for a
|
|
|
16666
16663
|
try {
|
|
16667
16664
|
const globalOptions = program.opts();
|
|
16668
16665
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16669
|
-
const { easSync } = await import("./eas-
|
|
16666
|
+
const { easSync } = await import("./eas-vfFOLF35.mjs");
|
|
16670
16667
|
await easSync(options);
|
|
16671
16668
|
} catch (error) {
|
|
16672
16669
|
exitWithError(error);
|
|
@@ -16676,7 +16673,7 @@ program.command("publish").description("Ship a mobile app for a deployed stage:
|
|
|
16676
16673
|
try {
|
|
16677
16674
|
const globalOptions = program.opts();
|
|
16678
16675
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16679
|
-
const { publish, PublishModeConflict } = await import("./publish-
|
|
16676
|
+
const { publish, PublishModeConflict } = await import("./publish-0CESXM6R.mjs");
|
|
16680
16677
|
if (options.build && options.update) throw new PublishModeConflict();
|
|
16681
16678
|
const { build, update, ...rest } = options;
|
|
16682
16679
|
await publish({
|
|
@@ -16692,7 +16689,7 @@ program.command("deploy:google-play").description("Let EAS Submit publish a mobi
|
|
|
16692
16689
|
try {
|
|
16693
16690
|
const globalOptions = program.opts();
|
|
16694
16691
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16695
|
-
const { deployGooglePlay } = await import("./googlePlay-
|
|
16692
|
+
const { deployGooglePlay } = await import("./googlePlay-DDrnzQWm.mjs");
|
|
16696
16693
|
await deployGooglePlay(options);
|
|
16697
16694
|
} catch (error) {
|
|
16698
16695
|
exitWithError(error);
|
|
@@ -16714,7 +16711,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
16714
16711
|
try {
|
|
16715
16712
|
const globalOptions = program.opts();
|
|
16716
16713
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16717
|
-
const { migrateCommand } = await import("./migrate-
|
|
16714
|
+
const { migrateCommand } = await import("./migrate-CtXmf5sw.mjs");
|
|
16718
16715
|
await migrateCommand({
|
|
16719
16716
|
...options,
|
|
16720
16717
|
...construct ? { construct } : {}
|
|
@@ -16727,7 +16724,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
16727
16724
|
try {
|
|
16728
16725
|
const globalOptions = program.opts();
|
|
16729
16726
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16730
|
-
const { seedCommand } = await import("./migrate-
|
|
16727
|
+
const { seedCommand } = await import("./migrate-CtXmf5sw.mjs");
|
|
16731
16728
|
await seedCommand({
|
|
16732
16729
|
...options,
|
|
16733
16730
|
...construct ? { construct } : {}
|
|
@@ -16740,7 +16737,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
16740
16737
|
try {
|
|
16741
16738
|
const globalOptions = program.opts();
|
|
16742
16739
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16743
|
-
const { migrationCommand } = await import("./migrate-
|
|
16740
|
+
const { migrationCommand } = await import("./migrate-CtXmf5sw.mjs");
|
|
16744
16741
|
await migrationCommand({
|
|
16745
16742
|
construct,
|
|
16746
16743
|
...name ? { name } : {}
|
|
@@ -16840,7 +16837,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
16840
16837
|
try {
|
|
16841
16838
|
const globalOptions = program.opts();
|
|
16842
16839
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16843
|
-
const { secretsAddCommand } = await import("./add-
|
|
16840
|
+
const { secretsAddCommand } = await import("./add-xwmKaLFC.mjs");
|
|
16844
16841
|
await secretsAddCommand(options);
|
|
16845
16842
|
} catch (error) {
|
|
16846
16843
|
exitWithError(error);
|
|
@@ -16850,7 +16847,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
16850
16847
|
try {
|
|
16851
16848
|
const globalOptions = program.opts();
|
|
16852
16849
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16853
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
16850
|
+
const { encryptionRotateCommand } = await import("./encryption-DcXhLeea.mjs");
|
|
16854
16851
|
await encryptionRotateCommand(construct, options);
|
|
16855
16852
|
} catch (error) {
|
|
16856
16853
|
exitWithError(error);
|
|
@@ -16860,7 +16857,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
16860
16857
|
try {
|
|
16861
16858
|
const globalOptions = program.opts();
|
|
16862
16859
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16863
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
16860
|
+
const { encryptionRetireCommand } = await import("./encryption-DcXhLeea.mjs");
|
|
16864
16861
|
await encryptionRetireCommand(construct, key, options);
|
|
16865
16862
|
} catch (error) {
|
|
16866
16863
|
exitWithError(error);
|
|
@@ -16899,7 +16896,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16899
16896
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16900
16897
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
16901
16898
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
16902
|
-
const { secretsStoreFor } = await import("./seeds-
|
|
16899
|
+
const { secretsStoreFor } = await import("./seeds-CVbX__84.mjs").then((n) => n.Zt);
|
|
16903
16900
|
const { workspace } = await loadWorkspaceConfig();
|
|
16904
16901
|
const stage = options.stage ?? workspace.stages.local;
|
|
16905
16902
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -16908,7 +16905,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
16908
16905
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
16909
16906
|
process.exit(1);
|
|
16910
16907
|
}
|
|
16911
|
-
const { derivedContainers } = await import("./seeds-
|
|
16908
|
+
const { derivedContainers } = await import("./seeds-CVbX__84.mjs").then((n) => n.Dt);
|
|
16912
16909
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
16913
16910
|
if (!result) {
|
|
16914
16911
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -16925,14 +16922,14 @@ program.command("secrets:migrate").description("Copy a deployed stage's secrets
|
|
|
16925
16922
|
try {
|
|
16926
16923
|
const globalOptions = program.opts();
|
|
16927
16924
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16928
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
16925
|
+
const { secretsMigrateCommand } = await import("./migrate-DXj1Kc79.mjs");
|
|
16929
16926
|
await secretsMigrateCommand(options);
|
|
16930
16927
|
} catch (error) {
|
|
16931
16928
|
exitWithError(error);
|
|
16932
16929
|
}
|
|
16933
16930
|
});
|
|
16934
16931
|
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) => {
|
|
16935
|
-
const { deployCli } = await import("./cli-
|
|
16932
|
+
const { deployCli } = await import("./cli-o3cXaGtO.mjs");
|
|
16936
16933
|
const globalOptions = program.opts();
|
|
16937
16934
|
const code = await deployCli({
|
|
16938
16935
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -16952,7 +16949,7 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
16952
16949
|
});
|
|
16953
16950
|
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) => {
|
|
16954
16951
|
try {
|
|
16955
|
-
const { rollbackStage } = await import("./rollback-
|
|
16952
|
+
const { rollbackStage } = await import("./rollback-DCIeBIX3.mjs").then((n) => n.a);
|
|
16956
16953
|
const { terminalCredentials } = await import("./terminal-CebFDhWQ.mjs");
|
|
16957
16954
|
const globalOptions = program.opts();
|
|
16958
16955
|
await rollbackStage({
|
|
@@ -16971,7 +16968,7 @@ program.command("compose:server").description("Set up a stage's server for compo
|
|
|
16971
16968
|
try {
|
|
16972
16969
|
const globalOptions = program.opts();
|
|
16973
16970
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16974
|
-
const { composeServerCommand } = await import("./serverSetup-
|
|
16971
|
+
const { composeServerCommand } = await import("./serverSetup-Blb5uyq8.mjs");
|
|
16975
16972
|
await composeServerCommand(options);
|
|
16976
16973
|
} catch (error) {
|
|
16977
16974
|
exitWithError(error);
|
|
@@ -16996,7 +16993,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
16996
16993
|
try {
|
|
16997
16994
|
const globalOptions = program.opts();
|
|
16998
16995
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
16999
|
-
const { deployGithubCommand } = await import("./github-
|
|
16996
|
+
const { deployGithubCommand } = await import("./github-DM8dcTS3.mjs");
|
|
17000
16997
|
await deployGithubCommand(options);
|
|
17001
16998
|
} catch (error) {
|
|
17002
16999
|
exitWithError(error);
|
|
@@ -17006,7 +17003,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
17006
17003
|
try {
|
|
17007
17004
|
const globalOptions = program.opts();
|
|
17008
17005
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
17009
|
-
const { stagesCommand } = await import("./stages-
|
|
17006
|
+
const { stagesCommand } = await import("./stages-COSKjrfd.mjs");
|
|
17010
17007
|
await stagesCommand(options);
|
|
17011
17008
|
} catch (error) {
|
|
17012
17009
|
exitWithError(error);
|