@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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
2
2
|
import { t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
3
3
|
import { s as run$1, x as gkmHome } from "./credentials-DpfnUvIR.mjs";
|
|
4
|
-
import { B as LOGS_PORT, H as provisioningOf, R as stageSampleRate, U as stageProvider, _ as PUBLIC_ENV_PREFIXES, a as allConstructGlobs, ct as UnknownSecretsStoreProvider, ft as SERVER_IPV4_KEY, ht as isReservedStageKey, j as TEST_STAGE, pt as SERVER_IPV6_KEY, ut as s3SecretsLocation, v as getPublicEnvPrefix, z as telemetryEnv } from "./workspace-
|
|
5
|
-
import { t as appKey } from "./derive-
|
|
4
|
+
import { B as LOGS_PORT, H as provisioningOf, R as stageSampleRate, U as stageProvider, _ as PUBLIC_ENV_PREFIXES, a as allConstructGlobs, ct as UnknownSecretsStoreProvider, ft as SERVER_IPV4_KEY, ht as isReservedStageKey, j as TEST_STAGE, pt as SERVER_IPV6_KEY, ut as s3SecretsLocation, v as getPublicEnvPrefix, z as telemetryEnv } from "./workspace-aiDQZMje.mjs";
|
|
5
|
+
import { r as protectedSubdomains, t as appKey } from "./derive-BpT9jpPo.mjs";
|
|
6
6
|
import { c as DEFAULT_STORAGE, l as holdsEveryCache, o as DEFAULT_CACHE, s as DEFAULT_EVENTS$1 } from "./drivers-CDjpjakg.mjs";
|
|
7
7
|
import { n as deployIdentity } from "./identity-CBXr4wNi.mjs";
|
|
8
|
-
import { a as startTelemetryCode, n as runtimeFor, s as writeTelemetryModule, u as telemetryArgs } from "./EndpointGenerator-
|
|
8
|
+
import { a as startTelemetryCode, n as runtimeFor, s as writeTelemetryModule, u as telemetryArgs } from "./EndpointGenerator-Bm6xwLIF.mjs";
|
|
9
9
|
import { d as ConstructGenerator, f as output, h as eventsEdgeBucket, i as discover } from "./discover-DOhYSKY_.mjs";
|
|
10
10
|
import { ConfigNotFound, NotInAnApp, loadWorkspaceAppInfo, loadWorkspaceConfig } from "./config.mjs";
|
|
11
|
-
import { i as readFakes, o as objectsRoute, r as readCredentialFakes, t as SubscriberGenerator } from "./SubscriberGenerator-
|
|
12
|
-
import { c as runtimeOf } from "./resolve-
|
|
11
|
+
import { i as readFakes, o as objectsRoute, r as readCredentialFakes, t as SubscriberGenerator } from "./SubscriberGenerator-CI7roxx9.mjs";
|
|
12
|
+
import { c as runtimeOf } from "./resolve-DuZ4RSeN.mjs";
|
|
13
13
|
import { basename, dirname, isAbsolute, join, parse, relative, resolve, sep } from "node:path";
|
|
14
14
|
import { constants, existsSync, readFileSync } from "node:fs";
|
|
15
15
|
import { appendFile, chmod, copyFile, mkdir, readFile, readdir, rm, stat, writeFile } from "node:fs/promises";
|
|
@@ -17,7 +17,7 @@ import { homedir, hostname, networkInterfaces, userInfo } from "node:os";
|
|
|
17
17
|
import { execFile, spawn } from "node:child_process";
|
|
18
18
|
import { createServer } from "node:net";
|
|
19
19
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, randomInt } from "node:crypto";
|
|
20
|
-
import { CLIENT_IP_HEADER, DEFAULT_POSTGRES_VERSION, PUBLIC_PREFIX, TELEMETRY_KEYS, bucketExpiry, cacheTable, cookieDomain, dependenciesOf, dependentsOf, drawSecret, externalApiUrl, kebabCase, mobileOrigins, provideKey, providedKeyFor, provisionOrder, publicEnvFor, schemeBase } from "@geekmidas/manifest";
|
|
20
|
+
import { CLIENT_IP_HEADER, DEFAULT_POSTGRES_VERSION, PUBLIC_PREFIX, TELEMETRY_KEYS, WILDCARD_SUBDOMAIN, bucketExpiry, cacheTable, cookieDomain, dependenciesOf, dependentsOf, drawSecret, externalApiUrl, isWildcardSite, kebabCase, mobileOrigins, provideKey, providedKeyFor, provisionOrder, publicEnvFor, schemeBase, wildcardDomainOf } from "@geekmidas/manifest";
|
|
21
21
|
import { formatKeyring, generateKeyring } from "@geekmidas/constructs/encryption";
|
|
22
22
|
import { ownerRole, readerRole, roleStatements } from "@geekmidas/db/pg/roles";
|
|
23
23
|
import * as snsUrl from "@geekmidas/events/sns/url";
|
|
@@ -114,8 +114,9 @@ function resolveHost(appName, app, stage, domains, isMainFrontend) {
|
|
|
114
114
|
* @throws {AmbiguousRootSite} when several sites could be the root and none says it is
|
|
115
115
|
*/
|
|
116
116
|
function isMainFrontendApp(appName, app, allApps) {
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
const holds = (a) => a.type === "web" && a.subdomain !== WILDCARD_SUBDOMAIN;
|
|
118
|
+
if (!holds(app)) return false;
|
|
119
|
+
return rootSite(Object.entries(allApps).filter(([, a]) => holds(a)).map(([name, a]) => ({
|
|
119
120
|
name,
|
|
120
121
|
root: a.root
|
|
121
122
|
}))) === appName;
|
|
@@ -622,8 +623,15 @@ function portOf(address) {
|
|
|
622
623
|
* resolves and no certificate can be issued for.
|
|
623
624
|
*/
|
|
624
625
|
function hostFor$1(resource, project) {
|
|
626
|
+
const label = resource.root && project ? stageOf(resource) : labelOf(resource);
|
|
627
|
+
if (resource.subdomain === WILDCARD_SUBDOMAIN) return [
|
|
628
|
+
WILDCARD_SUBDOMAIN,
|
|
629
|
+
stageOf(resource),
|
|
630
|
+
project,
|
|
631
|
+
LOCAL_TLD
|
|
632
|
+
].filter(Boolean).join(".");
|
|
625
633
|
return [
|
|
626
|
-
|
|
634
|
+
label,
|
|
627
635
|
project,
|
|
628
636
|
LOCAL_TLD
|
|
629
637
|
].filter(Boolean).join(".");
|
|
@@ -1167,6 +1175,7 @@ function planFor(manifest, stage, order, options = {}) {
|
|
|
1167
1175
|
...declaration.kind === "file-server" && declaration.processors?.length ? { processors: [...new Set(declaration.processors.map((p) => p.prefix))].sort() } : {},
|
|
1168
1176
|
...declaration.kind === "objects" && bucketExpiry(manifest, id) ? { expire: bucketExpiry(manifest, id) } : {},
|
|
1169
1177
|
...(declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site") && declaration.subdomain ? { subdomain: declaration.subdomain } : {},
|
|
1178
|
+
...isWildcardSite(declaration) ? { protectedSubdomains: protectedSubdomains(manifest, options.protectedSubdomains) } : {},
|
|
1170
1179
|
...fake ? { fake: {
|
|
1171
1180
|
key: fake.key,
|
|
1172
1181
|
credentials: fake.credentials
|
|
@@ -1199,7 +1208,7 @@ function planFor(manifest, stage, order, options = {}) {
|
|
|
1199
1208
|
for (const resource of placeless) resource.of = only.id;
|
|
1200
1209
|
}
|
|
1201
1210
|
}
|
|
1202
|
-
const sites = resources.filter((r) => r.kind === "site");
|
|
1211
|
+
const sites = resources.filter((r) => r.kind === "site" && r.subdomain !== WILDCARD_SUBDOMAIN);
|
|
1203
1212
|
const root = rootSite(sites.map((r) => {
|
|
1204
1213
|
const declared = manifest[r.id];
|
|
1205
1214
|
return {
|
|
@@ -1340,6 +1349,13 @@ function envFor(plan, options) {
|
|
|
1340
1349
|
if (publisher) env[provideKey(resource.id, "publisherConnectionString")] = publisher;
|
|
1341
1350
|
}
|
|
1342
1351
|
if (url) env[resource.envKey] = url;
|
|
1352
|
+
if (resource.kind === "site" && resource.protectedSubdomains && url) {
|
|
1353
|
+
const domain = wildcardDomainOf(new URL(url).hostname);
|
|
1354
|
+
if (domain) {
|
|
1355
|
+
env[provideKey(resource.id, "domain")] = domain;
|
|
1356
|
+
env[provideKey(resource.id, "protectedSubdomains")] = resource.protectedSubdomains.join(",");
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1343
1359
|
if (isDatabase(resource.kind) && resource.roles !== false) {
|
|
1344
1360
|
const owner = ownerUrl(resource, plan, options.ports, options.project ?? "", credential);
|
|
1345
1361
|
if (owner) env[provideKey(resource.id, "ownerUrl")] = owner;
|
|
@@ -4234,7 +4250,7 @@ async function storeFromConfig(workspace, config, options = {}) {
|
|
|
4234
4250
|
const profile = options.profile ? { profile: options.profile } : {};
|
|
4235
4251
|
switch (config.provider) {
|
|
4236
4252
|
case "s3": {
|
|
4237
|
-
const { S3SecretsStore } = await import("./s3-
|
|
4253
|
+
const { S3SecretsStore } = await import("./s3-VpdagzYE.mjs");
|
|
4238
4254
|
const { deployIdentity } = await import("./identity-CBXr4wNi.mjs").then((n) => n.r);
|
|
4239
4255
|
const location = s3SecretsLocation(config, workspace.state);
|
|
4240
4256
|
return new S3SecretsStore({
|
|
@@ -5815,7 +5831,8 @@ async function reconcile(options) {
|
|
|
5815
5831
|
extraContainers: options.extraContainers,
|
|
5816
5832
|
...options.fakes ? { fakes: options.fakes } : {},
|
|
5817
5833
|
...options.credentialFakes ? { credentialFakes: options.credentialFakes } : {},
|
|
5818
|
-
...options.edge === void 0 ? {} : { edge: options.edge }
|
|
5834
|
+
...options.edge === void 0 ? {} : { edge: options.edge },
|
|
5835
|
+
...options.protectedSubdomains ? { protectedSubdomains: options.protectedSubdomains } : {}
|
|
5819
5836
|
});
|
|
5820
5837
|
const exports = stage !== TEST_STAGE;
|
|
5821
5838
|
const running = exports ? plan.containers : plan.containers.filter((c) => c !== TELEMETRY_CONTAINER);
|
|
@@ -6107,6 +6124,7 @@ async function reconcileWorkspace(workspace, options) {
|
|
|
6107
6124
|
stage: options.stage,
|
|
6108
6125
|
localStage: workspace.stages.local,
|
|
6109
6126
|
...backendsOf(workspace),
|
|
6127
|
+
...workspace.protectedSubdomains ? { protectedSubdomains: workspace.protectedSubdomains } : {},
|
|
6110
6128
|
saved: await loadPortState(workspace.root),
|
|
6111
6129
|
addresses: surfaceAddresses(workspace, manifest),
|
|
6112
6130
|
processorAddresses: processorAddresses(workspace, manifest),
|
|
@@ -6262,6 +6280,7 @@ function localPlan(workspace, manifest, fakes = {}, credentialFakes = {}) {
|
|
|
6262
6280
|
return planFor(manifest, workspace.stages.local, provisionOrder(manifest), {
|
|
6263
6281
|
localStage: workspace.stages.local,
|
|
6264
6282
|
...backendsOf(workspace),
|
|
6283
|
+
...workspace.protectedSubdomains ? { protectedSubdomains: workspace.protectedSubdomains } : {},
|
|
6265
6284
|
fakes,
|
|
6266
6285
|
credentialFakes,
|
|
6267
6286
|
edge: false
|
|
@@ -8344,7 +8363,7 @@ async function createDnsProvider(options) {
|
|
|
8344
8363
|
});
|
|
8345
8364
|
}
|
|
8346
8365
|
if (provider === "godaddy") {
|
|
8347
|
-
const { GoDaddyProvider } = await import("./GoDaddyProvider-
|
|
8366
|
+
const { GoDaddyProvider } = await import("./GoDaddyProvider-CLrIIpCr.mjs");
|
|
8348
8367
|
return new GoDaddyProvider(options.godaddy ?? {});
|
|
8349
8368
|
}
|
|
8350
8369
|
if (provider === "cloudflare") throw new DnsProviderNotImplemented("cloudflare");
|
|
@@ -9195,4 +9214,4 @@ function reportPlannedSeeds(planned, log) {
|
|
|
9195
9214
|
//#endregion
|
|
9196
9215
|
export { ORIGIN_VERIFY_HEADER as $, telemetryOf as $n, maskPassword as $t, StageProviderDisabled as A, postgresSuperuser as An, LEGACY_LOCAL_LOGIN as At, processorDockerfile as B, redisService as Bn, createCredentialsPreload as Bt, recordRollback as C, postgresDatabaseNames as Cn, backendsOf as Ct, setPostgresBackupId as D, LOCAL_RABBITMQ_USER as Dn, workspace_exports as Dt, setGeneratedSecret as E, mergeLifecycle as En, reconcileWorkspace as Et, DockerBuildFailed as F, projectKey as Fn, composeFor as Ft, workerBundleName as G, localRolePassword as Gn, loadPortState as Gt, workerDockerfile as H, stackRedis as Hn, findAvailablePort as Ht, DockerPushFailed as I, readKey as In, cacheBackendFor as It, CronGenerator as J, resourceName as Jn, isRemoteStore as Jt, workerEntryDir as K, TELEMETRY_CONTAINER as Kn, loadSecretsForApp as Kt, appDockerfile as L, withGeneratedSecrets as Ln, eventsBackendFor as Lt, provisionCommand as M, FileSecretsStore as Mn, bucketClient as Mt, stageProviderNotes as N, getKeyPath as Nn, pgClient as Nt, DnsRecordsUnreadable as O, loadLocalCredentials as On, LOCAL_CA_PATH as Ot, PROVIDER_KINDS as P, keystoreProject as Pn, CLUSTER_DATABASE as Pt, processorInfo as Q, surfaceClientTraced as Qn, initStageSecrets as Qt, dockerCommand as R, REDIS_SERVICE as Rn, providerOf as Rt, recordRelease as S, bucketPolicies as Sn, FAKE_ENV as St, setBackupState as T, quoteIdentifier as Tn, derivedContainers as Tt, workerDockerfileOf as U, withRedisPassword as Un, isPortAvailable as Ut, processorNative as V, runsRedis as Vn, createEntryWrapper as Vt, WorkerGenerator as W, envFor as Wn, loadEnvFiles as Wt, processorBundleName as X, isTelemetryKey as Xn, storeFromConfig as Xt, ProcessorGenerator as Y, appTelemetry as Yn, secretsStoreFor as Yt, processorEntryDir as Z, scopeTelemetryEnv as Zn, store_exports as Zt, asDokployState as _, applyLifecycles as _n, withLogsPassword as _r, appEnvKeys as _t, dnsResources as a, PROCESSOR_PORT as an, DEFAULT_IMAGES as ar, AllowDevServicesTakesNoValue as at, getBackupState as b, applyPostgres as bn, resolveHost as br, processorEnvKeys as bt, currentActor as c, detectPackageManager as cn, portKeys as cr, ExternalServicesNotConfigured as ct, DeployJournal as d, isImageBuild as dn, primaryPortKey as dr, devServicesUsed as dt, storage_exports as en, usesTelemetry as er, PROCESSOR_ORIGIN_SECRET_ENV as et, extractSubdomain as f, publicBuildValues as fn, LOCAL_LOGS_EMAIL as fr, externalServices as ft, verifyDnsRecords as g, applyBuckets as gn, stackLogs as gr, suppliedOnly as gt, orchestrateDns as h, workerUnits as hn, logsService as hr, stageServiceDeclarations as ht, dnsRecordResource as i, imageLayout as in, hostFor$1 as ir, validateImageRef as it, assertStageProvidersEnabled as j, readLocalCredentials as jn, ensurePostgresLogin as jt, createDnsProvider as k, postgresRoleSlug as kn, forgetState as kt, describeActor as l, findBuildRoot as ln, portsOf as lr, STORAGE_KEY_PAIR as lt, normalizeDnsConfig as m, processorUnits as mn, logsAccess as mr, requiredStageKeys as mt, reportDatabaseRuns as n, withCustomSecret as nn, watchedBuckets as nr, originSecretKey as nt, forgetDnsResource as o, TURBO_VERSION as on, describeServices as or, DEV_SERVICES as ot, findRootDomain as p, isUnder as pn, LOGS_SERVICE as pr, reportDevServices as pt, QueueGenerator as q, planFor as qn, prepareEntryCredentials as qt, reportPlannedSeeds as r, composeBuildPaths as rn, EMULATOR_ACCESS_KEY_ID as rr, processorOriginHost as rt, recordDnsChanges as s, WORKER_PORT as sn, fakeKey as sr, DevServicesNeedServerTarget as st, DeploySeedsFailed as t, toEmbeddableSecrets as tn, minioWebhookEnv as tr, newOriginSecret as tt, isCi as u, imageBuildCredentials as un, postgresImage as ur, assertDevServicesFlag as ut, createComposeState as v, applyNotifications as vn, NoDomainForStage as vr, dockerfileOf as vt, setApplicationId as w, postgresStatements as wn, constructGlobs as wt, getGeneratedSecret as x, bucketLifecycles as xn, workerEnvKeys as xt, createEmptyState as y, applyPolicies as yn, isMainFrontendApp as yr, networkEnv as yt, ensureDockerignore as z, STACK_CACHE as zn, storageBackendFor as zt };
|
|
9197
9216
|
|
|
9198
|
-
//# sourceMappingURL=seeds-
|
|
9217
|
+
//# sourceMappingURL=seeds-CVbX__84.mjs.map
|