@geekmidas/cli 10.0.0-alpha.171 → 10.0.0-alpha.173

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.
Files changed (194) hide show
  1. package/dist/{GoDaddyProvider-Cs32wo6I.cjs → GoDaddyProvider-CogJfGVY.cjs} +7 -7
  2. package/dist/{GoDaddyProvider-Cs32wo6I.cjs.map → GoDaddyProvider-CogJfGVY.cjs.map} +1 -1
  3. package/dist/{GoDaddyProvider-D7CTqN0f.mjs → GoDaddyProvider-uJkNjoF6.mjs} +2 -2
  4. package/dist/{GoDaddyProvider-D7CTqN0f.mjs.map → GoDaddyProvider-uJkNjoF6.mjs.map} +1 -1
  5. package/dist/{HostingerProvider-B_3Qs9mT.mjs → HostingerProvider-DJFdGv-x.mjs} +2 -2
  6. package/dist/{HostingerProvider-B_3Qs9mT.mjs.map → HostingerProvider-DJFdGv-x.mjs.map} +1 -1
  7. package/dist/{HostingerProvider-D0515Stf.cjs → HostingerProvider-DQEv1dim.cjs} +4 -4
  8. package/dist/{HostingerProvider-D0515Stf.cjs.map → HostingerProvider-DQEv1dim.cjs.map} +1 -1
  9. package/dist/{LegacyStateStore-CUjKKENQ.mjs → LegacyStateStore-CEAYSDxQ.mjs} +2 -2
  10. package/dist/{LegacyStateStore-CUjKKENQ.mjs.map → LegacyStateStore-CEAYSDxQ.mjs.map} +1 -1
  11. package/dist/{LegacyStateStore-Bv_2L86H.cjs → LegacyStateStore-Du-QYvvW.cjs} +2 -2
  12. package/dist/{LegacyStateStore-Bv_2L86H.cjs.map → LegacyStateStore-Du-QYvvW.cjs.map} +1 -1
  13. package/dist/{LocalStateStore-PQ2qJ5VF.cjs → LocalStateStore-CBnOEVUw.cjs} +2 -2
  14. package/dist/{LocalStateStore-PQ2qJ5VF.cjs.map → LocalStateStore-CBnOEVUw.cjs.map} +1 -1
  15. package/dist/{LocalStateStore-DXuj1BDq.mjs → LocalStateStore-DyqbqdrE.mjs} +2 -2
  16. package/dist/{LocalStateStore-DXuj1BDq.mjs.map → LocalStateStore-DyqbqdrE.mjs.map} +1 -1
  17. package/dist/{S3StateStore-cmS6iUZn.cjs → S3StateStore-BPPv8S_Q.cjs} +5 -5
  18. package/dist/{S3StateStore-cmS6iUZn.cjs.map → S3StateStore-BPPv8S_Q.cjs.map} +1 -1
  19. package/dist/{S3StateStore-BGnOwqUp.mjs → S3StateStore-CQ2kN1Pb.mjs} +4 -4
  20. package/dist/{S3StateStore-BGnOwqUp.mjs.map → S3StateStore-CQ2kN1Pb.mjs.map} +1 -1
  21. package/dist/{SSMStateStore-BtNGbg8Z.cjs → SSMStateStore-CHy4p884.cjs} +2 -2
  22. package/dist/{SSMStateStore-BtNGbg8Z.cjs.map → SSMStateStore-CHy4p884.cjs.map} +1 -1
  23. package/dist/{SSMStateStore-BqXzPBbu.mjs → SSMStateStore-Ca1_Tv6e.mjs} +2 -2
  24. package/dist/{SSMStateStore-BqXzPBbu.mjs.map → SSMStateStore-Ca1_Tv6e.mjs.map} +1 -1
  25. package/dist/{add-Dp5xRn-u.cjs → add-nvNmOV4h.cjs} +7 -7
  26. package/dist/{add-Dp5xRn-u.cjs.map → add-nvNmOV4h.cjs.map} +1 -1
  27. package/dist/{add-DW2KLCY0.mjs → add-wFkYMhYc.mjs} +5 -5
  28. package/dist/{add-DW2KLCY0.mjs.map → add-wFkYMhYc.mjs.map} +1 -1
  29. package/dist/{apps-DYGKg5SP.cjs → apps-CnTjkv-C.cjs} +9 -9
  30. package/dist/{apps-DYGKg5SP.cjs.map → apps-CnTjkv-C.cjs.map} +1 -1
  31. package/dist/{apps-DrXwv-0A.mjs → apps-Dh2ito9T.mjs} +4 -4
  32. package/dist/{apps-DrXwv-0A.mjs.map → apps-Dh2ito9T.mjs.map} +1 -1
  33. package/dist/{bundler-Swt8wHG9.mjs → bundler-BXS0AEtM.mjs} +6 -6
  34. package/dist/{bundler-Swt8wHG9.mjs.map → bundler-BXS0AEtM.mjs.map} +1 -1
  35. package/dist/{bundler-BIfEe05e.cjs → bundler-B_2Mxi7l.cjs} +9 -9
  36. package/dist/{bundler-BIfEe05e.cjs.map → bundler-B_2Mxi7l.cjs.map} +1 -1
  37. package/dist/{cli-C9wdKQy_.mjs → cli-CuCePKEc.mjs} +4 -4
  38. package/dist/{cli-C9wdKQy_.mjs.map → cli-CuCePKEc.mjs.map} +1 -1
  39. package/dist/{cli-ohJToj0E.cjs → cli-Dew5Ay8s.cjs} +6 -6
  40. package/dist/{cli-ohJToj0E.cjs.map → cli-Dew5Ay8s.cjs.map} +1 -1
  41. package/dist/{compose-Br3SQ2bW.cjs → compose-B6emrIOB.cjs} +27 -27
  42. package/dist/compose-B6emrIOB.cjs.map +1 -0
  43. package/dist/{compose-BLOnkeaJ.mjs → compose-Cfd5-ubC.mjs} +42 -16
  44. package/dist/compose-Cfd5-ubC.mjs.map +1 -0
  45. package/dist/{compose-SNYBstbO.cjs → compose-CpAmz8GF.cjs} +54 -28
  46. package/dist/compose-CpAmz8GF.cjs.map +1 -0
  47. package/dist/{compose-iUOeazjW.mjs → compose-DxreKQnX.mjs} +10 -10
  48. package/dist/compose-DxreKQnX.mjs.map +1 -0
  49. package/dist/config.cjs +1 -1
  50. package/dist/config.mjs +1 -1
  51. package/dist/deploy/public.cjs +20 -20
  52. package/dist/deploy/public.cjs.map +1 -1
  53. package/dist/deploy/public.mjs +11 -11
  54. package/dist/{deploy-DqH8QReb.mjs → deploy-CV-e75Ja.mjs} +14 -25
  55. package/dist/deploy-CV-e75Ja.mjs.map +1 -0
  56. package/dist/{deploy-CYyf-Q8N.cjs → deploy-Cy2mXTnI.cjs} +55 -66
  57. package/dist/deploy-Cy2mXTnI.cjs.map +1 -0
  58. package/dist/{destroy-B9myEYFT.mjs → destroy-DQllGEWe.mjs} +9 -9
  59. package/dist/{destroy-B9myEYFT.mjs.map → destroy-DQllGEWe.mjs.map} +1 -1
  60. package/dist/{destroy-Bp5iHtLf.cjs → destroy-DjUM1nDI.cjs} +24 -24
  61. package/dist/{destroy-Bp5iHtLf.cjs.map → destroy-DjUM1nDI.cjs.map} +1 -1
  62. package/dist/{credentials-C2VfI-uf.mjs → dns-DPHKct-l.mjs} +123 -123
  63. package/dist/dns-DPHKct-l.mjs.map +1 -0
  64. package/dist/{credentials-BdZhygvW.cjs → dns-efZTlePp.cjs} +122 -122
  65. package/dist/dns-efZTlePp.cjs.map +1 -0
  66. package/dist/{docker-BezTRGxN.cjs → docker-1hv2ehU4.cjs} +7 -7
  67. package/dist/{docker-BezTRGxN.cjs.map → docker-1hv2ehU4.cjs.map} +1 -1
  68. package/dist/{docker-De_-Ll-A.mjs → docker-CeGpTbYR.mjs} +5 -5
  69. package/dist/{docker-De_-Ll-A.mjs.map → docker-CeGpTbYR.mjs.map} +1 -1
  70. package/dist/{dokploy-EsBgWO8W.mjs → dokploy-Cdy9uxyT.mjs} +2 -2
  71. package/dist/{dokploy-EsBgWO8W.mjs.map → dokploy-Cdy9uxyT.mjs.map} +1 -1
  72. package/dist/{dokploy-CWCIqro_.cjs → dokploy-DMCSZX9P.cjs} +2 -2
  73. package/dist/{dokploy-CWCIqro_.cjs.map → dokploy-DMCSZX9P.cjs.map} +1 -1
  74. package/dist/{eas-8t6PJRni.cjs → eas-B3vFP-9c.cjs} +3 -3
  75. package/dist/{eas-8t6PJRni.cjs.map → eas-B3vFP-9c.cjs.map} +1 -1
  76. package/dist/{eas-BalvsiH5.mjs → eas-KsVb80gp.mjs} +3 -3
  77. package/dist/{eas-BalvsiH5.mjs.map → eas-KsVb80gp.mjs.map} +1 -1
  78. package/dist/{encryption-CKBmU66R.cjs → encryption-BYpdYmaT.cjs} +6 -6
  79. package/dist/{encryption-CKBmU66R.cjs.map → encryption-BYpdYmaT.cjs.map} +1 -1
  80. package/dist/{encryption-B4mWxt4G.mjs → encryption-d_vz6csy.mjs} +3 -3
  81. package/dist/{encryption-B4mWxt4G.mjs.map → encryption-d_vz6csy.mjs.map} +1 -1
  82. package/dist/{engine-y8iWIXuv.mjs → engine-CQTK8HEF.mjs} +9 -9
  83. package/dist/{engine-y8iWIXuv.mjs.map → engine-CQTK8HEF.mjs.map} +1 -1
  84. package/dist/{engine-BTG46RG-.cjs → engine-DIzP1hty.cjs} +58 -58
  85. package/dist/{engine-BTG46RG-.cjs.map → engine-DIzP1hty.cjs.map} +1 -1
  86. package/dist/{github-CeXlzWWA.cjs → github-Chr0rEy5.cjs} +16 -16
  87. package/dist/{github-CeXlzWWA.cjs.map → github-Chr0rEy5.cjs.map} +1 -1
  88. package/dist/{github-DvGoKoQO.mjs → github-Ctmgt1Zv.mjs} +7 -7
  89. package/dist/{github-DvGoKoQO.mjs.map → github-Ctmgt1Zv.mjs.map} +1 -1
  90. package/dist/{googlePlay-CfzG7jOJ.cjs → googlePlay-C50ZneV3.cjs} +5 -5
  91. package/dist/{googlePlay-CfzG7jOJ.cjs.map → googlePlay-C50ZneV3.cjs.map} +1 -1
  92. package/dist/{googlePlay-DWv6CUgM.mjs → googlePlay-D5kL9gs5.mjs} +4 -4
  93. package/dist/{googlePlay-DWv6CUgM.mjs.map → googlePlay-D5kL9gs5.mjs.map} +1 -1
  94. package/dist/{iam-FA95ku7l.cjs → iam-CGd_oEyz.cjs} +2 -2
  95. package/dist/{iam-FA95ku7l.cjs.map → iam-CGd_oEyz.cjs.map} +1 -1
  96. package/dist/{iam-BE0qX5Lb.mjs → iam-Cs2Ph5f2.mjs} +2 -2
  97. package/dist/{iam-BE0qX5Lb.mjs.map → iam-Cs2Ph5f2.mjs.map} +1 -1
  98. package/dist/index.cjs +108 -109
  99. package/dist/index.cjs.map +1 -1
  100. package/dist/index.mjs +62 -63
  101. package/dist/index.mjs.map +1 -1
  102. package/dist/{local-DH9at_0c.cjs → local-CxqlHyVX.cjs} +3 -3
  103. package/dist/{local-DH9at_0c.cjs.map → local-CxqlHyVX.cjs.map} +1 -1
  104. package/dist/{local-CvRvfktv.mjs → local-Cy6Bb9ta.mjs} +2 -2
  105. package/dist/{local-CvRvfktv.mjs.map → local-Cy6Bb9ta.mjs.map} +1 -1
  106. package/dist/{migrate-B1lHo2K2.cjs → migrate-C7AEA5wP.cjs} +6 -6
  107. package/dist/{migrate-B1lHo2K2.cjs.map → migrate-C7AEA5wP.cjs.map} +1 -1
  108. package/dist/{migrate-D1iCmQgc.mjs → migrate-DB1lxrIj.mjs} +5 -5
  109. package/dist/{migrate-D1iCmQgc.mjs.map → migrate-DB1lxrIj.mjs.map} +1 -1
  110. package/dist/{migrate-NmW2Su8s.mjs → migrate-DU_BqEwZ.mjs} +3 -3
  111. package/dist/{migrate-NmW2Su8s.mjs.map → migrate-DU_BqEwZ.mjs.map} +1 -1
  112. package/dist/{migrate-DzOWCnRR.cjs → migrate-uYiBDHF4.cjs} +6 -6
  113. package/dist/{migrate-DzOWCnRR.cjs.map → migrate-uYiBDHF4.cjs.map} +1 -1
  114. package/dist/{notes-BdIY7IoB.mjs → notes-C23PJFnm.mjs} +3 -3
  115. package/dist/{notes-BdIY7IoB.mjs.map → notes-C23PJFnm.mjs.map} +1 -1
  116. package/dist/{notes-ikElBCC8.cjs → notes-DOj8AhIz.cjs} +3 -3
  117. package/dist/{notes-ikElBCC8.cjs.map → notes-DOj8AhIz.cjs.map} +1 -1
  118. package/dist/openapi.cjs +1 -1
  119. package/dist/openapi.mjs +1 -1
  120. package/dist/{projectBucket-uidxz03Q.cjs → projectBucket-BNxobT1q.cjs} +2 -2
  121. package/dist/{projectBucket-uidxz03Q.cjs.map → projectBucket-BNxobT1q.cjs.map} +1 -1
  122. package/dist/{projectBucket-C-FOIic4.mjs → projectBucket-BpwAxov3.mjs} +2 -2
  123. package/dist/{projectBucket-C-FOIic4.mjs.map → projectBucket-BpwAxov3.mjs.map} +1 -1
  124. package/dist/{publish-Ujng6o63.mjs → publish-CM2A0e24.mjs} +2 -2
  125. package/dist/{publish-Ujng6o63.mjs.map → publish-CM2A0e24.mjs.map} +1 -1
  126. package/dist/{publish-oO_8elIf.cjs → publish-DaFTebR5.cjs} +2 -2
  127. package/dist/{publish-oO_8elIf.cjs.map → publish-DaFTebR5.cjs.map} +1 -1
  128. package/dist/{resolve-Lk7fd8Kb.mjs → resolve-DO6xu8Da.mjs} +4 -4
  129. package/dist/{resolve-Lk7fd8Kb.mjs.map → resolve-DO6xu8Da.mjs.map} +1 -1
  130. package/dist/{resolve-CTb1gsTO.cjs → resolve-DgHrtRXG.cjs} +4 -4
  131. package/dist/{resolve-CTb1gsTO.cjs.map → resolve-DgHrtRXG.cjs.map} +1 -1
  132. package/dist/{rollback-PK4pSOLd.cjs → rollback-6Idn2ozU.cjs} +9 -9
  133. package/dist/{rollback-PK4pSOLd.cjs.map → rollback-6Idn2ozU.cjs.map} +1 -1
  134. package/dist/{rollback-B2DhSX-I.mjs → rollback-CmeGUxpC.mjs} +6 -6
  135. package/dist/{rollback-B2DhSX-I.mjs.map → rollback-CmeGUxpC.mjs.map} +1 -1
  136. package/dist/{s3-BY5ry__M.mjs → s3-DKFFpPrS.mjs} +3 -3
  137. package/dist/{s3-BY5ry__M.mjs.map → s3-DKFFpPrS.mjs.map} +1 -1
  138. package/dist/{s3-FG9qIgEB.cjs → s3-du68lLNe.cjs} +3 -3
  139. package/dist/{s3-FG9qIgEB.cjs.map → s3-du68lLNe.cjs.map} +1 -1
  140. package/dist/{serverSetup-BL1sHzRr.mjs → serverSetup-BHxCT8nA.mjs} +6 -6
  141. package/dist/{serverSetup-BL1sHzRr.mjs.map → serverSetup-BHxCT8nA.mjs.map} +1 -1
  142. package/dist/{serverSetup-C7fDKGiN.cjs → serverSetup-Uk07rJqu.cjs} +8 -8
  143. package/dist/{serverSetup-C7fDKGiN.cjs.map → serverSetup-Uk07rJqu.cjs.map} +1 -1
  144. package/dist/{sniffer-BvhDRsgI.mjs → sniffer-FQzApIZ2.mjs} +7 -7
  145. package/dist/{sniffer-BvhDRsgI.mjs.map → sniffer-FQzApIZ2.mjs.map} +1 -1
  146. package/dist/{sniffer-DJp9a2Pg.cjs → sniffer-_XeLyu2-.cjs} +7 -7
  147. package/dist/{sniffer-DJp9a2Pg.cjs.map → sniffer-_XeLyu2-.cjs.map} +1 -1
  148. package/dist/{snsSubscriptions-7y2XBXde.mjs → snsSubscriptions-BCLdw-vn.mjs} +5 -78
  149. package/dist/snsSubscriptions-BCLdw-vn.mjs.map +1 -0
  150. package/dist/{snsSubscriptions-8t1XFvoc.cjs → snsSubscriptions-By_79DkX.cjs} +20 -111
  151. package/dist/snsSubscriptions-By_79DkX.cjs.map +1 -0
  152. package/dist/{sst-8HZe83-M.cjs → sst--n0v4Fch.cjs} +7 -7
  153. package/dist/{sst-8HZe83-M.cjs.map → sst--n0v4Fch.cjs.map} +1 -1
  154. package/dist/{sst-CzFd-1om.mjs → sst-CtrAb04-.mjs} +5 -5
  155. package/dist/{sst-CzFd-1om.mjs.map → sst-CtrAb04-.mjs.map} +1 -1
  156. package/dist/{stack-j2e8ddGl.mjs → stack-BfK0IV3V.mjs} +139 -12
  157. package/dist/stack-BfK0IV3V.mjs.map +1 -0
  158. package/dist/{stack-3tvhk7SU.cjs → stack-mqaJRhoK.cjs} +160 -14
  159. package/dist/stack-mqaJRhoK.cjs.map +1 -0
  160. package/dist/{stage-DMv-IfSD.mjs → stage-DsfVOAAA.mjs} +6 -6
  161. package/dist/{stage-DMv-IfSD.mjs.map → stage-DsfVOAAA.mjs.map} +1 -1
  162. package/dist/{stage-DCSJii_y.cjs → stage-NGr_EzmY.cjs} +8 -8
  163. package/dist/{stage-DCSJii_y.cjs.map → stage-NGr_EzmY.cjs.map} +1 -1
  164. package/dist/{stages-D49CUpBY.cjs → stages-8izznWib.cjs} +2 -2
  165. package/dist/{stages-D49CUpBY.cjs.map → stages-8izznWib.cjs.map} +1 -1
  166. package/dist/{stages-CCAAe1tP.mjs → stages-QPWgbm9P.mjs} +2 -2
  167. package/dist/{stages-CCAAe1tP.mjs.map → stages-QPWgbm9P.mjs.map} +1 -1
  168. package/dist/target/public.cjs +1 -1
  169. package/dist/target/public.mjs +1 -1
  170. package/dist/{terminal-VLmWgL_N.mjs → terminal-AVJMJvk5.mjs} +2 -2
  171. package/dist/{terminal-VLmWgL_N.mjs.map → terminal-AVJMJvk5.mjs.map} +1 -1
  172. package/dist/{terminal-DIEj2Nap.cjs → terminal-BpzSISdv.cjs} +5 -5
  173. package/dist/{terminal-DIEj2Nap.cjs.map → terminal-BpzSISdv.cjs.map} +1 -1
  174. package/dist/workspace/index.cjs +1 -1
  175. package/dist/workspace/index.mjs +1 -1
  176. package/dist/{workspace-B0PI9k9p.mjs → workspace-BBa1Ck5j.mjs} +16 -2
  177. package/dist/workspace-BBa1Ck5j.mjs.map +1 -0
  178. package/dist/{workspace-LR9DFjU8.cjs → workspace-DirP2-ed.cjs} +21 -7
  179. package/dist/workspace-DirP2-ed.cjs.map +1 -0
  180. package/package.json +15 -15
  181. package/dist/compose-BLOnkeaJ.mjs.map +0 -1
  182. package/dist/compose-Br3SQ2bW.cjs.map +0 -1
  183. package/dist/compose-SNYBstbO.cjs.map +0 -1
  184. package/dist/compose-iUOeazjW.mjs.map +0 -1
  185. package/dist/credentials-BdZhygvW.cjs.map +0 -1
  186. package/dist/credentials-C2VfI-uf.mjs.map +0 -1
  187. package/dist/deploy-CYyf-Q8N.cjs.map +0 -1
  188. package/dist/deploy-DqH8QReb.mjs.map +0 -1
  189. package/dist/snsSubscriptions-7y2XBXde.mjs.map +0 -1
  190. package/dist/snsSubscriptions-8t1XFvoc.cjs.map +0 -1
  191. package/dist/stack-3tvhk7SU.cjs.map +0 -1
  192. package/dist/stack-j2e8ddGl.mjs.map +0 -1
  193. package/dist/workspace-B0PI9k9p.mjs.map +0 -1
  194. package/dist/workspace-LR9DFjU8.cjs.map +0 -1
