@geekmidas/cli 10.0.0-alpha.167 → 10.0.0-alpha.169
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{EndpointGenerator-DxrRqfJ3.cjs → EndpointGenerator-C1h_wExz.cjs} +2 -2
- package/dist/{EndpointGenerator-DxrRqfJ3.cjs.map → EndpointGenerator-C1h_wExz.cjs.map} +1 -1
- package/dist/{EndpointGenerator-B5BKAoLz.mjs → EndpointGenerator-CSKhAD6W.mjs} +2 -2
- package/dist/{EndpointGenerator-B5BKAoLz.mjs.map → EndpointGenerator-CSKhAD6W.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-Dci0SlN5.mjs → GoDaddyProvider-Cvmy2SPq.mjs} +2 -2
- package/dist/{GoDaddyProvider-Dci0SlN5.mjs.map → GoDaddyProvider-Cvmy2SPq.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-o6DJAsBZ.cjs → GoDaddyProvider-KmdZlFSL.cjs} +2 -2
- package/dist/{GoDaddyProvider-o6DJAsBZ.cjs.map → GoDaddyProvider-KmdZlFSL.cjs.map} +1 -1
- package/dist/{HostingerProvider-BzHPhONW.cjs → HostingerProvider--IyQKlIC.cjs} +2 -2
- package/dist/{HostingerProvider-BzHPhONW.cjs.map → HostingerProvider--IyQKlIC.cjs.map} +1 -1
- package/dist/{HostingerProvider-Dd5x1zvF.mjs → HostingerProvider-DYf1XT_W.mjs} +2 -2
- package/dist/{HostingerProvider-Dd5x1zvF.mjs.map → HostingerProvider-DYf1XT_W.mjs.map} +1 -1
- package/dist/{LegacyStateStore-tqY0hM8z.cjs → LegacyStateStore-8GVMHI12.cjs} +2 -2
- package/dist/{LegacyStateStore-tqY0hM8z.cjs.map → LegacyStateStore-8GVMHI12.cjs.map} +1 -1
- package/dist/{LegacyStateStore-CpF6rmZc.mjs → LegacyStateStore-BOZj8nj1.mjs} +2 -2
- package/dist/{LegacyStateStore-CpF6rmZc.mjs.map → LegacyStateStore-BOZj8nj1.mjs.map} +1 -1
- package/dist/{LocalStateStore-BYMUEGZN.cjs → LocalStateStore-CfBABk6G.cjs} +2 -2
- package/dist/{LocalStateStore-BYMUEGZN.cjs.map → LocalStateStore-CfBABk6G.cjs.map} +1 -1
- package/dist/{LocalStateStore-Adp96xPy.mjs → LocalStateStore-D3wY7Qkb.mjs} +2 -2
- package/dist/{LocalStateStore-Adp96xPy.mjs.map → LocalStateStore-D3wY7Qkb.mjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-Vaf0pI8u.mjs → OpenApiTsGenerator-5xPn-p65.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-Vaf0pI8u.mjs.map → OpenApiTsGenerator-5xPn-p65.mjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-DOTLKBFf.cjs → OpenApiTsGenerator-CzrLGzC0.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-DOTLKBFf.cjs.map → OpenApiTsGenerator-CzrLGzC0.cjs.map} +1 -1
- package/dist/{S3StateStore-DjXyhGIP.cjs → S3StateStore-C-Fs7CWD.cjs} +4 -4
- package/dist/{S3StateStore-DjXyhGIP.cjs.map → S3StateStore-C-Fs7CWD.cjs.map} +1 -1
- package/dist/{S3StateStore-13Go3hfM.mjs → S3StateStore-CO92LBQI.mjs} +4 -4
- package/dist/{S3StateStore-13Go3hfM.mjs.map → S3StateStore-CO92LBQI.mjs.map} +1 -1
- package/dist/{SSMStateStore-CQHUyH-c.mjs → SSMStateStore-Ns7FpnmB.mjs} +2 -2
- package/dist/{SSMStateStore-CQHUyH-c.mjs.map → SSMStateStore-Ns7FpnmB.mjs.map} +1 -1
- package/dist/{SSMStateStore-DspMPho-.cjs → SSMStateStore-t6mkXQew.cjs} +2 -2
- package/dist/{SSMStateStore-DspMPho-.cjs.map → SSMStateStore-t6mkXQew.cjs.map} +1 -1
- package/dist/{SubscriberGenerator-BybB6uez.mjs → SubscriberGenerator-CfZWX0lT.mjs} +6 -6
- package/dist/SubscriberGenerator-CfZWX0lT.mjs.map +1 -0
- package/dist/{SubscriberGenerator-mZpSuSU7.cjs → SubscriberGenerator-DMi4siph.cjs} +5 -5
- package/dist/SubscriberGenerator-DMi4siph.cjs.map +1 -0
- package/dist/{add-Dt8QKSOw.mjs → add-Byp8-rRf.mjs} +11 -11
- package/dist/add-Byp8-rRf.mjs.map +1 -0
- package/dist/{add-DsxJ0Knr.cjs → add-C3oUiBAc.cjs} +10 -10
- package/dist/add-C3oUiBAc.cjs.map +1 -0
- package/dist/{apps-w2sRQKCr.mjs → apps-C21-TXqR.mjs} +106 -50
- package/dist/apps-C21-TXqR.mjs.map +1 -0
- package/dist/{apps-C6s-trVp.cjs → apps-D_-DXV0H.cjs} +110 -48
- package/dist/apps-D_-DXV0H.cjs.map +1 -0
- package/dist/{bundler-AzkSRAuu.cjs → bundler-D43S2YTJ.cjs} +6 -6
- package/dist/{bundler-AzkSRAuu.cjs.map → bundler-D43S2YTJ.cjs.map} +1 -1
- package/dist/{bundler-BCWWne6N.mjs → bundler-DjfpJ0mX.mjs} +6 -6
- package/dist/{bundler-BCWWne6N.mjs.map → bundler-DjfpJ0mX.mjs.map} +1 -1
- package/dist/{cli-DSGw0Mw-.mjs → cli-00fMnBFk.mjs} +4 -4
- package/dist/{cli-DSGw0Mw-.mjs.map → cli-00fMnBFk.mjs.map} +1 -1
- package/dist/{cli-OGss08bZ.cjs → cli-CYBb8rgx.cjs} +4 -4
- package/dist/{cli-OGss08bZ.cjs.map → cli-CYBb8rgx.cjs.map} +1 -1
- package/dist/{compose-QSBmhr4V.cjs → compose-D9ksPt5H.cjs} +11 -11
- package/dist/compose-D9ksPt5H.cjs.map +1 -0
- package/dist/{compose-BqTuzitb.cjs → compose-Dgd-yfJT.cjs} +8 -8
- package/dist/compose-Dgd-yfJT.cjs.map +1 -0
- package/dist/{compose-Csegtvq_.mjs → compose-MwgjPj_A.mjs} +12 -12
- package/dist/compose-MwgjPj_A.mjs.map +1 -0
- package/dist/{compose-RhuFQmZS.mjs → compose-rn_DWcup.mjs} +9 -9
- package/dist/compose-rn_DWcup.mjs.map +1 -0
- package/dist/config.cjs +2 -2
- package/dist/config.mjs +2 -2
- package/dist/{credentialSchemas-mz9QZTYh.mjs → credentialSchemas-BzJiK1nQ.mjs} +4 -4
- package/dist/credentialSchemas-BzJiK1nQ.mjs.map +1 -0
- package/dist/{credentialSchemas-BAklWDna.cjs → credentialSchemas-OVXofU-r.cjs} +3 -3
- package/dist/credentialSchemas-OVXofU-r.cjs.map +1 -0
- package/dist/{credentials-CORvhcrO.cjs → credentials-C6n_kdu4.cjs} +7 -7
- package/dist/{credentials-CORvhcrO.cjs.map → credentials-C6n_kdu4.cjs.map} +1 -1
- package/dist/{credentials-D4DUPPPP.mjs → credentials-kK0X754I.mjs} +7 -7
- package/dist/{credentials-D4DUPPPP.mjs.map → credentials-kK0X754I.mjs.map} +1 -1
- package/dist/{databases-CrKh5jw6.cjs → databases-CuTL1e7s.cjs} +3 -3
- package/dist/databases-CuTL1e7s.cjs.map +1 -0
- package/dist/{databases-C1qqNxTu.mjs → databases-zN-gEox0.mjs} +4 -4
- package/dist/databases-zN-gEox0.mjs.map +1 -0
- package/dist/deploy/public.cjs +12 -12
- package/dist/deploy/public.mjs +12 -12
- package/dist/{deploy-BwJ7uWXd.cjs → deploy-C1gf4bT-.cjs} +47 -45
- package/dist/deploy-C1gf4bT-.cjs.map +1 -0
- package/dist/{deploy-DDfnQm8l.mjs → deploy-CFuDCbTq.mjs} +48 -46
- package/dist/deploy-CFuDCbTq.mjs.map +1 -0
- package/dist/{destroy-nTNRfdy6.cjs → destroy-CMz0BPEe.cjs} +9 -9
- package/dist/{destroy-nTNRfdy6.cjs.map → destroy-CMz0BPEe.cjs.map} +1 -1
- package/dist/{destroy-DKt8S051.mjs → destroy-UTWZmaGn.mjs} +9 -9
- package/dist/{destroy-DKt8S051.mjs.map → destroy-UTWZmaGn.mjs.map} +1 -1
- package/dist/{discover-CRywE7yc.cjs → discover-39VKSE2i.cjs} +5 -5
- package/dist/discover-39VKSE2i.cjs.map +1 -0
- package/dist/{discover-DbDrCQ8h.mjs → discover-B_PDDaVj.mjs} +6 -6
- package/dist/discover-B_PDDaVj.mjs.map +1 -0
- package/dist/{docker-Ele34O8z.mjs → docker-BIuidyEB.mjs} +11 -11
- package/dist/docker-BIuidyEB.mjs.map +1 -0
- package/dist/{docker-Dy1ZJUzV.cjs → docker-BrdCdNwm.cjs} +10 -10
- package/dist/docker-BrdCdNwm.cjs.map +1 -0
- package/dist/{dokploy-BrfA2m5K.mjs → dokploy--ndQ72iu.mjs} +2 -2
- package/dist/{dokploy-BrfA2m5K.mjs.map → dokploy--ndQ72iu.mjs.map} +1 -1
- package/dist/{dokploy-DN2W1YIH.cjs → dokploy-D7ZChrtZ.cjs} +2 -2
- package/dist/{dokploy-DN2W1YIH.cjs.map → dokploy-D7ZChrtZ.cjs.map} +1 -1
- package/dist/{eas-CO3ogve5.mjs → eas-BCcpBC4k.mjs} +3 -3
- package/dist/{eas-CO3ogve5.mjs.map → eas-BCcpBC4k.mjs.map} +1 -1
- package/dist/{eas-BRBdxmwe.cjs → eas-DCvA907G.cjs} +3 -3
- package/dist/{eas-BRBdxmwe.cjs.map → eas-DCvA907G.cjs.map} +1 -1
- package/dist/{encryption-BZ1zgtF5.cjs → encryption-8TklMCh2.cjs} +4 -4
- package/dist/encryption-8TklMCh2.cjs.map +1 -0
- package/dist/{encryption-CHmfNBAy.mjs → encryption-C2LzfQp8.mjs} +5 -5
- package/dist/encryption-C2LzfQp8.mjs.map +1 -0
- package/dist/{engine-DewbDHOq.cjs → engine-BMoNLayn.cjs} +37 -37
- package/dist/engine-BMoNLayn.cjs.map +1 -0
- package/dist/{engine-B3Gmu8-O.mjs → engine-D-_nkxQL.mjs} +38 -38
- package/dist/engine-D-_nkxQL.mjs.map +1 -0
- package/dist/{github-DU3iEmJN.mjs → github-B_zfStMR.mjs} +8 -8
- package/dist/{github-DU3iEmJN.mjs.map → github-B_zfStMR.mjs.map} +1 -1
- package/dist/{github-DPNgIxdc.cjs → github-CZjNDPAp.cjs} +8 -8
- package/dist/{github-DPNgIxdc.cjs.map → github-CZjNDPAp.cjs.map} +1 -1
- package/dist/{googlePlay-KPHn9H2f.mjs → googlePlay-BcVRYMh4.mjs} +4 -4
- package/dist/{googlePlay-KPHn9H2f.mjs.map → googlePlay-BcVRYMh4.mjs.map} +1 -1
- package/dist/{googlePlay-C2jnPqYn.cjs → googlePlay-Btn0lut5.cjs} +4 -4
- package/dist/{googlePlay-C2jnPqYn.cjs.map → googlePlay-Btn0lut5.cjs.map} +1 -1
- package/dist/{iam-C2sf6AUi.cjs → iam-BoYPPNdM.cjs} +2 -2
- package/dist/{iam-C2sf6AUi.cjs.map → iam-BoYPPNdM.cjs.map} +1 -1
- package/dist/{iam-CW61VcT3.mjs → iam-ra1_Y405.mjs} +2 -2
- package/dist/{iam-CW61VcT3.mjs.map → iam-ra1_Y405.mjs.map} +1 -1
- package/dist/index.cjs +79 -79
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +80 -80
- package/dist/index.mjs.map +1 -1
- package/dist/{local-CwR2DW6i.mjs → local-B9Vniy-F.mjs} +3 -3
- package/dist/{local-CwR2DW6i.mjs.map → local-B9Vniy-F.mjs.map} +1 -1
- package/dist/{local-BxjA0EXj.cjs → local-DxfqOu7A.cjs} +3 -3
- package/dist/{local-BxjA0EXj.cjs.map → local-DxfqOu7A.cjs.map} +1 -1
- package/dist/{migrate-B0a3WY4X.cjs → migrate-C1u7Tl7D.cjs} +7 -7
- package/dist/{migrate-B0a3WY4X.cjs.map → migrate-C1u7Tl7D.cjs.map} +1 -1
- package/dist/{migrate-CYtM1UBH.cjs → migrate-CcYfCpMe.cjs} +3 -3
- package/dist/{migrate-CYtM1UBH.cjs.map → migrate-CcYfCpMe.cjs.map} +1 -1
- package/dist/{migrate-vWy2CUoi.mjs → migrate-b5rcr4sw.mjs} +7 -7
- package/dist/{migrate-vWy2CUoi.mjs.map → migrate-b5rcr4sw.mjs.map} +1 -1
- package/dist/{migrate-DHWy64pc.mjs → migrate-blnmh2Tm.mjs} +3 -3
- package/dist/{migrate-DHWy64pc.mjs.map → migrate-blnmh2Tm.mjs.map} +1 -1
- package/dist/{notes-9bOfe08J.mjs → notes-CT1jNLDC.mjs} +13 -12
- package/dist/notes-CT1jNLDC.mjs.map +1 -0
- package/dist/{notes-DRdlsCYV.cjs → notes-Cw3JQ0Y_.cjs} +12 -11
- package/dist/notes-Cw3JQ0Y_.cjs.map +1 -0
- package/dist/openapi.cjs +3 -3
- package/dist/openapi.mjs +3 -3
- package/dist/{projectBucket-gIQUuhGm.cjs → projectBucket-8hJmCusk.cjs} +2 -2
- package/dist/{projectBucket-gIQUuhGm.cjs.map → projectBucket-8hJmCusk.cjs.map} +1 -1
- package/dist/{projectBucket-Cd7sEDhG.mjs → projectBucket-DJNi2yJL.mjs} +2 -2
- package/dist/{projectBucket-Cd7sEDhG.mjs.map → projectBucket-DJNi2yJL.mjs.map} +1 -1
- package/dist/{publish-DOxz4mxf.mjs → publish-CMaPsMsT.mjs} +2 -2
- package/dist/{publish-DOxz4mxf.mjs.map → publish-CMaPsMsT.mjs.map} +1 -1
- package/dist/{publish-BgDFx08y.cjs → publish-Dlb-rrc5.cjs} +2 -2
- package/dist/{publish-BgDFx08y.cjs.map → publish-Dlb-rrc5.cjs.map} +1 -1
- package/dist/{ready-BjFMu_1J.mjs → ready-COJHr1Yi.mjs} +9 -9
- package/dist/ready-COJHr1Yi.mjs.map +1 -0
- package/dist/{ready-eVMJIcWn.cjs → ready-DcD0SCnV.cjs} +8 -8
- package/dist/ready-DcD0SCnV.cjs.map +1 -0
- package/dist/reconcile/public.cjs +1 -1
- package/dist/reconcile/public.mjs +1 -1
- package/dist/{resolve-BhQd4IkT.cjs → resolve-BKn4TTn3.cjs} +4 -4
- package/dist/{resolve-BhQd4IkT.cjs.map → resolve-BKn4TTn3.cjs.map} +1 -1
- package/dist/{resolve-CdDyPOE8.mjs → resolve-DrFS2Ivb.mjs} +4 -4
- package/dist/{resolve-CdDyPOE8.mjs.map → resolve-DrFS2Ivb.mjs.map} +1 -1
- package/dist/{rollback-Brc-_HBJ.cjs → rollback-6ZeoByXd.cjs} +7 -7
- package/dist/{rollback-Brc-_HBJ.cjs.map → rollback-6ZeoByXd.cjs.map} +1 -1
- package/dist/{rollback-CLBKeSMl.mjs → rollback-B3lHgwkj.mjs} +7 -7
- package/dist/{rollback-CLBKeSMl.mjs.map → rollback-B3lHgwkj.mjs.map} +1 -1
- package/dist/{s3-CuLmr6Q9.cjs → s3-Cq1_F2J8.cjs} +3 -3
- package/dist/{s3-CuLmr6Q9.cjs.map → s3-Cq1_F2J8.cjs.map} +1 -1
- package/dist/{s3-D0BIG_ml.mjs → s3-DfAM0soB.mjs} +3 -3
- package/dist/{s3-D0BIG_ml.mjs.map → s3-DfAM0soB.mjs.map} +1 -1
- package/dist/sandbox/credentials-worker.cjs +2 -2
- package/dist/sandbox/credentials-worker.mjs +2 -2
- package/dist/sandbox/discover-worker.cjs +1 -1
- package/dist/sandbox/discover-worker.mjs +1 -1
- package/dist/sandbox/migrate-worker.cjs +2 -2
- package/dist/sandbox/migrate-worker.mjs +2 -2
- package/dist/{serverSetup-BMpzrB1y.cjs → serverSetup-DMNKsLKq.cjs} +6 -6
- package/dist/{serverSetup-BMpzrB1y.cjs.map → serverSetup-DMNKsLKq.cjs.map} +1 -1
- package/dist/{serverSetup-An1fE9nd.mjs → serverSetup-lZ7tYUZJ.mjs} +6 -6
- package/dist/{serverSetup-An1fE9nd.mjs.map → serverSetup-lZ7tYUZJ.mjs.map} +1 -1
- package/dist/{sniffer-9a8wQeeD.cjs → sniffer-CUImZsQL.cjs} +8 -8
- package/dist/{sniffer-9a8wQeeD.cjs.map → sniffer-CUImZsQL.cjs.map} +1 -1
- package/dist/{sniffer-BObBXR5q.mjs → sniffer-DcT9RrAj.mjs} +8 -8
- package/dist/{sniffer-BObBXR5q.mjs.map → sniffer-DcT9RrAj.mjs.map} +1 -1
- package/dist/{snsSubscriptions-BRmEdsks.cjs → snsSubscriptions-1lX1ze3u.cjs} +10 -5
- package/dist/snsSubscriptions-1lX1ze3u.cjs.map +1 -0
- package/dist/{snsSubscriptions-oUTOkG-s.mjs → snsSubscriptions-DFWhEgiA.mjs} +10 -5
- package/dist/snsSubscriptions-DFWhEgiA.mjs.map +1 -0
- package/dist/{sst-DVIeKWCH.mjs → sst-CB6rX5Zs.mjs} +6 -6
- package/dist/{sst-DVIeKWCH.mjs.map → sst-CB6rX5Zs.mjs.map} +1 -1
- package/dist/{sst-CJQI9GYW.cjs → sst-ct0Vhta9.cjs} +6 -6
- package/dist/{sst-CJQI9GYW.cjs.map → sst-ct0Vhta9.cjs.map} +1 -1
- package/dist/{stack-2jMvQfLo.cjs → stack-CkdkfmpN.cjs} +124 -47
- package/dist/stack-CkdkfmpN.cjs.map +1 -0
- package/dist/{stack-kcxH-2tZ.mjs → stack-Dsl0l3fi.mjs} +120 -49
- package/dist/stack-Dsl0l3fi.mjs.map +1 -0
- package/dist/{stage-AHgVG7H8.cjs → stage-Cmn0dCV2.cjs} +7 -7
- package/dist/{stage-AHgVG7H8.cjs.map → stage-Cmn0dCV2.cjs.map} +1 -1
- package/dist/{stage-BQSSMJL4.mjs → stage-DfdUf2sj.mjs} +7 -7
- package/dist/{stage-BQSSMJL4.mjs.map → stage-DfdUf2sj.mjs.map} +1 -1
- package/dist/{stages-DpF2K3PZ.cjs → stages-BWg3NU3J.cjs} +2 -2
- package/dist/{stages-DpF2K3PZ.cjs.map → stages-BWg3NU3J.cjs.map} +1 -1
- package/dist/{stages-BsK1Ro4s.mjs → stages-COiipV8N.mjs} +2 -2
- package/dist/{stages-BsK1Ro4s.mjs.map → stages-COiipV8N.mjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-DWROY7JE.mjs → terminal-BDKhPIBA.mjs} +3 -3
- package/dist/{terminal-DWROY7JE.mjs.map → terminal-BDKhPIBA.mjs.map} +1 -1
- package/dist/{terminal-BNjNr7BN.cjs → terminal-CFeiyJxJ.cjs} +3 -3
- package/dist/{terminal-BNjNr7BN.cjs.map → terminal-CFeiyJxJ.cjs.map} +1 -1
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +1 -1
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-Ciw3SnME.cjs → workspace-CEpojAus.cjs} +42 -15
- package/dist/workspace-CEpojAus.cjs.map +1 -0
- package/dist/{workspace-9q4TSHlM.mjs → workspace-_aoe8v6u.mjs} +43 -16
- package/dist/workspace-_aoe8v6u.mjs.map +1 -0
- package/package.json +15 -15
- package/dist/SubscriberGenerator-BybB6uez.mjs.map +0 -1
- package/dist/SubscriberGenerator-mZpSuSU7.cjs.map +0 -1
- package/dist/add-DsxJ0Knr.cjs.map +0 -1
- package/dist/add-Dt8QKSOw.mjs.map +0 -1
- package/dist/apps-C6s-trVp.cjs.map +0 -1
- package/dist/apps-w2sRQKCr.mjs.map +0 -1
- package/dist/compose-BqTuzitb.cjs.map +0 -1
- package/dist/compose-Csegtvq_.mjs.map +0 -1
- package/dist/compose-QSBmhr4V.cjs.map +0 -1
- package/dist/compose-RhuFQmZS.mjs.map +0 -1
- package/dist/credentialSchemas-BAklWDna.cjs.map +0 -1
- package/dist/credentialSchemas-mz9QZTYh.mjs.map +0 -1
- package/dist/databases-C1qqNxTu.mjs.map +0 -1
- package/dist/databases-CrKh5jw6.cjs.map +0 -1
- package/dist/deploy-BwJ7uWXd.cjs.map +0 -1
- package/dist/deploy-DDfnQm8l.mjs.map +0 -1
- package/dist/discover-CRywE7yc.cjs.map +0 -1
- package/dist/discover-DbDrCQ8h.mjs.map +0 -1
- package/dist/docker-Dy1ZJUzV.cjs.map +0 -1
- package/dist/docker-Ele34O8z.mjs.map +0 -1
- package/dist/encryption-BZ1zgtF5.cjs.map +0 -1
- package/dist/encryption-CHmfNBAy.mjs.map +0 -1
- package/dist/engine-B3Gmu8-O.mjs.map +0 -1
- package/dist/engine-DewbDHOq.cjs.map +0 -1
- package/dist/notes-9bOfe08J.mjs.map +0 -1
- package/dist/notes-DRdlsCYV.cjs.map +0 -1
- package/dist/ready-BjFMu_1J.mjs.map +0 -1
- package/dist/ready-eVMJIcWn.cjs.map +0 -1
- package/dist/snsSubscriptions-BRmEdsks.cjs.map +0 -1
- package/dist/snsSubscriptions-oUTOkG-s.mjs.map +0 -1
- package/dist/stack-2jMvQfLo.cjs.map +0 -1
- package/dist/stack-kcxH-2tZ.mjs.map +0 -1
- package/dist/workspace-9q4TSHlM.mjs.map +0 -1
- package/dist/workspace-Ciw3SnME.cjs.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
|
|
2
2
|
const require_errors = require("./errors-DMC4Umsb.cjs");
|
|
3
|
-
const require_credentials = require("./credentials-
|
|
4
|
-
const require_workspace = require("./workspace-
|
|
5
|
-
const require_compose = require("./compose-
|
|
6
|
-
const require_SubscriberGenerator = require("./SubscriberGenerator-
|
|
3
|
+
const require_credentials = require("./credentials-C6n_kdu4.cjs");
|
|
4
|
+
const require_workspace = require("./workspace-CEpojAus.cjs");
|
|
5
|
+
const require_compose = require("./compose-Dgd-yfJT.cjs");
|
|
6
|
+
const require_SubscriberGenerator = require("./SubscriberGenerator-DMi4siph.cjs");
|
|
7
7
|
const require_types = require("./types-Bl_CwZC9.cjs");
|
|
8
|
-
const require_EndpointGenerator = require("./EndpointGenerator-
|
|
9
|
-
const require_discover = require("./discover-
|
|
8
|
+
const require_EndpointGenerator = require("./EndpointGenerator-C1h_wExz.cjs");
|
|
9
|
+
const require_discover = require("./discover-39VKSE2i.cjs");
|
|
10
10
|
let node_path = require("node:path");
|
|
11
11
|
let node_fs = require("node:fs");
|
|
12
12
|
let node_fs_promises = require("node:fs/promises");
|
|
@@ -271,9 +271,12 @@ function sitesFor(plan, project, addresses = {}, processorAddresses = {}) {
|
|
|
271
271
|
});
|
|
272
272
|
continue;
|
|
273
273
|
}
|
|
274
|
+
const { aliases, redirects } = hostsFor(resource, project);
|
|
274
275
|
sites.push({
|
|
275
276
|
host,
|
|
276
|
-
upstream
|
|
277
|
+
upstream,
|
|
278
|
+
...aliases.length ? { aliases } : {},
|
|
279
|
+
...redirects.length ? { redirects } : {}
|
|
277
280
|
});
|
|
278
281
|
}
|
|
279
282
|
return sites;
|
|
@@ -337,6 +340,24 @@ function hostFor$1(resource, project) {
|
|
|
337
340
|
].filter(Boolean).join(".");
|
|
338
341
|
}
|
|
339
342
|
/**
|
|
343
|
+
* Where a resource answers, every host of it: {@link hostFor}'s, and each
|
|
344
|
+
* alias and redirect label under the project, carrying the stage as its own
|
|
345
|
+
* label does — `www-test.shop.localhost` for `gkm test`.
|
|
346
|
+
*/
|
|
347
|
+
function hostsFor(resource, project) {
|
|
348
|
+
const stage = stageOf(resource);
|
|
349
|
+
const under = (label) => [
|
|
350
|
+
stage ? `${label}-${stage}` : label,
|
|
351
|
+
project,
|
|
352
|
+
LOCAL_TLD
|
|
353
|
+
].filter(Boolean).join(".");
|
|
354
|
+
return {
|
|
355
|
+
host: hostFor$1(resource, project),
|
|
356
|
+
aliases: (resource.aliases ?? []).map(under),
|
|
357
|
+
redirects: (resource.redirects ?? []).map(under)
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
340
361
|
* A resource's own label: its `subdomain` where it declared one, and a file
|
|
341
362
|
* server's own name — the label a deploy uses too — with the stage it carries
|
|
342
363
|
* kept, so `gkm test` and `gkm dev` still answer on different hosts.
|
|
@@ -388,7 +409,8 @@ function toCaddyfile(sites, options) {
|
|
|
388
409
|
if (sites.length === 0) return `${GENERATED}
|
|
389
410
|
# No file server is declared in this stage, so it routes nothing.
|
|
390
411
|
`;
|
|
391
|
-
const
|
|
412
|
+
const port = options.port && options.port !== 443 ? `:${options.port}` : "";
|
|
413
|
+
const blocks = sites.map(({ host, upstream, rewrite, processors, tenants, aliases, redirects }) => {
|
|
392
414
|
const proxy = `reverse_proxy ${upstream} {${rewrite ? `
|
|
393
415
|
rewrite ${rewrite}
|
|
394
416
|
# MinIO routes and signs on the Host header, so forwarding the requested
|
|
@@ -400,8 +422,14 @@ function toCaddyfile(sites, options) {
|
|
|
400
422
|
header_up Host {host}
|
|
401
423
|
header_up X-Forwarded-Proto {scheme}`}
|
|
402
424
|
}`;
|
|
425
|
+
const redirectBlocks = (redirects ?? []).map((from) => `
|
|
426
|
+
https://${from} {
|
|
427
|
+
tls ${options.certificate} ${options.certificate}
|
|
428
|
+
|
|
429
|
+
redir https://${host}${port}{uri} permanent
|
|
430
|
+
}`).join("");
|
|
403
431
|
return `
|
|
404
|
-
https://${
|
|
432
|
+
${[host, ...aliases ?? []].map((name) => `https://${name}`).join(", ")} {
|
|
405
433
|
tls ${options.certificate} ${options.certificate}
|
|
406
434
|
|
|
407
435
|
${clientIpRule(options.edgeToken)}
|
|
@@ -416,7 +444,7 @@ ${processors ? `
|
|
|
416
444
|
}
|
|
417
445
|
}
|
|
418
446
|
` : ""}${tenants ? tenantBlock(tenants, proxy) : ` ${proxy}`}
|
|
419
|
-
}`;
|
|
447
|
+
}${redirectBlocks}`;
|
|
420
448
|
});
|
|
421
449
|
return `${GENERATED}${blocks.join("\n")}\n`;
|
|
422
450
|
}
|
|
@@ -651,7 +679,7 @@ const REQUIRES = { "redis-http": ["redis"] };
|
|
|
651
679
|
*
|
|
652
680
|
* The twin of `ProvidesByKind` in `@geekmidas/manifest`: that is what a
|
|
653
681
|
* construct declares, this is what the local target resolves, and both derive
|
|
654
|
-
* the key from the same `
|
|
682
|
+
* the key from the same `providedKeyFor` so they cannot disagree.
|
|
655
683
|
*/
|
|
656
684
|
const ROLES = {
|
|
657
685
|
queue: "publisherConnectionString",
|
|
@@ -783,7 +811,7 @@ function planFor(manifest, stage, order, options = {}) {
|
|
|
783
811
|
provisions: PROVISIONS[declaration.kind] === true,
|
|
784
812
|
...declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "objects" || declaration.kind === "file-server" ? { callers: (0, _geekmidas_manifest.dependentsOf)(manifest, id) } : {},
|
|
785
813
|
...declaration.kind === "site" ? { publicEnv: (0, _geekmidas_manifest.publicEnvFor)(declaration, manifest) } : {},
|
|
786
|
-
...(
|
|
814
|
+
...(0, _geekmidas_manifest.isPublicDeclaration)(declaration) && (0, _geekmidas_manifest.imageOriginSources)(declaration, manifest).length > 0 ? { imageOrigins: {
|
|
787
815
|
key: `${_geekmidas_manifest.PUBLIC_PREFIX[declaration.variant]}${_geekmidas_manifest.IMAGE_ORIGINS_KEY}`,
|
|
788
816
|
sources: (0, _geekmidas_manifest.imageOriginSources)(declaration, manifest)
|
|
789
817
|
} } : {},
|
|
@@ -793,6 +821,7 @@ function planFor(manifest, stage, order, options = {}) {
|
|
|
793
821
|
} : {},
|
|
794
822
|
...declaration.kind === "file-server" && declaration.open?.length ? { open: declaration.open } : {},
|
|
795
823
|
...declaration.kind === "file-server" && declaration.processors?.length ? { processors: [...new Set(declaration.processors.map((p) => p.prefix))].sort() } : {},
|
|
824
|
+
...declaration.kind === "email" && declaration.from ? { from: declaration.from } : {},
|
|
796
825
|
...declaration.kind === "inbox" ? { inbox: {
|
|
797
826
|
addresses: declaration.addresses,
|
|
798
827
|
subdomains: declaration.subdomains === true,
|
|
@@ -800,6 +829,8 @@ function planFor(manifest, stage, order, options = {}) {
|
|
|
800
829
|
} } : {},
|
|
801
830
|
...declaration.kind === "objects" && (0, _geekmidas_manifest.bucketExpiry)(manifest, id) ? { expire: (0, _geekmidas_manifest.bucketExpiry)(manifest, id) } : {},
|
|
802
831
|
...(declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site") && declaration.subdomain ? { subdomain: declaration.subdomain } : {},
|
|
832
|
+
...(0, _geekmidas_manifest.isHostedDeclaration)(declaration) && (0, _geekmidas_manifest.hostLabels)(declaration).aliases.length ? { aliases: [...(0, _geekmidas_manifest.hostLabels)(declaration).aliases] } : {},
|
|
833
|
+
...(0, _geekmidas_manifest.isHostedDeclaration)(declaration) && (0, _geekmidas_manifest.hostLabels)(declaration).redirects.length ? { redirects: [...(0, _geekmidas_manifest.hostLabels)(declaration).redirects] } : {},
|
|
803
834
|
...(0, _geekmidas_manifest.isWildcardSite)(declaration) ? {
|
|
804
835
|
protectedSubdomains: require_workspace.protectedSubdomains(manifest, options.protectedSubdomains),
|
|
805
836
|
...declaration.hosts ? { hosts: declaration.hosts } : {}
|
|
@@ -918,7 +949,7 @@ var PgBossNeedsDatabase = class extends require_errors.GkmError {
|
|
|
918
949
|
function signedOrigins(buckets, lookup) {
|
|
919
950
|
const origins = {};
|
|
920
951
|
for (const id of buckets) {
|
|
921
|
-
const connection = lookup((0, _geekmidas_manifest.
|
|
952
|
+
const connection = lookup((0, _geekmidas_manifest.providedKeyFor)(id, "objects", "connectionString"));
|
|
922
953
|
if (!connection?.startsWith("s3:")) continue;
|
|
923
954
|
let origin;
|
|
924
955
|
try {
|
|
@@ -926,7 +957,7 @@ function signedOrigins(buckets, lookup) {
|
|
|
926
957
|
} catch {
|
|
927
958
|
continue;
|
|
928
959
|
}
|
|
929
|
-
if (origin) origins[(0, _geekmidas_manifest.
|
|
960
|
+
if (origin) origins[(0, _geekmidas_manifest.providedKeyFor)(id, "objects", "signedOrigin")] = origin;
|
|
930
961
|
}
|
|
931
962
|
return origins;
|
|
932
963
|
}
|
|
@@ -1022,33 +1053,35 @@ function envFor(plan, options) {
|
|
|
1022
1053
|
const url = urlFor(resource, plan, options.ports, options.project ?? "", options.addresses, credential, devices.has(resource.id) ? options.lanAddress : void 0);
|
|
1023
1054
|
if (url) resolved[resource.id] = url;
|
|
1024
1055
|
}
|
|
1056
|
+
const aliased = aliasAddressesFor(plan, options);
|
|
1025
1057
|
for (const resource of plan.resources) {
|
|
1026
1058
|
const url = resolved[resource.id];
|
|
1027
1059
|
if (resource.kind === "rest-api") Object.assign(env, surfaceEnv(resource, url, resolved, {
|
|
1028
1060
|
plan,
|
|
1061
|
+
aliased,
|
|
1029
1062
|
...options.addresses ? { addresses: options.addresses } : {},
|
|
1030
1063
|
...options.lanAddress ? { lanAddress: options.lanAddress } : {},
|
|
1031
1064
|
...options.metroPorts ? { metroPorts: options.metroPorts } : {}
|
|
1032
1065
|
}));
|
|
1033
1066
|
if (resource.kind === "websocket-api") {
|
|
1034
|
-
const origins = surfaceEnv(resource, url, resolved)[(0, _geekmidas_manifest.
|
|
1035
|
-
if (origins !== void 0) env[(0, _geekmidas_manifest.
|
|
1067
|
+
const origins = surfaceEnv(resource, url, resolved, { aliased })[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "trustedOrigins")];
|
|
1068
|
+
if (origins !== void 0) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "trustedOrigins")] = origins;
|
|
1036
1069
|
const publisher = webSocketPublisher(resource, options.ports, options.project ?? "", credential);
|
|
1037
|
-
if (publisher) env[(0, _geekmidas_manifest.
|
|
1070
|
+
if (publisher) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "publisherConnectionString")] = publisher;
|
|
1038
1071
|
}
|
|
1039
1072
|
if (url) env[resource.envKey] = url;
|
|
1040
1073
|
if (resource.kind === "site" && resource.protectedSubdomains && url) {
|
|
1041
1074
|
const domain = (0, _geekmidas_manifest.wildcardDomainOf)(new URL(url).hostname);
|
|
1042
1075
|
if (domain) {
|
|
1043
|
-
env[(0, _geekmidas_manifest.
|
|
1044
|
-
env[(0, _geekmidas_manifest.
|
|
1076
|
+
env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "domain")] = domain;
|
|
1077
|
+
env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "protectedSubdomains")] = resource.protectedSubdomains.join(",");
|
|
1045
1078
|
}
|
|
1046
1079
|
}
|
|
1047
1080
|
if (isDatabase(resource.kind) && resource.roles !== false) {
|
|
1048
1081
|
const owner = ownerUrl(resource, plan, options.ports, options.project ?? "", credential);
|
|
1049
|
-
if (owner) env[(0, _geekmidas_manifest.
|
|
1082
|
+
if (owner) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "ownerUrl")] = owner;
|
|
1050
1083
|
}
|
|
1051
|
-
if (resource.kind === "external-api" && url && resource.fake) env[(0, _geekmidas_manifest.
|
|
1084
|
+
if (resource.kind === "external-api" && url && resource.fake) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "credentials")] = resource.fake.credentials;
|
|
1052
1085
|
if (resource.kind === "credential" && resource.fakeCredentials !== void 0) env[resource.envKey] = resource.fakeCredentials;
|
|
1053
1086
|
if (resource.kind === "telemetry" && url) {
|
|
1054
1087
|
const login = options.credentials.logs;
|
|
@@ -1060,18 +1093,18 @@ function envFor(plan, options) {
|
|
|
1060
1093
|
if (resource.kind === "inbox" && url) {
|
|
1061
1094
|
const base = resource.id.toLowerCase();
|
|
1062
1095
|
const stage = resource.name === base ? void 0 : resource.name.slice(base.length + 1);
|
|
1063
|
-
env[(0, _geekmidas_manifest.
|
|
1096
|
+
env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "domain")] = [
|
|
1064
1097
|
stage,
|
|
1065
1098
|
options.project,
|
|
1066
1099
|
LOCAL_HOST
|
|
1067
1100
|
].filter(Boolean).join(".");
|
|
1068
1101
|
const smtp = options.ports[require_compose.primaryPortKey("mailpit")];
|
|
1069
|
-
if (smtp !== void 0) env[(0, _geekmidas_manifest.
|
|
1102
|
+
if (smtp !== void 0) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "smtpUrl")] = `smtp://${LOCAL_HOST}:${smtp}`;
|
|
1070
1103
|
}
|
|
1071
1104
|
if (resource.kind === "email" && url) {
|
|
1072
|
-
env[(0, _geekmidas_manifest.
|
|
1105
|
+
env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "from")] = (0, _geekmidas_manifest.senderAddress)(resource, options.mailDomain ?? LOCAL_HOST);
|
|
1073
1106
|
const inbox = options.ports[MAILPIT_INBOX_PORT];
|
|
1074
|
-
if (inbox !== void 0) env[(0, _geekmidas_manifest.
|
|
1107
|
+
if (inbox !== void 0) env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "inboxUrl")] = `http://${LOCAL_HOST}:${inbox}`;
|
|
1075
1108
|
}
|
|
1076
1109
|
}
|
|
1077
1110
|
Object.assign(env, signedOrigins(plan.resources.filter((r) => r.kind === "objects").map((r) => r.id), (key) => env[key]));
|
|
@@ -1082,8 +1115,8 @@ function envFor(plan, options) {
|
|
|
1082
1115
|
if (resource.kind !== "objects" || resource.container !== "minio") continue;
|
|
1083
1116
|
if (!options.relayedBuckets.includes(resource.id)) continue;
|
|
1084
1117
|
if (!env[resource.envKey]) continue;
|
|
1085
|
-
env[(0, _geekmidas_manifest.
|
|
1086
|
-
env[(0, _geekmidas_manifest.
|
|
1118
|
+
env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "eventsConnectionString")] = relay;
|
|
1119
|
+
env[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "eventsToken")] = require_compose.objectsWebhookToken(options.project ?? "", resource.id, credential.seed);
|
|
1087
1120
|
}
|
|
1088
1121
|
if (plan.resources.some((r) => r.kind === "inbox" && env[r.envKey])) env[require_SubscriberGenerator.INBOX_RELAY_TOKEN_KEY] = require_SubscriberGenerator.inboxRelayToken(options.project ?? "", credential.seed);
|
|
1089
1122
|
if (plan.resources.some((r) => (r.kind === "rest-api" || r.kind === "websocket-api") && env[r.envKey])) env[_geekmidas_manifest.EDGE_TOKEN_KEY] = edgeToken(options.project ?? "", credential.seed);
|
|
@@ -1135,7 +1168,7 @@ function publicEnv(plan, resolved, addresses = {}) {
|
|
|
1135
1168
|
*/
|
|
1136
1169
|
function surfaceEnv(resource, url, resolved = {}, local = {}) {
|
|
1137
1170
|
if (!url) return {};
|
|
1138
|
-
const origins = [...new Set((resource.callers ?? []).
|
|
1171
|
+
const origins = [...new Set((resource.callers ?? []).flatMap((caller) => resolved[caller] ? [resolved[caller], ...local.aliased?.[caller] ?? []] : []).map(originOf).filter((origin) => Boolean(origin)))].sort();
|
|
1139
1172
|
const domain = (0, _geekmidas_manifest.cookieDomain)([url, ...origins]);
|
|
1140
1173
|
const mobile = (resource.callers ?? []).map((caller) => local.plan?.resources.find((r) => r.id === caller && r.kind === "mobile-app")).filter((caller) => Boolean(caller));
|
|
1141
1174
|
const hosts = [...local.lanAddress ? [local.lanAddress] : [], LOCAL_HOST];
|
|
@@ -1150,12 +1183,29 @@ function surfaceEnv(resource, url, resolved = {}, local = {}) {
|
|
|
1150
1183
|
const own = local.addresses?.[resource.id];
|
|
1151
1184
|
const device = mobile.length > 0 && local.lanAddress && own ? own.replace(/\/\/(localhost|127\.0\.0\.1)(?=[:/]|$)/, `//${local.lanAddress}`) : void 0;
|
|
1152
1185
|
return {
|
|
1153
|
-
[(0, _geekmidas_manifest.
|
|
1154
|
-
...domain ? { [(0, _geekmidas_manifest.
|
|
1155
|
-
...device ? { [(0, _geekmidas_manifest.
|
|
1186
|
+
[(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "trustedOrigins")]: [...origins, ...new Set(schemes)].join(","),
|
|
1187
|
+
...domain ? { [(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "cookieDomain")]: domain } : {},
|
|
1188
|
+
...device ? { [(0, _geekmidas_manifest.providedKeyFor)(resource.id, resource.kind, "deviceUrl")]: device } : {}
|
|
1156
1189
|
};
|
|
1157
1190
|
}
|
|
1158
1191
|
/**
|
|
1192
|
+
* Every construct's alias addresses: where a target placed them, and
|
|
1193
|
+
* otherwise — behind the local edge — each alias under the project, on the
|
|
1194
|
+
* edge's port, as {@link hostsFor} names it. Never a redirect's.
|
|
1195
|
+
*/
|
|
1196
|
+
function aliasAddressesFor(plan, options) {
|
|
1197
|
+
if (options.aliasAddresses) return { ...options.aliasAddresses };
|
|
1198
|
+
const edge = plan.containers.includes("caddy") ? options.ports[require_compose.primaryPortKey("caddy")] : void 0;
|
|
1199
|
+
if (edge === void 0) return {};
|
|
1200
|
+
const aliased = {};
|
|
1201
|
+
for (const resource of plan.resources) {
|
|
1202
|
+
if (!resource.aliases?.length) continue;
|
|
1203
|
+
if (!options.addresses?.[resource.id]) continue;
|
|
1204
|
+
aliased[resource.id] = hostsFor(resource, options.project ?? "").aliases.map((host) => `https://${host}:${edge}`);
|
|
1205
|
+
}
|
|
1206
|
+
return aliased;
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1159
1209
|
* The buckets whose links a phone opens: those a surface a mobile app calls
|
|
1160
1210
|
* depends on.
|
|
1161
1211
|
*
|
|
@@ -2358,7 +2408,7 @@ function isUnder(file, dir) {
|
|
|
2358
2408
|
*/
|
|
2359
2409
|
function publicBuildValues(site, manifest, resolve, secrets) {
|
|
2360
2410
|
const args = {};
|
|
2361
|
-
const own = (0, _geekmidas_manifest.
|
|
2411
|
+
const own = (0, _geekmidas_manifest.providedKeyFor)(site.id, site.kind, site.kind === "site" ? "url" : "scheme");
|
|
2362
2412
|
const ownValue = resolve(own);
|
|
2363
2413
|
if (ownValue) args[own] = ownValue;
|
|
2364
2414
|
const derived = signedOrigins(Object.keys(manifest).filter((id) => manifest[id]?.kind === "objects"), resolve);
|
|
@@ -2398,7 +2448,7 @@ const OFFLINE_BUILD_ADDRESS = "127.0.0.1";
|
|
|
2398
2448
|
*/
|
|
2399
2449
|
function offlineBuildHosts(site, manifest, resolve) {
|
|
2400
2450
|
if (site.prerender === "stage") return [];
|
|
2401
|
-
const sources = [(0, _geekmidas_manifest.
|
|
2451
|
+
const sources = [(0, _geekmidas_manifest.providedKeyFor)(site.id, site.kind, "url"), ...Object.values((0, _geekmidas_manifest.publicEnvFor)(site, manifest))];
|
|
2402
2452
|
const hosts = /* @__PURE__ */ new Set();
|
|
2403
2453
|
for (const source of sources) {
|
|
2404
2454
|
const host = hostOf(resolve(source));
|
|
@@ -3517,7 +3567,7 @@ function processorOriginHost(serverId, domain) {
|
|
|
3517
3567
|
}
|
|
3518
3568
|
/** The stage secret holding the header's value: `ASSETS_SERVER_ORIGIN_SECRET`. */
|
|
3519
3569
|
function originSecretKey(serverId) {
|
|
3520
|
-
return (0, _geekmidas_manifest.
|
|
3570
|
+
return (0, _geekmidas_manifest.environmentCase)(`${serverId}_originSecret`);
|
|
3521
3571
|
}
|
|
3522
3572
|
/**
|
|
3523
3573
|
* What the processor unit reads that secret from. Set wherever the CDN fronts
|
|
@@ -4830,9 +4880,11 @@ async function reconcile(options) {
|
|
|
4830
4880
|
const sites = sitesFor(plan, project, options.addresses, options.processorAddresses);
|
|
4831
4881
|
const edged = plan.containers.includes("caddy");
|
|
4832
4882
|
const authorityPaths = options.authority ?? localAuthorityPaths();
|
|
4883
|
+
const edgePort = ports[require_compose.primaryPortKey("caddy")];
|
|
4833
4884
|
const caddyfile = toCaddyfile(sites, {
|
|
4834
4885
|
certificate: `${CADDY_SITES_IN_CONTAINER}/${stage}.pem`,
|
|
4835
|
-
edgeToken: edgeToken(project, seed)
|
|
4886
|
+
edgeToken: edgeToken(project, seed),
|
|
4887
|
+
...edgePort !== void 0 ? { port: edgePort } : {}
|
|
4836
4888
|
});
|
|
4837
4889
|
const hash = planHash(plan, compose, {
|
|
4838
4890
|
caddyfile,
|
|
@@ -4846,7 +4898,7 @@ async function reconcile(options) {
|
|
|
4846
4898
|
project,
|
|
4847
4899
|
credentials,
|
|
4848
4900
|
seed,
|
|
4849
|
-
...options.
|
|
4901
|
+
...options.mailDomain ? { mailDomain: options.mailDomain } : {},
|
|
4850
4902
|
...options.addresses ? { addresses: options.addresses } : {},
|
|
4851
4903
|
...lan ? { lanAddress: lan } : {},
|
|
4852
4904
|
...options.metroPorts ? { metroPorts: options.metroPorts } : {},
|
|
@@ -4874,7 +4926,11 @@ async function reconcile(options) {
|
|
|
4874
4926
|
hash,
|
|
4875
4927
|
changed: false
|
|
4876
4928
|
};
|
|
4877
|
-
const certificate = edged ? await ensureLocalCertificate(await ensureLocalAuthority(authorityPaths), localCertificateNames(project, sites.
|
|
4929
|
+
const certificate = edged ? await ensureLocalCertificate(await ensureLocalAuthority(authorityPaths), localCertificateNames(project, sites.flatMap((site) => [
|
|
4930
|
+
site.host,
|
|
4931
|
+
...site.aliases ?? [],
|
|
4932
|
+
...site.redirects ?? []
|
|
4933
|
+
])), (0, node_path.join)(root, caddyCertificatePath(stage))) : void 0;
|
|
4878
4934
|
const recorded = await loadState(root, stage);
|
|
4879
4935
|
const postgresPort = ports[require_compose.primaryPortKey("postgres")];
|
|
4880
4936
|
if (!certificate?.issued && recorded?.hash === hash && (0, node_fs.existsSync)(composePath) && (!start || await docker.healthy(composePath, running, { mounted: CHECKOUT_MOUNTS })) && (!start || !provision || postgresPort === void 0 || await databasesExist(sql(postgresPort, options.credentials.postgres), postgresDatabaseNames(plan)))) return result;
|
|
@@ -5362,7 +5418,7 @@ function networkEnv(plan, options, hostOf = (container) => container) {
|
|
|
5362
5418
|
* fails on its first local request rather than in production.
|
|
5363
5419
|
*
|
|
5364
5420
|
* What an edge `caller.dependsOn([target])` hands each side, `<C>` and `<T>`
|
|
5365
|
-
* being the caller's and the target's ids (`
|
|
5421
|
+
* being the caller's and the target's ids (`providedKeyFor`) — keep this list and
|
|
5366
5422
|
* `apps/docs/guide/edges.md` in step with the code below:
|
|
5367
5423
|
*
|
|
5368
5424
|
* - `rest-api`: the caller gets `<T>_URL`. The target gets `<C>_URL` from a
|
|
@@ -5413,9 +5469,9 @@ function appEnvKeys(manifest, appName) {
|
|
|
5413
5469
|
...declaration.requires ?? [],
|
|
5414
5470
|
...declaration.kind === "rest-api" ? declaration.endpoints.flatMap((endpoint) => endpoint.requires ?? []) : []
|
|
5415
5471
|
]);
|
|
5416
|
-
addEdgeKeys(manifest, (0, _geekmidas_manifest.dependenciesOf)(declaration).map((edge) => edge.target), keys,
|
|
5472
|
+
addEdgeKeys(manifest, (0, _geekmidas_manifest.dependenciesOf)(declaration).map((edge) => edge.target), keys, (0, _geekmidas_manifest.isPublicDeclaration)(declaration));
|
|
5417
5473
|
if (declaration.kind === "rest-api" || declaration.kind === "websocket-api") for (const key of callerKeys(manifest, id)) keys.add(key);
|
|
5418
|
-
if (
|
|
5474
|
+
if ((0, _geekmidas_manifest.isPublicDeclaration)(declaration)) {
|
|
5419
5475
|
for (const key of _geekmidas_manifest.TELEMETRY_KEYS) keys.delete(key);
|
|
5420
5476
|
for (const key of Object.keys((0, _geekmidas_manifest.publicEnvFor)(declaration, manifest))) keys.add(key);
|
|
5421
5477
|
}
|
|
@@ -5555,8 +5611,8 @@ function callerKeys(manifest, surfaceId) {
|
|
|
5555
5611
|
const keys = [];
|
|
5556
5612
|
for (const caller of (0, _geekmidas_manifest.dependentsOf)(manifest, surfaceId)) {
|
|
5557
5613
|
const declaration = manifest[caller];
|
|
5558
|
-
if (declaration?.kind === "mobile-app") keys.push((0, _geekmidas_manifest.
|
|
5559
|
-
else if (declaration?.kind === "site") keys.push((0, _geekmidas_manifest.
|
|
5614
|
+
if (declaration?.kind === "mobile-app") keys.push((0, _geekmidas_manifest.providedKeyFor)(caller, declaration.kind, "scheme"));
|
|
5615
|
+
else if (declaration?.kind === "site") keys.push((0, _geekmidas_manifest.providedKeyFor)(caller, declaration.kind, "url"));
|
|
5560
5616
|
}
|
|
5561
5617
|
return keys;
|
|
5562
5618
|
}
|
|
@@ -5569,20 +5625,20 @@ function addEdgeKeys(manifest, edges, keys, client = false) {
|
|
|
5569
5625
|
const bucket = require_discover.eventsEdgeBucket(id);
|
|
5570
5626
|
if (bucket) {
|
|
5571
5627
|
if (manifest[bucket]?.kind === "objects") {
|
|
5572
|
-
keys.add((0, _geekmidas_manifest.
|
|
5573
|
-
keys.add((0, _geekmidas_manifest.
|
|
5628
|
+
keys.add((0, _geekmidas_manifest.providedKeyFor)(bucket, "objects", "eventsConnectionString"));
|
|
5629
|
+
keys.add((0, _geekmidas_manifest.providedKeyFor)(bucket, "objects", "eventsToken"));
|
|
5574
5630
|
}
|
|
5575
5631
|
continue;
|
|
5576
5632
|
}
|
|
5577
5633
|
const target = manifest[id];
|
|
5578
5634
|
if (!target) continue;
|
|
5579
5635
|
if (target.kind === "rest-api") {
|
|
5580
|
-
keys.add((0, _geekmidas_manifest.
|
|
5636
|
+
keys.add((0, _geekmidas_manifest.providedKeyFor)(id, target.kind, "url"));
|
|
5581
5637
|
continue;
|
|
5582
5638
|
}
|
|
5583
5639
|
if (target.kind === "websocket-api") {
|
|
5584
|
-
keys.add((0, _geekmidas_manifest.
|
|
5585
|
-
if (!client) keys.add((0, _geekmidas_manifest.
|
|
5640
|
+
keys.add((0, _geekmidas_manifest.providedKeyFor)(id, target.kind, "url"));
|
|
5641
|
+
if (!client) keys.add((0, _geekmidas_manifest.providedKeyFor)(id, target.kind, "publisherConnectionString"));
|
|
5586
5642
|
continue;
|
|
5587
5643
|
}
|
|
5588
5644
|
for (const key of target.provides ?? []) keys.add(key);
|
|
@@ -6037,6 +6093,12 @@ Object.defineProperty(exports, "hostFor", {
|
|
|
6037
6093
|
return hostFor$1;
|
|
6038
6094
|
}
|
|
6039
6095
|
});
|
|
6096
|
+
Object.defineProperty(exports, "hostsFor", {
|
|
6097
|
+
enumerable: true,
|
|
6098
|
+
get: function() {
|
|
6099
|
+
return hostsFor;
|
|
6100
|
+
}
|
|
6101
|
+
});
|
|
6040
6102
|
Object.defineProperty(exports, "imageBuildCredentials", {
|
|
6041
6103
|
enumerable: true,
|
|
6042
6104
|
get: function() {
|
|
@@ -6302,4 +6364,4 @@ Object.defineProperty(exports, "workspace_exports", {
|
|
|
6302
6364
|
}
|
|
6303
6365
|
});
|
|
6304
6366
|
|
|
6305
|
-
//# sourceMappingURL=apps-
|
|
6367
|
+
//# sourceMappingURL=apps-D_-DXV0H.cjs.map
|