@geekmidas/cli 10.0.0-alpha.166 → 10.0.0-alpha.167
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-mnY-cdD2.mjs → GoDaddyProvider-Dci0SlN5.mjs} +2 -2
- package/dist/{GoDaddyProvider-mnY-cdD2.mjs.map → GoDaddyProvider-Dci0SlN5.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-DClFHezd.cjs → GoDaddyProvider-o6DJAsBZ.cjs} +2 -2
- package/dist/{GoDaddyProvider-DClFHezd.cjs.map → GoDaddyProvider-o6DJAsBZ.cjs.map} +1 -1
- package/dist/{HostingerProvider-BMyz2LnZ.cjs → HostingerProvider-BzHPhONW.cjs} +2 -2
- package/dist/{HostingerProvider-BMyz2LnZ.cjs.map → HostingerProvider-BzHPhONW.cjs.map} +1 -1
- package/dist/{HostingerProvider-39eSGyBa.mjs → HostingerProvider-Dd5x1zvF.mjs} +2 -2
- package/dist/{HostingerProvider-39eSGyBa.mjs.map → HostingerProvider-Dd5x1zvF.mjs.map} +1 -1
- package/dist/{LegacyStateStore-B2TBaSMq.mjs → LegacyStateStore-CpF6rmZc.mjs} +2 -2
- package/dist/{LegacyStateStore-B2TBaSMq.mjs.map → LegacyStateStore-CpF6rmZc.mjs.map} +1 -1
- package/dist/{LegacyStateStore-BJY7ntQk.cjs → LegacyStateStore-tqY0hM8z.cjs} +2 -2
- package/dist/{LegacyStateStore-BJY7ntQk.cjs.map → LegacyStateStore-tqY0hM8z.cjs.map} +1 -1
- package/dist/{LocalStateStore-8LFd-aMA.mjs → LocalStateStore-Adp96xPy.mjs} +2 -2
- package/dist/{LocalStateStore-8LFd-aMA.mjs.map → LocalStateStore-Adp96xPy.mjs.map} +1 -1
- package/dist/{LocalStateStore-BvoEjPi5.cjs → LocalStateStore-BYMUEGZN.cjs} +2 -2
- package/dist/{LocalStateStore-BvoEjPi5.cjs.map → LocalStateStore-BYMUEGZN.cjs.map} +1 -1
- package/dist/{S3StateStore-DMzsqfSa.mjs → S3StateStore-13Go3hfM.mjs} +4 -4
- package/dist/{S3StateStore-DMzsqfSa.mjs.map → S3StateStore-13Go3hfM.mjs.map} +1 -1
- package/dist/{S3StateStore-eeA5NXRa.cjs → S3StateStore-DjXyhGIP.cjs} +4 -4
- package/dist/{S3StateStore-eeA5NXRa.cjs.map → S3StateStore-DjXyhGIP.cjs.map} +1 -1
- package/dist/{SSMStateStore-CE2DTAtT.mjs → SSMStateStore-CQHUyH-c.mjs} +2 -2
- package/dist/{SSMStateStore-CE2DTAtT.mjs.map → SSMStateStore-CQHUyH-c.mjs.map} +1 -1
- package/dist/{SSMStateStore-BUv-du0T.cjs → SSMStateStore-DspMPho-.cjs} +2 -2
- package/dist/{SSMStateStore-BUv-du0T.cjs.map → SSMStateStore-DspMPho-.cjs.map} +1 -1
- package/dist/{add-Dp0KQNkQ.cjs → add-DsxJ0Knr.cjs} +6 -6
- package/dist/{add-Dp0KQNkQ.cjs.map → add-DsxJ0Knr.cjs.map} +1 -1
- package/dist/{add-BgCYGJpE.mjs → add-Dt8QKSOw.mjs} +6 -6
- package/dist/{add-BgCYGJpE.mjs.map → add-Dt8QKSOw.mjs.map} +1 -1
- package/dist/{apps-DkMR-qvD.cjs → apps-C6s-trVp.cjs} +66 -12
- package/dist/apps-C6s-trVp.cjs.map +1 -0
- package/dist/{apps-CJTOIaz3.mjs → apps-w2sRQKCr.mjs} +66 -13
- package/dist/apps-w2sRQKCr.mjs.map +1 -0
- package/dist/{bundler-CA7KimJ0.cjs → bundler-AzkSRAuu.cjs} +6 -6
- package/dist/{bundler-CA7KimJ0.cjs.map → bundler-AzkSRAuu.cjs.map} +1 -1
- package/dist/{bundler-Dt1ffXl6.mjs → bundler-BCWWne6N.mjs} +6 -6
- package/dist/{bundler-Dt1ffXl6.mjs.map → bundler-BCWWne6N.mjs.map} +1 -1
- package/dist/{cli-C-fdEb8N.mjs → cli-DSGw0Mw-.mjs} +4 -4
- package/dist/{cli-C-fdEb8N.mjs.map → cli-DSGw0Mw-.mjs.map} +1 -1
- package/dist/{cli-CY1Cp8yN.cjs → cli-OGss08bZ.cjs} +4 -4
- package/dist/{cli-CY1Cp8yN.cjs.map → cli-OGss08bZ.cjs.map} +1 -1
- package/dist/{compose-BIm9yNH7.cjs → compose-BqTuzitb.cjs} +5 -5
- package/dist/{compose-BIm9yNH7.cjs.map → compose-BqTuzitb.cjs.map} +1 -1
- package/dist/{compose-tX6YTa1U.mjs → compose-Csegtvq_.mjs} +62 -9
- package/dist/compose-Csegtvq_.mjs.map +1 -0
- package/dist/{compose-SmuCWWUh.cjs → compose-QSBmhr4V.cjs} +73 -8
- package/dist/compose-QSBmhr4V.cjs.map +1 -0
- package/dist/{compose-CZGeE6QJ.mjs → compose-RhuFQmZS.mjs} +5 -5
- package/dist/{compose-CZGeE6QJ.mjs.map → compose-RhuFQmZS.mjs.map} +1 -1
- package/dist/config.cjs +1 -1
- package/dist/config.mjs +1 -1
- package/dist/{credentials-CS3Dr-pv.cjs → credentials-CORvhcrO.cjs} +6 -6
- package/dist/{credentials-CS3Dr-pv.cjs.map → credentials-CORvhcrO.cjs.map} +1 -1
- package/dist/{credentials-V3WgiKmZ.mjs → credentials-D4DUPPPP.mjs} +6 -6
- package/dist/{credentials-V3WgiKmZ.mjs.map → credentials-D4DUPPPP.mjs.map} +1 -1
- package/dist/deploy/public.cjs +11 -11
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +11 -11
- package/dist/{deploy--ia-CGMv.cjs → deploy-BwJ7uWXd.cjs} +107 -22
- package/dist/deploy-BwJ7uWXd.cjs.map +1 -0
- package/dist/{deploy-BWFFSN5p.mjs → deploy-DDfnQm8l.mjs} +107 -22
- package/dist/deploy-DDfnQm8l.mjs.map +1 -0
- package/dist/{destroy-ZNiKL3--.mjs → destroy-DKt8S051.mjs} +9 -9
- package/dist/{destroy-ZNiKL3--.mjs.map → destroy-DKt8S051.mjs.map} +1 -1
- package/dist/{destroy-CrxF8Dlk.cjs → destroy-nTNRfdy6.cjs} +9 -9
- package/dist/{destroy-CrxF8Dlk.cjs.map → destroy-nTNRfdy6.cjs.map} +1 -1
- package/dist/{docker-BtUjo-J_.cjs → docker-Dy1ZJUzV.cjs} +11 -7
- package/dist/docker-Dy1ZJUzV.cjs.map +1 -0
- package/dist/{docker-DhmU416x.mjs → docker-Ele34O8z.mjs} +12 -8
- package/dist/{docker-DhmU416x.mjs.map → docker-Ele34O8z.mjs.map} +1 -1
- package/dist/{dokploy-BszAUbbA.mjs → dokploy-BrfA2m5K.mjs} +2 -2
- package/dist/{dokploy-BszAUbbA.mjs.map → dokploy-BrfA2m5K.mjs.map} +1 -1
- package/dist/{dokploy-ComPiFLl.cjs → dokploy-DN2W1YIH.cjs} +2 -2
- package/dist/{dokploy-ComPiFLl.cjs.map → dokploy-DN2W1YIH.cjs.map} +1 -1
- package/dist/{eas-zxVAWY6c.cjs → eas-BRBdxmwe.cjs} +3 -3
- package/dist/{eas-zxVAWY6c.cjs.map → eas-BRBdxmwe.cjs.map} +1 -1
- package/dist/{eas-DQudP2g2.mjs → eas-CO3ogve5.mjs} +3 -3
- package/dist/{eas-DQudP2g2.mjs.map → eas-CO3ogve5.mjs.map} +1 -1
- package/dist/{encryption-CU5O0Y61.cjs → encryption-BZ1zgtF5.cjs} +3 -3
- package/dist/{encryption-CU5O0Y61.cjs.map → encryption-BZ1zgtF5.cjs.map} +1 -1
- package/dist/{encryption-BCaweYBJ.mjs → encryption-CHmfNBAy.mjs} +3 -3
- package/dist/{encryption-BCaweYBJ.mjs.map → encryption-CHmfNBAy.mjs.map} +1 -1
- package/dist/{engine-BzeCK6e8.mjs → engine-B3Gmu8-O.mjs} +13 -13
- package/dist/engine-B3Gmu8-O.mjs.map +1 -0
- package/dist/{engine-xrlcbr1g.cjs → engine-DewbDHOq.cjs} +12 -12
- package/dist/engine-DewbDHOq.cjs.map +1 -0
- package/dist/{github-Jcrqfzg0.cjs → github-DPNgIxdc.cjs} +7 -7
- package/dist/{github-Jcrqfzg0.cjs.map → github-DPNgIxdc.cjs.map} +1 -1
- package/dist/{github-CHClpJZS.mjs → github-DU3iEmJN.mjs} +7 -7
- package/dist/{github-CHClpJZS.mjs.map → github-DU3iEmJN.mjs.map} +1 -1
- package/dist/{googlePlay-e_tIBr4n.cjs → googlePlay-C2jnPqYn.cjs} +4 -4
- package/dist/{googlePlay-e_tIBr4n.cjs.map → googlePlay-C2jnPqYn.cjs.map} +1 -1
- package/dist/{googlePlay-Dk_pnif9.mjs → googlePlay-KPHn9H2f.mjs} +4 -4
- package/dist/{googlePlay-Dk_pnif9.mjs.map → googlePlay-KPHn9H2f.mjs.map} +1 -1
- package/dist/{iam-B6WLUf_x.cjs → iam-C2sf6AUi.cjs} +2 -2
- package/dist/{iam-B6WLUf_x.cjs.map → iam-C2sf6AUi.cjs.map} +1 -1
- package/dist/{iam-BKfO7u14.mjs → iam-CW61VcT3.mjs} +2 -2
- package/dist/{iam-BKfO7u14.mjs.map → iam-CW61VcT3.mjs.map} +1 -1
- package/dist/index.cjs +351 -112
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +351 -112
- package/dist/index.mjs.map +1 -1
- package/dist/{local-Dc2h2Ex3.cjs → local-BxjA0EXj.cjs} +2 -2
- package/dist/{local-Dc2h2Ex3.cjs.map → local-BxjA0EXj.cjs.map} +1 -1
- package/dist/{local-DUi3f-WB.mjs → local-CwR2DW6i.mjs} +2 -2
- package/dist/{local-DUi3f-WB.mjs.map → local-CwR2DW6i.mjs.map} +1 -1
- package/dist/{migrate-BU4eyd7z.cjs → migrate-B0a3WY4X.cjs} +5 -5
- package/dist/{migrate-BU4eyd7z.cjs.map → migrate-B0a3WY4X.cjs.map} +1 -1
- package/dist/{migrate-CIjcBr96.cjs → migrate-CYtM1UBH.cjs} +3 -3
- package/dist/{migrate-CIjcBr96.cjs.map → migrate-CYtM1UBH.cjs.map} +1 -1
- package/dist/{migrate-CbpeVxEW.mjs → migrate-DHWy64pc.mjs} +3 -3
- package/dist/{migrate-CbpeVxEW.mjs.map → migrate-DHWy64pc.mjs.map} +1 -1
- package/dist/{migrate-BxFCXc7M.mjs → migrate-vWy2CUoi.mjs} +5 -5
- package/dist/{migrate-BxFCXc7M.mjs.map → migrate-vWy2CUoi.mjs.map} +1 -1
- package/dist/next.cjs +59 -0
- package/dist/next.cjs.map +1 -0
- package/dist/next.d.cts +44 -0
- package/dist/next.d.cts.map +1 -0
- package/dist/next.d.mts +44 -0
- package/dist/next.d.mts.map +1 -0
- package/dist/next.mjs +58 -0
- package/dist/next.mjs.map +1 -0
- package/dist/{notes-TDHMzdVt.mjs → notes-9bOfe08J.mjs} +7 -7
- package/dist/notes-9bOfe08J.mjs.map +1 -0
- package/dist/{notes-DJyFkK13.cjs → notes-DRdlsCYV.cjs} +6 -6
- package/dist/notes-DRdlsCYV.cjs.map +1 -0
- package/dist/openapi.cjs +1 -1
- package/dist/openapi.mjs +1 -1
- package/dist/{projectBucket-BPzx0b0t.mjs → projectBucket-Cd7sEDhG.mjs} +2 -2
- package/dist/{projectBucket-BPzx0b0t.mjs.map → projectBucket-Cd7sEDhG.mjs.map} +1 -1
- package/dist/{projectBucket-CoskwJC5.cjs → projectBucket-gIQUuhGm.cjs} +2 -2
- package/dist/{projectBucket-CoskwJC5.cjs.map → projectBucket-gIQUuhGm.cjs.map} +1 -1
- package/dist/{publish-DB3-zkpm.cjs → publish-BgDFx08y.cjs} +2 -2
- package/dist/{publish-DB3-zkpm.cjs.map → publish-BgDFx08y.cjs.map} +1 -1
- package/dist/{publish-LZ1eb-MI.mjs → publish-DOxz4mxf.mjs} +2 -2
- package/dist/{publish-LZ1eb-MI.mjs.map → publish-DOxz4mxf.mjs.map} +1 -1
- package/dist/{resolve-B5_tOTJG.cjs → resolve-BhQd4IkT.cjs} +4 -4
- package/dist/{resolve-B5_tOTJG.cjs.map → resolve-BhQd4IkT.cjs.map} +1 -1
- package/dist/{resolve-jez3Y1S0.mjs → resolve-CdDyPOE8.mjs} +4 -4
- package/dist/{resolve-jez3Y1S0.mjs.map → resolve-CdDyPOE8.mjs.map} +1 -1
- package/dist/{rollback-BNo1bCLO.cjs → rollback-Brc-_HBJ.cjs} +6 -6
- package/dist/{rollback-BNo1bCLO.cjs.map → rollback-Brc-_HBJ.cjs.map} +1 -1
- package/dist/{rollback-BtOfxwo-.mjs → rollback-CLBKeSMl.mjs} +6 -6
- package/dist/{rollback-BtOfxwo-.mjs.map → rollback-CLBKeSMl.mjs.map} +1 -1
- package/dist/{s3-BlPwyu1L.cjs → s3-CuLmr6Q9.cjs} +3 -3
- package/dist/{s3-BlPwyu1L.cjs.map → s3-CuLmr6Q9.cjs.map} +1 -1
- package/dist/{s3-Bf_75vVl.mjs → s3-D0BIG_ml.mjs} +3 -3
- package/dist/{s3-Bf_75vVl.mjs.map → s3-D0BIG_ml.mjs.map} +1 -1
- package/dist/{serverSetup-D0Zor2i4.mjs → serverSetup-An1fE9nd.mjs} +6 -6
- package/dist/{serverSetup-D0Zor2i4.mjs.map → serverSetup-An1fE9nd.mjs.map} +1 -1
- package/dist/{serverSetup-D30vVD6t.cjs → serverSetup-BMpzrB1y.cjs} +6 -6
- package/dist/{serverSetup-D30vVD6t.cjs.map → serverSetup-BMpzrB1y.cjs.map} +1 -1
- package/dist/{sniffer-Bw00z3I8.cjs → sniffer-9a8wQeeD.cjs} +7 -7
- package/dist/{sniffer-Bw00z3I8.cjs.map → sniffer-9a8wQeeD.cjs.map} +1 -1
- package/dist/{sniffer-DdPDiNmc.mjs → sniffer-BObBXR5q.mjs} +7 -7
- package/dist/{sniffer-DdPDiNmc.mjs.map → sniffer-BObBXR5q.mjs.map} +1 -1
- package/dist/{snsSubscriptions-g7apv_fy.cjs → snsSubscriptions-BRmEdsks.cjs} +3 -3
- package/dist/{snsSubscriptions-g7apv_fy.cjs.map → snsSubscriptions-BRmEdsks.cjs.map} +1 -1
- package/dist/{snsSubscriptions-DBxVTR6Y.mjs → snsSubscriptions-oUTOkG-s.mjs} +3 -3
- package/dist/{snsSubscriptions-DBxVTR6Y.mjs.map → snsSubscriptions-oUTOkG-s.mjs.map} +1 -1
- package/dist/{sst-CEs0bMxj.cjs → sst-CJQI9GYW.cjs} +5 -5
- package/dist/{sst-CEs0bMxj.cjs.map → sst-CJQI9GYW.cjs.map} +1 -1
- package/dist/{sst-DJ22YDEq.mjs → sst-DVIeKWCH.mjs} +5 -5
- package/dist/{sst-DJ22YDEq.mjs.map → sst-DVIeKWCH.mjs.map} +1 -1
- package/dist/{stack-BmG-lKgD.cjs → stack-2jMvQfLo.cjs} +7 -7
- package/dist/{stack-BmG-lKgD.cjs.map → stack-2jMvQfLo.cjs.map} +1 -1
- package/dist/{stack-Ds9jjpE1.mjs → stack-kcxH-2tZ.mjs} +7 -7
- package/dist/{stack-Ds9jjpE1.mjs.map → stack-kcxH-2tZ.mjs.map} +1 -1
- package/dist/{stage-kGc9L3yB.cjs → stage-AHgVG7H8.cjs} +6 -6
- package/dist/{stage-kGc9L3yB.cjs.map → stage-AHgVG7H8.cjs.map} +1 -1
- package/dist/{stage-D9dfV1Ey.mjs → stage-BQSSMJL4.mjs} +6 -6
- package/dist/{stage-D9dfV1Ey.mjs.map → stage-BQSSMJL4.mjs.map} +1 -1
- package/dist/{stages-BL22BLJS.mjs → stages-BsK1Ro4s.mjs} +2 -2
- package/dist/{stages-BL22BLJS.mjs.map → stages-BsK1Ro4s.mjs.map} +1 -1
- package/dist/{stages-CN53nNOK.cjs → stages-DpF2K3PZ.cjs} +2 -2
- package/dist/{stages-CN53nNOK.cjs.map → stages-DpF2K3PZ.cjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.mjs +1 -1
- package/dist/{terminal-DVlIWcUb.cjs → terminal-BNjNr7BN.cjs} +2 -2
- package/dist/{terminal-DVlIWcUb.cjs.map → terminal-BNjNr7BN.cjs.map} +1 -1
- package/dist/{terminal-C0A7S7fB.mjs → terminal-DWROY7JE.mjs} +2 -2
- package/dist/{terminal-C0A7S7fB.mjs.map → terminal-DWROY7JE.mjs.map} +1 -1
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-D4hzz6Xb.mjs → workspace-9q4TSHlM.mjs} +7 -8
- package/dist/workspace-9q4TSHlM.mjs.map +1 -0
- package/dist/{workspace-DPSdiv-b.cjs → workspace-Ciw3SnME.cjs} +6 -7
- package/dist/workspace-Ciw3SnME.cjs.map +1 -0
- package/package.json +25 -15
- package/dist/apps-CJTOIaz3.mjs.map +0 -1
- package/dist/apps-DkMR-qvD.cjs.map +0 -1
- package/dist/compose-SmuCWWUh.cjs.map +0 -1
- package/dist/compose-tX6YTa1U.mjs.map +0 -1
- package/dist/deploy--ia-CGMv.cjs.map +0 -1
- package/dist/deploy-BWFFSN5p.mjs.map +0 -1
- package/dist/docker-BtUjo-J_.cjs.map +0 -1
- package/dist/engine-BzeCK6e8.mjs.map +0 -1
- package/dist/engine-xrlcbr1g.cjs.map +0 -1
- package/dist/notes-DJyFkK13.cjs.map +0 -1
- package/dist/notes-TDHMzdVt.mjs.map +0 -1
- package/dist/workspace-D4hzz6Xb.mjs.map +0 -1
- package/dist/workspace-DPSdiv-b.cjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
2
2
|
import { t as GkmError } from "./errors-D8Gwp5kU.mjs";
|
|
3
|
-
import { E as providerOf, R as externalsManifestName, T as eventsBackendFor, bt as gkmHome, w as cacheBackendFor } from "./credentials-
|
|
4
|
-
import { It as isReservedStageKey, Mt as checkStageBackups, R as stageSampleRate, _ as PUBLIC_ENV_PREFIXES, a as allConstructGlobs, ct as protectedSubdomains, j as TEST_STAGE, ot as appKey, ut as fileServerLabel, z as telemetryEnv } from "./workspace-
|
|
5
|
-
import { $ as otlpHeaders, B as fakeKey, D as HOST_GATEWAY$1, F as emulatorEndpoint, G as serviceAddresses, H as portsOf, I as emulatorQueueUrl, J as LOGS_ORG, L as emulatorTopicArn, M as watchedBuckets, O as NOTIFICATION_RULE_PREFIX, P as EMULATOR_REGION, U as postgresImage, V as portKeys, W as primaryPortKey, Y as LOGS_PASSWORD_KEY, b as REDIS_PASSWORD_KEY, f as savePortState, h as postgresRoleSlug, j as objectsWebhookToken, k as minioNotificationRule, l as loadPortState, m as loadLocalCredentials, n as composeFor, ot as rootSite, q as LOGS_EMAIL_KEY, r as toYaml, t as CLUSTER_DATABASE, v as saveLocalCredentials } from "./compose-
|
|
3
|
+
import { E as providerOf, R as externalsManifestName, T as eventsBackendFor, bt as gkmHome, w as cacheBackendFor } from "./credentials-D4DUPPPP.mjs";
|
|
4
|
+
import { It as isReservedStageKey, Mt as checkStageBackups, R as stageSampleRate, _ as PUBLIC_ENV_PREFIXES, a as allConstructGlobs, ct as protectedSubdomains, j as TEST_STAGE, ot as appKey, ut as fileServerLabel, z as telemetryEnv } from "./workspace-9q4TSHlM.mjs";
|
|
5
|
+
import { $ as otlpHeaders, B as fakeKey, D as HOST_GATEWAY$1, F as emulatorEndpoint, G as serviceAddresses, H as portsOf, I as emulatorQueueUrl, J as LOGS_ORG, L as emulatorTopicArn, M as watchedBuckets, O as NOTIFICATION_RULE_PREFIX, P as EMULATOR_REGION, U as postgresImage, V as portKeys, W as primaryPortKey, Y as LOGS_PASSWORD_KEY, b as REDIS_PASSWORD_KEY, f as savePortState, h as postgresRoleSlug, j as objectsWebhookToken, k as minioNotificationRule, l as loadPortState, m as loadLocalCredentials, n as composeFor, ot as rootSite, q as LOGS_EMAIL_KEY, r as toYaml, t as CLUSTER_DATABASE, v as saveLocalCredentials } from "./compose-RhuFQmZS.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-BybB6uez.mjs";
|
|
7
7
|
import { i as holdsEveryCache, t as DEFAULT_CACHE } from "./types-Y1NfWlyG.mjs";
|
|
8
8
|
import { u as telemetryArgs } from "./EndpointGenerator-B5BKAoLz.mjs";
|
|
@@ -15,12 +15,13 @@ import { hostname, networkInterfaces, userInfo } from "node:os";
|
|
|
15
15
|
import { execFile, spawn } from "node:child_process";
|
|
16
16
|
import { createServer } from "node:net";
|
|
17
17
|
import { createHash, createPrivateKey, createPublicKey, generateKeyPairSync, randomBytes } from "node:crypto";
|
|
18
|
-
import { CLIENT_IP_HEADER, DEFAULT_POSTGRES_VERSION, EDGE_TOKEN_HEADER, EDGE_TOKEN_KEY, 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";
|
|
18
|
+
import { CLIENT_IP_HEADER, DEFAULT_POSTGRES_VERSION, EDGE_TOKEN_HEADER, EDGE_TOKEN_KEY, IMAGE_ORIGINS_KEY, PUBLIC_PREFIX, TELEMETRY_KEYS, WILDCARD_SUBDOMAIN, bucketExpiry, cacheTable, cookieDomain, dependenciesOf, dependentsOf, drawSecret, externalApiUrl, imageOriginSources, imageOrigins, isWildcardSite, kebabCase, mobileOrigins, provideKey, providedKeyFor, provisionOrder, publicEnvFor, schemeBase, wildcardDomainOf } from "@geekmidas/manifest";
|
|
19
19
|
import { fileURLToPath } from "node:url";
|
|
20
20
|
import { formatKeyring } from "@geekmidas/constructs/encryption";
|
|
21
21
|
import { ownerRole, readerRole, roleStatements } from "@geekmidas/db/pg/roles";
|
|
22
22
|
import * as snsUrl from "@geekmidas/events/sns/url";
|
|
23
23
|
import * as sqsUrl from "@geekmidas/events/sqs/url";
|
|
24
|
+
import * as s3Url from "@geekmidas/storage/s3-url";
|
|
24
25
|
import { cacheTableStatements } from "@geekmidas/cache/postgres";
|
|
25
26
|
import { promisify } from "node:util";
|
|
26
27
|
import forge from "node-forge";
|
|
@@ -51,6 +52,9 @@ function deploysWithCompose(workspace) {
|
|
|
51
52
|
* gkm/<project>/<stage>/backups/2026-10-10/02-00-00Z/auth-database.sql.gz
|
|
52
53
|
* ```
|
|
53
54
|
*
|
|
55
|
+
* Beside the runs, `imports/` holds files prepared by hand for
|
|
56
|
+
* `gkm backup:restore --from` — never listed as a run, never expired.
|
|
57
|
+
*
|
|
54
58
|
* The file is named after the database's construct, the way its migrations
|
|
55
59
|
* folder is: `AuthDatabase` is `db/auth-database`, and `auth-database.sql.gz`.
|
|
56
60
|
*/
|
|
@@ -121,6 +125,10 @@ function backupDatabases(resources) {
|
|
|
121
125
|
* deployed stage each time, never from the stage being deployed alone: one
|
|
122
126
|
* stage's deploy keeps every other's rule. A stage set to `false` has none,
|
|
123
127
|
* and its backups are kept until someone deletes them.
|
|
128
|
+
*
|
|
129
|
+
* The rule covers the runs and nothing else beside them: a lifecycle filter
|
|
130
|
+
* cannot leave a folder out, so it matches what every run folder starts
|
|
131
|
+
* with — its year, `2…` — and the stage's `imports/` is never expired.
|
|
124
132
|
*/
|
|
125
133
|
function backupExpiries(workspace, manifest) {
|
|
126
134
|
const expiries = [];
|
|
@@ -129,7 +137,7 @@ function backupExpiries(workspace, manifest) {
|
|
|
129
137
|
if (choice.mode !== "on") continue;
|
|
130
138
|
expiries.push({
|
|
131
139
|
id: `gkm-backups-${stage}`,
|
|
132
|
-
prefix: `${backupsPrefix(workspace, stage)}
|
|
140
|
+
prefix: `${backupsPrefix(workspace, stage)}/2`,
|
|
133
141
|
days: choice.backups.keepDays,
|
|
134
142
|
abortIncompleteDays: 1
|
|
135
143
|
});
|
|
@@ -157,7 +165,7 @@ function processorsDevRoute(fileServerId) {
|
|
|
157
165
|
* The Caddy configuration a plan implies.
|
|
158
166
|
*
|
|
159
167
|
* A file server is a *domain that serves a bucket*, and locally it had neither:
|
|
160
|
-
* `
|
|
168
|
+
* `UPLOADS_URL` resolved to MinIO's path-style address, which works and
|
|
161
169
|
* is not the deployed shape. MinIO's own virtual-host mode cannot fix that —
|
|
162
170
|
* it reads the leading label *as the bucket name*, so it produces the right
|
|
163
171
|
* shape only when the server's id and the bucket's happen to agree, and never
|
|
@@ -645,7 +653,8 @@ const ROLES = {
|
|
|
645
653
|
queue: "publisherConnectionString",
|
|
646
654
|
topic: "publisherConnectionString",
|
|
647
655
|
credential: "credentials",
|
|
648
|
-
"mobile-app": "scheme"
|
|
656
|
+
"mobile-app": "scheme",
|
|
657
|
+
objects: "connectionString"
|
|
649
658
|
};
|
|
650
659
|
/** The kinds whose container is the events backend's rather than their own. */
|
|
651
660
|
const EVENT_KINDS = {
|
|
@@ -770,6 +779,10 @@ function planFor(manifest, stage, order, options = {}) {
|
|
|
770
779
|
provisions: PROVISIONS[declaration.kind] === true,
|
|
771
780
|
...declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "objects" || declaration.kind === "file-server" ? { callers: dependentsOf(manifest, id) } : {},
|
|
772
781
|
...declaration.kind === "site" ? { publicEnv: publicEnvFor(declaration, manifest) } : {},
|
|
782
|
+
...(declaration.kind === "site" || declaration.kind === "mobile-app") && imageOriginSources(declaration, manifest).length > 0 ? { imageOrigins: {
|
|
783
|
+
key: `${PUBLIC_PREFIX[declaration.variant]}${IMAGE_ORIGINS_KEY}`,
|
|
784
|
+
sources: imageOriginSources(declaration, manifest)
|
|
785
|
+
} } : {},
|
|
773
786
|
...declaration.kind === "mobile-app" ? {
|
|
774
787
|
publicEnv: publicEnvFor(declaration, manifest),
|
|
775
788
|
...declaration.scheme ? { scheme: declaration.scheme } : {}
|
|
@@ -884,6 +897,36 @@ var PgBossNeedsDatabase = class extends GkmError {
|
|
|
884
897
|
}
|
|
885
898
|
};
|
|
886
899
|
//#endregion
|
|
900
|
+
//#region src/reconcile/signedOrigins.ts
|
|
901
|
+
/**
|
|
902
|
+
* Where each bucket's presigned links point, derived from its connection.
|
|
903
|
+
*
|
|
904
|
+
* Not stored and not provisioned: the origin is a function of the connection
|
|
905
|
+
* string (`s3Url.signedOrigin`), so it is computed wherever the connection is
|
|
906
|
+
* resolved — a stage's secrets, MinIO locally — and can never disagree with
|
|
907
|
+
* the links the bucket's client signs.
|
|
908
|
+
*/
|
|
909
|
+
/**
|
|
910
|
+
* `<ID>_SIGNED_ORIGIN` for each bucket whose connection `lookup` resolves to
|
|
911
|
+
* an `s3://` URL with a knowable host. A bucket with none, or another scheme,
|
|
912
|
+
* gets nothing rather than a guess.
|
|
913
|
+
*/
|
|
914
|
+
function signedOrigins(buckets, lookup) {
|
|
915
|
+
const origins = {};
|
|
916
|
+
for (const id of buckets) {
|
|
917
|
+
const connection = lookup(provideKey(id, "connectionString"));
|
|
918
|
+
if (!connection?.startsWith("s3:")) continue;
|
|
919
|
+
let origin;
|
|
920
|
+
try {
|
|
921
|
+
origin = s3Url.signedOrigin(s3Url.parse(connection));
|
|
922
|
+
} catch {
|
|
923
|
+
continue;
|
|
924
|
+
}
|
|
925
|
+
if (origin) origins[provideKey(id, "signedOrigin")] = origin;
|
|
926
|
+
}
|
|
927
|
+
return origins;
|
|
928
|
+
}
|
|
929
|
+
//#endregion
|
|
887
930
|
//#region src/reconcile/env.ts
|
|
888
931
|
/**
|
|
889
932
|
* The URLs a reconciled stage injects.
|
|
@@ -1027,6 +1070,7 @@ function envFor(plan, options) {
|
|
|
1027
1070
|
if (inbox !== void 0) env[provideKey(resource.id, "inboxUrl")] = `http://${LOCAL_HOST}:${inbox}`;
|
|
1028
1071
|
}
|
|
1029
1072
|
}
|
|
1073
|
+
Object.assign(env, signedOrigins(plan.resources.filter((r) => r.kind === "objects").map((r) => r.id), (key) => env[key]));
|
|
1030
1074
|
Object.assign(env, publicEnv(plan, env, options.addresses));
|
|
1031
1075
|
Object.assign(env, brokerEnv(plan, options.ports, credential));
|
|
1032
1076
|
const relay = env.EVENT_PUBLISHER_CONNECTION_STRING;
|
|
@@ -1058,9 +1102,15 @@ function envFor(plan, options) {
|
|
|
1058
1102
|
function publicEnv(plan, resolved, addresses = {}) {
|
|
1059
1103
|
const env = {};
|
|
1060
1104
|
const owners = new Map(plan.resources.map((r) => [r.envKey, r.id]));
|
|
1061
|
-
for (const resource of plan.resources)
|
|
1062
|
-
|
|
1063
|
-
|
|
1105
|
+
for (const resource of plan.resources) {
|
|
1106
|
+
for (const [key, source] of Object.entries(resource.publicEnv ?? {})) {
|
|
1107
|
+
const value = (resource.kind === "mobile-app" ? addresses[owners.get(source) ?? ""] : void 0) ?? resolved[source];
|
|
1108
|
+
if (value) env[key] = value;
|
|
1109
|
+
}
|
|
1110
|
+
if (resource.imageOrigins) {
|
|
1111
|
+
const origins = imageOrigins(resource.imageOrigins.sources, (key) => resolved[key]);
|
|
1112
|
+
if (origins) env[resource.imageOrigins.key] = origins;
|
|
1113
|
+
}
|
|
1064
1114
|
}
|
|
1065
1115
|
return env;
|
|
1066
1116
|
}
|
|
@@ -2307,11 +2357,14 @@ function publicBuildValues(site, manifest, resolve, secrets) {
|
|
|
2307
2357
|
const own = provideKey(site.id, site.kind === "site" ? "url" : "scheme");
|
|
2308
2358
|
const ownValue = resolve(own);
|
|
2309
2359
|
if (ownValue) args[own] = ownValue;
|
|
2360
|
+
const derived = signedOrigins(Object.keys(manifest).filter((id) => manifest[id]?.kind === "objects"), resolve);
|
|
2310
2361
|
for (const [key, source] of Object.entries(publicEnvFor(site, manifest))) {
|
|
2311
|
-
const value = resolve(source);
|
|
2362
|
+
const value = resolve(source) ?? derived[source];
|
|
2312
2363
|
if (value) args[key] = value;
|
|
2313
2364
|
}
|
|
2314
2365
|
const prefix = PUBLIC_PREFIX[site.variant];
|
|
2366
|
+
const origins = imageOrigins(imageOriginSources(site, manifest), (source) => resolve(source) ?? derived[source]);
|
|
2367
|
+
if (origins) args[`${prefix}${IMAGE_ORIGINS_KEY}`] = origins;
|
|
2315
2368
|
for (const [key, value] of Object.entries(secrets)) if (key.startsWith(prefix) && args[key] === void 0 && value) args[key] = value;
|
|
2316
2369
|
return args;
|
|
2317
2370
|
}
|
|
@@ -2371,7 +2424,7 @@ function siteOfflineHosts(manifest, appName, ownUrl, urls) {
|
|
|
2371
2424
|
for (const [id] of entries) {
|
|
2372
2425
|
const name = appKey(id);
|
|
2373
2426
|
const url = name === appName ? ownUrl : urls[name];
|
|
2374
|
-
if (url) byKey.set(
|
|
2427
|
+
if (url) byKey.set(providedKeyFor(id, manifest[id].kind, "url"), url);
|
|
2375
2428
|
}
|
|
2376
2429
|
return offlineBuildHosts(site, manifest, (key) => byKey.get(key));
|
|
2377
2430
|
}
|
|
@@ -5622,4 +5675,4 @@ function healthcheck(port, path) {
|
|
|
5622
5675
|
//#endregion
|
|
5623
5676
|
export { imageBuildCredentials as $, originSecretKey as A, TELEMETRY_CONTAINER as At, WORKER_PORT as B, LOCAL_TLD as Bt, ensureLocalCertificate as C, postgresDatabaseNames as Ct, ORIGIN_VERIFY_HEADER as D, envFor as Dt, readLocalAuthority as E, mergeLifecycle as Et, imageLayout as F, scopeTelemetryEnv as Ft, generateEntryDockerfile as G, backupExpiries as Gt, findBuildRoot as H, hostFor$1 as Ht, LOCAL_CA_BUILD_SECRET as I, siteClientTelemetry as It, generateProcessorDockerfile as J, runTime as Jt, generateNextjsDockerfile as K, backupFile as Kt, PRERENDER_RUN_ARG as L, surfaceClientTraced as Lt, appImageOptions as M, resourceName as Mt, composeBuildPaths as N, appTelemetry as Nt, PROCESSOR_ORIGIN_SECRET_ENV as O, localRolePassword as Ot, fromBuildRoot as P, isTelemetryKey as Pt, resolveDockerConfig as Q, PROCESSOR_PORT as R, telemetryOf as Rt, ensureLocalAuthority as S, bucketPolicies as St, localCertificateNames as T, quoteIdentifier as Tt, generateBackendDockerfile as U, PROCESSORS_DEV_PREFIX as Ut, detectPackageManager as V, clientIpRule as Vt, generateDockerignore as W, backupDatabases as Wt, generateWorkerDockerfile as X, deploysWithCompose as Xt, generateViteStaticDockerfile as Y, stageBackups as Yt, nextPrerenderManifest as Z, forgetState as _, applyLifecycles as _t, networkEnv as a, siteOfflineHosts as at, bucketClient as b, applyPostgres as bt, processorEnvKeys as c, processorUnits as ct, backendsOf as d, BACKUPS_URL_KEY as dt, isImageBuild as et, constructGlobs as f, RUNNER_PATH as ft, COMPOSE_PATH as g, applyBuckets as gt, workspace_exports as h, stackBackups as ht, dockerfileOf as i, runsServer as it, processorOriginHost as j, planFor as jt, newOriginSecret as k, stageEnv as kt, workerEnvKeys as l, workerUnits as lt, reconcileWorkspace as m, backupsService as mt, appProcess as n, offlineBuildHosts as nt, processEnv as o, isUnder as ot, derivedContainers as p, backupsRoleStatements as pt, generateNodeWebDockerfile as q, backupsPrefix as qt, apps_exports as r, publicBuildValues as rt, processEnvKeys as s, processorUnitName as st, appEnvKeys as t, OFFLINE_BUILD_ADDRESS as tt, FAKE_ENV as u, BACKUPS_SERVICE as ut, LEGACY_LOCAL_LOGIN as v, applyNotifications as vt, localAuthorityPaths as w, postgresStatements as wt, pgClient as x, bucketLifecycles as xt, ensurePostgresLogin as y, applyPolicies as yt, TURBO_VERSION as z, usesTelemetry as zt };
|
|
5624
5677
|
|
|
5625
|
-
//# sourceMappingURL=apps-
|
|
5678
|
+
//# sourceMappingURL=apps-w2sRQKCr.mjs.map
|