package/dist/config.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_errors = require("./errors-DMC4Umsb.cjs");
3
- const require_workspace = require("./workspace-LR9DFjU8.cjs");
3
+ const require_workspace = require("./workspace-DirP2-ed.cjs");
4
4
  const require_schemas = require("./schemas-BQ_v0lEX.cjs");
5
5
  const require_discover = require("./discover-39VKSE2i.cjs");
6
6
  let node_path = require("node:path");
package/dist/config.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as GkmError } from "./errors-D8Gwp5kU.mjs";
2
- import { a as allConstructGlobs, b as isWorkspaceConfig, d as getAppGkmConfig, l as defineWorkspace, m as processConfig, st as derivedApps } from "./workspace-B0PI9k9p.mjs";
2
+ import { a as allConstructGlobs, b as isWorkspaceConfig, d as getAppGkmConfig, l as defineWorkspace, m as processConfig, st as derivedApps } from "./workspace-BBa1Ck5j.mjs";
3
3
  import { a as discriminatedUnion, c as literal, d as object, f as record, g as unknown, n as array, p as string } from "./schemas-BCwKKA42.mjs";
4
4
  import { i as discover, l as runWorker, m as activeSandbox, y as output } from "./discover-B_PDDaVj.mjs";
5
5
  import { dirname, join, parse, resolve, sep } from "node:path";
