@geekmidas/cli 10.0.0-alpha.146 → 10.0.0-alpha.147
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-BK5N6-fx.cjs → GoDaddyProvider-CpO8dFYC.cjs} +2 -2
- package/dist/{GoDaddyProvider-BK5N6-fx.cjs.map → GoDaddyProvider-CpO8dFYC.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-BESq24p-.mjs → GoDaddyProvider-DXuPFufW.mjs} +2 -2
- package/dist/{GoDaddyProvider-BESq24p-.mjs.map → GoDaddyProvider-DXuPFufW.mjs.map} +1 -1
- package/dist/{HostingerProvider-BbQod5OB.cjs → HostingerProvider-Beu0Ciky.cjs} +2 -2
- package/dist/{HostingerProvider-BbQod5OB.cjs.map → HostingerProvider-Beu0Ciky.cjs.map} +1 -1
- package/dist/{HostingerProvider-BV30wTNI.mjs → HostingerProvider-Dum492dc.mjs} +2 -2
- package/dist/{HostingerProvider-BV30wTNI.mjs.map → HostingerProvider-Dum492dc.mjs.map} +1 -1
- package/dist/{LegacyStateStore-Ck3HI28A.mjs → LegacyStateStore-DZjph7ES.mjs} +2 -2
- package/dist/{LegacyStateStore-Ck3HI28A.mjs.map → LegacyStateStore-DZjph7ES.mjs.map} +1 -1
- package/dist/{LegacyStateStore-OEno6vIb.cjs → LegacyStateStore-V4R0llou.cjs} +2 -2
- package/dist/{LegacyStateStore-OEno6vIb.cjs.map → LegacyStateStore-V4R0llou.cjs.map} +1 -1
- package/dist/{LocalStateStore-Fa54CpLw.mjs → LocalStateStore-Bth8pBp-.mjs} +2 -2
- package/dist/{LocalStateStore-Fa54CpLw.mjs.map → LocalStateStore-Bth8pBp-.mjs.map} +1 -1
- package/dist/{LocalStateStore-ukDFg6GM.cjs → LocalStateStore-DuSotrd3.cjs} +2 -2
- package/dist/{LocalStateStore-ukDFg6GM.cjs.map → LocalStateStore-DuSotrd3.cjs.map} +1 -1
- package/dist/{S3StateStore-D53985SR.mjs → S3StateStore-DGlh3s2p.mjs} +4 -4
- package/dist/{S3StateStore-D53985SR.mjs.map → S3StateStore-DGlh3s2p.mjs.map} +1 -1
- package/dist/{S3StateStore-Cjuft2Lk.cjs → S3StateStore-DTPxQS3z.cjs} +4 -4
- package/dist/{S3StateStore-Cjuft2Lk.cjs.map → S3StateStore-DTPxQS3z.cjs.map} +1 -1
- package/dist/{SSMStateStore-CnJgw3_-.cjs → SSMStateStore-B9R317q0.cjs} +2 -2
- package/dist/{SSMStateStore-CnJgw3_-.cjs.map → SSMStateStore-B9R317q0.cjs.map} +1 -1
- package/dist/{SSMStateStore-CRjV2h2G.mjs → SSMStateStore-DCa85jhG.mjs} +2 -2
- package/dist/{SSMStateStore-CRjV2h2G.mjs.map → SSMStateStore-DCa85jhG.mjs.map} +1 -1
- package/dist/{add-D0-1UyFj.mjs → add-Bl33BvDW.mjs} +7 -7
- package/dist/{add-D0-1UyFj.mjs.map → add-Bl33BvDW.mjs.map} +1 -1
- package/dist/{add-CG_4mNir.cjs → add-Cr-9Ku0W.cjs} +7 -7
- package/dist/{add-CG_4mNir.cjs.map → add-Cr-9Ku0W.cjs.map} +1 -1
- package/dist/{apps-DHi6E_yH.cjs → apps-BIsxWYUo.cjs} +104 -8
- package/dist/apps-BIsxWYUo.cjs.map +1 -0
- package/dist/{apps-DWALM-8s.mjs → apps-DFzUuJ22.mjs} +87 -9
- package/dist/apps-DFzUuJ22.mjs.map +1 -0
- package/dist/{bundler-Cb5ynXXS.mjs → bundler-BagXzefF.mjs} +6 -6
- package/dist/{bundler-Cb5ynXXS.mjs.map → bundler-BagXzefF.mjs.map} +1 -1
- package/dist/{bundler-Co_7zpYC.cjs → bundler-Cael9EDc.cjs} +6 -6
- package/dist/{bundler-Co_7zpYC.cjs.map → bundler-Cael9EDc.cjs.map} +1 -1
- package/dist/{cli-C5M_7Kux.cjs → cli-B1A-cLy-.cjs} +4 -4
- package/dist/{cli-C5M_7Kux.cjs.map → cli-B1A-cLy-.cjs.map} +1 -1
- package/dist/{cli-D_9WqN6C.mjs → cli-BJRPsFq7.mjs} +4 -4
- package/dist/{cli-D_9WqN6C.mjs.map → cli-BJRPsFq7.mjs.map} +1 -1
- package/dist/{compose-7p0-3ogo.mjs → compose-C7izI7Eo.mjs} +5 -5
- package/dist/{compose-7p0-3ogo.mjs.map → compose-C7izI7Eo.mjs.map} +1 -1
- package/dist/{compose-DxmEMeTu.mjs → compose-CZU60dwb.mjs} +286 -31
- package/dist/compose-CZU60dwb.mjs.map +1 -0
- package/dist/{compose-C10hkeHU.cjs → compose-Cius-YHS.cjs} +5 -5
- package/dist/{compose-C10hkeHU.cjs.map → compose-Cius-YHS.cjs.map} +1 -1
- package/dist/{compose-BeQ01iYk.cjs → compose-CnNmDNph.cjs} +285 -30
- package/dist/compose-CnNmDNph.cjs.map +1 -0
- package/dist/{config-B-wza0Xk.mjs → config-BLrAd7Of.mjs} +2 -2
- package/dist/{config-B-wza0Xk.mjs.map → config-BLrAd7Of.mjs.map} +1 -1
- package/dist/{config-BcL1Fojs.d.cts → config-CRk2vdSp.d.mts} +3 -3
- package/dist/{config-BbivVpq0.d.mts.map → config-CRk2vdSp.d.mts.map} +1 -1
- package/dist/{config-CWExbDxA.cjs → config-juUyBlb1.cjs} +2 -2
- package/dist/{config-CWExbDxA.cjs.map → config-juUyBlb1.cjs.map} +1 -1
- package/dist/{config-BbivVpq0.d.mts → config-oBgsbLip.d.cts} +3 -3
- package/dist/{config-BcL1Fojs.d.cts.map → config-oBgsbLip.d.cts.map} +1 -1
- package/dist/config.cjs +2 -2
- package/dist/config.d.cts +3 -3
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +2 -2
- package/dist/{credentials-B5Oe4fLE.mjs → credentials-CJ_z0Nni.mjs} +7 -7
- package/dist/{credentials-B5Oe4fLE.mjs.map → credentials-CJ_z0Nni.mjs.map} +1 -1
- package/dist/{credentials-Csnd7M8M.cjs → credentials-D11xozSF.cjs} +7 -7
- package/dist/{credentials-Csnd7M8M.cjs.map → credentials-D11xozSF.cjs.map} +1 -1
- package/dist/deploy/public.cjs +12 -12
- package/dist/deploy/public.d.cts +3 -3
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts +3 -3
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +12 -12
- package/dist/{deploy-BwNxJ3ZI.cjs → deploy-Ch1wCsU1.cjs} +13 -13
- package/dist/{deploy-BwNxJ3ZI.cjs.map → deploy-Ch1wCsU1.cjs.map} +1 -1
- package/dist/{deploy-6DDEG4Ai.mjs → deploy-Dfn21QYG.mjs} +13 -13
- package/dist/{deploy-6DDEG4Ai.mjs.map → deploy-Dfn21QYG.mjs.map} +1 -1
- package/dist/{docker-BZnNUJCy.cjs → docker-BT6G7aJE.cjs} +5 -5
- package/dist/{docker-BZnNUJCy.cjs.map → docker-BT6G7aJE.cjs.map} +1 -1
- package/dist/{docker-Ch5aPQ04.mjs → docker-_W_CauBY.mjs} +5 -5
- package/dist/{docker-Ch5aPQ04.mjs.map → docker-_W_CauBY.mjs.map} +1 -1
- package/dist/{dokploy-CTWw3WSo.mjs → dokploy-CBgGuei3.mjs} +2 -2
- package/dist/{dokploy-CTWw3WSo.mjs.map → dokploy-CBgGuei3.mjs.map} +1 -1
- package/dist/{dokploy-Cn7dQqmE.cjs → dokploy-DaQbR_NH.cjs} +2 -2
- package/dist/{dokploy-Cn7dQqmE.cjs.map → dokploy-DaQbR_NH.cjs.map} +1 -1
- package/dist/{eas-D0B8H7hT.mjs → eas-3L1_yKhk.mjs} +3 -3
- package/dist/{eas-D0B8H7hT.mjs.map → eas-3L1_yKhk.mjs.map} +1 -1
- package/dist/{eas-IPjz0PWK.cjs → eas-YxDTJ3ql.cjs} +3 -3
- package/dist/{eas-IPjz0PWK.cjs.map → eas-YxDTJ3ql.cjs.map} +1 -1
- package/dist/{encryption-C9auXcSV.mjs → encryption-CRyFk5nu.mjs} +4 -4
- package/dist/{encryption-C9auXcSV.mjs.map → encryption-CRyFk5nu.mjs.map} +1 -1
- package/dist/{encryption-vK64UP4M.cjs → encryption-CVIu104e.cjs} +4 -4
- package/dist/{encryption-vK64UP4M.cjs.map → encryption-CVIu104e.cjs.map} +1 -1
- package/dist/{engine-C3N2WhbC.mjs → engine-DZnZy1R5.mjs} +17 -12
- package/dist/engine-DZnZy1R5.mjs.map +1 -0
- package/dist/{engine-Icqv5JI6.cjs → engine-XecwdLdj.cjs} +17 -12
- package/dist/engine-XecwdLdj.cjs.map +1 -0
- package/dist/{github-D24wTOe2.mjs → github-CDJXpBCT.mjs} +9 -9
- package/dist/{github-D24wTOe2.mjs.map → github-CDJXpBCT.mjs.map} +1 -1
- package/dist/{github-DUuNInc0.cjs → github-dnxU_tMp.cjs} +9 -9
- package/dist/{github-DUuNInc0.cjs.map → github-dnxU_tMp.cjs.map} +1 -1
- package/dist/{googlePlay-Cy-MaYr2.mjs → googlePlay-BYeXKpNE.mjs} +5 -5
- package/dist/{googlePlay-Cy-MaYr2.mjs.map → googlePlay-BYeXKpNE.mjs.map} +1 -1
- package/dist/{googlePlay-BGDKlnPx.cjs → googlePlay-CnIU3qIV.cjs} +5 -5
- package/dist/{googlePlay-BGDKlnPx.cjs.map → googlePlay-CnIU3qIV.cjs.map} +1 -1
- package/dist/{index-C1jffZ5_.d.cts → index-B35vTdAW.d.cts} +2 -2
- package/dist/{index-BZZeEWug.d.mts.map → index-B35vTdAW.d.cts.map} +1 -1
- package/dist/{index-BZZeEWug.d.mts → index-Dv1Zj86i.d.mts} +2 -2
- package/dist/{index-C1jffZ5_.d.cts.map → index-Dv1Zj86i.d.mts.map} +1 -1
- package/dist/index.cjs +64 -63
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +64 -63
- package/dist/index.mjs.map +1 -1
- package/dist/{local-CdpBgn3d.mjs → local-BIOpCtLE.mjs} +2 -2
- package/dist/{local-CdpBgn3d.mjs.map → local-BIOpCtLE.mjs.map} +1 -1
- package/dist/{local-B4xobzh-.cjs → local-qdNfjzxQ.cjs} +2 -2
- package/dist/{local-B4xobzh-.cjs.map → local-qdNfjzxQ.cjs.map} +1 -1
- package/dist/{migrate-DhZfvCkJ.mjs → migrate--VNdTWT7.mjs} +6 -6
- package/dist/{migrate-DhZfvCkJ.mjs.map → migrate--VNdTWT7.mjs.map} +1 -1
- package/dist/{migrate-DwQ-zaMy.cjs → migrate-CDEHWq-e.cjs} +6 -6
- package/dist/{migrate-DwQ-zaMy.cjs.map → migrate-CDEHWq-e.cjs.map} +1 -1
- package/dist/{migrate--hMBtpx-.cjs → migrate-CkHtNdre.cjs} +4 -4
- package/dist/{migrate--hMBtpx-.cjs.map → migrate-CkHtNdre.cjs.map} +1 -1
- package/dist/{migrate-DVrXTq58.mjs → migrate-svXhccrs.mjs} +4 -4
- package/dist/{migrate-DVrXTq58.mjs.map → migrate-svXhccrs.mjs.map} +1 -1
- package/dist/{notes-z5OOMqm4.mjs → notes-D9ofENLJ.mjs} +4 -4
- package/dist/{notes-z5OOMqm4.mjs.map → notes-D9ofENLJ.mjs.map} +1 -1
- package/dist/{notes-C2b5RzGl.cjs → notes-DBNPml4N.cjs} +4 -4
- package/dist/{notes-C2b5RzGl.cjs.map → notes-DBNPml4N.cjs.map} +1 -1
- package/dist/openapi.cjs +2 -2
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +2 -2
- package/dist/{projectBucket-Dk_aZ1cD.cjs → projectBucket-BtiC0Cn8.cjs} +2 -2
- package/dist/{projectBucket-Dk_aZ1cD.cjs.map → projectBucket-BtiC0Cn8.cjs.map} +1 -1
- package/dist/{projectBucket-DPD0_B8N.mjs → projectBucket-De0MQeNj.mjs} +2 -2
- package/dist/{projectBucket-DPD0_B8N.mjs.map → projectBucket-De0MQeNj.mjs.map} +1 -1
- package/dist/{publish-CDvh-9OG.cjs → publish-CohTrVKe.cjs} +2 -2
- package/dist/{publish-CDvh-9OG.cjs.map → publish-CohTrVKe.cjs.map} +1 -1
- package/dist/{publish-Bmc1Wfs3.mjs → publish-k38S418e.mjs} +2 -2
- package/dist/{publish-Bmc1Wfs3.mjs.map → publish-k38S418e.mjs.map} +1 -1
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/{resolve-CuxPZ3ga.cjs → resolve-Cr3Qj8ch.cjs} +4 -4
- package/dist/{resolve-CuxPZ3ga.cjs.map → resolve-Cr3Qj8ch.cjs.map} +1 -1
- package/dist/{resolve-DHARlMdl.mjs → resolve-YMxlYJtO.mjs} +4 -4
- package/dist/{resolve-DHARlMdl.mjs.map → resolve-YMxlYJtO.mjs.map} +1 -1
- package/dist/{rollback-DZq_dIbl.mjs → rollback-DIoyVrQI.mjs} +7 -7
- package/dist/{rollback-DZq_dIbl.mjs.map → rollback-DIoyVrQI.mjs.map} +1 -1
- package/dist/{rollback-DxHut8C-.cjs → rollback-eyqvtzW_.cjs} +7 -7
- package/dist/{rollback-DxHut8C-.cjs.map → rollback-eyqvtzW_.cjs.map} +1 -1
- package/dist/{runtime-Bvgyxm88.d.cts → runtime-CFvcLEJW.d.cts} +2 -2
- package/dist/{runtime-Bvgyxm88.d.cts.map → runtime-CFvcLEJW.d.cts.map} +1 -1
- package/dist/{runtime-CeAt1IJd.d.mts → runtime-dwsH6ddo.d.mts} +2 -2
- package/dist/{runtime-CeAt1IJd.d.mts.map → runtime-dwsH6ddo.d.mts.map} +1 -1
- package/dist/{s3-Dhy58V_y.cjs → s3-CegRM8Sa.cjs} +3 -3
- package/dist/{s3-Dhy58V_y.cjs.map → s3-CegRM8Sa.cjs.map} +1 -1
- package/dist/{s3-Cd7UK2y8.mjs → s3-Cl3tRemt.mjs} +3 -3
- package/dist/{s3-Cd7UK2y8.mjs.map → s3-Cl3tRemt.mjs.map} +1 -1
- package/dist/{serverSetup-DYiKHMVp.cjs → serverSetup-BwfMgz3W.cjs} +7 -7
- package/dist/{serverSetup-DYiKHMVp.cjs.map → serverSetup-BwfMgz3W.cjs.map} +1 -1
- package/dist/{serverSetup-qe5bdBhO.mjs → serverSetup-fQwkJ_EI.mjs} +7 -7
- package/dist/{serverSetup-qe5bdBhO.mjs.map → serverSetup-fQwkJ_EI.mjs.map} +1 -1
- package/dist/{sniffer-DFix2ORf.cjs → sniffer-BgdVvvzU.cjs} +7 -7
- package/dist/{sniffer-DFix2ORf.cjs.map → sniffer-BgdVvvzU.cjs.map} +1 -1
- package/dist/{sniffer-BNcLP8MO.mjs → sniffer-FF7mfuR8.mjs} +7 -7
- package/dist/{sniffer-BNcLP8MO.mjs.map → sniffer-FF7mfuR8.mjs.map} +1 -1
- package/dist/{snsSubscriptions-BwX28_Kl.mjs → snsSubscriptions-B_WH4o1S.mjs} +3 -3
- package/dist/{snsSubscriptions-BwX28_Kl.mjs.map → snsSubscriptions-B_WH4o1S.mjs.map} +1 -1
- package/dist/{snsSubscriptions-Dr-gJWtR.cjs → snsSubscriptions-DUY-Tu6J.cjs} +3 -3
- package/dist/{snsSubscriptions-Dr-gJWtR.cjs.map → snsSubscriptions-DUY-Tu6J.cjs.map} +1 -1
- package/dist/{sst-CoKFPW7f.cjs → sst-BEXeTgDQ.cjs} +5 -5
- package/dist/{sst-CoKFPW7f.cjs.map → sst-BEXeTgDQ.cjs.map} +1 -1
- package/dist/{sst-Bvtx6uZ9.mjs → sst-BkTtncop.mjs} +5 -5
- package/dist/{sst-Bvtx6uZ9.mjs.map → sst-BkTtncop.mjs.map} +1 -1
- package/dist/{stack-DbaKGKnI.cjs → stack-CcFgY4sJ.cjs} +29 -27
- package/dist/stack-CcFgY4sJ.cjs.map +1 -0
- package/dist/{stack-BeSbt_7k.mjs → stack-CqfBL5LA.mjs} +29 -27
- package/dist/stack-CqfBL5LA.mjs.map +1 -0
- package/dist/{stage-BblkSR2C.mjs → stage-4ZtteXz8.mjs} +7 -7
- package/dist/{stage-BblkSR2C.mjs.map → stage-4ZtteXz8.mjs.map} +1 -1
- package/dist/{stage-DI5mzoAi.cjs → stage-C19XRx7W.cjs} +7 -7
- package/dist/{stage-DI5mzoAi.cjs.map → stage-C19XRx7W.cjs.map} +1 -1
- package/dist/{stages-C-bVwvJZ.cjs → stages-Bs1THSy7.cjs} +3 -3
- package/dist/{stages-C-bVwvJZ.cjs.map → stages-Bs1THSy7.cjs.map} +1 -1
- package/dist/{stages-DBsDvEbo.mjs → stages-_xCG4Ymu.mjs} +3 -3
- package/dist/{stages-DBsDvEbo.mjs.map → stages-_xCG4Ymu.mjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.d.cts +2 -2
- package/dist/target/public.d.mts +2 -2
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-Bxy_A8iP.cjs → terminal-BkyVVOb-.cjs} +2 -2
- package/dist/{terminal-Bxy_A8iP.cjs.map → terminal-BkyVVOb-.cjs.map} +1 -1
- package/dist/{terminal-DDqusYW0.mjs → terminal-KVX_MmCR.mjs} +2 -2
- package/dist/{terminal-DDqusYW0.mjs.map → terminal-KVX_MmCR.mjs.map} +1 -1
- package/dist/{types-Dy1eV7yc.d.cts → types-Dk--xVOT.d.cts} +31 -11
- package/dist/{types-Dy1eV7yc.d.cts.map → types-Dk--xVOT.d.cts.map} +1 -1
- package/dist/{types-C6hDCkV2.d.mts → types-DwQYpd_0.d.mts} +31 -11
- package/dist/{types-C6hDCkV2.d.mts.map → types-DwQYpd_0.d.mts.map} +1 -1
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.d.cts +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-BbbkJDUU.cjs → workspace-1szcahj9.cjs} +19 -27
- package/dist/workspace-1szcahj9.cjs.map +1 -0
- package/dist/{workspace-CZGJdcTs.mjs → workspace-DFGsrjGD.mjs} +19 -27
- package/dist/workspace-DFGsrjGD.mjs.map +1 -0
- package/package.json +15 -15
- package/dist/apps-DHi6E_yH.cjs.map +0 -1
- package/dist/apps-DWALM-8s.mjs.map +0 -1
- package/dist/compose-BeQ01iYk.cjs.map +0 -1
- package/dist/compose-DxmEMeTu.mjs.map +0 -1
- package/dist/engine-C3N2WhbC.mjs.map +0 -1
- package/dist/engine-Icqv5JI6.cjs.map +0 -1
- package/dist/stack-BeSbt_7k.mjs.map +0 -1
- package/dist/stack-DbaKGKnI.cjs.map +0 -1
- package/dist/workspace-BbbkJDUU.cjs.map +0 -1
- package/dist/workspace-CZGJdcTs.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
2
2
|
import { t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
3
|
-
import { A as eventsBackendFor, Tt as gkmHome, U as externalsManifestName, j as providerOf, k as cacheBackendFor } from "./credentials-
|
|
4
|
-
import { R as stageSampleRate, _ as PUBLIC_ENV_PREFIXES, a as allConstructGlobs, j as TEST_STAGE, z as telemetryEnv } from "./workspace-
|
|
5
|
-
import { A as objectsWebhookToken, B as portKeys, D as NOTIFICATION_RULE_PREFIX, E as HOST_GATEWAY$1, F as emulatorQueueUrl, I as emulatorTopicArn, K as LOGS_ORG, N as EMULATOR_REGION, O as minioNotificationRule, P as emulatorEndpoint, U as primaryPortKey, V as portsOf, W as serviceAddresses, X as otlpHeaders, f as savePortState, j as watchedBuckets, l as loadPortState, m as loadLocalCredentials, n as composeFor, r as toYaml, rt as rootSite, t as CLUSTER_DATABASE, v as saveLocalCredentials, z as fakeKey } from "./compose-
|
|
3
|
+
import { A as eventsBackendFor, Tt as gkmHome, U as externalsManifestName, j as providerOf, k as cacheBackendFor } from "./credentials-CJ_z0Nni.mjs";
|
|
4
|
+
import { R as stageSampleRate, _ as PUBLIC_ENV_PREFIXES, a as allConstructGlobs, j as TEST_STAGE, z as telemetryEnv } from "./workspace-DFGsrjGD.mjs";
|
|
5
|
+
import { A as objectsWebhookToken, B as portKeys, D as NOTIFICATION_RULE_PREFIX, E as HOST_GATEWAY$1, F as emulatorQueueUrl, I as emulatorTopicArn, K as LOGS_ORG, N as EMULATOR_REGION, O as minioNotificationRule, P as emulatorEndpoint, U as primaryPortKey, V as portsOf, W as serviceAddresses, X as otlpHeaders, f as savePortState, j as watchedBuckets, l as loadPortState, m as loadLocalCredentials, n as composeFor, r as toYaml, rt as rootSite, t as CLUSTER_DATABASE, v as saveLocalCredentials, z as fakeKey } from "./compose-C7izI7Eo.mjs";
|
|
6
6
|
import { c as INBOX_RELAY_TOKEN_KEY, d as inboxWebhookUrl, i as readFakes, l as inboxRelayToken, o as objectsRoute, r as readCredentialFakes, u as inboxRelayWorker } from "./SubscriberGenerator-CzPrixYu.mjs";
|
|
7
|
-
import { g as appKey, v as protectedSubdomains } from "./config-
|
|
7
|
+
import { g as appKey, v as protectedSubdomains } from "./config-BLrAd7Of.mjs";
|
|
8
8
|
import { i as holdsEveryCache, t as DEFAULT_CACHE } from "./types-Y1NfWlyG.mjs";
|
|
9
9
|
import { u as telemetryArgs } from "./EndpointGenerator-CusLH-9S.mjs";
|
|
10
10
|
import { i as discover, w as workerEdges, x as eventsEdgeBucket } from "./discover-DbDrCQ8h.mjs";
|
|
@@ -1972,6 +1972,62 @@ function publicBuildValues(site, manifest, resolve, secrets) {
|
|
|
1972
1972
|
for (const [key, value] of Object.entries(secrets)) if (key.startsWith(prefix) && args[key] === void 0 && value) args[key] = value;
|
|
1973
1973
|
return args;
|
|
1974
1974
|
}
|
|
1975
|
+
/**
|
|
1976
|
+
* Where a site's own hosts point during its image build: this loopback
|
|
1977
|
+
* address, on which nothing in a build container listens — so a request to
|
|
1978
|
+
* one is refused at once instead of waiting on a host that is not up yet.
|
|
1979
|
+
*/
|
|
1980
|
+
const OFFLINE_BUILD_ADDRESS = "127.0.0.1";
|
|
1981
|
+
/**
|
|
1982
|
+
* The hosts a site's image build must not wait on: its own and those of the
|
|
1983
|
+
* constructs its `.dependsOn()` names, as this stage serves them.
|
|
1984
|
+
*
|
|
1985
|
+
* None of them answers while the image is built — the stack the site belongs
|
|
1986
|
+
* to is started after it — and a fetch to a public host that does not answer
|
|
1987
|
+
* yet can stall until the framework's prerender limit (Next's 60s). Mapped to
|
|
1988
|
+
* {@link OFFLINE_BUILD_ADDRESS} in the build's `/etc/hosts`, each is refused
|
|
1989
|
+
* at once, and the page renders on its first request instead.
|
|
1990
|
+
*
|
|
1991
|
+
* The mapping is the build's only: the URLs the bundle inlines are the real
|
|
1992
|
+
* ones, and the running container resolves them as anything else does. A
|
|
1993
|
+
* stage secret named for the bundle is someone else's host (an analytics
|
|
1994
|
+
* service, a store) and is left alone, as are `localhost` and an address.
|
|
1995
|
+
*/
|
|
1996
|
+
function offlineBuildHosts(site, manifest, resolve) {
|
|
1997
|
+
const sources = [provideKey(site.id, "url"), ...Object.values(publicEnvFor(site, manifest))];
|
|
1998
|
+
const hosts = /* @__PURE__ */ new Set();
|
|
1999
|
+
for (const source of sources) {
|
|
2000
|
+
const host = hostOf(resolve(source));
|
|
2001
|
+
if (host) hosts.add(host);
|
|
2002
|
+
}
|
|
2003
|
+
return [...hosts].sort();
|
|
2004
|
+
}
|
|
2005
|
+
/** A URL's host, where it is a name `/etc/hosts` can map. */
|
|
2006
|
+
function hostOf(value) {
|
|
2007
|
+
if (!value || !URL.canParse(value)) return void 0;
|
|
2008
|
+
const { protocol, hostname } = new URL(value);
|
|
2009
|
+
if (!/^(https?|wss?):$/.test(protocol)) return void 0;
|
|
2010
|
+
if (hostname === "localhost" || hostname.includes("*")) return void 0;
|
|
2011
|
+
if (/^[\d.]+$/.test(hostname) || hostname.startsWith("[")) return void 0;
|
|
2012
|
+
return hostname;
|
|
2013
|
+
}
|
|
2014
|
+
/**
|
|
2015
|
+
* {@link offlineBuildHosts} for a target that knows each app's public URL by
|
|
2016
|
+
* its app key rather than by construct key — the site's own, and each app it
|
|
2017
|
+
* calls. None, for an app that declares no site.
|
|
2018
|
+
*/
|
|
2019
|
+
function siteOfflineHosts(manifest, appName, ownUrl, urls) {
|
|
2020
|
+
const entries = Object.entries(manifest);
|
|
2021
|
+
const site = entries.find(([id, d]) => d.kind === "site" && appKey(id) === appName)?.[1];
|
|
2022
|
+
if (site?.kind !== "site") return [];
|
|
2023
|
+
const byKey = /* @__PURE__ */ new Map();
|
|
2024
|
+
for (const [id] of entries) {
|
|
2025
|
+
const name = appKey(id);
|
|
2026
|
+
const url = name === appName ? ownUrl : urls[name];
|
|
2027
|
+
if (url) byKey.set(provideKey(id, "url"), url);
|
|
2028
|
+
}
|
|
2029
|
+
return offlineBuildHosts(site, manifest, (key) => byKey.get(key));
|
|
2030
|
+
}
|
|
1975
2031
|
//#endregion
|
|
1976
2032
|
//#region src/exec/imageBuild.ts
|
|
1977
2033
|
/**
|
|
@@ -1990,6 +2046,22 @@ function isImageBuild(env = process.env) {
|
|
|
1990
2046
|
return env[IMAGE_BUILD_ENV] === "1";
|
|
1991
2047
|
}
|
|
1992
2048
|
/**
|
|
2049
|
+
* Set by a site's Dockerfile in its builder stage: this build is offline —
|
|
2050
|
+
* no stage is reachable from it.
|
|
2051
|
+
*
|
|
2052
|
+
* A site's image is built before the stack it belongs to runs, so the APIs
|
|
2053
|
+
* its `.dependsOn()` names do not answer yet: data a page fetches while the
|
|
2054
|
+
* framework prerenders it would be none, cached as the page. A site tests
|
|
2055
|
+
* `process.env.GKM_BUILD_OFFLINE === '1'` to skip that fetch, and renders the
|
|
2056
|
+
* page on its first request instead — which gkm's warm-up after a deploy
|
|
2057
|
+
* makes before any visitor does.
|
|
2058
|
+
*
|
|
2059
|
+
* Separate from {@link IMAGE_BUILD_ENV}, which says what `gkm exec` injects:
|
|
2060
|
+
* this says what the build can reach. Only the builder stage sets it; the
|
|
2061
|
+
* running container never has it.
|
|
2062
|
+
*/
|
|
2063
|
+
const BUILD_OFFLINE_ENV = "GKM_BUILD_OFFLINE";
|
|
2064
|
+
/**
|
|
1993
2065
|
* What `gkm exec` injects inside an image build: the public values its build
|
|
1994
2066
|
* args set — every `NEXT_PUBLIC_*`, `VITE_*` and `EXPO_PUBLIC_*` — and
|
|
1995
2067
|
* nothing read from a secrets store, a file or a container.
|
|
@@ -2335,6 +2407,9 @@ const FIND_GKM_BIN = `let d=process.cwd();const{existsSync:e}=require("fs"),{dir
|
|
|
2335
2407
|
* no bin linked.
|
|
2336
2408
|
* - `GKM_IMAGE_BUILD`, which has `gkm exec` inject the build args above — the
|
|
2337
2409
|
* stage's public URLs — and never load a secret or resolve a local address.
|
|
2410
|
+
* - `GKM_BUILD_OFFLINE`, which tells the site's own code that no stage is
|
|
2411
|
+
* reachable from this build: its APIs are not up yet, so a page that
|
|
2412
|
+
* fetches from them renders on request rather than at build.
|
|
2338
2413
|
* - each backend's typed client, generated from its endpoints at the
|
|
2339
2414
|
* workspace root's `.gkm/client/`, where the site's tsconfig paths point.
|
|
2340
2415
|
*/
|
|
@@ -2362,12 +2437,15 @@ RUN cd ${root} && GKM_BIN="$(node -e '${FIND_GKM_BIN}')" && \\
|
|
|
2362
2437
|
chmod +x /usr/local/bin/gkm
|
|
2363
2438
|
|
|
2364
2439
|
# \`gkm exec\` in this build injects the build args, never a stage's secrets
|
|
2365
|
-
ENV ${IMAGE_BUILD_ENV}=1
|
|
2440
|
+
ENV ${IMAGE_BUILD_ENV}=1
|
|
2441
|
+
# No stage is reachable from this build: the site's APIs are not up yet
|
|
2442
|
+
ENV ${BUILD_OFFLINE_ENV}=1${generate}`;
|
|
2366
2443
|
}
|
|
2367
2444
|
/**
|
|
2368
2445
|
* Build the site with turbo. Loose env mode, so the task sees what the
|
|
2369
|
-
* Dockerfile set — the build args
|
|
2370
|
-
* project's turbo.json declares: the image's environment
|
|
2446
|
+
* Dockerfile set — the build args, `GKM_IMAGE_BUILD` and `GKM_BUILD_OFFLINE`
|
|
2447
|
+
* — whatever the project's turbo.json declares: the image's environment
|
|
2448
|
+
* holds nothing else.
|
|
2371
2449
|
*/
|
|
2372
2450
|
function siteBuild(options) {
|
|
2373
2451
|
const { turbo } = layout(options);
|
|
@@ -4928,6 +5006,6 @@ function healthcheck(port, path) {
|
|
|
4928
5006
|
};
|
|
4929
5007
|
}
|
|
4930
5008
|
//#endregion
|
|
4931
|
-
export {
|
|
5009
|
+
export { applyPolicies as $, findBuildRoot as A, imageBuildCredentials as B, appImageOptions as C, TURBO_VERSION as D, PROCESSOR_PORT as E, generateNodeWebDockerfile as F, siteOfflineHosts as G, OFFLINE_BUILD_ADDRESS as H, generateProcessorDockerfile as I, processorUnits as J, isUnder as K, generateViteStaticDockerfile as L, generateDockerignore as M, generateEntryDockerfile as N, WORKER_PORT as O, generateNextjsDockerfile as P, applyNotifications as Q, generateWorkerDockerfile as R, readLocalAuthority as S, PROCESSORS_DEV_PREFIX as St, imageLayout as T, offlineBuildHosts as U, isImageBuild as V, publicBuildValues as W, applyBuckets as X, workerUnits as Y, applyLifecycles as Z, pgClient as _, surfaceClientTraced as _t, workerEnvKeys as a, quoteIdentifier as at, localAuthorityPaths as b, LOCAL_TLD as bt, constructGlobs as c, localRolePassword as ct, workspace_exports as d, planFor as dt, applyPostgres as et, COMPOSE_PATH as f, resourceName as ft, bucketClient as g, siteClientTelemetry as gt, ensurePostgresLogin as h, scopeTelemetryEnv as ht, processorEnvKeys as i, postgresStatements as it, generateBackendDockerfile as j, detectPackageManager as k, derivedContainers as l, stageEnv as lt, LEGACY_LOCAL_LOGIN as m, isTelemetryKey as mt, dockerfileOf as n, bucketPolicies as nt, FAKE_ENV as o, mergeLifecycle as ot, forgetState as p, appTelemetry as pt, processorUnitName as q, networkEnv as r, postgresDatabaseNames as rt, backendsOf as s, envFor as st, appEnvKeys as t, bucketLifecycles as tt, reconcileWorkspace as u, TELEMETRY_CONTAINER as ut, ensureLocalAuthority as v, telemetryOf as vt, composeBuildPaths as w, localCertificateNames as x, hostFor$1 as xt, ensureLocalCertificate as y, usesTelemetry as yt, resolveDockerConfig as z };
|
|
4932
5010
|
|
|
4933
|
-
//# sourceMappingURL=apps-
|
|
5011
|
+
//# sourceMappingURL=apps-DFzUuJ22.mjs.map
|