@geekmidas/cli 10.0.0-alpha.91 → 10.0.0-alpha.93
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-CVc6Oi1Y.mjs → EndpointGenerator-Bor2tZCm.mjs} +14 -4
- package/dist/EndpointGenerator-Bor2tZCm.mjs.map +1 -0
- package/dist/{EndpointGenerator-CwLjBCFE.cjs → EndpointGenerator-De03t1hd.cjs} +14 -4
- package/dist/EndpointGenerator-De03t1hd.cjs.map +1 -0
- package/dist/{GoDaddyProvider-DqZ1qD_F.cjs → GoDaddyProvider-BZb-V14e.cjs} +11 -10
- package/dist/GoDaddyProvider-BZb-V14e.cjs.map +1 -0
- package/dist/{GoDaddyProvider-DSStJVAv.mjs → GoDaddyProvider-Mi3vptSR.mjs} +11 -10
- package/dist/GoDaddyProvider-Mi3vptSR.mjs.map +1 -0
- package/dist/{HostingerProvider-BI6J7oJr.mjs → HostingerProvider-1mqD6aG8.mjs} +2 -2
- package/dist/{HostingerProvider-BI6J7oJr.mjs.map → HostingerProvider-1mqD6aG8.mjs.map} +1 -1
- package/dist/{HostingerProvider-CyTpG_jy.cjs → HostingerProvider-C6t-PSNe.cjs} +2 -2
- package/dist/{HostingerProvider-CyTpG_jy.cjs.map → HostingerProvider-C6t-PSNe.cjs.map} +1 -1
- package/dist/{LegacyStateStore-DXmNA7hy.cjs → LegacyStateStore-BlYXQQSE.cjs} +44 -10
- package/dist/LegacyStateStore-BlYXQQSE.cjs.map +1 -0
- package/dist/LegacyStateStore-CtwO7fwy.mjs +123 -0
- package/dist/LegacyStateStore-CtwO7fwy.mjs.map +1 -0
- package/dist/{LocalStateStore-CU-O0SBp.mjs → LocalStateStore-D40_SDmJ.mjs} +2 -2
- package/dist/{LocalStateStore-CU-O0SBp.mjs.map → LocalStateStore-D40_SDmJ.mjs.map} +1 -1
- package/dist/{LocalStateStore-BBeTlRTH.cjs → LocalStateStore-oX_zxj9V.cjs} +2 -2
- package/dist/{LocalStateStore-BBeTlRTH.cjs.map → LocalStateStore-oX_zxj9V.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-B--HV-sW.cjs → OpenApiTsGenerator-CS_RtWOz.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-B--HV-sW.cjs.map → OpenApiTsGenerator-CS_RtWOz.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-CkvsPdgg.mjs → OpenApiTsGenerator-DWAF-7Fu.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-CkvsPdgg.mjs.map → OpenApiTsGenerator-DWAF-7Fu.mjs.map} +1 -1
- package/dist/{S3StateStore-bwxcI_wQ.mjs → S3StateStore-BzS0IeSt.mjs} +2 -2
- package/dist/{S3StateStore-bwxcI_wQ.mjs.map → S3StateStore-BzS0IeSt.mjs.map} +1 -1
- package/dist/{S3StateStore-Br8VMY22.cjs → S3StateStore-DeI7jtvi.cjs} +2 -2
- package/dist/{S3StateStore-Br8VMY22.cjs.map → S3StateStore-DeI7jtvi.cjs.map} +1 -1
- package/dist/{SSMStateStore-DoZE1Wi1.cjs → SSMStateStore-CaCtrzFL.cjs} +2 -2
- package/dist/{SSMStateStore-DoZE1Wi1.cjs.map → SSMStateStore-CaCtrzFL.cjs.map} +1 -1
- package/dist/{SSMStateStore-CsOS0W1y.mjs → SSMStateStore-k_Ew7TWx.mjs} +2 -2
- package/dist/{SSMStateStore-CsOS0W1y.mjs.map → SSMStateStore-k_Ew7TWx.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-BPqQf8fB.mjs → SubscriberGenerator-CyN2VF5X.mjs} +6 -5
- package/dist/SubscriberGenerator-CyN2VF5X.mjs.map +1 -0
- package/dist/{SubscriberGenerator-BVn7cQ-2.cjs → SubscriberGenerator-Dvz7EzqK.cjs} +6 -5
- package/dist/SubscriberGenerator-Dvz7EzqK.cjs.map +1 -0
- package/dist/{add-BSHk5Ngn.mjs → add-CP1podDH.mjs} +7 -7
- package/dist/add-CP1podDH.mjs.map +1 -0
- package/dist/{add-DmmBDV2e.cjs → add-VcyJnsPX.cjs} +8 -8
- package/dist/add-VcyJnsPX.cjs.map +1 -0
- package/dist/{aws-BTawF0F-.cjs → aws-BTReGjpY.cjs} +24 -6
- package/dist/aws-BTReGjpY.cjs.map +1 -0
- package/dist/{aws-B-6uEhgP.mjs → aws-Dz2bYxK1.mjs} +24 -6
- package/dist/aws-Dz2bYxK1.mjs.map +1 -0
- package/dist/awsStore-B5We7bMg.cjs +136 -0
- package/dist/awsStore-B5We7bMg.cjs.map +1 -0
- package/dist/awsStore-BWa1KNY-.mjs +119 -0
- package/dist/awsStore-BWa1KNY-.mjs.map +1 -0
- package/dist/{bundler-D6eBfVkl.mjs → bundler-BWrh-AJH.mjs} +5 -5
- package/dist/{bundler-D6eBfVkl.mjs.map → bundler-BWrh-AJH.mjs.map} +1 -1
- package/dist/{bundler-BQJiB7Ub.cjs → bundler-Dfsr6KXU.cjs} +5 -5
- package/dist/{bundler-BQJiB7Ub.cjs.map → bundler-Dfsr6KXU.cjs.map} +1 -1
- package/dist/{cli-DD-Yk-I5.mjs → cli-B8otnZfX.mjs} +6 -6
- package/dist/{cli-DD-Yk-I5.mjs.map → cli-B8otnZfX.mjs.map} +1 -1
- package/dist/{cli-BE9mqeX8.cjs → cli-DL19w4OE.cjs} +5 -5
- package/dist/{cli-BE9mqeX8.cjs.map → cli-DL19w4OE.cjs.map} +1 -1
- package/dist/compose-BHVKLluX.cjs +1523 -0
- package/dist/compose-BHVKLluX.cjs.map +1 -0
- package/dist/compose-DrEB_4F-.mjs +1476 -0
- package/dist/compose-DrEB_4F-.mjs.map +1 -0
- package/dist/{config-pST7E0CS.d.cts → config-CHX5GOo3.d.mts} +8 -8
- package/dist/{config-CdEcTrjG.d.mts.map → config-CHX5GOo3.d.mts.map} +1 -1
- package/dist/{config-CdEcTrjG.d.mts → config-DCCcrOSo.d.cts} +8 -8
- package/dist/{config-pST7E0CS.d.cts.map → config-DCCcrOSo.d.cts.map} +1 -1
- package/dist/config.cjs +8 -7
- package/dist/config.cjs.map +1 -1
- package/dist/config.d.cts +3 -3
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +8 -7
- package/dist/config.mjs.map +1 -1
- package/dist/{credentialSchemas-BJqRJNK4.mjs → credentialSchemas-BJFvfkaz.mjs} +5 -4
- package/dist/credentialSchemas-BJFvfkaz.mjs.map +1 -0
- package/dist/{credentialSchemas-DCR4Wd1W.cjs → credentialSchemas-CAPKFkrG.cjs} +5 -4
- package/dist/credentialSchemas-CAPKFkrG.cjs.map +1 -0
- package/dist/{credentials-CnVqoXMb.mjs → credentials-C4KII3PD.mjs} +3 -2
- package/dist/{credentials-CnVqoXMb.mjs.map → credentials-C4KII3PD.mjs.map} +1 -1
- package/dist/{credentials-BKfIugu2.cjs → credentials-QBu7VgaQ.cjs} +3 -2
- package/dist/credentials-QBu7VgaQ.cjs.map +1 -0
- package/dist/{databases-CzszQV0N.mjs → databases-BeGP5eDh.mjs} +11 -10
- package/dist/databases-BeGP5eDh.mjs.map +1 -0
- package/dist/{databases-BY-pEImp.cjs → databases-DGALFDG3.cjs} +11 -10
- package/dist/databases-DGALFDG3.cjs.map +1 -0
- package/dist/{define-DR8xGYfL.mjs → define-6poNqm5O.mjs} +12 -3
- package/dist/define-6poNqm5O.mjs.map +1 -0
- package/dist/{define-DzRz8FgH.cjs → define-crmMcXFS.cjs} +12 -3
- package/dist/define-crmMcXFS.cjs.map +1 -0
- package/dist/deploy/public.cjs +18 -16
- package/dist/deploy/public.cjs.map +1 -1
- package/dist/deploy/public.d.cts +31 -31
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts +31 -31
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +18 -17
- package/dist/deploy/public.mjs.map +1 -1
- package/dist/{deploy-CuHasEA4.cjs → deploy-C3Mhnmus.cjs} +15 -13
- package/dist/deploy-C3Mhnmus.cjs.map +1 -0
- package/dist/{deploy-QNtx_eWR.mjs → deploy-DYIyIUYd.mjs} +15 -13
- package/dist/deploy-DYIyIUYd.mjs.map +1 -0
- package/dist/{discover-D1It5r_h.cjs → discover-DPgu-ScS.cjs} +4 -3
- package/dist/discover-DPgu-ScS.cjs.map +1 -0
- package/dist/{discover-CU0paUyH.d.cts → discover-DqwlBVyY.d.mts} +2 -2
- package/dist/{discover-CU0paUyH.d.cts.map → discover-DqwlBVyY.d.mts.map} +1 -1
- package/dist/{discover-BPelzeGW.mjs → discover-qjFapetL.mjs} +4 -3
- package/dist/discover-qjFapetL.mjs.map +1 -0
- package/dist/{discover-DFiJxwfv.d.mts → discover-vk2r5giK.d.cts} +2 -2
- package/dist/{discover-DFiJxwfv.d.mts.map → discover-vk2r5giK.d.cts.map} +1 -1
- package/dist/{dokploy-CYcMLh9-.mjs → dokploy-o4I6vb9W.mjs} +3 -3
- package/dist/{dokploy-CYcMLh9-.mjs.map → dokploy-o4I6vb9W.mjs.map} +1 -1
- package/dist/{dokploy-DIowwyIB.cjs → dokploy-rivb1RFt.cjs} +3 -3
- package/dist/{dokploy-DIowwyIB.cjs.map → dokploy-rivb1RFt.cjs.map} +1 -1
- package/dist/{drivers-DTZzxeIl.mjs → drivers-CTaWrA_L.mjs} +2 -2
- package/dist/{drivers-DTZzxeIl.mjs.map → drivers-CTaWrA_L.mjs.map} +1 -1
- package/dist/{drivers-LYSdQDmd.cjs → drivers-DDojgzz0.cjs} +2 -2
- package/dist/{drivers-LYSdQDmd.cjs.map → drivers-DDojgzz0.cjs.map} +1 -1
- package/dist/{encryption-BrEef7Jk.mjs → encryption-B6ilrT7p.mjs} +7 -6
- package/dist/encryption-B6ilrT7p.mjs.map +1 -0
- package/dist/{encryption-CjYdUb2s.cjs → encryption-D7zmwzWz.cjs} +7 -6
- package/dist/encryption-D7zmwzWz.cjs.map +1 -0
- package/dist/{engine-BhJ7ZP9K.cjs → engine-Cfx8fEZU.cjs} +40 -28
- package/dist/engine-Cfx8fEZU.cjs.map +1 -0
- package/dist/{engine-2h4k5ICq.mjs → engine-DjEcovm-.mjs} +40 -28
- package/dist/engine-DjEcovm-.mjs.map +1 -0
- package/dist/errors-D8Gwp5kU.mjs +23 -0
- package/dist/errors-D8Gwp5kU.mjs.map +1 -0
- package/dist/errors-DMC4Umsb.cjs +34 -0
- package/dist/errors-DMC4Umsb.cjs.map +1 -0
- package/dist/{github-BCDF6xVH.mjs → github-CzBbs43W.mjs} +31 -9
- package/dist/github-CzBbs43W.mjs.map +1 -0
- package/dist/{github-B5Bw4HIu.cjs → github-zneTMvnO.cjs} +31 -9
- package/dist/github-zneTMvnO.cjs.map +1 -0
- package/dist/{index-YFNxR5Ns.d.mts → index-BiYU7cUl.d.mts} +6 -6
- package/dist/{index-D-F_hTDz.d.cts.map → index-BiYU7cUl.d.mts.map} +1 -1
- package/dist/{index-D-F_hTDz.d.cts → index-Dm6V9bwh.d.cts} +6 -6
- package/dist/{index-YFNxR5Ns.d.mts.map → index-Dm6V9bwh.d.cts.map} +1 -1
- package/dist/index.cjs +256 -346
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +252 -341
- package/dist/index.mjs.map +1 -1
- package/dist/{local-BjxDfPvy.cjs → local-B61kUh0w.cjs} +3 -3
- package/dist/{local-BjxDfPvy.cjs.map → local-B61kUh0w.cjs.map} +1 -1
- package/dist/{local-IuoIF3CT.mjs → local-Otp74ak0.mjs} +3 -3
- package/dist/{local-IuoIF3CT.mjs.map → local-Otp74ak0.mjs.map} +1 -1
- package/dist/{migrate-DWZz9kah.mjs → migrate-BaC4w0sb.mjs} +8 -7
- package/dist/migrate-BaC4w0sb.mjs.map +1 -0
- package/dist/{migrate-q2YYLJLE.cjs → migrate-C8wTpakT.cjs} +8 -7
- package/dist/migrate-C8wTpakT.cjs.map +1 -0
- package/dist/{migrate-DbtcuOr_.mjs → migrate-CsBZKALY.mjs} +9 -8
- package/dist/migrate-CsBZKALY.mjs.map +1 -0
- package/dist/{migrate-CGaancHY.cjs → migrate-DFjbGnSr.cjs} +8 -7
- package/dist/migrate-DFjbGnSr.cjs.map +1 -0
- package/dist/openapi.cjs +3 -3
- package/dist/openapi.d.cts +1 -10
- package/dist/openapi.d.cts.map +1 -1
- package/dist/openapi.d.mts +1 -10
- package/dist/openapi.d.mts.map +1 -1
- package/dist/openapi.mjs +3 -3
- package/dist/{provider-C9_-45d5.cjs → provider-BqpjG9QM.cjs} +4 -3
- package/dist/provider-BqpjG9QM.cjs.map +1 -0
- package/dist/{provider-q4lsYzYG.mjs → provider-CEOKk8NS.mjs} +4 -3
- package/dist/provider-CEOKk8NS.mjs.map +1 -0
- package/dist/{ready-BpNbORRB.cjs → ready-D3PIjx3S.cjs} +9 -8
- package/dist/ready-D3PIjx3S.cjs.map +1 -0
- package/dist/{ready-b6vm0-W-.mjs → ready-naOSJpeJ.mjs} +9 -8
- package/dist/ready-naOSJpeJ.mjs.map +1 -0
- package/dist/reconcile/public.cjs +1 -1
- package/dist/reconcile/public.d.cts +2 -2
- package/dist/reconcile/public.d.mts +2 -2
- package/dist/reconcile/public.mjs +1 -1
- package/dist/{reconcile-Dh1Jk7WE.mjs → reconcile--I7V4Klj.mjs} +2 -2
- package/dist/{reconcile-Dh1Jk7WE.mjs.map → reconcile--I7V4Klj.mjs.map} +1 -1
- package/dist/{resolve-DNg0icnh.mjs → resolve-Ccjlpnd9.mjs} +12 -11
- package/dist/resolve-Ccjlpnd9.mjs.map +1 -0
- package/dist/{resolve-Cns0v6dN.cjs → resolve-g8htuR80.cjs} +12 -11
- package/dist/resolve-g8htuR80.cjs.map +1 -0
- package/dist/{rollback-UIjS25F1.cjs → rollback--ympG9ss.cjs} +13 -11
- package/dist/rollback--ympG9ss.cjs.map +1 -0
- package/dist/{rollback-CFrNLmxs.mjs → rollback-Drbg0OeR.mjs} +13 -11
- package/dist/rollback-Drbg0OeR.mjs.map +1 -0
- package/dist/{runtime-CN_kmqxo.d.cts → runtime-D_J3ExJn.d.cts} +11 -19
- package/dist/runtime-D_J3ExJn.d.cts.map +1 -0
- package/dist/{runtime-Cjvon3oj.d.mts → runtime-_wEVtshH.d.mts} +11 -19
- package/dist/runtime-_wEVtshH.d.mts.map +1 -0
- package/dist/sandbox/credentials-worker.cjs +3 -3
- package/dist/sandbox/credentials-worker.mjs +3 -3
- package/dist/sandbox/discover-worker.cjs +1 -1
- package/dist/sandbox/discover-worker.mjs +1 -1
- package/dist/sandbox/migrate-worker.cjs +3 -3
- package/dist/sandbox/migrate-worker.mjs +3 -3
- package/dist/{sandbox-CL--ZDui.cjs → sandbox-CHv3OYXg.cjs} +4 -3
- package/dist/sandbox-CHv3OYXg.cjs.map +1 -0
- package/dist/{sandbox-M8UnLhXE.d.cts → sandbox-CPJq1Kia.d.mts} +4 -26
- package/dist/sandbox-CPJq1Kia.d.mts.map +1 -0
- package/dist/{sandbox-Dm247NGx.mjs → sandbox-CbVB7uOD.mjs} +4 -3
- package/dist/sandbox-CbVB7uOD.mjs.map +1 -0
- package/dist/{sandbox-M8UnLhXE.d.mts → sandbox-JwuPAl7I.d.cts} +4 -26
- package/dist/sandbox-JwuPAl7I.d.cts.map +1 -0
- package/dist/secrets-DJteijZo.cjs +47 -0
- package/dist/secrets-DJteijZo.cjs.map +1 -0
- package/dist/secrets-DbPmAS4k.mjs +36 -0
- package/dist/secrets-DbPmAS4k.mjs.map +1 -0
- package/dist/{secretsManager-Chs9VV2r.mjs → secretsManager-C6wm-9uZ.mjs} +24 -3
- package/dist/secretsManager-C6wm-9uZ.mjs.map +1 -0
- package/dist/{secretsManager-DcMlHnRC.cjs → secretsManager-Cwwgs81g.cjs} +24 -3
- package/dist/secretsManager-Cwwgs81g.cjs.map +1 -0
- package/dist/{seeds-odfgSCmu.mjs → seeds-BSL55F6q.mjs} +946 -107
- package/dist/seeds-BSL55F6q.mjs.map +1 -0
- package/dist/{seeds-CkIPFGNO.cjs → seeds-c-ByX9je.cjs} +1065 -130
- package/dist/seeds-c-ByX9je.cjs.map +1 -0
- package/dist/{sniffer-BTtX3NUM.mjs → sniffer-BTtGAtm3.mjs} +14 -8
- package/dist/sniffer-BTtGAtm3.mjs.map +1 -0
- package/dist/{sniffer-IAQEpsQb.cjs → sniffer-Dq5BS98f.cjs} +14 -8
- package/dist/{sniffer-IAQEpsQb.cjs.map → sniffer-Dq5BS98f.cjs.map} +1 -1
- package/dist/{sst-CJzvyrEz.mjs → sst-BaRXp2Dd.mjs} +18 -8
- package/dist/sst-BaRXp2Dd.mjs.map +1 -0
- package/dist/{sst-BgcOsaBi.cjs → sst-CnKY-CSh.cjs} +18 -8
- package/dist/sst-CnKY-CSh.cjs.map +1 -0
- package/dist/stack-1PeLJS2j.cjs +1346 -0
- package/dist/stack-1PeLJS2j.cjs.map +1 -0
- package/dist/stack-Co4uZkAo.mjs +1239 -0
- package/dist/stack-Co4uZkAo.mjs.map +1 -0
- package/dist/{stages-CUn6gvXL.cjs → stages-BI8JvPzI.cjs} +6 -5
- package/dist/stages-BI8JvPzI.cjs.map +1 -0
- package/dist/{stages-CnZRYmkI.mjs → stages-DY-fQKmo.mjs} +6 -5
- package/dist/stages-DY-fQKmo.mjs.map +1 -0
- package/dist/target/public.cjs +3 -3
- package/dist/target/public.d.cts +2 -2
- package/dist/target/public.d.mts +2 -2
- package/dist/target/public.mjs +3 -3
- package/dist/{terminal-DuapRxh6.cjs → terminal-8XngdSTo.cjs} +6 -5
- package/dist/terminal-8XngdSTo.cjs.map +1 -0
- package/dist/{terminal-D8TPK7o9.mjs → terminal-C4XRdwnU.mjs} +7 -6
- package/dist/terminal-C4XRdwnU.mjs.map +1 -0
- package/dist/{types-NqX1Hz4P.d.cts → types-B6lmD3en.d.mts} +94 -47
- package/dist/types-B6lmD3en.d.mts.map +1 -0
- package/dist/{types-ZHuZ89hv.d.mts → types-BibpiHKB.d.cts} +95 -46
- package/dist/types-BibpiHKB.d.cts.map +1 -0
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +1 -1
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.d.cts +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-CJ0lKFq-.mjs → workspace-Bzw7Zs82.mjs} +34 -33
- package/dist/workspace-Bzw7Zs82.mjs.map +1 -0
- package/dist/{workspace-CwW3Gkru.cjs → workspace-CHOB2Xg3.cjs} +34 -33
- package/dist/workspace-CHOB2Xg3.cjs.map +1 -0
- package/package.json +15 -15
- package/dist/EndpointGenerator-CVc6Oi1Y.mjs.map +0 -1
- package/dist/EndpointGenerator-CwLjBCFE.cjs.map +0 -1
- package/dist/GoDaddyProvider-DSStJVAv.mjs.map +0 -1
- package/dist/GoDaddyProvider-DqZ1qD_F.cjs.map +0 -1
- package/dist/LegacyStateStore-DXmNA7hy.cjs.map +0 -1
- package/dist/LegacyStateStore-ZkdmiUFZ.mjs +0 -89
- package/dist/LegacyStateStore-ZkdmiUFZ.mjs.map +0 -1
- package/dist/SubscriberGenerator-BPqQf8fB.mjs.map +0 -1
- package/dist/SubscriberGenerator-BVn7cQ-2.cjs.map +0 -1
- package/dist/add-BSHk5Ngn.mjs.map +0 -1
- package/dist/add-DmmBDV2e.cjs.map +0 -1
- package/dist/aws-B-6uEhgP.mjs.map +0 -1
- package/dist/aws-BTawF0F-.cjs.map +0 -1
- package/dist/awsStore-7VmS_cZR.cjs +0 -54
- package/dist/awsStore-7VmS_cZR.cjs.map +0 -1
- package/dist/awsStore-B529csle.mjs +0 -43
- package/dist/awsStore-B529csle.mjs.map +0 -1
- package/dist/compose-Bhmf0n4o.mjs +0 -3140
- package/dist/compose-Bhmf0n4o.mjs.map +0 -1
- package/dist/compose-CvpU6ooi.cjs +0 -3265
- package/dist/compose-CvpU6ooi.cjs.map +0 -1
- package/dist/credentialSchemas-BJqRJNK4.mjs.map +0 -1
- package/dist/credentialSchemas-DCR4Wd1W.cjs.map +0 -1
- package/dist/credentials-BKfIugu2.cjs.map +0 -1
- package/dist/databases-BY-pEImp.cjs.map +0 -1
- package/dist/databases-CzszQV0N.mjs.map +0 -1
- package/dist/define-DR8xGYfL.mjs.map +0 -1
- package/dist/define-DzRz8FgH.cjs.map +0 -1
- package/dist/deploy-CuHasEA4.cjs.map +0 -1
- package/dist/deploy-QNtx_eWR.mjs.map +0 -1
- package/dist/discover-BPelzeGW.mjs.map +0 -1
- package/dist/discover-D1It5r_h.cjs.map +0 -1
- package/dist/encryption-BrEef7Jk.mjs.map +0 -1
- package/dist/encryption-CjYdUb2s.cjs.map +0 -1
- package/dist/engine-2h4k5ICq.mjs.map +0 -1
- package/dist/engine-BhJ7ZP9K.cjs.map +0 -1
- package/dist/github-B5Bw4HIu.cjs.map +0 -1
- package/dist/github-BCDF6xVH.mjs.map +0 -1
- package/dist/migrate-CGaancHY.cjs.map +0 -1
- package/dist/migrate-DWZz9kah.mjs.map +0 -1
- package/dist/migrate-DbtcuOr_.mjs.map +0 -1
- package/dist/migrate-q2YYLJLE.cjs.map +0 -1
- package/dist/provider-C9_-45d5.cjs.map +0 -1
- package/dist/provider-q4lsYzYG.mjs.map +0 -1
- package/dist/ready-BpNbORRB.cjs.map +0 -1
- package/dist/ready-b6vm0-W-.mjs.map +0 -1
- package/dist/resolve-Cns0v6dN.cjs.map +0 -1
- package/dist/resolve-DNg0icnh.mjs.map +0 -1
- package/dist/rollback-CFrNLmxs.mjs.map +0 -1
- package/dist/rollback-UIjS25F1.cjs.map +0 -1
- package/dist/runtime-CN_kmqxo.d.cts.map +0 -1
- package/dist/runtime-Cjvon3oj.d.mts.map +0 -1
- package/dist/sandbox-CL--ZDui.cjs.map +0 -1
- package/dist/sandbox-Dm247NGx.mjs.map +0 -1
- package/dist/sandbox-M8UnLhXE.d.cts.map +0 -1
- package/dist/sandbox-M8UnLhXE.d.mts.map +0 -1
- package/dist/secretsManager-Chs9VV2r.mjs.map +0 -1
- package/dist/secretsManager-DcMlHnRC.cjs.map +0 -1
- package/dist/seeds-CkIPFGNO.cjs.map +0 -1
- package/dist/seeds-odfgSCmu.mjs.map +0 -1
- package/dist/sniffer-BTtX3NUM.mjs.map +0 -1
- package/dist/sst-BgcOsaBi.cjs.map +0 -1
- package/dist/sst-CJzvyrEz.mjs.map +0 -1
- package/dist/stages-CUn6gvXL.cjs.map +0 -1
- package/dist/stages-CnZRYmkI.mjs.map +0 -1
- package/dist/terminal-D8TPK7o9.mjs.map +0 -1
- package/dist/terminal-DuapRxh6.cjs.map +0 -1
- package/dist/types-NqX1Hz4P.d.cts.map +0 -1
- package/dist/types-ZHuZ89hv.d.mts.map +0 -1
- package/dist/workspace-CJ0lKFq-.mjs.map +0 -1
- package/dist/workspace-CwW3Gkru.cjs.map +0 -1
package/dist/deploy/public.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Ct as
|
|
2
|
-
import { a as SandboxOutput, c as confineCwd, i as SandboxExecOptions, n as Sandbox, o as SandboxResult, r as SandboxCwdEscape, s as SecretNameInvalid, t as SECRETS_DIR_ENV } from "../sandbox-
|
|
3
|
-
import { i as ConfigLoadFailed, o as ConfigObjectNotSerializable } from "../config-
|
|
4
|
-
import { n as ConstructsNotSerializable, t as ConstructDiscoveryFailed } from "../discover-
|
|
5
|
-
import { a as TargetRuntimeMismatch, c as DeployTargetNotYetSupported, i as TargetPackageInvalid, l as UnknownDeployTarget, n as InvalidTargetOptions, o as ProviderRemoved, r as TargetEntryInvalid, s as TargetPackageNotFound, t as TargetRuntimeUndeclared } from "../runtime-
|
|
1
|
+
import { At as deployIdentity, Ct as StateVersionConflict, Dt as LocalActor, Et as GithubActor, Tt as Actor, U as AnyDeployTarget, _t as StoredCredentialsOptions, at as DeployPhase, bt as LocalStateInCi, ct as AppDeployResult, dt as Credential, ft as CredentialKind, gt as MissingCredential, ht as CredentialRequest, it as DeployEventType, jt as GkmError, kt as DeployIdentity, lt as DeployResult, mt as CredentialProvider, nt as DeployEvent, ot as ResourceChange, pt as CredentialKinds, rt as DeployEventError, st as ResourceVia, ut as AwsCredential, vt as chainCredentials, wt as ReleasedImage, xt as StateLocked, yt as storedCredentials } from "../types-BibpiHKB.cjs";
|
|
2
|
+
import { a as SandboxOutput, c as confineCwd, i as SandboxExecOptions, n as Sandbox, o as SandboxResult, r as SandboxCwdEscape, s as SecretNameInvalid, t as SECRETS_DIR_ENV } from "../sandbox-JwuPAl7I.cjs";
|
|
3
|
+
import { i as ConfigLoadFailed, o as ConfigObjectNotSerializable } from "../config-DCCcrOSo.cjs";
|
|
4
|
+
import { n as ConstructsNotSerializable, t as ConstructDiscoveryFailed } from "../discover-vk2r5giK.cjs";
|
|
5
|
+
import { a as TargetRuntimeMismatch, c as DeployTargetNotYetSupported, i as TargetPackageInvalid, l as UnknownDeployTarget, n as InvalidTargetOptions, o as ProviderRemoved, r as TargetEntryInvalid, s as TargetPackageNotFound, t as TargetRuntimeUndeclared } from "../runtime-D_J3ExJn.cjs";
|
|
6
6
|
import { ConstructManifest, Declaration } from "@geekmidas/manifest";
|
|
7
7
|
import "@geekmidas/envkit/sniffer";
|
|
8
8
|
import "@geekmidas/db/pg/roles";
|
|
@@ -27,7 +27,7 @@ type ProviderKind = (typeof PROVIDER_KINDS)[number];
|
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/providers/config.d.ts
|
|
29
29
|
/** An entry that names no provider gkm has, or is not an entry at all. */
|
|
30
|
-
export declare class UnknownStageProvider extends
|
|
30
|
+
export declare class UnknownStageProvider extends GkmError {
|
|
31
31
|
readonly kind: ProviderKind;
|
|
32
32
|
readonly stage: string;
|
|
33
33
|
readonly value: unknown;
|
|
@@ -43,7 +43,7 @@ export declare class UnknownStageProvider extends Error {
|
|
|
43
43
|
export declare const DEV_SERVICES: readonly ['minio', 'mailpit'];
|
|
44
44
|
type DevService = (typeof DEV_SERVICES)[number];
|
|
45
45
|
/** Dev services asked of a target that runs no containers. */
|
|
46
|
-
export declare class DevServicesNeedServerTarget extends
|
|
46
|
+
export declare class DevServicesNeedServerTarget extends GkmError {
|
|
47
47
|
readonly target: string;
|
|
48
48
|
constructor(target: string);
|
|
49
49
|
}
|
|
@@ -52,7 +52,7 @@ export declare class DevServicesNeedServerTarget extends Error {
|
|
|
52
52
|
* switch now: every construct the stage does not account for gets its dev
|
|
53
53
|
* service.
|
|
54
54
|
*/
|
|
55
|
-
export declare class AllowDevServicesTakesNoValue extends
|
|
55
|
+
export declare class AllowDevServicesTakesNoValue extends GkmError {
|
|
56
56
|
readonly value: string;
|
|
57
57
|
constructor(value: string);
|
|
58
58
|
}
|
|
@@ -78,7 +78,7 @@ interface MissingServiceKey {
|
|
|
78
78
|
* A deployed stage with mail or object storage that its secrets do not
|
|
79
79
|
* configure — every missing key, across every app, at once.
|
|
80
80
|
*/
|
|
81
|
-
export declare class ExternalServicesNotConfigured extends
|
|
81
|
+
export declare class ExternalServicesNotConfigured extends GkmError {
|
|
82
82
|
readonly stage: string;
|
|
83
83
|
readonly missing: readonly MissingServiceKey[];
|
|
84
84
|
constructor(stage: string, missing: readonly MissingServiceKey[]);
|
|
@@ -86,7 +86,7 @@ export declare class ExternalServicesNotConfigured extends Error {
|
|
|
86
86
|
//#endregion
|
|
87
87
|
//#region src/providers/notes.d.ts
|
|
88
88
|
/** A stage that names `false` for a kind, and declares constructs of it. */
|
|
89
|
-
export declare class StageProviderDisabled extends
|
|
89
|
+
export declare class StageProviderDisabled extends GkmError {
|
|
90
90
|
readonly kind: ProviderKind;
|
|
91
91
|
readonly stage: string;
|
|
92
92
|
readonly ids: readonly string[];
|
|
@@ -95,7 +95,7 @@ export declare class StageProviderDisabled extends Error {
|
|
|
95
95
|
//#endregion
|
|
96
96
|
//#region src/providers/s3/errors.d.ts
|
|
97
97
|
/** `verify()`: a provisioned bucket the stage's key cannot reach. */
|
|
98
|
-
export declare class ProvisionedBucketUnreachable extends
|
|
98
|
+
export declare class ProvisionedBucketUnreachable extends GkmError {
|
|
99
99
|
readonly id: string;
|
|
100
100
|
readonly bucket: string;
|
|
101
101
|
readonly stage: string;
|
|
@@ -190,12 +190,12 @@ interface InstallOptions {
|
|
|
190
190
|
signal?: AbortSignal;
|
|
191
191
|
}
|
|
192
192
|
/** A name in `allowScripts` that is not a package name. */
|
|
193
|
-
export declare class InstallAllowlistNameInvalid extends
|
|
193
|
+
export declare class InstallAllowlistNameInvalid extends GkmError {
|
|
194
194
|
readonly packageName: string;
|
|
195
195
|
constructor(packageName: string);
|
|
196
196
|
}
|
|
197
197
|
/** The package manager has no way to run only some packages' scripts. */
|
|
198
|
-
export declare class InstallScriptsAllowlistUnsupported extends
|
|
198
|
+
export declare class InstallScriptsAllowlistUnsupported extends GkmError {
|
|
199
199
|
readonly packageManager: string;
|
|
200
200
|
readonly allowScripts: readonly string[];
|
|
201
201
|
constructor(packageManager: string, allowScripts: readonly string[]);
|
|
@@ -275,13 +275,13 @@ export declare class SandboxWorkerFailed extends Error {
|
|
|
275
275
|
//#endregion
|
|
276
276
|
//#region src/target/dokploy/dokploy-api.d.ts
|
|
277
277
|
/** A deployment Dokploy ran and reported as failed. */
|
|
278
|
-
export declare class DeploymentFailed extends
|
|
278
|
+
export declare class DeploymentFailed extends GkmError {
|
|
279
279
|
readonly applicationId: string;
|
|
280
280
|
readonly deployment: DokployDeployment;
|
|
281
281
|
constructor(applicationId: string, deployment: DokployDeployment);
|
|
282
282
|
}
|
|
283
283
|
/** A deployment that had not finished when the deploy stopped waiting. */
|
|
284
|
-
export declare class DeploymentTimedOut extends
|
|
284
|
+
export declare class DeploymentTimedOut extends GkmError {
|
|
285
285
|
readonly applicationId: string;
|
|
286
286
|
readonly timeoutMs: number;
|
|
287
287
|
/** The last status seen, if a deployment had appeared at all. */
|
|
@@ -317,7 +317,7 @@ export declare class FrontendDeployFailed extends Error {
|
|
|
317
317
|
constructor(apps: readonly string[], cause: unknown);
|
|
318
318
|
}
|
|
319
319
|
/** An app's environment needs values the stage does not have. */
|
|
320
|
-
export declare class MissingEnvVars extends
|
|
320
|
+
export declare class MissingEnvVars extends GkmError {
|
|
321
321
|
readonly app: string;
|
|
322
322
|
readonly missing: readonly string[];
|
|
323
323
|
readonly stage: string;
|
|
@@ -326,7 +326,7 @@ export declare class MissingEnvVars extends Error {
|
|
|
326
326
|
//#endregion
|
|
327
327
|
//#region src/target/dokploy/health.d.ts
|
|
328
328
|
/** An app never answered healthy enough times in a row. */
|
|
329
|
-
export declare class HealthCheckTimedOut extends
|
|
329
|
+
export declare class HealthCheckTimedOut extends GkmError {
|
|
330
330
|
readonly app: string;
|
|
331
331
|
readonly url: string;
|
|
332
332
|
readonly timeoutMs: number;
|
|
@@ -372,7 +372,7 @@ interface RolledBack {
|
|
|
372
372
|
to: ReleasedImage;
|
|
373
373
|
}
|
|
374
374
|
/** Neither an app nor every app was asked for. */
|
|
375
|
-
export declare class RollbackNeedsApp extends
|
|
375
|
+
export declare class RollbackNeedsApp extends GkmError {
|
|
376
376
|
readonly stage: string;
|
|
377
377
|
/** The apps that have a release to go back to. */
|
|
378
378
|
readonly apps: readonly string[];
|
|
@@ -381,13 +381,13 @@ export declare class RollbackNeedsApp extends Error {
|
|
|
381
381
|
apps: readonly string[]);
|
|
382
382
|
}
|
|
383
383
|
/** An app has no release before the one it runs. */
|
|
384
|
-
export declare class NothingToRollBack extends
|
|
384
|
+
export declare class NothingToRollBack extends GkmError {
|
|
385
385
|
readonly stage: string;
|
|
386
386
|
readonly app: string;
|
|
387
387
|
constructor(stage: string, app: string);
|
|
388
388
|
}
|
|
389
389
|
/** The stage was never deployed through Dokploy from this state. */
|
|
390
|
-
export declare class StageNeverDeployed extends
|
|
390
|
+
export declare class StageNeverDeployed extends GkmError {
|
|
391
391
|
readonly stage: string;
|
|
392
392
|
constructor(stage: string);
|
|
393
393
|
}
|
|
@@ -415,7 +415,7 @@ export declare class DeploySeedsFailed extends Error {
|
|
|
415
415
|
//#endregion
|
|
416
416
|
//#region src/target/sst/health.d.ts
|
|
417
417
|
/** Surfaces that never answered healthy. */
|
|
418
|
-
export declare class SurfacesUnhealthy extends
|
|
418
|
+
export declare class SurfacesUnhealthy extends GkmError {
|
|
419
419
|
readonly stage: string;
|
|
420
420
|
/** Each surface that failed, with the last thing it answered. */
|
|
421
421
|
readonly surfaces: readonly {
|
|
@@ -436,7 +436,7 @@ export declare class SurfacesUnhealthy extends Error {
|
|
|
436
436
|
//#endregion
|
|
437
437
|
//#region src/target/sst/outputs.d.ts
|
|
438
438
|
/** `.sst/outputs.json` is there, and is not JSON. */
|
|
439
|
-
export declare class SstOutputsUnreadable extends
|
|
439
|
+
export declare class SstOutputsUnreadable extends GkmError {
|
|
440
440
|
readonly path: string;
|
|
441
441
|
readonly reason: string;
|
|
442
442
|
constructor(path: string, reason: string);
|
|
@@ -444,7 +444,7 @@ export declare class SstOutputsUnreadable extends Error {
|
|
|
444
444
|
//#endregion
|
|
445
445
|
//#region src/target/sst/index.d.ts
|
|
446
446
|
/** The workspace has no `sst.config.ts` for `sst deploy` to run. */
|
|
447
|
-
export declare class SstConfigNotFound extends
|
|
447
|
+
export declare class SstConfigNotFound extends GkmError {
|
|
448
448
|
readonly cwd: string;
|
|
449
449
|
constructor(cwd: string);
|
|
450
450
|
}
|
|
@@ -585,19 +585,19 @@ export declare function deploy(input: DeployInput): DeployRun;
|
|
|
585
585
|
//#endregion
|
|
586
586
|
//#region src/deploy/orchestrate.d.ts
|
|
587
587
|
/** Apps were asked for by name that the workspace does not have. */
|
|
588
|
-
export declare class UnknownDeployApps extends
|
|
588
|
+
export declare class UnknownDeployApps extends GkmError {
|
|
589
589
|
readonly apps: readonly string[];
|
|
590
590
|
readonly available: readonly string[];
|
|
591
591
|
constructor(apps: readonly string[], available: readonly string[]);
|
|
592
592
|
}
|
|
593
593
|
/** Every app asked for deploys through some other target. */
|
|
594
|
-
export declare class NoDeployableApps extends
|
|
594
|
+
export declare class NoDeployableApps extends GkmError {
|
|
595
595
|
readonly stage: string;
|
|
596
596
|
readonly target: string;
|
|
597
597
|
constructor(stage: string, target: string);
|
|
598
598
|
}
|
|
599
599
|
/** A build-only run through a target with no build phase. */
|
|
600
|
-
export declare class TargetBuildsNothing extends
|
|
600
|
+
export declare class TargetBuildsNothing extends GkmError {
|
|
601
601
|
readonly target: string;
|
|
602
602
|
constructor(target: string);
|
|
603
603
|
}
|
|
@@ -616,7 +616,7 @@ export declare class RollbackFailed extends Error {
|
|
|
616
616
|
* A Dokploy project with the name this deploy would use exists, and nothing
|
|
617
617
|
* says this workspace created it.
|
|
618
618
|
*/
|
|
619
|
-
export declare class ProjectNotOwned extends
|
|
619
|
+
export declare class ProjectNotOwned extends GkmError {
|
|
620
620
|
readonly projectName: string;
|
|
621
621
|
readonly projectId: string;
|
|
622
622
|
readonly identity: string;
|
|
@@ -629,21 +629,21 @@ export declare class ProjectNotOwned extends Error {
|
|
|
629
629
|
//#endregion
|
|
630
630
|
//#region src/deploy/registry.d.ts
|
|
631
631
|
/** There is nowhere to push images to, so Dokploy has nothing to pull. */
|
|
632
|
-
export declare class RegistryNotConfigured extends
|
|
632
|
+
export declare class RegistryNotConfigured extends GkmError {
|
|
633
633
|
readonly stage: string;
|
|
634
634
|
constructor(stage: string);
|
|
635
635
|
}
|
|
636
636
|
/** `deploy.dokploy.registryId` names a registry Dokploy does not have. */
|
|
637
|
-
export declare class RegistryNotFound extends
|
|
637
|
+
export declare class RegistryNotFound extends GkmError {
|
|
638
638
|
readonly registryId: string;
|
|
639
639
|
constructor(registryId: string);
|
|
640
640
|
}
|
|
641
641
|
/** More than one Dokploy registry serves the configured registry. */
|
|
642
|
-
export declare class RegistryAmbiguous extends
|
|
642
|
+
export declare class RegistryAmbiguous extends GkmError {
|
|
643
643
|
readonly registry: string;
|
|
644
644
|
readonly registryIds: readonly string[];
|
|
645
645
|
constructor(registry: string, registryIds: readonly string[]);
|
|
646
646
|
}
|
|
647
647
|
//#endregion
|
|
648
|
-
export { type AppDeployResult, type AwsCredential, ConfigLoadFailed, ConfigObjectNotSerializable, ConstructDiscoveryFailed, ConstructsNotSerializable, type Credential, type CredentialKind, type CredentialKinds, type CredentialProvider, type CredentialRequest, type DeployEvent, type DeployEventError, type DeployEventType, type DeployIdentity, type DeployInput, type DeployLogger, type DeployPhase, type DeployResult, type DeployRun, DeployTargetNotYetSupported, type DevService, type InstallOptions, InvalidTargetOptions, type LocalSandboxOptions, MissingCredential, type MissingServiceKey, ProviderRemoved, type ResourceChange, type ResourceVia, type RollbackInput, type RolledBack, SECRETS_DIR_ENV, type Sandbox, SandboxCwdEscape, type SandboxExecOptions, type SandboxOutput, type SandboxResult, SecretNameInvalid, StateLocked, StateVersionConflict, type StoredCredentialsOptions, TargetEntryInvalid, TargetPackageInvalid, TargetPackageNotFound, TargetRuntimeMismatch, TargetRuntimeUndeclared, UnknownDeployTarget, chainCredentials, confineCwd, deployIdentity, storedCredentials };
|
|
648
|
+
export { type Actor, type AppDeployResult, type AwsCredential, ConfigLoadFailed, ConfigObjectNotSerializable, ConstructDiscoveryFailed, ConstructsNotSerializable, type Credential, type CredentialKind, type CredentialKinds, type CredentialProvider, type CredentialRequest, type DeployEvent, type DeployEventError, type DeployEventType, type DeployIdentity, type DeployInput, type DeployLogger, type DeployPhase, type DeployResult, type DeployRun, DeployTargetNotYetSupported, type DevService, type GithubActor, type InstallOptions, InvalidTargetOptions, type LocalActor, type LocalSandboxOptions, LocalStateInCi, MissingCredential, type MissingServiceKey, ProviderRemoved, type ResourceChange, type ResourceVia, type RollbackInput, type RolledBack, SECRETS_DIR_ENV, type Sandbox, SandboxCwdEscape, type SandboxExecOptions, type SandboxOutput, type SandboxResult, SecretNameInvalid, StateLocked, StateVersionConflict, type StoredCredentialsOptions, TargetEntryInvalid, TargetPackageInvalid, TargetPackageNotFound, TargetRuntimeMismatch, TargetRuntimeUndeclared, UnknownDeployTarget, chainCredentials, confineCwd, deployIdentity, storedCredentials };
|
|
649
649
|
//# sourceMappingURL=public.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.cts","names":[],"sources":["../../src/home.ts","../../src/providers/types.ts","../../src/providers/config.ts","../../src/deploy/devServices.ts","../../src/providers/notes.ts","../../src/providers/s3/errors.ts","../../src/run.ts","../../src/sandbox/env.ts","../../src/docker/templates.ts","../../src/sandbox/install.ts","../../src/sandbox/local.ts","../../src/sandbox/worker.ts","../../src/target/dokploy/dokploy-api.ts","../../src/target/dokploy/engine.ts","../../src/target/dokploy/health.ts","../../src/target/dokploy/migrations.ts","../../src/target/dokploy/rollback.ts","../../src/target/seeds.ts","../../src/target/sst/health.ts","../../src/target/sst/outputs.ts","../../src/target/sst/index.ts","../../src/deploy/deploy.ts","../../src/deploy/orchestrate.ts","../../src/deploy/ownership.ts","../../src/deploy/registry.ts"],"mappings":";;;;;;;;;;;;;;;;;;qBAaa;;wBAGG,QAAQ,MAAK,OAAO;;;;cCYvB;KAED,uBAAuB;;;;
|
|
1
|
+
{"version":3,"file":"public.d.cts","names":[],"sources":["../../src/home.ts","../../src/providers/types.ts","../../src/providers/config.ts","../../src/deploy/devServices.ts","../../src/providers/notes.ts","../../src/providers/s3/errors.ts","../../src/run.ts","../../src/sandbox/env.ts","../../src/docker/templates.ts","../../src/sandbox/install.ts","../../src/sandbox/local.ts","../../src/sandbox/worker.ts","../../src/target/dokploy/dokploy-api.ts","../../src/target/dokploy/engine.ts","../../src/target/dokploy/health.ts","../../src/target/dokploy/migrations.ts","../../src/target/dokploy/rollback.ts","../../src/target/seeds.ts","../../src/target/sst/health.ts","../../src/target/sst/outputs.ts","../../src/target/sst/index.ts","../../src/deploy/deploy.ts","../../src/deploy/orchestrate.ts","../../src/deploy/ownership.ts","../../src/deploy/registry.ts"],"mappings":";;;;;;;;;;;;;;;;;;qBAaa;;wBAGG,QAAQ,MAAK,OAAO;;;;cCYvB;KAED,uBAAuB;;;;qBC8BtB,6BAA6B;WAE/B,MAAM;WACN;WACA;EAHV,YACU,MAAM,cACN,eACA;;;;;;;;;qBCrBE;KAED,qBAAqB;;qBAcpB,oCAAoC;WAC3B;EAArB,YAAqB;;;;;;;qBAeT,qCAAqC;WAC5B;EAArB,YAAqB;;;UAiCL;EAChB;;EAEA;;EAEA;;EAEA;;EAEA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O,cAAc;;;;qBCxH/B,0BAA0B;WAE5B;WACA;EAFV,YACU,yBACA;;;qBAWE,yBAAyB;WAE3B;WACA;EAFV,YACU,eACA;;;qBAUE,4BAA4B;WACnB;EAArB,YAAqB;;;qBAST,uBAAuB;WAEzB;;WAEA;EAHV,YACU,gBAEA;;EAAA,kBACT;;;;;;;;qBCvGW,wBAAwB;WAE1B;WACA;WACA;;WAEA;EALV,YACU,qBACA,mBACA,kBAEA;;EAAA;;;;;qBChBE,8BAA8B;WACrB;EAArB,YAAqB;;;qBAUT,yBAAyB;WAChB;EAArB,YAAqB;;;qBAUT,0BAA0B;WAE5B;WACA;EAFV,YACU,kBACA"}
|
package/dist/deploy/public.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { i as ConfigLoadFailed, o as ConfigObjectNotSerializable } from "../config-
|
|
4
|
-
import { n as ConstructsNotSerializable, t as ConstructDiscoveryFailed } from "../discover-
|
|
5
|
-
import { a as TargetRuntimeMismatch, c as DeployTargetNotYetSupported, i as TargetPackageInvalid, l as UnknownDeployTarget, n as InvalidTargetOptions, o as ProviderRemoved, r as TargetEntryInvalid, s as TargetPackageNotFound, t as TargetRuntimeUndeclared } from "../runtime-
|
|
1
|
+
import { At as deployIdentity, Ct as StateVersionConflict, Dt as LocalActor, Et as GithubActor, Tt as Actor, U as AnyDeployTarget, _t as StoredCredentialsOptions, at as DeployPhase, bt as LocalStateInCi, ct as AppDeployResult, dt as Credential, ft as CredentialKind, gt as MissingCredential, ht as CredentialRequest, it as DeployEventType, jt as GkmError, kt as DeployIdentity, lt as DeployResult, mt as CredentialProvider, nt as DeployEvent, ot as ResourceChange, pt as CredentialKinds, rt as DeployEventError, st as ResourceVia, ut as AwsCredential, vt as chainCredentials, wt as ReleasedImage, xt as StateLocked, yt as storedCredentials } from "../types-B6lmD3en.mjs";
|
|
2
|
+
import { a as SandboxOutput, c as confineCwd, i as SandboxExecOptions, n as Sandbox, o as SandboxResult, r as SandboxCwdEscape, s as SecretNameInvalid, t as SECRETS_DIR_ENV } from "../sandbox-CPJq1Kia.mjs";
|
|
3
|
+
import { i as ConfigLoadFailed, o as ConfigObjectNotSerializable } from "../config-CHX5GOo3.mjs";
|
|
4
|
+
import { n as ConstructsNotSerializable, t as ConstructDiscoveryFailed } from "../discover-DqwlBVyY.mjs";
|
|
5
|
+
import { a as TargetRuntimeMismatch, c as DeployTargetNotYetSupported, i as TargetPackageInvalid, l as UnknownDeployTarget, n as InvalidTargetOptions, o as ProviderRemoved, r as TargetEntryInvalid, s as TargetPackageNotFound, t as TargetRuntimeUndeclared } from "../runtime-_wEVtshH.mjs";
|
|
6
6
|
import { ConstructManifest, Declaration } from "@geekmidas/manifest";
|
|
7
7
|
import "@geekmidas/db/pg/roles";
|
|
8
8
|
import "@geekmidas/envkit/sniffer";
|
|
@@ -27,7 +27,7 @@ type ProviderKind = (typeof PROVIDER_KINDS)[number];
|
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/providers/config.d.ts
|
|
29
29
|
/** An entry that names no provider gkm has, or is not an entry at all. */
|
|
30
|
-
export declare class UnknownStageProvider extends
|
|
30
|
+
export declare class UnknownStageProvider extends GkmError {
|
|
31
31
|
readonly kind: ProviderKind;
|
|
32
32
|
readonly stage: string;
|
|
33
33
|
readonly value: unknown;
|
|
@@ -43,7 +43,7 @@ export declare class UnknownStageProvider extends Error {
|
|
|
43
43
|
export declare const DEV_SERVICES: readonly ['minio', 'mailpit'];
|
|
44
44
|
type DevService = (typeof DEV_SERVICES)[number];
|
|
45
45
|
/** Dev services asked of a target that runs no containers. */
|
|
46
|
-
export declare class DevServicesNeedServerTarget extends
|
|
46
|
+
export declare class DevServicesNeedServerTarget extends GkmError {
|
|
47
47
|
readonly target: string;
|
|
48
48
|
constructor(target: string);
|
|
49
49
|
}
|
|
@@ -52,7 +52,7 @@ export declare class DevServicesNeedServerTarget extends Error {
|
|
|
52
52
|
* switch now: every construct the stage does not account for gets its dev
|
|
53
53
|
* service.
|
|
54
54
|
*/
|
|
55
|
-
export declare class AllowDevServicesTakesNoValue extends
|
|
55
|
+
export declare class AllowDevServicesTakesNoValue extends GkmError {
|
|
56
56
|
readonly value: string;
|
|
57
57
|
constructor(value: string);
|
|
58
58
|
}
|
|
@@ -78,7 +78,7 @@ interface MissingServiceKey {
|
|
|
78
78
|
* A deployed stage with mail or object storage that its secrets do not
|
|
79
79
|
* configure — every missing key, across every app, at once.
|
|
80
80
|
*/
|
|
81
|
-
export declare class ExternalServicesNotConfigured extends
|
|
81
|
+
export declare class ExternalServicesNotConfigured extends GkmError {
|
|
82
82
|
readonly stage: string;
|
|
83
83
|
readonly missing: readonly MissingServiceKey[];
|
|
84
84
|
constructor(stage: string, missing: readonly MissingServiceKey[]);
|
|
@@ -86,7 +86,7 @@ export declare class ExternalServicesNotConfigured extends Error {
|
|
|
86
86
|
//#endregion
|
|
87
87
|
//#region src/providers/notes.d.ts
|
|
88
88
|
/** A stage that names `false` for a kind, and declares constructs of it. */
|
|
89
|
-
export declare class StageProviderDisabled extends
|
|
89
|
+
export declare class StageProviderDisabled extends GkmError {
|
|
90
90
|
readonly kind: ProviderKind;
|
|
91
91
|
readonly stage: string;
|
|
92
92
|
readonly ids: readonly string[];
|
|
@@ -95,7 +95,7 @@ export declare class StageProviderDisabled extends Error {
|
|
|
95
95
|
//#endregion
|
|
96
96
|
//#region src/providers/s3/errors.d.ts
|
|
97
97
|
/** `verify()`: a provisioned bucket the stage's key cannot reach. */
|
|
98
|
-
export declare class ProvisionedBucketUnreachable extends
|
|
98
|
+
export declare class ProvisionedBucketUnreachable extends GkmError {
|
|
99
99
|
readonly id: string;
|
|
100
100
|
readonly bucket: string;
|
|
101
101
|
readonly stage: string;
|
|
@@ -190,12 +190,12 @@ interface InstallOptions {
|
|
|
190
190
|
signal?: AbortSignal;
|
|
191
191
|
}
|
|
192
192
|
/** A name in `allowScripts` that is not a package name. */
|
|
193
|
-
export declare class InstallAllowlistNameInvalid extends
|
|
193
|
+
export declare class InstallAllowlistNameInvalid extends GkmError {
|
|
194
194
|
readonly packageName: string;
|
|
195
195
|
constructor(packageName: string);
|
|
196
196
|
}
|
|
197
197
|
/** The package manager has no way to run only some packages' scripts. */
|
|
198
|
-
export declare class InstallScriptsAllowlistUnsupported extends
|
|
198
|
+
export declare class InstallScriptsAllowlistUnsupported extends GkmError {
|
|
199
199
|
readonly packageManager: string;
|
|
200
200
|
readonly allowScripts: readonly string[];
|
|
201
201
|
constructor(packageManager: string, allowScripts: readonly string[]);
|
|
@@ -275,13 +275,13 @@ export declare class SandboxWorkerFailed extends Error {
|
|
|
275
275
|
//#endregion
|
|
276
276
|
//#region src/target/dokploy/dokploy-api.d.ts
|
|
277
277
|
/** A deployment Dokploy ran and reported as failed. */
|
|
278
|
-
export declare class DeploymentFailed extends
|
|
278
|
+
export declare class DeploymentFailed extends GkmError {
|
|
279
279
|
readonly applicationId: string;
|
|
280
280
|
readonly deployment: DokployDeployment;
|
|
281
281
|
constructor(applicationId: string, deployment: DokployDeployment);
|
|
282
282
|
}
|
|
283
283
|
/** A deployment that had not finished when the deploy stopped waiting. */
|
|
284
|
-
export declare class DeploymentTimedOut extends
|
|
284
|
+
export declare class DeploymentTimedOut extends GkmError {
|
|
285
285
|
readonly applicationId: string;
|
|
286
286
|
readonly timeoutMs: number;
|
|
287
287
|
/** The last status seen, if a deployment had appeared at all. */
|
|
@@ -317,7 +317,7 @@ export declare class FrontendDeployFailed extends Error {
|
|
|
317
317
|
constructor(apps: readonly string[], cause: unknown);
|
|
318
318
|
}
|
|
319
319
|
/** An app's environment needs values the stage does not have. */
|
|
320
|
-
export declare class MissingEnvVars extends
|
|
320
|
+
export declare class MissingEnvVars extends GkmError {
|
|
321
321
|
readonly app: string;
|
|
322
322
|
readonly missing: readonly string[];
|
|
323
323
|
readonly stage: string;
|
|
@@ -326,7 +326,7 @@ export declare class MissingEnvVars extends Error {
|
|
|
326
326
|
//#endregion
|
|
327
327
|
//#region src/target/dokploy/health.d.ts
|
|
328
328
|
/** An app never answered healthy enough times in a row. */
|
|
329
|
-
export declare class HealthCheckTimedOut extends
|
|
329
|
+
export declare class HealthCheckTimedOut extends GkmError {
|
|
330
330
|
readonly app: string;
|
|
331
331
|
readonly url: string;
|
|
332
332
|
readonly timeoutMs: number;
|
|
@@ -372,7 +372,7 @@ interface RolledBack {
|
|
|
372
372
|
to: ReleasedImage;
|
|
373
373
|
}
|
|
374
374
|
/** Neither an app nor every app was asked for. */
|
|
375
|
-
export declare class RollbackNeedsApp extends
|
|
375
|
+
export declare class RollbackNeedsApp extends GkmError {
|
|
376
376
|
readonly stage: string;
|
|
377
377
|
/** The apps that have a release to go back to. */
|
|
378
378
|
readonly apps: readonly string[];
|
|
@@ -381,13 +381,13 @@ export declare class RollbackNeedsApp extends Error {
|
|
|
381
381
|
apps: readonly string[]);
|
|
382
382
|
}
|
|
383
383
|
/** An app has no release before the one it runs. */
|
|
384
|
-
export declare class NothingToRollBack extends
|
|
384
|
+
export declare class NothingToRollBack extends GkmError {
|
|
385
385
|
readonly stage: string;
|
|
386
386
|
readonly app: string;
|
|
387
387
|
constructor(stage: string, app: string);
|
|
388
388
|
}
|
|
389
389
|
/** The stage was never deployed through Dokploy from this state. */
|
|
390
|
-
export declare class StageNeverDeployed extends
|
|
390
|
+
export declare class StageNeverDeployed extends GkmError {
|
|
391
391
|
readonly stage: string;
|
|
392
392
|
constructor(stage: string);
|
|
393
393
|
}
|
|
@@ -415,7 +415,7 @@ export declare class DeploySeedsFailed extends Error {
|
|
|
415
415
|
//#endregion
|
|
416
416
|
//#region src/target/sst/health.d.ts
|
|
417
417
|
/** Surfaces that never answered healthy. */
|
|
418
|
-
export declare class SurfacesUnhealthy extends
|
|
418
|
+
export declare class SurfacesUnhealthy extends GkmError {
|
|
419
419
|
readonly stage: string;
|
|
420
420
|
/** Each surface that failed, with the last thing it answered. */
|
|
421
421
|
readonly surfaces: readonly {
|
|
@@ -436,7 +436,7 @@ export declare class SurfacesUnhealthy extends Error {
|
|
|
436
436
|
//#endregion
|
|
437
437
|
//#region src/target/sst/outputs.d.ts
|
|
438
438
|
/** `.sst/outputs.json` is there, and is not JSON. */
|
|
439
|
-
export declare class SstOutputsUnreadable extends
|
|
439
|
+
export declare class SstOutputsUnreadable extends GkmError {
|
|
440
440
|
readonly path: string;
|
|
441
441
|
readonly reason: string;
|
|
442
442
|
constructor(path: string, reason: string);
|
|
@@ -444,7 +444,7 @@ export declare class SstOutputsUnreadable extends Error {
|
|
|
444
444
|
//#endregion
|
|
445
445
|
//#region src/target/sst/index.d.ts
|
|
446
446
|
/** The workspace has no `sst.config.ts` for `sst deploy` to run. */
|
|
447
|
-
export declare class SstConfigNotFound extends
|
|
447
|
+
export declare class SstConfigNotFound extends GkmError {
|
|
448
448
|
readonly cwd: string;
|
|
449
449
|
constructor(cwd: string);
|
|
450
450
|
}
|
|
@@ -585,19 +585,19 @@ export declare function deploy(input: DeployInput): DeployRun;
|
|
|
585
585
|
//#endregion
|
|
586
586
|
//#region src/deploy/orchestrate.d.ts
|
|
587
587
|
/** Apps were asked for by name that the workspace does not have. */
|
|
588
|
-
export declare class UnknownDeployApps extends
|
|
588
|
+
export declare class UnknownDeployApps extends GkmError {
|
|
589
589
|
readonly apps: readonly string[];
|
|
590
590
|
readonly available: readonly string[];
|
|
591
591
|
constructor(apps: readonly string[], available: readonly string[]);
|
|
592
592
|
}
|
|
593
593
|
/** Every app asked for deploys through some other target. */
|
|
594
|
-
export declare class NoDeployableApps extends
|
|
594
|
+
export declare class NoDeployableApps extends GkmError {
|
|
595
595
|
readonly stage: string;
|
|
596
596
|
readonly target: string;
|
|
597
597
|
constructor(stage: string, target: string);
|
|
598
598
|
}
|
|
599
599
|
/** A build-only run through a target with no build phase. */
|
|
600
|
-
export declare class TargetBuildsNothing extends
|
|
600
|
+
export declare class TargetBuildsNothing extends GkmError {
|
|
601
601
|
readonly target: string;
|
|
602
602
|
constructor(target: string);
|
|
603
603
|
}
|
|
@@ -616,7 +616,7 @@ export declare class RollbackFailed extends Error {
|
|
|
616
616
|
* A Dokploy project with the name this deploy would use exists, and nothing
|
|
617
617
|
* says this workspace created it.
|
|
618
618
|
*/
|
|
619
|
-
export declare class ProjectNotOwned extends
|
|
619
|
+
export declare class ProjectNotOwned extends GkmError {
|
|
620
620
|
readonly projectName: string;
|
|
621
621
|
readonly projectId: string;
|
|
622
622
|
readonly identity: string;
|
|
@@ -629,21 +629,21 @@ export declare class ProjectNotOwned extends Error {
|
|
|
629
629
|
//#endregion
|
|
630
630
|
//#region src/deploy/registry.d.ts
|
|
631
631
|
/** There is nowhere to push images to, so Dokploy has nothing to pull. */
|
|
632
|
-
export declare class RegistryNotConfigured extends
|
|
632
|
+
export declare class RegistryNotConfigured extends GkmError {
|
|
633
633
|
readonly stage: string;
|
|
634
634
|
constructor(stage: string);
|
|
635
635
|
}
|
|
636
636
|
/** `deploy.dokploy.registryId` names a registry Dokploy does not have. */
|
|
637
|
-
export declare class RegistryNotFound extends
|
|
637
|
+
export declare class RegistryNotFound extends GkmError {
|
|
638
638
|
readonly registryId: string;
|
|
639
639
|
constructor(registryId: string);
|
|
640
640
|
}
|
|
641
641
|
/** More than one Dokploy registry serves the configured registry. */
|
|
642
|
-
export declare class RegistryAmbiguous extends
|
|
642
|
+
export declare class RegistryAmbiguous extends GkmError {
|
|
643
643
|
readonly registry: string;
|
|
644
644
|
readonly registryIds: readonly string[];
|
|
645
645
|
constructor(registry: string, registryIds: readonly string[]);
|
|
646
646
|
}
|
|
647
647
|
//#endregion
|
|
648
|
-
export { type AppDeployResult, type AwsCredential, ConfigLoadFailed, ConfigObjectNotSerializable, ConstructDiscoveryFailed, ConstructsNotSerializable, type Credential, type CredentialKind, type CredentialKinds, type CredentialProvider, type CredentialRequest, type DeployEvent, type DeployEventError, type DeployEventType, type DeployIdentity, type DeployInput, type DeployLogger, type DeployPhase, type DeployResult, type DeployRun, DeployTargetNotYetSupported, type DevService, type InstallOptions, InvalidTargetOptions, type LocalSandboxOptions, MissingCredential, type MissingServiceKey, ProviderRemoved, type ResourceChange, type ResourceVia, type RollbackInput, type RolledBack, SECRETS_DIR_ENV, type Sandbox, SandboxCwdEscape, type SandboxExecOptions, type SandboxOutput, type SandboxResult, SecretNameInvalid, StateLocked, StateVersionConflict, type StoredCredentialsOptions, TargetEntryInvalid, TargetPackageInvalid, TargetPackageNotFound, TargetRuntimeMismatch, TargetRuntimeUndeclared, UnknownDeployTarget, chainCredentials, confineCwd, deployIdentity, storedCredentials };
|
|
648
|
+
export { type Actor, type AppDeployResult, type AwsCredential, ConfigLoadFailed, ConfigObjectNotSerializable, ConstructDiscoveryFailed, ConstructsNotSerializable, type Credential, type CredentialKind, type CredentialKinds, type CredentialProvider, type CredentialRequest, type DeployEvent, type DeployEventError, type DeployEventType, type DeployIdentity, type DeployInput, type DeployLogger, type DeployPhase, type DeployResult, type DeployRun, DeployTargetNotYetSupported, type DevService, type GithubActor, type InstallOptions, InvalidTargetOptions, type LocalActor, type LocalSandboxOptions, LocalStateInCi, MissingCredential, type MissingServiceKey, ProviderRemoved, type ResourceChange, type ResourceVia, type RollbackInput, type RolledBack, SECRETS_DIR_ENV, type Sandbox, SandboxCwdEscape, type SandboxExecOptions, type SandboxOutput, type SandboxResult, SecretNameInvalid, StateLocked, StateVersionConflict, type StoredCredentialsOptions, TargetEntryInvalid, TargetPackageInvalid, TargetPackageNotFound, TargetRuntimeMismatch, TargetRuntimeUndeclared, UnknownDeployTarget, chainCredentials, confineCwd, deployIdentity, storedCredentials };
|
|
649
649
|
//# sourceMappingURL=public.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.mts","names":[],"sources":["../../src/home.ts","../../src/providers/types.ts","../../src/providers/config.ts","../../src/deploy/devServices.ts","../../src/providers/notes.ts","../../src/providers/s3/errors.ts","../../src/run.ts","../../src/sandbox/env.ts","../../src/docker/templates.ts","../../src/sandbox/install.ts","../../src/sandbox/local.ts","../../src/sandbox/worker.ts","../../src/target/dokploy/dokploy-api.ts","../../src/target/dokploy/engine.ts","../../src/target/dokploy/health.ts","../../src/target/dokploy/migrations.ts","../../src/target/dokploy/rollback.ts","../../src/target/seeds.ts","../../src/target/sst/health.ts","../../src/target/sst/outputs.ts","../../src/target/sst/index.ts","../../src/deploy/deploy.ts","../../src/deploy/orchestrate.ts","../../src/deploy/ownership.ts","../../src/deploy/registry.ts"],"mappings":";;;;;;;;;;;;;;;;;;qBAaa;;wBAGG,QAAQ,MAAK,OAAO;;;;cCYvB;KAED,uBAAuB;;;;
|
|
1
|
+
{"version":3,"file":"public.d.mts","names":[],"sources":["../../src/home.ts","../../src/providers/types.ts","../../src/providers/config.ts","../../src/deploy/devServices.ts","../../src/providers/notes.ts","../../src/providers/s3/errors.ts","../../src/run.ts","../../src/sandbox/env.ts","../../src/docker/templates.ts","../../src/sandbox/install.ts","../../src/sandbox/local.ts","../../src/sandbox/worker.ts","../../src/target/dokploy/dokploy-api.ts","../../src/target/dokploy/engine.ts","../../src/target/dokploy/health.ts","../../src/target/dokploy/migrations.ts","../../src/target/dokploy/rollback.ts","../../src/target/seeds.ts","../../src/target/sst/health.ts","../../src/target/sst/outputs.ts","../../src/target/sst/index.ts","../../src/deploy/deploy.ts","../../src/deploy/orchestrate.ts","../../src/deploy/ownership.ts","../../src/deploy/registry.ts"],"mappings":";;;;;;;;;;;;;;;;;;qBAaa;;wBAGG,QAAQ,MAAK,OAAO;;;;cCYvB;KAED,uBAAuB;;;;qBC8BtB,6BAA6B;WAE/B,MAAM;WACN;WACA;EAHV,YACU,MAAM,cACN,eACA;;;;;;;;;qBCrBE;KAED,qBAAqB;;qBAcpB,oCAAoC;WAC3B;EAArB,YAAqB;;;;;;;qBAeT,qCAAqC;WAC5B;EAArB,YAAqB;;;UAiCL;EAChB;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,UAAU;;EAEV;;EAEA;;;;;;qBAOY,sCAAsC;WAExC;WACA,kBAAkB;EAF5B,YACU,eACA,k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;EAFV,YACU,eACA;;;qBAUE,4BAA4B;WACnB;EAArB,YAAqB;;;qBAST,uBAAuB;WAEzB;;WAEA;EAHV,YACU,gBAEA;;EAAA,kBACT;;;;;;;;qBCvGW,wBAAwB;WAE1B;WACA;WACA;;WAEA;EALV,YACU,qBACA,mBACA,kBAEA;;EAAA;;;;;qBChBE,8BAA8B;WACrB;EAArB,YAAqB;;;qBAUT,yBAAyB;WAChB;EAArB,YAAqB;;;qBAUT,0BAA0B;WAE5B;WACA;EAFV,YACU,kBACA"}
|
package/dist/deploy/public.mjs
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { t as GkmError } from "../errors-D8Gwp5kU.mjs";
|
|
2
|
+
import { a as CommandTimedOut, b as GKM_HOME_ENV, i as CommandFailed, n as chainCredentials, r as storedCredentials, t as MissingCredential, x as gkmHome } from "../credentials-C4KII3PD.mjs";
|
|
3
|
+
import { n as ConstructsNotSerializable, o as SandboxWorkerFailed, t as ConstructDiscoveryFailed } from "../discover-qjFapetL.mjs";
|
|
4
|
+
import { n as SandboxCwdEscape, o as confineCwd, r as SecretNameInvalid, t as SECRETS_DIR_ENV } from "../sandbox-CbVB7uOD.mjs";
|
|
5
|
+
import { V as UnknownStageProvider, Z as ProvisionedBucketUnreachable } from "../workspace-Bzw7Zs82.mjs";
|
|
6
|
+
import { a as UnknownDeployTarget, i as DeployTargetNotYetSupported } from "../define-6poNqm5O.mjs";
|
|
6
7
|
import { ConfigLoadFailed, ConfigObjectNotSerializable } from "../config.mjs";
|
|
7
|
-
import { G as
|
|
8
|
-
import { i as TargetRuntimeMismatch, l as TargetPackageNotFound, n as TargetEntryInvalid, r as TargetPackageInvalid, s as TargetRuntimeUndeclared, t as InvalidTargetOptions } from "../resolve-
|
|
9
|
-
import { n as SANDBOX_ENV_ALLOWLIST, r as allowlistedEnv, t as LocalSandbox } from "../local-
|
|
10
|
-
import { a as DeploymentTimedOut, i as DeploymentFailed } from "../sniffer-
|
|
11
|
-
import { a as UnknownDeployApps, i as TargetBuildsNothing, n as NoDeployableApps, r as RollbackFailed, t as deploy } from "../deploy-
|
|
12
|
-
import { _ as RegistryNotConfigured, g as RegistryAmbiguous, h as HealthCheckTimedOut, m as DeployMigrationsFailed, n as FrontendDeployFailed, r as MissingEnvVars, t as BackendDeployFailed, v as RegistryNotFound, y as ProjectNotOwned } from "../engine-
|
|
13
|
-
import { i as rollbackStage, n as RollbackNeedsApp, r as StageNeverDeployed, t as NothingToRollBack } from "../rollback-
|
|
14
|
-
import { t as ProviderRemoved } from "../provider-
|
|
15
|
-
import { i as SurfacesUnhealthy, r as SstOutputsUnreadable, t as SstConfigNotFound } from "../sst-
|
|
8
|
+
import { G as LocalStateInCi, X as StateVersionConflict, ct as DevServicesNeedServerTarget, d as StageProviderDisabled, dn as detectPackageManager, lt as ExternalServicesNotConfigured, nr as deployIdentity, ot as AllowDevServicesTakesNoValue, q as StateLocked, st as DEV_SERVICES, t as DeploySeedsFailed } from "../seeds-BSL55F6q.mjs";
|
|
9
|
+
import { i as TargetRuntimeMismatch, l as TargetPackageNotFound, n as TargetEntryInvalid, r as TargetPackageInvalid, s as TargetRuntimeUndeclared, t as InvalidTargetOptions } from "../resolve-Ccjlpnd9.mjs";
|
|
10
|
+
import { n as SANDBOX_ENV_ALLOWLIST, r as allowlistedEnv, t as LocalSandbox } from "../local-Otp74ak0.mjs";
|
|
11
|
+
import { a as DeploymentTimedOut, i as DeploymentFailed } from "../sniffer-BTtGAtm3.mjs";
|
|
12
|
+
import { a as UnknownDeployApps, i as TargetBuildsNothing, n as NoDeployableApps, r as RollbackFailed, t as deploy } from "../deploy-DYIyIUYd.mjs";
|
|
13
|
+
import { _ as RegistryNotConfigured, g as RegistryAmbiguous, h as HealthCheckTimedOut, m as DeployMigrationsFailed, n as FrontendDeployFailed, r as MissingEnvVars, t as BackendDeployFailed, v as RegistryNotFound, y as ProjectNotOwned } from "../engine-DjEcovm-.mjs";
|
|
14
|
+
import { i as rollbackStage, n as RollbackNeedsApp, r as StageNeverDeployed, t as NothingToRollBack } from "../rollback-Drbg0OeR.mjs";
|
|
15
|
+
import { t as ProviderRemoved } from "../provider-CEOKk8NS.mjs";
|
|
16
|
+
import { i as SurfacesUnhealthy, r as SstOutputsUnreadable, t as SstConfigNotFound } from "../sst-BaRXp2Dd.mjs";
|
|
16
17
|
import { join, resolve } from "node:path";
|
|
17
18
|
import { existsSync } from "node:fs";
|
|
18
19
|
//#region src/sandbox/install.ts
|
|
@@ -30,7 +31,7 @@ import { existsSync } from "node:fs";
|
|
|
30
31
|
/** Long enough for a cold install of a large monorepo. */
|
|
31
32
|
const INSTALL_TIMEOUT_MS = 9e5;
|
|
32
33
|
/** A name in `allowScripts` that is not a package name. */
|
|
33
|
-
var InstallAllowlistNameInvalid = class extends
|
|
34
|
+
var InstallAllowlistNameInvalid = class extends GkmError {
|
|
34
35
|
packageName;
|
|
35
36
|
constructor(packageName) {
|
|
36
37
|
super(`'${packageName}' is not a package name, so its scripts cannot be allowed. Name the package as it appears in package.json — 'esbuild', '@prisma/client'.`);
|
|
@@ -39,7 +40,7 @@ var InstallAllowlistNameInvalid = class extends Error {
|
|
|
39
40
|
}
|
|
40
41
|
};
|
|
41
42
|
/** The package manager has no way to run only some packages' scripts. */
|
|
42
|
-
var InstallScriptsAllowlistUnsupported = class extends
|
|
43
|
+
var InstallScriptsAllowlistUnsupported = class extends GkmError {
|
|
43
44
|
packageManager;
|
|
44
45
|
allowScripts;
|
|
45
46
|
constructor(packageManager, allowScripts) {
|
|
@@ -137,6 +138,6 @@ async function installDependencies(sandbox, options = {}) {
|
|
|
137
138
|
return results;
|
|
138
139
|
}
|
|
139
140
|
//#endregion
|
|
140
|
-
export { AllowDevServicesTakesNoValue, BackendDeployFailed, CommandFailed, CommandTimedOut, ConfigLoadFailed, ConfigObjectNotSerializable, ConstructDiscoveryFailed, ConstructsNotSerializable, DEV_SERVICES, DeployMigrationsFailed, DeploySeedsFailed, DeployTargetNotYetSupported, DeploymentFailed, DeploymentTimedOut, DevServicesNeedServerTarget, ExternalServicesNotConfigured, FrontendDeployFailed, GKM_HOME_ENV, HealthCheckTimedOut, INSTALL_TIMEOUT_MS, InstallAllowlistNameInvalid, InstallScriptsAllowlistUnsupported, InvalidTargetOptions, LocalSandbox, MissingCredential, MissingEnvVars, NoDeployableApps, NothingToRollBack, ProjectNotOwned, ProviderRemoved, ProvisionedBucketUnreachable, RegistryAmbiguous, RegistryNotConfigured, RegistryNotFound, RollbackFailed, RollbackNeedsApp, SANDBOX_ENV_ALLOWLIST, SECRETS_DIR_ENV, SandboxCwdEscape, SandboxWorkerFailed, SecretNameInvalid, SstConfigNotFound, SstOutputsUnreadable, StageNeverDeployed, StageProviderDisabled, StateLocked, StateVersionConflict, SurfacesUnhealthy, TargetBuildsNothing, TargetEntryInvalid, TargetPackageInvalid, TargetPackageNotFound, TargetRuntimeMismatch, TargetRuntimeUndeclared, UnknownDeployApps, UnknownDeployTarget, UnknownStageProvider, allowlistedEnv, chainCredentials, confineCwd, deploy, deployIdentity, gkmHome, installDependencies, rollbackStage, storedCredentials };
|
|
141
|
+
export { AllowDevServicesTakesNoValue, BackendDeployFailed, CommandFailed, CommandTimedOut, ConfigLoadFailed, ConfigObjectNotSerializable, ConstructDiscoveryFailed, ConstructsNotSerializable, DEV_SERVICES, DeployMigrationsFailed, DeploySeedsFailed, DeployTargetNotYetSupported, DeploymentFailed, DeploymentTimedOut, DevServicesNeedServerTarget, ExternalServicesNotConfigured, FrontendDeployFailed, GKM_HOME_ENV, HealthCheckTimedOut, INSTALL_TIMEOUT_MS, InstallAllowlistNameInvalid, InstallScriptsAllowlistUnsupported, InvalidTargetOptions, LocalSandbox, LocalStateInCi, MissingCredential, MissingEnvVars, NoDeployableApps, NothingToRollBack, ProjectNotOwned, ProviderRemoved, ProvisionedBucketUnreachable, RegistryAmbiguous, RegistryNotConfigured, RegistryNotFound, RollbackFailed, RollbackNeedsApp, SANDBOX_ENV_ALLOWLIST, SECRETS_DIR_ENV, SandboxCwdEscape, SandboxWorkerFailed, SecretNameInvalid, SstConfigNotFound, SstOutputsUnreadable, StageNeverDeployed, StageProviderDisabled, StateLocked, StateVersionConflict, SurfacesUnhealthy, TargetBuildsNothing, TargetEntryInvalid, TargetPackageInvalid, TargetPackageNotFound, TargetRuntimeMismatch, TargetRuntimeUndeclared, UnknownDeployApps, UnknownDeployTarget, UnknownStageProvider, allowlistedEnv, chainCredentials, confineCwd, deploy, deployIdentity, gkmHome, installDependencies, rollbackStage, storedCredentials };
|
|
141
142
|
|
|
142
143
|
//# sourceMappingURL=public.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.mjs","names":[],"sources":["../../src/sandbox/install.ts"],"sourcesContent":["/**\n * Installing a project's dependencies in a sandbox, with or without their\n * lifecycle scripts.\n *\n * `postinstall` is the oldest way into a build machine: any package in the\n * lockfile — a dependency of a dependency — runs whatever it likes the moment\n * it is installed. For a build the host trusts that is how native modules get\n * built. For one it does not, the scripts are skipped, and the few packages\n * that genuinely need theirs (esbuild's binary, a database driver) are named\n * and rebuilt — with nothing but the sandbox's environment either way.\n */\n\nimport { existsSync } from 'node:fs';\nimport { join, resolve } from 'node:path';\nimport { detectPackageManager, type PackageManager } from '../docker/templates';\nimport { CommandFailed } from '../run';\nimport type { Sandbox, SandboxOutput, SandboxResult } from './sandbox';\n\n/** Long enough for a cold install of a large monorepo. */\nexport const INSTALL_TIMEOUT_MS = 15 * 60_000;\n\nexport interface InstallOptions {\n\t/** The directory to install in. Defaults to the sandbox's root. */\n\tcwd?: string;\n\t/** Defaults to the one the lockfile above `cwd` names. */\n\tpackageManager?: PackageManager;\n\t/**\n\t * Skip every lifecycle script — dependencies' and the project's own —\n\t * except those of {@link allowScripts}. Defaults to false: scripts run as\n\t * a plain install runs them, under the package manager's own policy —\n\t * npm 12 and pnpm 10 skip dependencies' scripts nobody approved.\n\t */\n\tignoreScripts?: boolean;\n\t/**\n\t * With `ignoreScripts`, the packages whose scripts still run: rebuilt by\n\t * name once the install is done.\n\t */\n\tallowScripts?: readonly string[];\n\t/** Variables the install needs beyond the sandbox's own. */\n\tenv?: Readonly<Record<string, string>>;\n\t/** Defaults to {@link INSTALL_TIMEOUT_MS}, for each command. */\n\ttimeoutMs?: number;\n\t/** Where the package manager's output goes. Defaults to `inherit`. */\n\toutput?: SandboxOutput;\n\tsignal?: AbortSignal;\n}\n\n/** A name in `allowScripts` that is not a package name. */\nexport class InstallAllowlistNameInvalid extends Error {\n\tconstructor(readonly packageName: string) {\n\t\tsuper(\n\t\t\t`'${packageName}' is not a package name, so its scripts cannot be ` +\n\t\t\t\t'allowed. Name the package as it appears in package.json — ' +\n\t\t\t\t\"'esbuild', '@prisma/client'.\",\n\t\t);\n\t\tthis.name = 'InstallAllowlistNameInvalid';\n\t}\n}\n\n/** The package manager has no way to run only some packages' scripts. */\nexport class InstallScriptsAllowlistUnsupported extends Error {\n\tconstructor(\n\t\treadonly packageManager: string,\n\t\treadonly allowScripts: readonly string[],\n\t) {\n\t\tsuper(\n\t\t\t`${packageManager} cannot rebuild named packages after an install ` +\n\t\t\t\t`without scripts, so ${allowScripts.join(', ')} cannot be allowed ` +\n\t\t\t\t'theirs. Use pnpm, npm or Yarn 2+, or install with every script ' +\n\t\t\t\t'skipped.',\n\t\t);\n\t\tthis.name = 'InstallScriptsAllowlistUnsupported';\n\t}\n}\n\n/**\n * npm's package-name grammar, less a leading `-`: each name is an argument to\n * `rebuild`, and must never be read as a flag.\n */\nconst PACKAGE_NAME = /^(?:@[a-z0-9~][a-z0-9._~-]*\\/)?[a-z0-9~][a-z0-9._~-]*$/;\n\n/**\n * The commands an install runs, in order. Exported for the tests, which\n * check each package manager's flags without installing with all four.\n */\nexport function installCommands(\n\tpackageManager: PackageManager,\n\tcwd: string,\n\toptions: Pick<InstallOptions, 'ignoreScripts' | 'allowScripts'> = {},\n): [string, string[]][] {\n\tconst ignore = options.ignoreScripts ?? false;\n\tconst allow = ignore ? [...(options.allowScripts ?? [])] : [];\n\tfor (const name of allow) {\n\t\tif (!PACKAGE_NAME.test(name)) throw new InstallAllowlistNameInvalid(name);\n\t}\n\n\tswitch (packageManager) {\n\t\tcase 'pnpm':\n\t\t\treturn [\n\t\t\t\t[\n\t\t\t\t\t'pnpm',\n\t\t\t\t\t[\n\t\t\t\t\t\t'install',\n\t\t\t\t\t\t'--frozen-lockfile',\n\t\t\t\t\t\t...(ignore ? ['--ignore-scripts'] : []),\n\t\t\t\t\t],\n\t\t\t\t],\n\t\t\t\t// pnpm 10 builds no dependency it was not told to, even by name;\n\t\t\t\t// this command names exactly the ones allowed, so it may build\n\t\t\t\t// what it names.\n\t\t\t\t...(allow.length > 0\n\t\t\t\t\t? [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t'pnpm',\n\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t'rebuild',\n\t\t\t\t\t\t\t\t\t'--config.dangerouslyAllowAllBuilds=true',\n\t\t\t\t\t\t\t\t\t...allow,\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t] as [string, string[]],\n\t\t\t\t\t\t]\n\t\t\t\t\t: []),\n\t\t\t];\n\t\tcase 'npm': {\n\t\t\tconst locked = existsSync(join(cwd, 'package-lock.json'));\n\t\t\treturn [\n\t\t\t\t[\n\t\t\t\t\t'npm',\n\t\t\t\t\t[locked ? 'ci' : 'install', ...(ignore ? ['--ignore-scripts'] : [])],\n\t\t\t\t],\n\t\t\t\t// npm 12 runs no dependency's install script its `allowScripts`\n\t\t\t\t// policy does not approve, rebuilt by name or not, and refuses\n\t\t\t\t// `--allow-scripts` on a project's command line. This command\n\t\t\t\t// names exactly the packages allowed, so it may run what it names.\n\t\t\t\t...(allow.length > 0\n\t\t\t\t\t? [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t'npm',\n\t\t\t\t\t\t\t\t['rebuild', '--dangerously-allow-all-scripts', ...allow],\n\t\t\t\t\t\t\t] as [string, string[]],\n\t\t\t\t\t\t]\n\t\t\t\t\t: []),\n\t\t\t];\n\t\t}\n\t\tcase 'yarn': {\n\t\t\t// Yarn 2+ keeps a `.yarnrc.yml`; it skips builds by mode and can\n\t\t\t// rebuild by name. Yarn 1 can only skip them all.\n\t\t\tconst berry = existsSync(join(cwd, '.yarnrc.yml'));\n\t\t\tif (berry) {\n\t\t\t\treturn [\n\t\t\t\t\t[\n\t\t\t\t\t\t'yarn',\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\t'install',\n\t\t\t\t\t\t\t'--immutable',\n\t\t\t\t\t\t\t...(ignore ? ['--mode=skip-build'] : []),\n\t\t\t\t\t\t],\n\t\t\t\t\t],\n\t\t\t\t\t...(allow.length > 0\n\t\t\t\t\t\t? [['yarn', ['rebuild', ...allow]] as [string, string[]]]\n\t\t\t\t\t\t: []),\n\t\t\t\t];\n\t\t\t}\n\t\t\tif (allow.length > 0) {\n\t\t\t\tthrow new InstallScriptsAllowlistUnsupported('Yarn 1', allow);\n\t\t\t}\n\t\t\treturn [\n\t\t\t\t[\n\t\t\t\t\t'yarn',\n\t\t\t\t\t[\n\t\t\t\t\t\t'install',\n\t\t\t\t\t\t'--frozen-lockfile',\n\t\t\t\t\t\t...(ignore ? ['--ignore-scripts'] : []),\n\t\t\t\t\t],\n\t\t\t\t],\n\t\t\t];\n\t\t}\n\t\tcase 'bun':\n\t\t\tif (allow.length > 0) {\n\t\t\t\tthrow new InstallScriptsAllowlistUnsupported('bun', allow);\n\t\t\t}\n\t\t\treturn [\n\t\t\t\t[\n\t\t\t\t\t'bun',\n\t\t\t\t\t[\n\t\t\t\t\t\t'install',\n\t\t\t\t\t\t'--frozen-lockfile',\n\t\t\t\t\t\t...(ignore ? ['--ignore-scripts'] : []),\n\t\t\t\t\t],\n\t\t\t\t],\n\t\t\t];\n\t}\n}\n\n/**\n * Install the project's dependencies in `sandbox`.\n *\n * ```ts\n * // A checkout nobody has reviewed: no scripts but esbuild's.\n * await installDependencies(sandbox, {\n * ignoreScripts: true,\n * allowScripts: ['esbuild'],\n * });\n * ```\n *\n * Resolves with each command's result, in order — with its output when\n * `output` is `capture`.\n *\n * @throws {CommandFailed} when the package manager exits unsuccessfully.\n * @throws {InstallScriptsAllowlistUnsupported} for an allowlist the package\n * manager cannot honour, before anything is installed.\n */\nexport async function installDependencies(\n\tsandbox: Sandbox,\n\toptions: InstallOptions = {},\n): Promise<SandboxResult[]> {\n\tconst cwd = options.cwd ?? sandbox.root;\n\tconst results: SandboxResult[] = [];\n\tconst packageManager =\n\t\toptions.packageManager ?? detectPackageManager(resolve(sandbox.root, cwd));\n\n\tfor (const [command, args] of installCommands(\n\t\tpackageManager,\n\t\tresolve(sandbox.root, cwd),\n\t\toptions,\n\t)) {\n\t\tconst result = await sandbox.exec(command, args, {\n\t\t\tcwd,\n\t\t\tenv: { ...sandbox.env, ...options.env },\n\t\t\ttimeoutMs: options.timeoutMs ?? INSTALL_TIMEOUT_MS,\n\t\t\toutput: options.output ?? 'inherit',\n\t\t\t...(options.signal ? { signal: options.signal } : {}),\n\t\t});\n\t\tresults.push(result);\n\t\tif (result.exitCode !== 0) {\n\t\t\tthrow new CommandFailed(\n\t\t\t\tcommand,\n\t\t\t\targs,\n\t\t\t\tresult.exitCode,\n\t\t\t\tresult.signal as NodeJS.Signals | null,\n\t\t\t);\n\t\t}\n\t}\n\treturn results;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,MAAa,qBAAqB;;AA6BlC,IAAa,8BAAb,cAAiD,MAAM;CACjC;CAArB,YAAY,aAA8B;EACzC,MACC,IAAI,YAAY,yIAGjB;EALoB,KAAA,cAAA;EAMpB,KAAK,OAAO;CACb;AACD;;AAGA,IAAa,qCAAb,cAAwD,MAAM;CAEnD;CACA;CAFV,YACC,gBACA,cACC;EACD,MACC,GAAG,eAAe,sEACM,aAAa,KAAK,IAAI,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EAED,KAAK;GACJ,IAAI,MAAM,SAAS,GAClB,MAAM,IAAI,mCAAmC,OAAO,KAAK;GAE1D,OAAO,CACN,CACC,OACA;IACC;IACA;IACA,GAAI,SAAS,CAAC,kBAAkB,IAAI,CAAC;GACtC,CACD,CACD;CACF;AACD;;;;;;;;;;;;;;;;;;;AAoBA,eAAsB,oBACrB,SACA,UAA0B,CAAC,GACA;CAC3B,MAAM,MAAM,QAAQ,OAAO,QAAQ;CACnC,MAAM,UAA2B,CAAC;CAClC,MAAM,iBACL,QAAQ,kBAAkB,qBAAqB,QAAQ,QAAQ,MAAM,GAAG,CAAC;CAE1E,KAAK,MAAM,CAAC,SAAS,SAAS,gBAC7B,gBACA,QAAQ,QAAQ,MAAM,GAAG,GACzB,OACD,GAAG;EACF,MAAM,SAAS,MAAM,QAAQ,KAAK,SAAS,MAAM;GAChD;GACA,KAAK;IAAE,GAAG,QAAQ;IAAK,GAAG,QAAQ;GAAI;GACtC,WAAW,QAAQ,aAAA;GACnB,QAAQ,QAAQ,UAAU;GAC1B,GAAI,QAAQ,SAAS,EAAE,QAAQ,QAAQ,OAAO,IAAI,CAAC;EACpD,CAAC;EACD,QAAQ,KAAK,MAAM;EACnB,IAAI,OAAO,aAAa,GACvB,MAAM,IAAI,cACT,SACA,MACA,OAAO,UACP,OAAO,MACR;CAEF;CACA,OAAO;AACR"}
|
|
1
|
+
{"version":3,"file":"public.mjs","names":[],"sources":["../../src/sandbox/install.ts"],"sourcesContent":["/**\n * Installing a project's dependencies in a sandbox, with or without their\n * lifecycle scripts.\n *\n * `postinstall` is the oldest way into a build machine: any package in the\n * lockfile — a dependency of a dependency — runs whatever it likes the moment\n * it is installed. For a build the host trusts that is how native modules get\n * built. For one it does not, the scripts are skipped, and the few packages\n * that genuinely need theirs (esbuild's binary, a database driver) are named\n * and rebuilt — with nothing but the sandbox's environment either way.\n */\n\nimport { existsSync } from 'node:fs';\nimport { join, resolve } from 'node:path';\nimport { detectPackageManager, type PackageManager } from '../docker/templates';\nimport { GkmError } from '../errors';\nimport { CommandFailed } from '../run';\nimport type { Sandbox, SandboxOutput, SandboxResult } from './sandbox';\n\n/** Long enough for a cold install of a large monorepo. */\nexport const INSTALL_TIMEOUT_MS = 15 * 60_000;\n\nexport interface InstallOptions {\n\t/** The directory to install in. Defaults to the sandbox's root. */\n\tcwd?: string;\n\t/** Defaults to the one the lockfile above `cwd` names. */\n\tpackageManager?: PackageManager;\n\t/**\n\t * Skip every lifecycle script — dependencies' and the project's own —\n\t * except those of {@link allowScripts}. Defaults to false: scripts run as\n\t * a plain install runs them, under the package manager's own policy —\n\t * npm 12 and pnpm 10 skip dependencies' scripts nobody approved.\n\t */\n\tignoreScripts?: boolean;\n\t/**\n\t * With `ignoreScripts`, the packages whose scripts still run: rebuilt by\n\t * name once the install is done.\n\t */\n\tallowScripts?: readonly string[];\n\t/** Variables the install needs beyond the sandbox's own. */\n\tenv?: Readonly<Record<string, string>>;\n\t/** Defaults to {@link INSTALL_TIMEOUT_MS}, for each command. */\n\ttimeoutMs?: number;\n\t/** Where the package manager's output goes. Defaults to `inherit`. */\n\toutput?: SandboxOutput;\n\tsignal?: AbortSignal;\n}\n\n/** A name in `allowScripts` that is not a package name. */\nexport class InstallAllowlistNameInvalid extends GkmError {\n\tconstructor(readonly packageName: string) {\n\t\tsuper(\n\t\t\t`'${packageName}' is not a package name, so its scripts cannot be ` +\n\t\t\t\t'allowed. Name the package as it appears in package.json — ' +\n\t\t\t\t\"'esbuild', '@prisma/client'.\",\n\t\t);\n\t\tthis.name = 'InstallAllowlistNameInvalid';\n\t}\n}\n\n/** The package manager has no way to run only some packages' scripts. */\nexport class InstallScriptsAllowlistUnsupported extends GkmError {\n\tconstructor(\n\t\treadonly packageManager: string,\n\t\treadonly allowScripts: readonly string[],\n\t) {\n\t\tsuper(\n\t\t\t`${packageManager} cannot rebuild named packages after an install ` +\n\t\t\t\t`without scripts, so ${allowScripts.join(', ')} cannot be allowed ` +\n\t\t\t\t'theirs. Use pnpm, npm or Yarn 2+, or install with every script ' +\n\t\t\t\t'skipped.',\n\t\t);\n\t\tthis.name = 'InstallScriptsAllowlistUnsupported';\n\t}\n}\n\n/**\n * npm's package-name grammar, less a leading `-`: each name is an argument to\n * `rebuild`, and must never be read as a flag.\n */\nconst PACKAGE_NAME = /^(?:@[a-z0-9~][a-z0-9._~-]*\\/)?[a-z0-9~][a-z0-9._~-]*$/;\n\n/**\n * The commands an install runs, in order. Exported for the tests, which\n * check each package manager's flags without installing with all four.\n */\nexport function installCommands(\n\tpackageManager: PackageManager,\n\tcwd: string,\n\toptions: Pick<InstallOptions, 'ignoreScripts' | 'allowScripts'> = {},\n): [string, string[]][] {\n\tconst ignore = options.ignoreScripts ?? false;\n\tconst allow = ignore ? [...(options.allowScripts ?? [])] : [];\n\tfor (const name of allow) {\n\t\tif (!PACKAGE_NAME.test(name)) throw new InstallAllowlistNameInvalid(name);\n\t}\n\n\tswitch (packageManager) {\n\t\tcase 'pnpm':\n\t\t\treturn [\n\t\t\t\t[\n\t\t\t\t\t'pnpm',\n\t\t\t\t\t[\n\t\t\t\t\t\t'install',\n\t\t\t\t\t\t'--frozen-lockfile',\n\t\t\t\t\t\t...(ignore ? ['--ignore-scripts'] : []),\n\t\t\t\t\t],\n\t\t\t\t],\n\t\t\t\t// pnpm 10 builds no dependency it was not told to, even by name;\n\t\t\t\t// this command names exactly the ones allowed, so it may build\n\t\t\t\t// what it names.\n\t\t\t\t...(allow.length > 0\n\t\t\t\t\t? [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t'pnpm',\n\t\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t\t'rebuild',\n\t\t\t\t\t\t\t\t\t'--config.dangerouslyAllowAllBuilds=true',\n\t\t\t\t\t\t\t\t\t...allow,\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t] as [string, string[]],\n\t\t\t\t\t\t]\n\t\t\t\t\t: []),\n\t\t\t];\n\t\tcase 'npm': {\n\t\t\tconst locked = existsSync(join(cwd, 'package-lock.json'));\n\t\t\treturn [\n\t\t\t\t[\n\t\t\t\t\t'npm',\n\t\t\t\t\t[locked ? 'ci' : 'install', ...(ignore ? ['--ignore-scripts'] : [])],\n\t\t\t\t],\n\t\t\t\t// npm 12 runs no dependency's install script its `allowScripts`\n\t\t\t\t// policy does not approve, rebuilt by name or not, and refuses\n\t\t\t\t// `--allow-scripts` on a project's command line. This command\n\t\t\t\t// names exactly the packages allowed, so it may run what it names.\n\t\t\t\t...(allow.length > 0\n\t\t\t\t\t? [\n\t\t\t\t\t\t\t[\n\t\t\t\t\t\t\t\t'npm',\n\t\t\t\t\t\t\t\t['rebuild', '--dangerously-allow-all-scripts', ...allow],\n\t\t\t\t\t\t\t] as [string, string[]],\n\t\t\t\t\t\t]\n\t\t\t\t\t: []),\n\t\t\t];\n\t\t}\n\t\tcase 'yarn': {\n\t\t\t// Yarn 2+ keeps a `.yarnrc.yml`; it skips builds by mode and can\n\t\t\t// rebuild by name. Yarn 1 can only skip them all.\n\t\t\tconst berry = existsSync(join(cwd, '.yarnrc.yml'));\n\t\t\tif (berry) {\n\t\t\t\treturn [\n\t\t\t\t\t[\n\t\t\t\t\t\t'yarn',\n\t\t\t\t\t\t[\n\t\t\t\t\t\t\t'install',\n\t\t\t\t\t\t\t'--immutable',\n\t\t\t\t\t\t\t...(ignore ? ['--mode=skip-build'] : []),\n\t\t\t\t\t\t],\n\t\t\t\t\t],\n\t\t\t\t\t...(allow.length > 0\n\t\t\t\t\t\t? [['yarn', ['rebuild', ...allow]] as [string, string[]]]\n\t\t\t\t\t\t: []),\n\t\t\t\t];\n\t\t\t}\n\t\t\tif (allow.length > 0) {\n\t\t\t\tthrow new InstallScriptsAllowlistUnsupported('Yarn 1', allow);\n\t\t\t}\n\t\t\treturn [\n\t\t\t\t[\n\t\t\t\t\t'yarn',\n\t\t\t\t\t[\n\t\t\t\t\t\t'install',\n\t\t\t\t\t\t'--frozen-lockfile',\n\t\t\t\t\t\t...(ignore ? ['--ignore-scripts'] : []),\n\t\t\t\t\t],\n\t\t\t\t],\n\t\t\t];\n\t\t}\n\t\tcase 'bun':\n\t\t\tif (allow.length > 0) {\n\t\t\t\tthrow new InstallScriptsAllowlistUnsupported('bun', allow);\n\t\t\t}\n\t\t\treturn [\n\t\t\t\t[\n\t\t\t\t\t'bun',\n\t\t\t\t\t[\n\t\t\t\t\t\t'install',\n\t\t\t\t\t\t'--frozen-lockfile',\n\t\t\t\t\t\t...(ignore ? ['--ignore-scripts'] : []),\n\t\t\t\t\t],\n\t\t\t\t],\n\t\t\t];\n\t}\n}\n\n/**\n * Install the project's dependencies in `sandbox`.\n *\n * ```ts\n * // A checkout nobody has reviewed: no scripts but esbuild's.\n * await installDependencies(sandbox, {\n * ignoreScripts: true,\n * allowScripts: ['esbuild'],\n * });\n * ```\n *\n * Resolves with each command's result, in order — with its output when\n * `output` is `capture`.\n *\n * @throws {CommandFailed} when the package manager exits unsuccessfully.\n * @throws {InstallScriptsAllowlistUnsupported} for an allowlist the package\n * manager cannot honour, before anything is installed.\n */\nexport async function installDependencies(\n\tsandbox: Sandbox,\n\toptions: InstallOptions = {},\n): Promise<SandboxResult[]> {\n\tconst cwd = options.cwd ?? sandbox.root;\n\tconst results: SandboxResult[] = [];\n\tconst packageManager =\n\t\toptions.packageManager ?? detectPackageManager(resolve(sandbox.root, cwd));\n\n\tfor (const [command, args] of installCommands(\n\t\tpackageManager,\n\t\tresolve(sandbox.root, cwd),\n\t\toptions,\n\t)) {\n\t\tconst result = await sandbox.exec(command, args, {\n\t\t\tcwd,\n\t\t\tenv: { ...sandbox.env, ...options.env },\n\t\t\ttimeoutMs: options.timeoutMs ?? INSTALL_TIMEOUT_MS,\n\t\t\toutput: options.output ?? 'inherit',\n\t\t\t...(options.signal ? { signal: options.signal } : {}),\n\t\t});\n\t\tresults.push(result);\n\t\tif (result.exitCode !== 0) {\n\t\t\tthrow new CommandFailed(\n\t\t\t\tcommand,\n\t\t\t\targs,\n\t\t\t\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