@@ -1,21 +1,21 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_errors = require("../errors-DMC4Umsb.cjs");
3
- const require_credentials = require("../credentials-BdZhygvW.cjs");
4
- const require_workspace = require("../workspace-LR9DFjU8.cjs");
5
- const require_apps = require("../apps-DYGKg5SP.cjs");
3
+ const require_dns = require("../dns-efZTlePp.cjs");
4
+ const require_workspace = require("../workspace-DirP2-ed.cjs");
5
+ const require_apps = require("../apps-CnTjkv-C.cjs");
6
6
  const require_define = require("../define-crmMcXFS.cjs");
7
7
  const require_discover = require("../discover-39VKSE2i.cjs");
8
8
  const require_config = require("../config.cjs");
9
- const require_resolve = require("../resolve-CTb1gsTO.cjs");
10
- const require_notes = require("../notes-ikElBCC8.cjs");
11
- const require_local = require("../local-DH9at_0c.cjs");
12
- const require_sniffer = require("../sniffer-DJp9a2Pg.cjs");
13
- const require_deploy = require("../deploy-CYyf-Q8N.cjs");
9
+ const require_resolve = require("../resolve-DgHrtRXG.cjs");
10
+ const require_notes = require("../notes-DOj8AhIz.cjs");
11
+ const require_local = require("../local-CxqlHyVX.cjs");
12
+ const require_sniffer = require("../sniffer-_XeLyu2-.cjs");
13
+ const require_deploy = require("../deploy-Cy2mXTnI.cjs");
14
14
  const require_seeds = require("../seeds-Bc3niNVb.cjs");
