@geekmidas/cli 10.0.0-alpha.135 → 10.0.0-alpha.137
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-D3p5WQOv.cjs → EndpointGenerator-BGKb_Ie6.cjs} +2 -2
- package/dist/{EndpointGenerator-D3p5WQOv.cjs.map → EndpointGenerator-BGKb_Ie6.cjs.map} +1 -1
- package/dist/{EndpointGenerator-Bm6xwLIF.mjs → EndpointGenerator-DDfPq2AZ.mjs} +2 -2
- package/dist/{EndpointGenerator-Bm6xwLIF.mjs.map → EndpointGenerator-DDfPq2AZ.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-DZWg8Ssf.cjs → GoDaddyProvider-BcP8dWX-.cjs} +2 -2
- package/dist/{GoDaddyProvider-DZWg8Ssf.cjs.map → GoDaddyProvider-BcP8dWX-.cjs.map} +1 -1
- package/dist/{GoDaddyProvider-DPiJ5exO.mjs → GoDaddyProvider-D8KVrUYm.mjs} +2 -2
- package/dist/{GoDaddyProvider-DPiJ5exO.mjs.map → GoDaddyProvider-D8KVrUYm.mjs.map} +1 -1
- package/dist/{LegacyStateStore-D4h5bkrb.mjs → LegacyStateStore-63cJw4AV.mjs} +3 -3
- package/dist/{LegacyStateStore-D4h5bkrb.mjs.map → LegacyStateStore-63cJw4AV.mjs.map} +1 -1
- package/dist/{LegacyStateStore-B9bnnATg.cjs → LegacyStateStore-De4hd05H.cjs} +3 -3
- package/dist/{LegacyStateStore-B9bnnATg.cjs.map → LegacyStateStore-De4hd05H.cjs.map} +1 -1
- package/dist/{LocalStateStore-DolIqU2y.cjs → LocalStateStore-SiFl-guR.cjs} +2 -2
- package/dist/{LocalStateStore-DolIqU2y.cjs.map → LocalStateStore-SiFl-guR.cjs.map} +1 -1
- package/dist/{LocalStateStore-BtUPqLVd.mjs → LocalStateStore-jDPIJHLS.mjs} +2 -2
- package/dist/{LocalStateStore-BtUPqLVd.mjs.map → LocalStateStore-jDPIJHLS.mjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-HkNH_xw-.cjs → OpenApiTsGenerator-DoLFZu4i.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-HkNH_xw-.cjs.map → OpenApiTsGenerator-DoLFZu4i.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-BB6dGP8i.mjs → OpenApiTsGenerator-l1DUhgLV.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-BB6dGP8i.mjs.map → OpenApiTsGenerator-l1DUhgLV.mjs.map} +1 -1
- package/dist/{Route53Provider-QXxjkZO1.mjs → Route53Provider-Di_SD9CF.mjs} +2 -2
- package/dist/Route53Provider-Di_SD9CF.mjs.map +1 -0
- package/dist/{Route53Provider-Bllus2NR.cjs → Route53Provider-emLuQHVw.cjs} +2 -2
- package/dist/Route53Provider-emLuQHVw.cjs.map +1 -0
- package/dist/{S3StateStore-CDT_DkGE.mjs → S3StateStore-CudutATE.mjs} +2 -2
- package/dist/{S3StateStore-CDT_DkGE.mjs.map → S3StateStore-CudutATE.mjs.map} +1 -1
- package/dist/{S3StateStore-CK8U4ICM.cjs → S3StateStore-UvVhNR69.cjs} +2 -2
- package/dist/{S3StateStore-CK8U4ICM.cjs.map → S3StateStore-UvVhNR69.cjs.map} +1 -1
- package/dist/{SSMStateStore-DmZawuR5.cjs → SSMStateStore-BpZqNwDW.cjs} +2 -2
- package/dist/{SSMStateStore-DmZawuR5.cjs.map → SSMStateStore-BpZqNwDW.cjs.map} +1 -1
- package/dist/{SSMStateStore-BtPIF4Qk.mjs → SSMStateStore-kpFFubgP.mjs} +2 -2
- package/dist/{SSMStateStore-BtPIF4Qk.mjs.map → SSMStateStore-kpFFubgP.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-uDZW1ddC.cjs → SubscriberGenerator-DDCqRTbq.cjs} +3 -3
- package/dist/{SubscriberGenerator-uDZW1ddC.cjs.map → SubscriberGenerator-DDCqRTbq.cjs.map} +1 -1
- package/dist/{SubscriberGenerator-CI7roxx9.mjs → SubscriberGenerator-zUd87wvg.mjs} +3 -3
- package/dist/{SubscriberGenerator-CI7roxx9.mjs.map → SubscriberGenerator-zUd87wvg.mjs.map} +1 -1
- package/dist/{add-fXw-yJvm.cjs → add-BDCl-l_l.cjs} +9 -15
- package/dist/add-BDCl-l_l.cjs.map +1 -0
- package/dist/{add-9t0pfwcy.mjs → add-D1cRGiH4.mjs} +9 -15
- package/dist/add-D1cRGiH4.mjs.map +1 -0
- package/dist/{bundler-DP84yfVd.mjs → bundler-BKE3xo6D.mjs} +5 -5
- package/dist/{bundler-DP84yfVd.mjs.map → bundler-BKE3xo6D.mjs.map} +1 -1
- package/dist/{bundler-Bj4FgDuH.cjs → bundler-p1JT47FO.cjs} +5 -5
- package/dist/{bundler-Bj4FgDuH.cjs.map → bundler-p1JT47FO.cjs.map} +1 -1
- package/dist/{cli-D47RSzQn.cjs → cli-BxWKJRgE.cjs} +3 -3
- package/dist/{cli-D47RSzQn.cjs.map → cli-BxWKJRgE.cjs.map} +1 -1
- package/dist/{cli-Mmy5wBuy.mjs → cli-CaqHWpud.mjs} +3 -3
- package/dist/{cli-Mmy5wBuy.mjs.map → cli-CaqHWpud.mjs.map} +1 -1
- package/dist/{compose-CEikJR9c.mjs → compose-BAT7wsdE.mjs} +412 -42
- package/dist/compose-BAT7wsdE.mjs.map +1 -0
- package/dist/{compose-ht0TCG2X.cjs → compose-DKddjrXC.cjs} +411 -41
- package/dist/compose-DKddjrXC.cjs.map +1 -0
- package/dist/{config-DlKOvs3Y.d.cts → config-B7HaIfYM.d.mts} +3 -3
- package/dist/{config-CnrwEcSa.d.mts.map → config-B7HaIfYM.d.mts.map} +1 -1
- package/dist/{config-CnrwEcSa.d.mts → config-DySjXKd2.d.cts} +3 -3
- package/dist/{config-DlKOvs3Y.d.cts.map → config-DySjXKd2.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/{credentialSchemas-CM0rxWmS.cjs → credentialSchemas-BJMvQlks.cjs} +2 -2
- package/dist/{credentialSchemas-CM0rxWmS.cjs.map → credentialSchemas-BJMvQlks.cjs.map} +1 -1
- package/dist/{credentialSchemas-DPOGqOrU.mjs → credentialSchemas-DYzO2_yG.mjs} +2 -2
- package/dist/{credentialSchemas-DPOGqOrU.mjs.map → credentialSchemas-DYzO2_yG.mjs.map} +1 -1
- package/dist/deploy/public.cjs +8 -8
- package/dist/deploy/public.d.cts +3 -3
- package/dist/deploy/public.d.mts +3 -3
- package/dist/deploy/public.mjs +8 -8
- package/dist/deploy/sniffer-routes-worker.cjs +2 -2
- package/dist/deploy/sniffer-routes-worker.mjs +2 -2
- package/dist/{deploy-C0TpTD1d.mjs → deploy-C5UDDUU7.mjs} +26 -40
- package/dist/deploy-C5UDDUU7.mjs.map +1 -0
- package/dist/{deploy-CdL9_-qw.cjs → deploy-CwlYj_tU.cjs} +26 -40
- package/dist/deploy-CwlYj_tU.cjs.map +1 -0
- package/dist/{derive-Bsnm81mg.mjs → derive-Cd7Hl3r2.mjs} +4 -4
- package/dist/derive-Cd7Hl3r2.mjs.map +1 -0
- package/dist/{derive-ClMgyPzp.cjs → derive-CgZfoBU2.cjs} +3 -3
- package/dist/derive-CgZfoBU2.cjs.map +1 -0
- package/dist/{discover-DEOspD9M.cjs → discover-B3G8eyWX.cjs} +181 -43
- package/dist/discover-B3G8eyWX.cjs.map +1 -0
- package/dist/{discover-DOhYSKY_.mjs → discover-DWtHjc1x.mjs} +177 -39
- package/dist/discover-DWtHjc1x.mjs.map +1 -0
- package/dist/{dokploy-DpvTEQV9.mjs → dokploy-BaGPz931.mjs} +2 -2
- package/dist/{dokploy-DpvTEQV9.mjs.map → dokploy-BaGPz931.mjs.map} +1 -1
- package/dist/{dokploy-BueAJuoo.cjs → dokploy-D8JRpnNM.cjs} +2 -2
- package/dist/{dokploy-BueAJuoo.cjs.map → dokploy-D8JRpnNM.cjs.map} +1 -1
- package/dist/{eas-J_D0eeql.mjs → eas-_k4YqH8L.mjs} +3 -3
- package/dist/{eas-J_D0eeql.mjs.map → eas-_k4YqH8L.mjs.map} +1 -1
- package/dist/{eas-BPDzq2YJ.cjs → eas-m37zU75L.cjs} +3 -3
- package/dist/{eas-BPDzq2YJ.cjs.map → eas-m37zU75L.cjs.map} +1 -1
- package/dist/emit-Bj6XSivk.mjs +136 -0
- package/dist/emit-Bj6XSivk.mjs.map +1 -0
- package/dist/emit-CDC__ubE.cjs +147 -0
- package/dist/emit-CDC__ubE.cjs.map +1 -0
- package/dist/{encryption-D-02Ns4D.mjs → encryption-B1wVX-iK.mjs} +2 -2
- package/dist/{encryption-D-02Ns4D.mjs.map → encryption-B1wVX-iK.mjs.map} +1 -1
- package/dist/{encryption-DkVOPJHl.cjs → encryption-CKt33qlB.cjs} +2 -2
- package/dist/{encryption-DkVOPJHl.cjs.map → encryption-CKt33qlB.cjs.map} +1 -1
- package/dist/{engine-CEg989YU.mjs → engine-B66avdZg.mjs} +9 -14
- package/dist/engine-B66avdZg.mjs.map +1 -0
- package/dist/{engine-hYFSWxve.cjs → engine-CazVehBM.cjs} +9 -14
- package/dist/engine-CazVehBM.cjs.map +1 -0
- package/dist/{github-MwKWG3rQ.mjs → github-DJS6FXj4.mjs} +5 -5
- package/dist/{github-MwKWG3rQ.mjs.map → github-DJS6FXj4.mjs.map} +1 -1
- package/dist/{github-Btdbg8z3.cjs → github-DvoKzLo9.cjs} +5 -5
- package/dist/{github-Btdbg8z3.cjs.map → github-DvoKzLo9.cjs.map} +1 -1
- package/dist/{googlePlay-Bq3krrnh.cjs → googlePlay-BRAykqXD.cjs} +3 -3
- package/dist/{googlePlay-Bq3krrnh.cjs.map → googlePlay-BRAykqXD.cjs.map} +1 -1
- package/dist/{googlePlay-BJPkSlE7.mjs → googlePlay-B_5CB5YP.mjs} +3 -3
- package/dist/{googlePlay-BJPkSlE7.mjs.map → googlePlay-B_5CB5YP.mjs.map} +1 -1
- package/dist/{index-BYJMHnMt.d.cts → index-BymyHYdL.d.mts} +2 -2
- package/dist/{index-BYJMHnMt.d.cts.map → index-BymyHYdL.d.mts.map} +1 -1
- package/dist/{index-CBCGDhD6.d.mts → index-CTKfBwU3.d.cts} +2 -2
- package/dist/{index-CBCGDhD6.d.mts.map → index-CTKfBwU3.d.cts.map} +1 -1
- package/dist/index.cjs +68 -68
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +68 -68
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-SmLqnkna.mjs → migrate-CUXjEMyM.mjs} +3 -3
- package/dist/{migrate-SmLqnkna.mjs.map → migrate-CUXjEMyM.mjs.map} +1 -1
- package/dist/{migrate-ZP_zGDPZ.cjs → migrate-DgBQ5hMl.cjs} +3 -3
- package/dist/{migrate-ZP_zGDPZ.cjs.map → migrate-DgBQ5hMl.cjs.map} +1 -1
- package/dist/{migrate-Bz8Y9FuF.cjs → migrate-Vz5SqDC9.cjs} +2 -2
- package/dist/{migrate-Bz8Y9FuF.cjs.map → migrate-Vz5SqDC9.cjs.map} +1 -1
- package/dist/{migrate-CXOGn5NC.mjs → migrate-wns_j863.mjs} +2 -2
- package/dist/{migrate-CXOGn5NC.mjs.map → migrate-wns_j863.mjs.map} +1 -1
- package/dist/openapi.cjs +3 -3
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +3 -3
- package/dist/{publish-BGPtiswJ.mjs → publish-BZ4WnlQF.mjs} +2 -2
- package/dist/{publish-BGPtiswJ.mjs.map → publish-BZ4WnlQF.mjs.map} +1 -1
- package/dist/{publish-CuvbP2bc.cjs → publish-C1WzNW-y.cjs} +2 -2
- package/dist/{publish-CuvbP2bc.cjs.map → publish-C1WzNW-y.cjs.map} +1 -1
- package/dist/{ready-DhkmqsOH.cjs → ready-D0u7jGFV.cjs} +5 -5
- package/dist/{ready-DhkmqsOH.cjs.map → ready-D0u7jGFV.cjs.map} +1 -1
- package/dist/{ready-AcAH2WL6.mjs → ready-DyvWvbiq.mjs} +5 -5
- package/dist/{ready-AcAH2WL6.mjs.map → ready-DyvWvbiq.mjs.map} +1 -1
- package/dist/reconcile/public.cjs +3 -3
- package/dist/reconcile/public.d.cts +24 -29
- package/dist/reconcile/public.d.cts.map +1 -1
- package/dist/reconcile/public.d.mts +24 -29
- package/dist/reconcile/public.d.mts.map +1 -1
- package/dist/reconcile/public.mjs +3 -3
- package/dist/{resolve-hyZMb2z7.mjs → resolve-D42nz9oe.mjs} +4 -4
- package/dist/{resolve-hyZMb2z7.mjs.map → resolve-D42nz9oe.mjs.map} +1 -1
- package/dist/{resolve-BQ_oAZSX.cjs → resolve-DBXRljeQ.cjs} +4 -4
- package/dist/{resolve-BQ_oAZSX.cjs.map → resolve-DBXRljeQ.cjs.map} +1 -1
- package/dist/{rollback-ODQR4lLz.mjs → rollback-DKWjVtwa.mjs} +4 -4
- package/dist/{rollback-ODQR4lLz.mjs.map → rollback-DKWjVtwa.mjs.map} +1 -1
- package/dist/{rollback-BQufMCac.cjs → rollback-s8OXlOCr.cjs} +4 -4
- package/dist/{rollback-BQufMCac.cjs.map → rollback-s8OXlOCr.cjs.map} +1 -1
- package/dist/{runtime-CBro-1N4.d.cts → runtime-Dl601UcU.d.cts} +2 -2
- package/dist/{runtime-CBro-1N4.d.cts.map → runtime-Dl601UcU.d.cts.map} +1 -1
- package/dist/{runtime-f9aiOHxq.d.mts → runtime-mR2O0z64.d.mts} +2 -2
- package/dist/{runtime-f9aiOHxq.d.mts.map → runtime-mR2O0z64.d.mts.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 -4
- package/dist/sandbox/discover-worker.cjs.map +1 -1
- package/dist/sandbox/discover-worker.mjs +1 -4
- package/dist/sandbox/discover-worker.mjs.map +1 -1
- package/dist/sandbox/migrate-worker.cjs +1 -1
- package/dist/sandbox/migrate-worker.mjs +1 -1
- package/dist/{seeds-BeXHiiuz.cjs → seeds-D70hodXu.cjs} +101 -106
- package/dist/seeds-D70hodXu.cjs.map +1 -0
- package/dist/{seeds-CNrAW2NR.mjs → seeds-WyxyXjxu.mjs} +102 -107
- package/dist/seeds-WyxyXjxu.mjs.map +1 -0
- package/dist/{serverSetup-ChdSMUmE.cjs → serverSetup-3kQPTiSi.cjs} +5 -5
- package/dist/{serverSetup-ChdSMUmE.cjs.map → serverSetup-3kQPTiSi.cjs.map} +1 -1
- package/dist/{serverSetup-CqaeTq8J.mjs → serverSetup-D2CKwf96.mjs} +5 -5
- package/dist/{serverSetup-CqaeTq8J.mjs.map → serverSetup-D2CKwf96.mjs.map} +1 -1
- package/dist/{sniffer-CMMqjWyj.cjs → sniffer-BXvUF1hF.cjs} +7 -7
- package/dist/{sniffer-CMMqjWyj.cjs.map → sniffer-BXvUF1hF.cjs.map} +1 -1
- package/dist/{sniffer-DW4uTBXp.mjs → sniffer-C7Y1pnTH.mjs} +7 -7
- package/dist/{sniffer-DW4uTBXp.mjs.map → sniffer-C7Y1pnTH.mjs.map} +1 -1
- package/dist/{snsSubscriptions-CLWW_I6o.cjs → snsSubscriptions-DNVQKnuw.cjs} +21 -11
- package/dist/snsSubscriptions-DNVQKnuw.cjs.map +1 -0
- package/dist/{snsSubscriptions-ChIUluUY.mjs → snsSubscriptions-DS6047gE.mjs} +21 -11
- package/dist/snsSubscriptions-DS6047gE.mjs.map +1 -0
- package/dist/{sst-WPkIfa64.mjs → sst-Bz2HJlqc.mjs} +2 -2
- package/dist/{sst-WPkIfa64.mjs.map → sst-Bz2HJlqc.mjs.map} +1 -1
- package/dist/{sst-CHOp2-qt.cjs → sst-lvCHdYsY.cjs} +2 -2
- package/dist/{sst-CHOp2-qt.cjs.map → sst-lvCHdYsY.cjs.map} +1 -1
- package/dist/{stage-C1oR_hgI.cjs → stage-BBre_tHU.cjs} +5 -8
- package/dist/stage-BBre_tHU.cjs.map +1 -0
- package/dist/{stage-DGj-LIZd.mjs → stage-_YcfLSj-.mjs} +5 -8
- package/dist/stage-_YcfLSj-.mjs.map +1 -0
- 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-DBwedwSS.cjs → terminal-BIZRxV-e.cjs} +2 -2
- package/dist/{terminal-DBwedwSS.cjs.map → terminal-BIZRxV-e.cjs.map} +1 -1
- package/dist/{terminal-CebFDhWQ.mjs → terminal-PEvt24kO.mjs} +2 -2
- package/dist/{terminal-CebFDhWQ.mjs.map → terminal-PEvt24kO.mjs.map} +1 -1
- package/dist/{types-C5Zvkpc_.d.mts → types-C-uwKr3O.d.mts} +1 -18
- package/dist/types-C-uwKr3O.d.mts.map +1 -0
- package/dist/{types-CSOoemtk.d.cts → types-DOYYfQme.d.cts} +1 -18
- package/dist/types-DOYYfQme.d.cts.map +1 -0
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +1 -1
- package/dist/workspace/index.d.cts +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/package.json +15 -15
- package/dist/Route53Provider-Bllus2NR.cjs.map +0 -1
- package/dist/Route53Provider-QXxjkZO1.mjs.map +0 -1
- package/dist/add-9t0pfwcy.mjs.map +0 -1
- package/dist/add-fXw-yJvm.cjs.map +0 -1
- package/dist/compose-CEikJR9c.mjs.map +0 -1
- package/dist/compose-ht0TCG2X.cjs.map +0 -1
- package/dist/deploy-C0TpTD1d.mjs.map +0 -1
- package/dist/deploy-CdL9_-qw.cjs.map +0 -1
- package/dist/derive-Bsnm81mg.mjs.map +0 -1
- package/dist/derive-ClMgyPzp.cjs.map +0 -1
- package/dist/discover-DEOspD9M.cjs.map +0 -1
- package/dist/discover-DOhYSKY_.mjs.map +0 -1
- package/dist/emit-CYloptRS.cjs +0 -243
- package/dist/emit-CYloptRS.cjs.map +0 -1
- package/dist/emit-CiJGdy_f.mjs +0 -226
- package/dist/emit-CiJGdy_f.mjs.map +0 -1
- package/dist/engine-CEg989YU.mjs.map +0 -1
- package/dist/engine-hYFSWxve.cjs.map +0 -1
- package/dist/seeds-BeXHiiuz.cjs.map +0 -1
- package/dist/seeds-CNrAW2NR.mjs.map +0 -1
- package/dist/snsSubscriptions-CLWW_I6o.cjs.map +0 -1
- package/dist/snsSubscriptions-ChIUluUY.mjs.map +0 -1
- package/dist/stage-C1oR_hgI.cjs.map +0 -1
- package/dist/stage-DGj-LIZd.mjs.map +0 -1
- package/dist/types-C5Zvkpc_.d.mts.map +0 -1
- package/dist/types-CSOoemtk.d.cts.map +0 -1
|
@@ -2,14 +2,14 @@ const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
|
|
|
2
2
|
const require_errors = require("./errors-DMC4Umsb.cjs");
|
|
3
3
|
const require_credentials = require("./credentials-D7XJypNd.cjs");
|
|
4
4
|
const require_workspace = require("./workspace-secxwA6K.cjs");
|
|
5
|
-
const require_snsSubscriptions = require("./snsSubscriptions-
|
|
5
|
+
const require_snsSubscriptions = require("./snsSubscriptions-DNVQKnuw.cjs");
|
|
6
6
|
const require_define = require("./define-crmMcXFS.cjs");
|
|
7
|
-
const require_seeds = require("./seeds-
|
|
8
|
-
const require_derive = require("./derive-
|
|
7
|
+
const require_seeds = require("./seeds-D70hodXu.cjs");
|
|
8
|
+
const require_derive = require("./derive-CgZfoBU2.cjs");
|
|
9
9
|
const require_drivers = require("./drivers-C47nm-wB.cjs");
|
|
10
10
|
const require_identity = require("./identity-CbLfgQNT.cjs");
|
|
11
|
-
const require_discover = require("./discover-
|
|
12
|
-
const require_SubscriberGenerator = require("./SubscriberGenerator-
|
|
11
|
+
const require_discover = require("./discover-B3G8eyWX.cjs");
|
|
12
|
+
const require_SubscriberGenerator = require("./SubscriberGenerator-DDCqRTbq.cjs");
|
|
13
13
|
const require_databases = require("./databases-P824RTnx.cjs");
|
|
14
14
|
let node_path = require("node:path");
|
|
15
15
|
let node_fs = require("node:fs");
|
|
@@ -701,20 +701,28 @@ function address({ service, port }) {
|
|
|
701
701
|
/** The Caddyfile for a stack's edge. */
|
|
702
702
|
function edgeCaddyfile(routes, options) {
|
|
703
703
|
const { tls } = options;
|
|
704
|
+
const ask = routes.find((route) => route.wildcard?.tls.kind === "on-demand")?.wildcard?.tls;
|
|
705
|
+
const onDemand = ask?.kind === "on-demand" ? `
|
|
706
|
+
on_demand_tls {
|
|
707
|
+
ask ${ask.ask}
|
|
708
|
+
}` : "";
|
|
704
709
|
const global = tls.kind === "internal" ? `{
|
|
705
710
|
# No ACME and no public DNS: the CA is Caddy's own and the names resolve
|
|
706
711
|
# to this machine.
|
|
707
712
|
local_certs
|
|
708
713
|
auto_https disable_redirects
|
|
709
|
-
}` : options.email ? `{
|
|
710
|
-
email ${options.email}
|
|
714
|
+
}` : options.email || onDemand ? `{${options.email ? `\n\temail ${options.email}` : ""}${onDemand}
|
|
711
715
|
}` : "";
|
|
712
716
|
const certificate = tls.kind === "internal" ? `
|
|
713
717
|
tls internal
|
|
714
718
|
` : tls.kind === "files" ? `
|
|
715
719
|
tls ${tls.certFile} ${tls.keyFile}
|
|
716
720
|
` : "";
|
|
717
|
-
const blocks = routes.map((route) => siteBlock(route,
|
|
721
|
+
const blocks = [...routes.filter((route) => !route.wildcard), ...routes.filter((route) => route.wildcard)].map((route) => siteBlock(route, route.wildcard?.tls.kind === "on-demand" ? `
|
|
722
|
+
tls {
|
|
723
|
+
on_demand
|
|
724
|
+
}
|
|
725
|
+
` : certificate));
|
|
718
726
|
return `${HEADER}${global ? `${global}\n\n` : ""}${blocks.join("\n\n")}\n`;
|
|
719
727
|
}
|
|
720
728
|
/** One route's site block. */
|
|
@@ -722,7 +730,12 @@ function siteBlock(route, certificate) {
|
|
|
722
730
|
assertRouteRenderable(route);
|
|
723
731
|
const { host, allow, auth, paths, prefixes, requireHeader, handlers } = route;
|
|
724
732
|
const allowed = [...paths ?? [], ...(prefixes ?? []).map((prefix) => `${prefix}*`)];
|
|
725
|
-
const
|
|
733
|
+
const except = route.wildcard?.except ?? [];
|
|
734
|
+
const checks = `${except.length ? `
|
|
735
|
+
# Labels no tenant may take, although nothing in this stack answers them.
|
|
736
|
+
@protected host ${except.map((label) => `${label}.${route.wildcard?.domain}`).join(" ")}
|
|
737
|
+
respond @protected 404
|
|
738
|
+
` : ""}${allow ? `
|
|
726
739
|
# Only these addresses — the peer Caddy sees, never a header a client
|
|
727
740
|
# could set. Everything else is refused before it reaches the upstream.
|
|
728
741
|
@denied not remote_ip ${allow.join(" ")}
|
|
@@ -970,6 +983,18 @@ const EDGE_DYNAMIC_DIR = "/etc/gkm-edge/dynamic";
|
|
|
970
983
|
const EDGE_CERTS_DIR = "/etc/gkm-edge/certs";
|
|
971
984
|
/** The certificate resolver every deployed route without its own certificate uses. */
|
|
972
985
|
const ACME_RESOLVER = "letsencrypt";
|
|
986
|
+
/**
|
|
987
|
+
* The resolver a wildcard site's `*.<domain>` certificate comes from: Let's
|
|
988
|
+
* Encrypt issues a wildcard only over the DNS challenge, which the edge
|
|
989
|
+
* answers by writing an `_acme-challenge` TXT record through Route 53.
|
|
990
|
+
*/
|
|
991
|
+
const ACME_DNS_RESOLVER = "letsencrypt-dns";
|
|
992
|
+
/**
|
|
993
|
+
* The key the edge writes those records with, inside its container: written
|
|
994
|
+
* by the deploy of a stage with a wildcard site, and allowed nothing but
|
|
995
|
+
* each such stage's `_acme-challenge` record (see `acmeDns.ts`).
|
|
996
|
+
*/
|
|
997
|
+
const EDGE_AWS_CREDENTIALS = `${EDGE_CERTS_DIR}/aws-credentials`;
|
|
973
998
|
/** The internal entrypoint the edge's health check asks; never published. */
|
|
974
999
|
const PING_PORT = 8082;
|
|
975
1000
|
/** A stack's service, as the edge — and the stack itself — reach it. */
|
|
@@ -1011,10 +1036,19 @@ function traefikStatic(ports) {
|
|
|
1011
1036
|
directory: EDGE_DYNAMIC_DIR,
|
|
1012
1037
|
watch: true
|
|
1013
1038
|
} },
|
|
1014
|
-
certificatesResolvers: {
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1039
|
+
certificatesResolvers: {
|
|
1040
|
+
[ACME_RESOLVER]: { acme: {
|
|
1041
|
+
storage: "/acme/acme.json",
|
|
1042
|
+
httpChallenge: { entryPoint: "web" }
|
|
1043
|
+
} },
|
|
1044
|
+
[ACME_DNS_RESOLVER]: { acme: {
|
|
1045
|
+
storage: "/acme/acme-dns.json",
|
|
1046
|
+
dnsChallenge: {
|
|
1047
|
+
provider: "route53",
|
|
1048
|
+
resolvers: ["1.1.1.1:53", "8.8.8.8:53"]
|
|
1049
|
+
}
|
|
1050
|
+
} }
|
|
1051
|
+
},
|
|
1018
1052
|
log: { level: "INFO" }
|
|
1019
1053
|
};
|
|
1020
1054
|
}
|
|
@@ -1037,6 +1071,10 @@ function edgeCompose(options) {
|
|
|
1037
1071
|
"acme:/acme"
|
|
1038
1072
|
],
|
|
1039
1073
|
labels: { "dev.geekmidas.edge.config": (0, node_crypto.createHash)("sha256").update(options.staticConfig).digest("hex").slice(0, 16) },
|
|
1074
|
+
environment: {
|
|
1075
|
+
AWS_SHARED_CREDENTIALS_FILE: EDGE_AWS_CREDENTIALS,
|
|
1076
|
+
AWS_REGION: "us-east-1"
|
|
1077
|
+
},
|
|
1040
1078
|
networks: ["edge"],
|
|
1041
1079
|
...EDGE_LIMITS,
|
|
1042
1080
|
healthcheck: {
|
|
@@ -1092,6 +1130,10 @@ function traefikDynamic(routes, options) {
|
|
|
1092
1130
|
const allowed = [...(route.paths ?? []).map((path) => `Path(\`${path}\`)`), ...(route.prefixes ?? []).map((prefix) => `PathPrefix(\`${prefix}\`)`)];
|
|
1093
1131
|
const paths = allowed.length ? ` && (${allowed.join(" || ")})` : "";
|
|
1094
1132
|
const header = route.requireHeader ? ` && Header(\`${route.requireHeader.name}\`, \`${route.requireHeader.value}\`)` : "";
|
|
1133
|
+
const certificate = () => route.wildcard?.tls.kind === "dns" ? {
|
|
1134
|
+
certResolver: ACME_DNS_RESOLVER,
|
|
1135
|
+
domains: [{ main: `*.${route.wildcard.domain}` }]
|
|
1136
|
+
} : tls.kind === "acme" ? { certResolver: ACME_RESOLVER } : {};
|
|
1095
1137
|
for (const handler of route.handlers ?? []) {
|
|
1096
1138
|
const handlerName = name(route, handler.name);
|
|
1097
1139
|
routers[handlerName] = {
|
|
@@ -1100,16 +1142,17 @@ function traefikDynamic(routes, options) {
|
|
|
1100
1142
|
entryPoints: ["websecure"],
|
|
1101
1143
|
service: handlerName,
|
|
1102
1144
|
middlewares: [strip],
|
|
1103
|
-
tls:
|
|
1145
|
+
tls: certificate()
|
|
1104
1146
|
};
|
|
1105
1147
|
services[handlerName] = { loadBalancer: { servers: handler.upstreams.map((upstream) => ({ url: url(upstream) })) } };
|
|
1106
1148
|
}
|
|
1107
1149
|
routers[name(route)] = {
|
|
1108
|
-
rule:
|
|
1150
|
+
rule: `${hostRule(route)}${paths}${header}`,
|
|
1151
|
+
...route.wildcard ? { priority: 1 } : {},
|
|
1109
1152
|
entryPoints: ["websecure"],
|
|
1110
1153
|
service: name(route),
|
|
1111
1154
|
middlewares: chain,
|
|
1112
|
-
tls:
|
|
1155
|
+
tls: certificate()
|
|
1113
1156
|
};
|
|
1114
1157
|
services[name(route)] = { loadBalancer: {
|
|
1115
1158
|
servers: route.upstreams.map((upstream) => ({ url: url(upstream) })),
|
|
@@ -1134,6 +1177,17 @@ function traefikDynamic(routes, options) {
|
|
|
1134
1177
|
}] } } : {}
|
|
1135
1178
|
};
|
|
1136
1179
|
}
|
|
1180
|
+
/**
|
|
1181
|
+
* The hosts a route answers, as a Traefik rule: its own, or — for a wildcard
|
|
1182
|
+
* site — exactly one label under its domain, but the ones it never takes.
|
|
1183
|
+
* One label, as a wildcard certificate covers: a stage at
|
|
1184
|
+
* `staging.example.com` is never reached through `example.com`'s wildcard.
|
|
1185
|
+
*/
|
|
1186
|
+
function hostRule(route) {
|
|
1187
|
+
if (!route.wildcard) return `Host(\`${route.host}\`)`;
|
|
1188
|
+
const { domain, except } = route.wildcard;
|
|
1189
|
+
return [`HostRegexp(\`${`^[a-z0-9-]+\\.${domain.replace(/\./g, "\\.")}$`}\`)`, ...except.map((label) => `!Host(\`${label}.${domain}\`)`)].join(" && ");
|
|
1190
|
+
}
|
|
1137
1191
|
/** A stack's dynamic configuration file, as written to the edge's directory. */
|
|
1138
1192
|
function traefikDynamicFile(routes, options) {
|
|
1139
1193
|
return `# Generated by gkm compose for ${options.project} — do not edit.
|
|
@@ -1423,9 +1477,10 @@ function probe(port, path) {
|
|
|
1423
1477
|
* Redis.
|
|
1424
1478
|
*/
|
|
1425
1479
|
function stackPlan(workspace, manifest, stage) {
|
|
1480
|
+
const protectedSubdomains = [...workspace.protectedSubdomains ?? [], ...nestedStageLabels(workspace.domains, stage)];
|
|
1426
1481
|
return require_seeds.planFor(manifest, stage, (0, _geekmidas_manifest.provisionOrder)(manifest), {
|
|
1427
1482
|
localStage: workspace.stages.local,
|
|
1428
|
-
...
|
|
1483
|
+
...protectedSubdomains.length > 0 ? { protectedSubdomains } : {},
|
|
1429
1484
|
events: require_drivers.DEFAULT_EVENTS.server,
|
|
1430
1485
|
cache: require_seeds.STACK_CACHE,
|
|
1431
1486
|
edge: false
|
|
@@ -1515,10 +1570,7 @@ function composeStack(input) {
|
|
|
1515
1570
|
mailpit: plan.resources.filter((r) => r.kind === "email").map((r) => r.id)
|
|
1516
1571
|
} : require_seeds.externalServices({
|
|
1517
1572
|
stage,
|
|
1518
|
-
declarations: require_seeds.stageServiceDeclarations({
|
|
1519
|
-
manifest,
|
|
1520
|
-
...input.runnables ? { runnables: input.runnables } : {}
|
|
1521
|
-
}),
|
|
1573
|
+
declarations: require_seeds.stageServiceDeclarations({ manifest }),
|
|
1522
1574
|
supplied: custom,
|
|
1523
1575
|
allow: input.allowDevServices === true,
|
|
1524
1576
|
...domain ? { domain } : {},
|
|
@@ -1667,7 +1719,7 @@ function composeStack(input) {
|
|
|
1667
1719
|
continue;
|
|
1668
1720
|
}
|
|
1669
1721
|
if (input.buildOnly) continue;
|
|
1670
|
-
const keys = require_seeds.appEnvKeys(manifest, app.name
|
|
1722
|
+
const keys = require_seeds.appEnvKeys(manifest, app.name) ?? /* @__PURE__ */ new Set();
|
|
1671
1723
|
const values = valuesFor(app, keys);
|
|
1672
1724
|
const trusted = (0, _geekmidas_manifest.provideKey)(app.id, "trustedOrigins");
|
|
1673
1725
|
if (keys.has(trusted)) {
|
|
@@ -1702,7 +1754,7 @@ function composeStack(input) {
|
|
|
1702
1754
|
});
|
|
1703
1755
|
}
|
|
1704
1756
|
for (const worker of input.buildOnly ? [] : workers) {
|
|
1705
|
-
const keys = require_seeds.workerEnvKeys(manifest, worker.id
|
|
1757
|
+
const keys = require_seeds.workerEnvKeys(manifest, worker.id) ?? /* @__PURE__ */ new Set();
|
|
1706
1758
|
const resolved = valuesFor({
|
|
1707
1759
|
name: worker.name,
|
|
1708
1760
|
id: worker.id,
|
|
@@ -1754,7 +1806,7 @@ function composeStack(input) {
|
|
|
1754
1806
|
}
|
|
1755
1807
|
if (proxy === "traefik" && (served || unit.origin)) edgeServices.add(unit.name);
|
|
1756
1808
|
if (input.buildOnly) continue;
|
|
1757
|
-
const keys = require_seeds.processorEnvKeys(manifest, unit.id
|
|
1809
|
+
const keys = require_seeds.processorEnvKeys(manifest, unit.id) ?? /* @__PURE__ */ new Set();
|
|
1758
1810
|
unit.env = {
|
|
1759
1811
|
...require_seeds.scopeTelemetryEnv(valuesFor({
|
|
1760
1812
|
name: unit.name,
|
|
@@ -1834,10 +1886,20 @@ function composeStack(input) {
|
|
|
1834
1886
|
const key = require_snsSubscriptions.sitePasswordKey(manifest, site, stage);
|
|
1835
1887
|
if (key) app.auth = require_snsSubscriptions.siteAuth(stage, key, custom);
|
|
1836
1888
|
}
|
|
1889
|
+
const wildcard = local ? void 0 : stackWildcard(apps, {
|
|
1890
|
+
manifest,
|
|
1891
|
+
byId,
|
|
1892
|
+
workspace,
|
|
1893
|
+
stage,
|
|
1894
|
+
proxy,
|
|
1895
|
+
certificate: certificate !== void 0,
|
|
1896
|
+
hostOf
|
|
1897
|
+
});
|
|
1837
1898
|
const routes = [
|
|
1838
1899
|
...apps.map((app) => ({
|
|
1839
1900
|
name: app.name,
|
|
1840
1901
|
host: app.host,
|
|
1902
|
+
...wildcard?.site === app.id ? { wildcard: wildcard.edge } : {},
|
|
1841
1903
|
upstreams: replicaNames(app).map((service) => ({
|
|
1842
1904
|
service,
|
|
1843
1905
|
port: app.port
|
|
@@ -1939,6 +2001,11 @@ function composeStack(input) {
|
|
|
1939
2001
|
compose,
|
|
1940
2002
|
proxy,
|
|
1941
2003
|
routes,
|
|
2004
|
+
...wildcard ? { wildcard: {
|
|
2005
|
+
site: wildcard.site,
|
|
2006
|
+
host: `*.${wildcard.edge.domain}`,
|
|
2007
|
+
tls: wildcard.edge.tls.kind
|
|
2008
|
+
} } : {},
|
|
1942
2009
|
...proxy === "caddy" ? { caddyfile: edgeCaddyfile(routes, { tls }) } : { traefik: traefikDynamicFile(routes, {
|
|
1943
2010
|
project,
|
|
1944
2011
|
tls: deployedTls
|
|
@@ -1977,7 +2044,6 @@ function stackApps(workspace, manifest, plan, options) {
|
|
|
1977
2044
|
const app = workspace.apps[name];
|
|
1978
2045
|
const resource = resources.get(id);
|
|
1979
2046
|
if (!app || !resource || !app.port) continue;
|
|
1980
|
-
if (!options.local && (0, _geekmidas_manifest.isWildcardSite)(declaration)) throw new WildcardSiteNotDeployable(id, options.stage);
|
|
1981
2047
|
const host = hostOf(name, app, workspace, resource, options);
|
|
1982
2048
|
const tag = declaration.kind === "site" ? siteTag(options.images.tag, options.stage) : options.images.tag;
|
|
1983
2049
|
const ref = require_seeds.validateImageRef(require_identity.imageRef(options.identity, name, options.images.registry, tag));
|
|
@@ -2054,19 +2120,85 @@ function recordedSubscriptions(worker, push, recorded = {}) {
|
|
|
2054
2120
|
return JSON.stringify(arns);
|
|
2055
2121
|
}
|
|
2056
2122
|
/**
|
|
2057
|
-
* A wildcard site on a deployed
|
|
2058
|
-
*
|
|
2123
|
+
* A wildcard site on a deployed stage with nowhere to get a certificate for
|
|
2124
|
+
* its tenants' hosts from. Let's Encrypt issues a wildcard certificate only
|
|
2125
|
+
* over the DNS challenge, so the stage either brings its own or gives the
|
|
2126
|
+
* proxy a way to get one.
|
|
2059
2127
|
*/
|
|
2060
|
-
var
|
|
2128
|
+
var WildcardSiteCertificateMissing = class extends require_errors.GkmError {
|
|
2061
2129
|
site;
|
|
2062
2130
|
stage;
|
|
2063
|
-
|
|
2064
|
-
|
|
2131
|
+
proxy;
|
|
2132
|
+
domain;
|
|
2133
|
+
constructor(site, stage, proxy, domain) {
|
|
2134
|
+
super(proxy === "traefik" ? `'${site}' answers on every subdomain of ${domain}, and '${stage}' has no certificate for them. Set deploy.compose.tls for '${stage}' to a *.${domain} certificate, or manage ${domain} with dns: { '<root domain>': { provider: 'route53' } } so the shared edge gets one over the DNS challenge.` : `'${site}' answers on every subdomain of ${domain}, and '${stage}' has no certificate for them. Set deploy.compose.tls for '${stage}' to a *.${domain} certificate, or give the site \`hosts\` so Caddy gets one per tenant, on demand.`);
|
|
2065
2135
|
this.site = site;
|
|
2066
2136
|
this.stage = stage;
|
|
2067
|
-
this.
|
|
2137
|
+
this.proxy = proxy;
|
|
2138
|
+
this.domain = domain;
|
|
2139
|
+
this.name = "WildcardSiteCertificateMissing";
|
|
2068
2140
|
}
|
|
2069
2141
|
};
|
|
2142
|
+
/**
|
|
2143
|
+
* A deployed stage's wildcard site, as its edge serves it: the labels it
|
|
2144
|
+
* never takes, and its certificate — the stage's own (`deploy.compose.tls`)
|
|
2145
|
+
* first; then, on the shared Traefik edge, a `*.<domain>` one over the DNS
|
|
2146
|
+
* challenge when Route 53 manages the domain; on the stack's own Caddy, one
|
|
2147
|
+
* per host on demand, asked of the site's `hosts` route.
|
|
2148
|
+
*
|
|
2149
|
+
* @throws {WildcardSiteCertificateMissing} when neither applies
|
|
2150
|
+
*/
|
|
2151
|
+
function stackWildcard(apps, options) {
|
|
2152
|
+
const { manifest, workspace, stage, proxy } = options;
|
|
2153
|
+
const app = apps.find((a) => (0, _geekmidas_manifest.isWildcardSite)(manifest[a.id]));
|
|
2154
|
+
if (!app) return void 0;
|
|
2155
|
+
const declaration = manifest[app.id];
|
|
2156
|
+
if (!(0, _geekmidas_manifest.isWildcardSite)(declaration)) return void 0;
|
|
2157
|
+
const domain = workspace.domains?.[stage];
|
|
2158
|
+
if (!domain) throw new require_seeds.NoDomainForStage(stage);
|
|
2159
|
+
const except = options.byId.get(app.id)?.protectedSubdomains ?? [];
|
|
2160
|
+
const tls = (() => {
|
|
2161
|
+
if (options.certificate) return { kind: "stage" };
|
|
2162
|
+
if (proxy === "traefik") {
|
|
2163
|
+
const dns = workspace.dns ? require_seeds.normalizeDnsConfig(workspace.dns) : {};
|
|
2164
|
+
const root = require_seeds.findRootDomain(domain, dns);
|
|
2165
|
+
if (root && dns[root]?.provider === "route53") return { kind: "dns" };
|
|
2166
|
+
} else if (declaration.hosts) {
|
|
2167
|
+
const surface = apps.find((a) => a.id === declaration.hosts?.surface);
|
|
2168
|
+
if (surface) return {
|
|
2169
|
+
kind: "on-demand",
|
|
2170
|
+
ask: `http://${options.hostOf(surface.name)}:${surface.port}${declaration.hosts.path}`
|
|
2171
|
+
};
|
|
2172
|
+
}
|
|
2173
|
+
throw new WildcardSiteCertificateMissing(app.id, stage, proxy, domain);
|
|
2174
|
+
})();
|
|
2175
|
+
return {
|
|
2176
|
+
site: app.id,
|
|
2177
|
+
edge: {
|
|
2178
|
+
domain,
|
|
2179
|
+
except,
|
|
2180
|
+
tls
|
|
2181
|
+
}
|
|
2182
|
+
};
|
|
2183
|
+
}
|
|
2184
|
+
/**
|
|
2185
|
+
* The first label under `stage`'s domain of every other stage's domain that
|
|
2186
|
+
* sits beneath it — `staging` for `staging.example.com` (or
|
|
2187
|
+
* `a.staging.example.com`) under `example.com`.
|
|
2188
|
+
*/
|
|
2189
|
+
function nestedStageLabels(domains, stage) {
|
|
2190
|
+
const own = domains?.[stage]?.toLowerCase();
|
|
2191
|
+
if (!own) return [];
|
|
2192
|
+
const labels = /* @__PURE__ */ new Set();
|
|
2193
|
+
for (const [other, domain] of Object.entries(domains ?? {})) {
|
|
2194
|
+
if (other === stage || !domain) continue;
|
|
2195
|
+
const lower = domain.toLowerCase();
|
|
2196
|
+
if (!lower.endsWith(`.${own}`)) continue;
|
|
2197
|
+
const rest = lower.slice(0, -(own.length + 1)).split(".");
|
|
2198
|
+
labels.add(rest.at(-1));
|
|
2199
|
+
}
|
|
2200
|
+
return [...labels].sort();
|
|
2201
|
+
}
|
|
2070
2202
|
/** Two constructs the edge would answer on one host. */
|
|
2071
2203
|
var EdgeHostTaken = class extends require_errors.GkmError {
|
|
2072
2204
|
host;
|
|
@@ -2128,6 +2260,11 @@ function stackWorkers(units, options) {
|
|
|
2128
2260
|
*/
|
|
2129
2261
|
function hostOf(name, app, workspace, resource, options) {
|
|
2130
2262
|
if (options.local) return require_seeds.hostFor(resource, workspace.name);
|
|
2263
|
+
if (resource.subdomain === _geekmidas_manifest.WILDCARD_SUBDOMAIN) {
|
|
2264
|
+
const domain = workspace.domains?.[options.stage];
|
|
2265
|
+
if (!domain) throw new require_seeds.NoDomainForStage(options.stage);
|
|
2266
|
+
return `${_geekmidas_manifest.WILDCARD_SUBDOMAIN}.${domain}`;
|
|
2267
|
+
}
|
|
2131
2268
|
return require_seeds.resolveHost(name, app, options.stage, workspace.domains, require_seeds.isMainFrontendApp(name, app, workspace.apps));
|
|
2132
2269
|
}
|
|
2133
2270
|
/** An app's compose services, one per replica: `api`, `api-2`, `api-3`. */
|
|
@@ -2405,6 +2542,24 @@ async function ensureEdge(docker, options) {
|
|
|
2405
2542
|
await docker.up(ref, [EDGE_SERVICE]);
|
|
2406
2543
|
return [file];
|
|
2407
2544
|
}
|
|
2545
|
+
/** A file inside the edge's running container, or undefined where there is none. */
|
|
2546
|
+
async function readEdgeFile(docker, edge, path) {
|
|
2547
|
+
const result = await docker.exec(edge, EDGE_SERVICE, ["cat", path]);
|
|
2548
|
+
return result.code === 0 ? result.stdout : void 0;
|
|
2549
|
+
}
|
|
2550
|
+
/** A file written into the edge's running container, whole, readable by it alone. */
|
|
2551
|
+
async function writeEdgeSecret(docker, edge, path, content) {
|
|
2552
|
+
await put(docker, edge, path, content, "600");
|
|
2553
|
+
}
|
|
2554
|
+
/**
|
|
2555
|
+
* The edge restarted — what it reads once and keeps, a key among them, read
|
|
2556
|
+
* again — and waited on until it is healthy. Its own restart policy brings
|
|
2557
|
+
* it back; `up` waits for it.
|
|
2558
|
+
*/
|
|
2559
|
+
async function restartEdge(docker, edge) {
|
|
2560
|
+
await docker.exec(edge, EDGE_SERVICE, ["kill", "1"]);
|
|
2561
|
+
await docker.up(edge, [EDGE_SERVICE]);
|
|
2562
|
+
}
|
|
2408
2563
|
/** A stack's routes, inside the edge's container. */
|
|
2409
2564
|
function routesPath(project) {
|
|
2410
2565
|
return `${EDGE_DYNAMIC_DIR}/${project}.yml`;
|
|
@@ -2448,6 +2603,176 @@ async function removeEdgeRoutes(docker, edge, project) {
|
|
|
2448
2603
|
return true;
|
|
2449
2604
|
}
|
|
2450
2605
|
//#endregion
|
|
2606
|
+
//#region src/compose/acmeDns.ts
|
|
2607
|
+
/**
|
|
2608
|
+
* The key the server's shared Traefik edge answers Let's Encrypt's DNS
|
|
2609
|
+
* challenge with, for a stage with a wildcard site.
|
|
2610
|
+
*
|
|
2611
|
+
* A wildcard certificate is issued only over the DNS challenge: the edge
|
|
2612
|
+
* proves it holds `<domain>` by writing a TXT record at
|
|
2613
|
+
* `_acme-challenge.<domain>`. So it needs a key that can write that record —
|
|
2614
|
+
* and nothing else, because it lives on the server.
|
|
2615
|
+
*
|
|
2616
|
+
* - **The user**: one per server, under `/gkm/`, tagged with the server it
|
|
2617
|
+
* is for. One that exists without that tag is someone else's, and is
|
|
2618
|
+
* refused rather than taken over.
|
|
2619
|
+
* - **Its policies**: one per stack on the server, named for its compose
|
|
2620
|
+
* project, allowing `ChangeResourceRecordSets` on the stage's hosted zone
|
|
2621
|
+
* for TXT records named `_acme-challenge.<domain>` alone — plus what
|
|
2622
|
+
* finding the zone and waiting for the change take, which read and write
|
|
2623
|
+
* nothing. Put back on every deploy.
|
|
2624
|
+
* - **Its key**: written into the edge's container, never into the stage's
|
|
2625
|
+
* secrets or onto the machine running the deploy. Issued when the edge
|
|
2626
|
+
* has none, or holds one IAM no longer knows — and then the edge is
|
|
2627
|
+
* restarted, since it keeps the key it first read.
|
|
2628
|
+
*/
|
|
2629
|
+
/** Where gkm's IAM users live. */
|
|
2630
|
+
const USER_PATH = "/gkm/";
|
|
2631
|
+
/** The tag a server's edge user is found by. */
|
|
2632
|
+
const TAG_EDGE = "gkm:edge";
|
|
2633
|
+
/** The edge user's name for a server: stable, and safe for IAM. */
|
|
2634
|
+
function edgeAcmeUser(server) {
|
|
2635
|
+
return `gkm-edge-acme-${(0, node_crypto.createHash)("sha256").update(server).digest("hex").slice(0, 12)}`;
|
|
2636
|
+
}
|
|
2637
|
+
/**
|
|
2638
|
+
* What one stage's wildcard certificate needs: its challenge record written
|
|
2639
|
+
* in its zone, the change waited on, and the zone found by name — which is
|
|
2640
|
+
* how the edge's ACME client finds it.
|
|
2641
|
+
*/
|
|
2642
|
+
function acmeDnsPolicy(zoneId, domain) {
|
|
2643
|
+
return JSON.stringify({
|
|
2644
|
+
Version: "2012-10-17",
|
|
2645
|
+
Statement: [
|
|
2646
|
+
{
|
|
2647
|
+
Effect: "Allow",
|
|
2648
|
+
Action: "route53:ChangeResourceRecordSets",
|
|
2649
|
+
Resource: `arn:aws:route53:::hostedzone/${zoneId}`,
|
|
2650
|
+
Condition: { "ForAllValues:StringEquals": {
|
|
2651
|
+
"route53:ChangeResourceRecordSetsNormalizedRecordNames": [`_acme-challenge.${domain.toLowerCase()}`],
|
|
2652
|
+
"route53:ChangeResourceRecordSetsRecordTypes": ["TXT"]
|
|
2653
|
+
} }
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
Effect: "Allow",
|
|
2657
|
+
Action: "route53:ListResourceRecordSets",
|
|
2658
|
+
Resource: `arn:aws:route53:::hostedzone/${zoneId}`
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
Effect: "Allow",
|
|
2662
|
+
Action: "route53:GetChange",
|
|
2663
|
+
Resource: "arn:aws:route53:::change/*"
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
Effect: "Allow",
|
|
2667
|
+
Action: "route53:ListHostedZonesByName",
|
|
2668
|
+
Resource: "*"
|
|
2669
|
+
}
|
|
2670
|
+
]
|
|
2671
|
+
});
|
|
2672
|
+
}
|
|
2673
|
+
/** An IAM user by the edge user's name that gkm did not create for this server. */
|
|
2674
|
+
var EdgeAcmeUserNotOwned = class extends require_errors.GkmError {
|
|
2675
|
+
user;
|
|
2676
|
+
server;
|
|
2677
|
+
constructor(user, server) {
|
|
2678
|
+
super(`The IAM user ${user} exists but is not tagged ${TAG_EDGE}=${server}, so gkm will not take it over to write the shared edge's DNS challenge records. Delete it, or tag it ${TAG_EDGE}=${server} if it is the one gkm created for this server.`);
|
|
2679
|
+
this.user = user;
|
|
2680
|
+
this.server = server;
|
|
2681
|
+
this.name = "EdgeAcmeUserNotOwned";
|
|
2682
|
+
}
|
|
2683
|
+
};
|
|
2684
|
+
/** A wildcard site's domain with no Route 53 hosted zone to answer it in. */
|
|
2685
|
+
var AcmeHostedZoneMissing = class extends require_errors.GkmError {
|
|
2686
|
+
domain;
|
|
2687
|
+
constructor(domain) {
|
|
2688
|
+
super(`No Route 53 hosted zone holds ${domain}, so the shared edge cannot answer the DNS challenge for its wildcard certificate. Create the zone, or set hostedZoneId in its dns entry.`);
|
|
2689
|
+
this.domain = domain;
|
|
2690
|
+
this.name = "AcmeHostedZoneMissing";
|
|
2691
|
+
}
|
|
2692
|
+
};
|
|
2693
|
+
/**
|
|
2694
|
+
* The edge's key for `domain`'s challenge record: its user, this stack's
|
|
2695
|
+
* policy on it, and a key in the edge that IAM knows.
|
|
2696
|
+
*
|
|
2697
|
+
* @throws {EdgeAcmeUserNotOwned} when the user is someone else's
|
|
2698
|
+
* @throws {AcmeHostedZoneMissing} when no hosted zone holds the domain
|
|
2699
|
+
*/
|
|
2700
|
+
async function ensureEdgeAcmeKey(docker, options) {
|
|
2701
|
+
const { clients, edge, server, project, domain } = options;
|
|
2702
|
+
const log = options.log ?? ((line) => console.log(line));
|
|
2703
|
+
const IAM = await import("@aws-sdk/client-iam");
|
|
2704
|
+
const user = edgeAcmeUser(server);
|
|
2705
|
+
const zoneId = options.hostedZoneId ?? await hostedZoneId(clients.route53, options.zone);
|
|
2706
|
+
if (!zoneId) throw new AcmeHostedZoneMissing(domain);
|
|
2707
|
+
if (options.dryRun) {
|
|
2708
|
+
log(`🔑 Would let ${EDGE_PROJECT} write _acme-challenge.${domain} TXT records in ${zoneId}, as IAM user ${user} (dry run — nothing is written)`);
|
|
2709
|
+
return {
|
|
2710
|
+
user,
|
|
2711
|
+
zoneId,
|
|
2712
|
+
issued: false
|
|
2713
|
+
};
|
|
2714
|
+
}
|
|
2715
|
+
if (!(await clients.iam.send(new IAM.GetUserCommand({ UserName: user })).catch((error) => {
|
|
2716
|
+
if (error?.name === "NoSuchEntity" || error?.name === "NoSuchEntityException") return;
|
|
2717
|
+
throw error;
|
|
2718
|
+
}))?.User) await clients.iam.send(new IAM.CreateUserCommand({
|
|
2719
|
+
UserName: user,
|
|
2720
|
+
Path: USER_PATH,
|
|
2721
|
+
Tags: [{
|
|
2722
|
+
Key: TAG_EDGE,
|
|
2723
|
+
Value: server
|
|
2724
|
+
}]
|
|
2725
|
+
}));
|
|
2726
|
+
else {
|
|
2727
|
+
const { Tags = [] } = await clients.iam.send(new IAM.ListUserTagsCommand({ UserName: user }));
|
|
2728
|
+
if (!Tags.some((t) => t.Key === "gkm:edge" && t.Value === server)) throw new EdgeAcmeUserNotOwned(user, server);
|
|
2729
|
+
}
|
|
2730
|
+
await clients.iam.send(new IAM.PutUserPolicyCommand({
|
|
2731
|
+
UserName: user,
|
|
2732
|
+
PolicyName: project,
|
|
2733
|
+
PolicyDocument: acmeDnsPolicy(zoneId, domain)
|
|
2734
|
+
}));
|
|
2735
|
+
log(`🔑 ${EDGE_PROJECT} may write _acme-challenge.${domain} TXT records in ${zoneId}, and nothing else there, as IAM user ${user}`);
|
|
2736
|
+
const written = await readEdgeFile(docker, edge, EDGE_AWS_CREDENTIALS);
|
|
2737
|
+
const held = written?.match(/aws_access_key_id\s*=\s*(\S+)/)?.[1];
|
|
2738
|
+
const { AccessKeyMetadata = [] } = await clients.iam.send(new IAM.ListAccessKeysCommand({ UserName: user }));
|
|
2739
|
+
if (held && AccessKeyMetadata.some((k) => k.AccessKeyId === held)) return {
|
|
2740
|
+
user,
|
|
2741
|
+
zoneId,
|
|
2742
|
+
issued: false
|
|
2743
|
+
};
|
|
2744
|
+
for (const key of AccessKeyMetadata) {
|
|
2745
|
+
if (!key.AccessKeyId) continue;
|
|
2746
|
+
await clients.iam.send(new IAM.DeleteAccessKeyCommand({
|
|
2747
|
+
UserName: user,
|
|
2748
|
+
AccessKeyId: key.AccessKeyId
|
|
2749
|
+
}));
|
|
2750
|
+
}
|
|
2751
|
+
const { AccessKey } = await clients.iam.send(new IAM.CreateAccessKeyCommand({ UserName: user }));
|
|
2752
|
+
await writeEdgeSecret(docker, edge, EDGE_AWS_CREDENTIALS, `# Written by gkm compose — the key ${EDGE_PROJECT} answers DNS challenges with.
|
|
2753
|
+
[default]
|
|
2754
|
+
aws_access_key_id = ${AccessKey?.AccessKeyId}
|
|
2755
|
+
aws_secret_access_key = ${AccessKey?.SecretAccessKey}
|
|
2756
|
+
`);
|
|
2757
|
+
log(`🔑 Wrote a new key for ${user} to ${EDGE_PROJECT} (${EDGE_AWS_CREDENTIALS})`);
|
|
2758
|
+
if (written !== void 0) await restartEdge(docker, edge);
|
|
2759
|
+
return {
|
|
2760
|
+
user,
|
|
2761
|
+
zoneId,
|
|
2762
|
+
issued: true
|
|
2763
|
+
};
|
|
2764
|
+
}
|
|
2765
|
+
/** The id of the hosted zone named exactly `zone`, if there is one. */
|
|
2766
|
+
async function hostedZoneId(route53, zone) {
|
|
2767
|
+
const { ListHostedZonesByNameCommand } = await import("@aws-sdk/client-route-53");
|
|
2768
|
+
const name = zone.endsWith(".") ? zone : `${zone}.`;
|
|
2769
|
+
const { HostedZones = [] } = await route53.send(new ListHostedZonesByNameCommand({
|
|
2770
|
+
DNSName: name,
|
|
2771
|
+
MaxItems: 1
|
|
2772
|
+
}));
|
|
2773
|
+
return HostedZones.find((z) => z.Name === name)?.Id?.replace("/hostedzone/", "");
|
|
2774
|
+
}
|
|
2775
|
+
//#endregion
|
|
2451
2776
|
//#region src/compose/secrets.ts
|
|
2452
2777
|
function deployedStackSecrets(workspace, stage, stored, manifest) {
|
|
2453
2778
|
const withSeed = require_seeds.withGeneratedSecrets(stored ?? require_seeds.initStageSecrets(stage), manifest);
|
|
@@ -2797,13 +3122,11 @@ async function validateCompose(ctx, deps, options = {}) {
|
|
|
2797
3122
|
if (options.pin && mode !== "pull") throw new ComposePinNeedsPull();
|
|
2798
3123
|
const registry = workspace.deploy?.registry;
|
|
2799
3124
|
if (!registry && (push || mode === "pull")) throw new RegistryRequired(push ? "push" : "pull", require_identity.imageRef(identity, ctx.apps[0] ?? workspace.name, void 0, tag));
|
|
2800
|
-
const runnables = {};
|
|
2801
3125
|
const background = {};
|
|
2802
3126
|
const subscribers = {};
|
|
2803
3127
|
const manifest = await require_discover.discover({
|
|
2804
3128
|
patterns: require_seeds.constructGlobs(workspace),
|
|
2805
3129
|
cwd: root,
|
|
2806
|
-
runnables,
|
|
2807
3130
|
background,
|
|
2808
3131
|
subscribers
|
|
2809
3132
|
});
|
|
@@ -2813,7 +3136,6 @@ async function validateCompose(ctx, deps, options = {}) {
|
|
|
2813
3136
|
const input = {
|
|
2814
3137
|
workspace,
|
|
2815
3138
|
manifest,
|
|
2816
|
-
runnables,
|
|
2817
3139
|
background,
|
|
2818
3140
|
subscribers,
|
|
2819
3141
|
stage,
|
|
@@ -2844,7 +3166,7 @@ async function validateCompose(ctx, deps, options = {}) {
|
|
|
2844
3166
|
...input,
|
|
2845
3167
|
pushSubscriptions: recordedArns
|
|
2846
3168
|
});
|
|
2847
|
-
if (mode === "build") assertRedisClient(workspace, composed, manifest
|
|
3169
|
+
if (mode === "build") assertRedisClient(workspace, composed, manifest);
|
|
2848
3170
|
const pinned = (unpinned) => options.pin ? withPinnedImages(unpinned, options.pin.file, options.pin.digests) : unpinned;
|
|
2849
3171
|
const stack = pinned(composed);
|
|
2850
3172
|
if (mode === "pull" && !ctx.dryRun) await assertImagesExist(deps.docker, tag, [
|
|
@@ -2927,7 +3249,7 @@ async function readyCompose(ctx, run, deps) {
|
|
|
2927
3249
|
}
|
|
2928
3250
|
if (stack.local) return;
|
|
2929
3251
|
if (run.server && !ctx.dryRun && !run.push) await deps.server.check(run.server);
|
|
2930
|
-
const prune = await stageHostsDns(ctx, deps, require_snsSubscriptions.stackHosts(stack).filter((host) => !require_snsSubscriptions.isLocalHost(host)), run.secrets?.custom);
|
|
3252
|
+
const prune = await stageHostsDns(ctx, deps, require_snsSubscriptions.stackHosts(stack).filter((host) => !require_snsSubscriptions.isLocalHost(host)), run.secrets?.custom, stack.wildcard?.host);
|
|
2931
3253
|
if (prune) run.pruneDns = prune;
|
|
2932
3254
|
}
|
|
2933
3255
|
/** A stack whose caches are in Redis, built for an app that has no client. */
|
|
@@ -2945,11 +3267,11 @@ var RedisClientMissing = class extends require_errors.GkmError {
|
|
|
2945
3267
|
* the image's install find it. A process that reaches no cache registers no
|
|
2946
3268
|
* cache driver, so it needs no client.
|
|
2947
3269
|
*/
|
|
2948
|
-
function assertRedisClient(workspace, stack, manifest
|
|
3270
|
+
function assertRedisClient(workspace, stack, manifest) {
|
|
2949
3271
|
if (!stack.plan.resources.some((r) => r.kind === "cache")) return;
|
|
2950
3272
|
const cacheKeys = Object.values(manifest).filter((d) => d.kind === "cache").flatMap((d) => d.provides ?? []);
|
|
2951
3273
|
const reachesCache = (keys) => cacheKeys.some((key) => keys?.has(key));
|
|
2952
|
-
const missing = [.../* @__PURE__ */ new Set([...stack.apps.filter((app) => (app.kind === "rest-api" || app.kind === "websocket-api") && reachesCache(require_seeds.appEnvKeys(manifest, app.name
|
|
3274
|
+
const missing = [.../* @__PURE__ */ new Set([...stack.apps.filter((app) => (app.kind === "rest-api" || app.kind === "websocket-api") && reachesCache(require_seeds.appEnvKeys(manifest, app.name))).map((a) => a.name), ...stack.workers.filter((worker) => reachesCache(require_seeds.workerEnvKeys(manifest, worker.id))).map((worker) => worker.host)])].filter((name) => {
|
|
2953
3275
|
const app = workspace.apps[name];
|
|
2954
3276
|
return app && !require_drivers.installedFrom((0, node_path.join)(workspace.root, app.path), "ioredis");
|
|
2955
3277
|
}).sort();
|
|
@@ -2968,7 +3290,7 @@ function assertRedisClient(workspace, stack, manifest, runnables) {
|
|
|
2968
3290
|
* @throws {ServerAddressInvalid} for a value that is not an address
|
|
2969
3291
|
* @throws {HostNotPointingAtServer} when a host is not the server
|
|
2970
3292
|
*/
|
|
2971
|
-
async function stageHostsDns(ctx, deps, hosts, custom) {
|
|
3293
|
+
async function stageHostsDns(ctx, deps, hosts, custom, wildcard) {
|
|
2972
3294
|
const { workspace, stage } = ctx;
|
|
2973
3295
|
const server = require_snsSubscriptions.requiredServerAddress(stage, workspace.domains?.[stage], custom);
|
|
2974
3296
|
if (hosts.length === 0) return;
|
|
@@ -2990,6 +3312,7 @@ async function stageHostsDns(ctx, deps, hosts, custom) {
|
|
|
2990
3312
|
server,
|
|
2991
3313
|
dns: workspace.dns,
|
|
2992
3314
|
recorded: require_seeds.dnsResources(stored?.resources ?? {}),
|
|
3315
|
+
...wildcard ? { wildcard } : {},
|
|
2993
3316
|
credentials: ctx.credentials,
|
|
2994
3317
|
log,
|
|
2995
3318
|
lookup: deps.lookup ?? require_snsSubscriptions.systemLookup,
|
|
@@ -3151,6 +3474,52 @@ async function planCompose(ctx, run) {
|
|
|
3151
3474
|
});
|
|
3152
3475
|
}
|
|
3153
3476
|
/**
|
|
3477
|
+
* The shared edge's key for the stage's wildcard certificate: the DNS
|
|
3478
|
+
* challenge's record, and nothing else, through the stage domain's Route 53
|
|
3479
|
+
* entry — before the stack's routes ask for the certificate.
|
|
3480
|
+
*/
|
|
3481
|
+
async function edgeAcmeKey(ctx, run, deps) {
|
|
3482
|
+
const { workspace, stage } = ctx;
|
|
3483
|
+
const domain = workspace.domains?.[stage];
|
|
3484
|
+
const dns = workspace.dns ? require_seeds.normalizeDnsConfig(workspace.dns) : {};
|
|
3485
|
+
const zone = domain ? require_seeds.findRootDomain(domain, dns) : null;
|
|
3486
|
+
const config = zone ? dns[zone] : void 0;
|
|
3487
|
+
if (!domain || !zone || config?.provider !== "route53") return;
|
|
3488
|
+
const route53 = config;
|
|
3489
|
+
const server = require_snsSubscriptions.requiredServerAddress(stage, domain, run.secrets?.custom)?.ipv4 ?? run.server?.host ?? "local";
|
|
3490
|
+
const clients = await (deps.acmeClients ?? defaultAcmeClients)(route53);
|
|
3491
|
+
await ensureEdgeAcmeKey(deps.docker, {
|
|
3492
|
+
clients,
|
|
3493
|
+
edge: edgeRef(edgeFile(run), {
|
|
3494
|
+
...run.ref.host ? { host: run.ref.host } : {},
|
|
3495
|
+
...run.ref.output ? { output: run.ref.output } : {}
|
|
3496
|
+
}),
|
|
3497
|
+
server,
|
|
3498
|
+
project: run.stack.project,
|
|
3499
|
+
domain,
|
|
3500
|
+
zone,
|
|
3501
|
+
...route53.hostedZoneId ? { hostedZoneId: route53.hostedZoneId } : {},
|
|
3502
|
+
...ctx.dryRun ? { dryRun: true } : {},
|
|
3503
|
+
log: (line) => ctx.logger.info(line)
|
|
3504
|
+
});
|
|
3505
|
+
}
|
|
3506
|
+
/** IAM and Route 53 through the AWS SDK's own chain, or the entry's profile. */
|
|
3507
|
+
async function defaultAcmeClients(config) {
|
|
3508
|
+
const [{ IAMClient }, { Route53Client }, { fromIni }] = await Promise.all([
|
|
3509
|
+
import("@aws-sdk/client-iam"),
|
|
3510
|
+
import("@aws-sdk/client-route-53"),
|
|
3511
|
+
import("@aws-sdk/credential-providers")
|
|
3512
|
+
]);
|
|
3513
|
+
const options = {
|
|
3514
|
+
region: config.region ?? "us-east-1",
|
|
3515
|
+
...config.profile ? { credentials: fromIni({ profile: config.profile }) } : {}
|
|
3516
|
+
};
|
|
3517
|
+
return {
|
|
3518
|
+
iam: new IAMClient(options),
|
|
3519
|
+
route53: new Route53Client(options)
|
|
3520
|
+
};
|
|
3521
|
+
}
|
|
3522
|
+
/**
|
|
3154
3523
|
* What the apps run on: the stage's generated secrets kept, the stack's files
|
|
3155
3524
|
* written, its infrastructure started, and its databases, roles, grants and
|
|
3156
3525
|
* migrations applied.
|
|
@@ -3193,6 +3562,7 @@ async function provisionCompose(ctx, run, deps) {
|
|
|
3193
3562
|
id: `${EDGE_PROJECT}/${EDGE_SERVICE}`,
|
|
3194
3563
|
via: "found"
|
|
3195
3564
|
});
|
|
3565
|
+
if (stack.wildcard?.tls === "dns") await edgeAcmeKey(ctx, run, deps);
|
|
3196
3566
|
}
|
|
3197
3567
|
if (stack.infra.length > 0) {
|
|
3198
3568
|
ctx.logger.info(`\n🗄️ Starting ${stack.infra.join(", ")}…`);
|
|
@@ -3483,7 +3853,7 @@ async function verifyCompose(ctx, run, deps) {
|
|
|
3483
3853
|
connectTo: run.server.host,
|
|
3484
3854
|
connectPort: edgePorts(deps.env).https
|
|
3485
3855
|
} : void 0;
|
|
3486
|
-
const results = await Promise.all(stack.apps.map((app) => checkApp(ctx, app, deps, {
|
|
3856
|
+
const results = await Promise.all(stack.apps.map((app) => app.id === stack.wildcard?.site ? checkContainer(ctx, run, deps, app.name) : checkApp(ctx, app, deps, {
|
|
3487
3857
|
ca,
|
|
3488
3858
|
edge
|
|
3489
3859
|
})));
|
|
@@ -3990,4 +4360,4 @@ Object.defineProperty(exports, "stackPlan", {
|
|
|
3990
4360
|
}
|
|
3991
4361
|
});
|
|
3992
4362
|
|
|
3993
|
-
//# sourceMappingURL=compose-
|
|
4363
|
+
//# sourceMappingURL=compose-DKddjrXC.cjs.map
|