15
- const require_engine = require("../engine-BTG46RG-.cjs");
16
- const require_rollback = require("../rollback-PK4pSOLd.cjs");
15
+ const require_engine = require("../engine-DIzP1hty.cjs");
16
+ const require_rollback = require("../rollback-6Idn2ozU.cjs");
17
17
  const require_provider = require("../provider-BqpjG9QM.cjs");
18
- const require_sst = require("../sst-8HZe83-M.cjs");
18
+ const require_sst = require("../sst--n0v4Fch.cjs");
19
19
  let node_path = require("node:path");
20
20
  let node_fs = require("node:fs");
21
21
  //#region src/sandbox/install.ts
@@ -135,15 +135,15 @@ async function installDependencies(sandbox, options = {}) {
135
135
  ...options.signal ? { signal: options.signal } : {}
136
136
  });
137
137
  results.push(result);
138
- if (result.exitCode !== 0) throw new require_credentials.CommandFailed(command, args, result.exitCode, result.signal);
138
+ if (result.exitCode !== 0) throw new require_dns.CommandFailed(command, args, result.exitCode, result.signal);
139
139
  }
140
140
  return results;
141
141
  }
142
142
  //#endregion
143
143
  exports.AllowDevServicesTakesNoValue = require_notes.AllowDevServicesTakesNoValue;
144
144
  exports.BackendDeployFailed = require_engine.BackendDeployFailed;
145
- exports.CommandFailed = require_credentials.CommandFailed;
146
- exports.CommandTimedOut = require_credentials.CommandTimedOut;
145
+ exports.CommandFailed = require_dns.CommandFailed;
146
+ exports.CommandTimedOut = require_dns.CommandTimedOut;
147
147
  exports.ConfigLoadFailed = require_config.ConfigLoadFailed;
148
148
  exports.ConfigObjectNotSerializable = require_config.ConfigObjectNotSerializable;
149
149
  exports.ConstructDiscoveryFailed = require_discover.ConstructDiscoveryFailed;
@@ -157,7 +157,7 @@ exports.DeploymentTimedOut = require_sniffer.DeploymentTimedOut;
157
157
  exports.DevServicesNeedServerTarget = require_notes.DevServicesNeedServerTarget;
158
158
  exports.ExternalServicesNotConfigured = require_notes.ExternalServicesNotConfigured;
159
159
  exports.FrontendDeployFailed = require_engine.FrontendDeployFailed;
160
- exports.GKM_HOME_ENV = require_credentials.GKM_HOME_ENV;
160
+ exports.GKM_HOME_ENV = require_dns.GKM_HOME_ENV;
161
161
  exports.HealthCheckTimedOut = require_engine.HealthCheckTimedOut;
162
162
  exports.INSTALL_TIMEOUT_MS = INSTALL_TIMEOUT_MS;
163
163
  exports.InstallAllowlistNameInvalid = InstallAllowlistNameInvalid;
@@ -165,7 +165,7 @@ exports.InstallScriptsAllowlistUnsupported = InstallScriptsAllowlistUnsupported;
165
165
  exports.InvalidTargetOptions = require_resolve.InvalidTargetOptions;
166
166
  exports.LocalSandbox = require_local.LocalSandbox;
167
167
  exports.LocalStateInCi = require_sniffer.LocalStateInCi;
168
- exports.MissingCredential = require_credentials.MissingCredential;
168
+ exports.MissingCredential = require_dns.MissingCredential;
169
169
  exports.MissingEnvVars = require_engine.MissingEnvVars;
170
170
  exports.NoDeployableApps = require_deploy.NoDeployableApps;
171
171
  exports.NothingToRollBack = require_rollback.NothingToRollBack;
@@ -199,13 +199,13 @@ exports.UnknownDeployApps = require_deploy.UnknownDeployApps;
199
199
  exports.UnknownDeployTarget = require_define.UnknownDeployTarget;
200
200
  exports.UnknownStageProvider = require_workspace.UnknownStageProvider;
201
201
  exports.allowlistedEnv = require_local.allowlistedEnv;
202
- exports.chainCredentials = require_credentials.chainCredentials;
202
+ exports.chainCredentials = require_dns.chainCredentials;
203
203
  exports.confineCwd = require_discover.confineCwd;
204
204
  exports.deploy = require_deploy.deploy;
205
- exports.deployIdentity = require_credentials.deployIdentity;
206
- exports.gkmHome = require_credentials.gkmHome;
205
+ exports.deployIdentity = require_dns.deployIdentity;
206
+ exports.gkmHome = require_dns.gkmHome;
207
207
  exports.installDependencies = installDependencies;
208
208
  exports.rollbackStage = require_rollback.rollbackStage;
209
- exports.storedCredentials = require_credentials.storedCredentials;
209
+ exports.storedCredentials = require_dns.storedCredentials;
210
210
 
211
211
  //# sourceMappingURL=public.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"public.cjs","names":["GkmError","existsSync","join","detectPackageManager","resolve","CommandFailed"],"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\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":"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"}
1
+ {"version":3,"file":"public.cjs","names":["GkmError","existsSync","join","detectPackageManager","resolve","CommandFailed"],"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\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":"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"}
@@ -1,20 +1,20 @@
1
1
  import { t as GkmError } from "../errors-D8Gwp5kU.mjs";
2
- import { X as deployIdentity, bt as gkmHome, it as CommandTimedOut, n as chainCredentials, r as storedCredentials, rt as CommandFailed, t as MissingCredential, yt as GKM_HOME_ENV } from "../credentials-C2VfI-uf.mjs";
3
- import { Ct as ProvisionedBucketUnreachable, V as UnknownStageProvider } from "../workspace-B0PI9k9p.mjs";
4
- import { V as detectPackageManager } from "../apps-DrXwv-0A.mjs";
2
+ import { C as storedCredentials, S as chainCredentials, X as deployIdentity, bt as gkmHome, it as CommandTimedOut, rt as CommandFailed, x as MissingCredential, yt as GKM_HOME_ENV } from "../dns-DPHKct-l.mjs";
3
+ import { V as UnknownStageProvider, wt as ProvisionedBucketUnreachable } from "../workspace-BBa1Ck5j.mjs";
4
+ import { V as detectPackageManager } from "../apps-Dh2ito9T.mjs";
5
5
  import { a as UnknownDeployTarget, i as DeployTargetNotYetSupported } from "../define-6poNqm5O.mjs";
6
6
  import { d as SECRETS_DIR_ENV, f as SandboxCwdEscape, g as confineCwd, n as ConstructsNotSerializable, p as SecretNameInvalid, s as SandboxWorkerFailed, t as ConstructDiscoveryFailed } from "../discover-B_PDDaVj.mjs";
7
7
  import { ConfigLoadFailed, ConfigObjectNotSerializable } from "../config.mjs";
8
- import { i as TargetRuntimeMismatch, l as TargetPackageNotFound, n as TargetEntryInvalid, r as TargetPackageInvalid, s as TargetRuntimeUndeclared, t as InvalidTargetOptions } from "../resolve-Lk7fd8Kb.mjs";
9
- import { c as DevServicesNeedServerTarget, l as ExternalServicesNotConfigured, o as AllowDevServicesTakesNoValue, s as DEV_SERVICES, t as StageProviderDisabled } from "../notes-BdIY7IoB.mjs";
10
- import { n as SANDBOX_ENV_ALLOWLIST, r as allowlistedEnv, t as LocalSandbox } from "../local-CvRvfktv.mjs";
11
- import { a as DeploymentTimedOut, f as StateLocked, g as StateVersionConflict, i as DeploymentFailed, u as LocalStateInCi } from "../sniffer-BvhDRsgI.mjs";
12
- import { a as UnknownDeployApps, i as TargetBuildsNothing, n as NoDeployableApps, r as RollbackFailed, t as deploy } from "../deploy-DqH8QReb.mjs";
8
+ import { i as TargetRuntimeMismatch, l as TargetPackageNotFound, n as TargetEntryInvalid, r as TargetPackageInvalid, s as TargetRuntimeUndeclared, t as InvalidTargetOptions } from "../resolve-DO6xu8Da.mjs";
9
+ import { c as DevServicesNeedServerTarget, l as ExternalServicesNotConfigured, o as AllowDevServicesTakesNoValue, s as DEV_SERVICES, t as StageProviderDisabled } from "../notes-C23PJFnm.mjs";
10
+ import { n as SANDBOX_ENV_ALLOWLIST, r as allowlistedEnv, t as LocalSandbox } from "../local-Cy6Bb9ta.mjs";
11
+ import { a as DeploymentTimedOut, f as StateLocked, g as StateVersionConflict, i as DeploymentFailed, u as LocalStateInCi } from "../sniffer-FQzApIZ2.mjs";
12
+ import { a as UnknownDeployApps, i as TargetBuildsNothing, n as NoDeployableApps, r as RollbackFailed, t as deploy } from "../deploy-CV-e75Ja.mjs";
13
13
  import { t as DeploySeedsFailed } from "../seeds-Ccn0Ru2T.mjs";
14
- 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-y8iWIXuv.mjs";
15
- import { i as rollbackStage, n as RollbackNeedsApp, r as StageNeverDeployed, t as NothingToRollBack } from "../rollback-B2DhSX-I.mjs";
14
+ 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-CQTK8HEF.mjs";
15
+ import { i as rollbackStage, n as RollbackNeedsApp, r as StageNeverDeployed, t as NothingToRollBack } from "../rollback-CmeGUxpC.mjs";
16
16
  import { t as ProviderRemoved } from "../provider-CEOKk8NS.mjs";
17
- import { i as SurfacesUnhealthy, r as SstOutputsUnreadable, t as SstConfigNotFound } from "../sst-CzFd-1om.mjs";
17
+ import { i as SurfacesUnhealthy, r as SstOutputsUnreadable, t as SstConfigNotFound } from "../sst-CtrAb04-.mjs";
18
18
  import { join, resolve } from "node:path";
19
19
  import { existsSync } from "node:fs";
20
20
  //#region src/sandbox/install.ts
@@ -1,20 +1,20 @@
1
1
  import { t as GkmError } from "./errors-D8Gwp5kU.mjs";
2
- import { M as initStageSecrets, X as deployIdentity, Y as applicationName, a as findRootDomain, bt as gkmHome, d as mxValue, h as createEmptyState, i as extractSubdomain, k as secretsStoreFor, m as createComposeState, o as normalizeDnsConfig, r as storedCredentials } from "./credentials-C2VfI-uf.mjs";
3
- import { $ as SesReceivingUnsupported, Ct as ProvisionedBucketUnreachable, Et as S3RegionRequired, G as checkSesConfig, J as inboxBucketId, K as checkSesEmailConfig, L as resolveStageTelemetry, N as assertDeployedStage, Q as InboxNotProvisioned, Rt as isReservedStageKey, U as stageProvider, W as SES_PROVISIONING, X as EmailNotProvisioned, Y as inboxTopicName, Z as EmailSenderUnknown, _t as BucketNameUnavailable, at as suffixedBucketName, bt as BucketRegionMismatch, et as IAM_POLICY_NAME, ft as S3_PROVISIONING, it as randomSuffix, mt as servesOnCdn, nt as bucketName, ot as appKey, pt as checkS3Config, q as emailUserName, rt as iamUserName, st as derivedApps, u as getAppBuildOrder, ut as fileServerHost, vt as BucketOwnedByAnotherProject, wt as RecordedBucketUnreachable, xt as BucketRegionUnknown, yt as BucketProbeFailed } from "./workspace-B0PI9k9p.mjs";
4
- import { A as originSecretKey, D as ORIGIN_VERIFY_HEADER, Et as mergeLifecycle, It as stageBackups, Lt as deploysWithCompose, Mt as backupExpiries, Pt as backupsPrefix, dt as BACKUPS_URL_KEY, f as constructGlobs, j as processorOriginHost, k as newOriginSecret, t as appEnvKeys, ut as BACKUPS_SERVICE } from "./apps-DrXwv-0A.mjs";
2
+ import { C as storedCredentials, M as initStageSecrets, X as deployIdentity, Y as applicationName, bt as gkmHome, c as mxValue, d as createComposeState, f as createEmptyState, k as secretsStoreFor, n as findRootDomain, r as normalizeDnsConfig, t as extractSubdomain } from "./dns-DPHKct-l.mjs";
3
+ import { $ as SesReceivingUnsupported, G as checkSesConfig, J as inboxBucketId, K as checkSesEmailConfig, L as resolveStageTelemetry, N as assertDeployedStage, Q as InboxNotProvisioned, Rt as isReservedStageKey, St as BucketRegionUnknown, Tt as RecordedBucketUnreachable, U as stageProvider, W as SES_PROVISIONING, X as EmailNotProvisioned, Y as inboxTopicName, Z as EmailSenderUnknown, at as suffixedBucketName, bt as BucketProbeFailed, et as IAM_POLICY_NAME, ft as S3_PROVISIONING, ht as servesOnCdn, it as randomSuffix, mt as s3Region, nt as bucketName, ot as appKey, pt as checkS3Config, q as emailUserName, rt as iamUserName, st as derivedApps, u as getAppBuildOrder, ut as fileServerHost, vt as BucketNameUnavailable, wt as ProvisionedBucketUnreachable, xt as BucketRegionMismatch, yt as BucketOwnedByAnotherProject } from "./workspace-BBa1Ck5j.mjs";
4
+ import { A as originSecretKey, D as ORIGIN_VERIFY_HEADER, Et as mergeLifecycle, It as stageBackups, Lt as deploysWithCompose, Mt as backupExpiries, Pt as backupsPrefix, dt as BACKUPS_URL_KEY, f as constructGlobs, j as processorOriginHost, k as newOriginSecret, t as appEnvKeys, ut as BACKUPS_SERVICE } from "./apps-Dh2ito9T.mjs";
5
5
  import { o as builtinTarget } from "./define-6poNqm5O.mjs";
6
- import { Et as NoDomainForStage, Ot as isMainFrontendApp, R as usesTelemetry, kt as resolveHost } from "./compose-BLOnkeaJ.mjs";
6
+ import { Et as NoDomainForStage, Ot as isMainFrontendApp, R as usesTelemetry, kt as resolveHost } from "./compose-Cfd5-ubC.mjs";
7
7
  import { s as subscriberRoute } from "./SubscriberGenerator-CfZWX0lT.mjs";
8
8
  import { _ as withSandbox, b as withOutput, i as discover } from "./discover-B_PDDaVj.mjs";
9
9
  import { findWorkspaceRoot, loadWorkspaceConfig, withLoadedConfig } from "./config.mjs";
10
- import { a as parseTargetOptions, o as resolveTarget } from "./resolve-Lk7fd8Kb.mjs";
11
- import { a as PROVIDER_KINDS, c as DevServicesNeedServerTarget, f as devServicesUsed, g as stageServiceDeclarations, i as stageProviderNotes, l as ExternalServicesNotConfigured, m as reportDevServices, n as assertStageProvidersEnabled, p as externalServices } from "./notes-BdIY7IoB.mjs";
12
- import { T as assertSitePasswords } from "./stack-j2e8ddGl.mjs";
13
- import { S as awsProvisioningCredentials, a as subscriptionKey, b as awsClientConfig, f as recordTtl, h as settleStackDns, l as dnsCredentials, o as subscriptionResource, v as stageDnsDomains, x as awsEndpoint } from "./snsSubscriptions-7y2XBXde.mjs";
14
- import { t as LocalSandbox } from "./local-CvRvfktv.mjs";
15
- import { E as eventError, S as createStateStore, v as assertStateOutlivesRun, y as assertStateRoom } from "./sniffer-BvhDRsgI.mjs";
16
- import { a as identityTags, c as whileKeyIsNew, d as corsRule, f as publicAccessBlock, i as ensureIamUser, l as bucketPolicy, o as issuedJustNow, p as userPolicy, r as ensureAccessKey, s as s3KeySecret, t as TAG_PROJECT, u as canonicalPolicy } from "./iam-BE0qX5Lb.mjs";
17
- import { a as findProjectBucket, i as ensureProjectBucket, o as projectBucketName, r as callerAccountId, s as reconcileProjectBucketLifecycle } from "./projectBucket-C-FOIic4.mjs";
10
+ import { a as parseTargetOptions, o as resolveTarget } from "./resolve-DO6xu8Da.mjs";
11
+ import { a as PROVIDER_KINDS, c as DevServicesNeedServerTarget, f as devServicesUsed, g as stageServiceDeclarations, i as stageProviderNotes, l as ExternalServicesNotConfigured, m as reportDevServices, n as assertStageProvidersEnabled, p as externalServices } from "./notes-C23PJFnm.mjs";
12
+ import { M as awsClientConfig, N as awsEndpoint, P as awsProvisioningCredentials, T as assertSitePasswords } from "./stack-BfK0IV3V.mjs";
13
+ import { t as LocalSandbox } from "./local-Cy6Bb9ta.mjs";
14
+ import { E as eventError, S as createStateStore, v as assertStateOutlivesRun, y as assertStateRoom } from "./sniffer-FQzApIZ2.mjs";
15
+ import { a as subscriptionKey, f as recordTtl, h as settleStackDns, l as dnsCredentials, o as subscriptionResource, v as stageDnsDomains } from "./snsSubscriptions-BCLdw-vn.mjs";
16
+ import { a as identityTags, c as whileKeyIsNew, d as corsRule, f as publicAccessBlock, i as ensureIamUser, l as bucketPolicy, o as issuedJustNow, p as userPolicy, r as ensureAccessKey, s as s3KeySecret, t as TAG_PROJECT, u as canonicalPolicy } from "./iam-Cs2Ph5f2.mjs";
17
+ import { a as findProjectBucket, i as ensureProjectBucket, o as projectBucketName, r as callerAccountId, s as reconcileProjectBucketLifecycle } from "./projectBucket-BpwAxov3.mjs";
18
18
  import { m as recordDnsResource, s as DeployJournal, u as dnsResourceKey } from "./seeds-Ccn0Ru2T.mjs";
19
19
  import { n as assertStageCredentials } from "./credentialSchemas-BzJiK1nQ.mjs";
20
20
  import { resolve } from "node:path";
@@ -51,7 +51,7 @@ var Redactor = class {
51
51
  function secretValues(secrets) {
52
52
  return [
53
53
  secrets.seed,
54
- ...Object.entries(secrets.custom ?? {}).filter(([key]) => !isReservedStageKey(key)).map(([, value]) => value),
54
+ ...Object.entries(secrets.custom ?? {}).filter(([key]) => !isReservedStageKey(key) && key !== "ZO_ROOT_USER_EMAIL").map(([, value]) => value),
55
55
  ...Object.values(secrets.urls ?? {}),
56
56
  ...Object.values(secrets.services ?? {}).map((service) => service?.password)
57
57
  ].filter((value) => typeof value === "string");
@@ -1596,17 +1596,6 @@ function bucketConstructs(manifest) {
1596
1596
  })).sort((a, b) => a.id.localeCompare(b.id));
1597
1597
  }
1598
1598
  /**
1599
- * The region the stage's buckets are created in: the entry's, the secrets
1600
- * store's when it is in AWS, the credential's, `AWS_REGION`.
1601
- */
1602
- function s3Region(ctx, env = process.env) {
1603
- const store = ctx.workspace.secrets?.store;
1604
- const storeRegion = store && typeof store === "object" && "region" in store ? store.region : void 0;
1605
- const region = ctx.config.region ?? storeRegion ?? ctx.credential?.region ?? env.AWS_REGION ?? env.AWS_DEFAULT_REGION;
1606
- if (!region) throw new S3RegionRequired(ctx.stage);
1607
- return region;
1608
- }
1609
- /**
1610
1599
  * The address a file server over `bucket` serves on: the bucket's regional
1611
1600
  * virtual-host endpoint, which is what `FileServer.url(key)` appends a key to
1612
1601
  * — `https://<bucket>.s3.<region>.amazonaws.com/<key>`. Against an emulator,
@@ -3843,4 +3832,4 @@ async function load(input, sandbox) {
3843
3832
  //#endregion
3844
3833
  export { UnknownDeployApps as a, defaultCdnClients as c, TargetBuildsNothing as i, backupsUserName as l, NoDeployableApps as n, defaultClients as o, RollbackFailed as r, cdnName as s, deploy as t };
3845
3834
 
3846
- //# sourceMappingURL=deploy-DqH8QReb.mjs.map
3835
+ //# sourceMappingURL=deploy-CV-e75Ja.mjs.map