@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
@@ -1,21 +1,21 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
2
2
  const require_errors = require("./errors-DMC4Umsb.cjs");
3
- const require_credentials = require("./credentials-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
- const require_compose = require("./compose-SNYBstbO.cjs");
7
+ const require_compose = require("./compose-CpAmz8GF.cjs");
8
8
  const require_SubscriberGenerator = require("./SubscriberGenerator-DMi4siph.cjs");
9
9
  const require_discover = require("./discover-39VKSE2i.cjs");
10
10
  const require_config = require("./config.cjs");
11
- const require_resolve = require("./resolve-CTb1gsTO.cjs");
12
- const require_notes = require("./notes-ikElBCC8.cjs");
13
- const require_stack = require("./stack-3tvhk7SU.cjs");
14
- const require_snsSubscriptions = require("./snsSubscriptions-8t1XFvoc.cjs");
15
- const require_local = require("./local-DH9at_0c.cjs");
16
- const require_sniffer = require("./sniffer-DJp9a2Pg.cjs");
17
- const require_iam = require("./iam-FA95ku7l.cjs");
18
- const require_projectBucket = require("./projectBucket-uidxz03Q.cjs");
11
+ const require_resolve = require("./resolve-DgHrtRXG.cjs");
12
+ const require_notes = require("./notes-DOj8AhIz.cjs");
13
+ const require_stack = require("./stack-mqaJRhoK.cjs");
14
+ const require_local = require("./local-CxqlHyVX.cjs");
15
+ const require_sniffer = require("./sniffer-_XeLyu2-.cjs");
16
+ const require_snsSubscriptions = require("./snsSubscriptions-By_79DkX.cjs");
17
+ const require_iam = require("./iam-CGd_oEyz.cjs");
18
+ const require_projectBucket = require("./projectBucket-BNxobT1q.cjs");
19
19
  const require_seeds = require("./seeds-Bc3niNVb.cjs");
20
20
  const require_credentialSchemas = require("./credentialSchemas-OVXofU-r.cjs");
21
21
  let node_path = require("node:path");
@@ -53,7 +53,7 @@ var Redactor = class {
53
53
  function secretValues(secrets) {
54
54
  return [
55
55
  secrets.seed,
56
- ...Object.entries(secrets.custom ?? {}).filter(([key]) => !require_workspace.isReservedStageKey(key)).map(([, value]) => value),
56
+ ...Object.entries(secrets.custom ?? {}).filter(([key]) => !require_workspace.isReservedStageKey(key) && key !== "ZO_ROOT_USER_EMAIL").map(([, value]) => value),
57
57
  ...Object.values(secrets.urls ?? {}),
58
58
  ...Object.values(secrets.services ?? {}).map((service) => service?.password)
59
59
  ].filter((value) => typeof value === "string");
@@ -64,7 +64,7 @@ function secretValues(secrets) {
64
64
  * costs nothing.
65
65
  */
66
66
  async function deploySecrets(workspace, stage, redactor, options = {}) {
67
- const store = await require_credentials.secretsStoreFor(workspace, stage, options);
67
+ const store = await require_dns.secretsStoreFor(workspace, stage, options);
68
68
  const mask = (secrets) => {
69
69
  for (const value of secretValues(secrets)) redactor.add(value);
70
70
  };
@@ -189,7 +189,7 @@ async function ensureStageBackups(input) {
189
189
  const clash = Object.entries(manifest).find(([id, d]) => d.kind === "objects" && require_workspace.appKey(id) === "backups");
190
190
  if (clash) throw new BackupsUserNameTaken(stage, clash[0]);
191
191
  }
192
- const credential = await require_snsSubscriptions.awsProvisioningCredentials({
192
+ const credential = await require_stack.awsProvisioningCredentials({
193
193
  stage,
194
194
  env,
195
195
  ...input.profile ? { profile: input.profile } : {},
@@ -243,8 +243,8 @@ async function backupsClients(credential, region, env) {
243
243
  const S3 = await import("@aws-sdk/client-s3");
244
244
  const IAM = await import("@aws-sdk/client-iam");
245
245
  const { STSClient } = await import("@aws-sdk/client-sts");
246
- const config = await require_snsSubscriptions.awsClientConfig(credential, region);
247
- const endpoint = require_snsSubscriptions.awsEndpoint(env, "S3");
246
+ const config = await require_stack.awsClientConfig(credential, region);
247
+ const endpoint = require_stack.awsEndpoint(env, "S3");
248
248
  return {
249
249
  IAM,
250
250
  iam: new IAM.IAMClient(config),
@@ -336,14 +336,14 @@ async function verifyStageBackups(input) {
336
336
  */
337
337
  async function writeProviderDns(records, options) {
338
338
  const { log } = options;
339
- const dns = options.workspace.dns ? require_credentials.normalizeDnsConfig(options.workspace.dns) : {};
339
+ const dns = options.workspace.dns ? require_dns.normalizeDnsConfig(options.workspace.dns) : {};
340
340
  const manual = [];
341
341
  const domains = /* @__PURE__ */ new Map();
342
342
  for (const record of records) {
343
343
  const host = record.host.toLowerCase().replace(/\.$/, "");
344
344
  const target = record.value.replace(/\.$/, "");
345
- const value = record.type === "MX" ? require_credentials.mxValue(record.priority, target) : target;
346
- const domain = require_credentials.findRootDomain(host, dns);
345
+ const value = record.type === "MX" ? require_dns.mxValue(record.priority, target) : target;
346
+ const domain = require_dns.findRootDomain(host, dns);
347
347
  if (!domain) {
348
348
  log(` create at its DNS host: ${host} ${record.type} ${value}`);
349
349
  manual.push(host);
@@ -359,7 +359,7 @@ async function writeProviderDns(records, options) {
359
359
  const planned = {
360
360
  host,
361
361
  domain,
362
- name: require_credentials.extractSubdomain(host, domain),
362
+ name: require_dns.extractSubdomain(host, domain),
363
363
  type: record.type,
364
364
  value,
365
365
  ttl: require_snsSubscriptions.recordTtl(config)
@@ -718,9 +718,9 @@ function sameHeadersPolicy(current, wanted) {
718
718
  const defaultCdnClients = async (credential) => {
719
719
  const CF = await import("@aws-sdk/client-cloudfront");
720
720
  const ACM = await import("@aws-sdk/client-acm");
721
- const config = await require_snsSubscriptions.awsClientConfig(credential, CDN_REGION);
722
- const cloudfront = require_snsSubscriptions.awsEndpoint(process.env, "CLOUDFRONT");
723
- const acm = require_snsSubscriptions.awsEndpoint(process.env, "ACM");
721
+ const config = await require_stack.awsClientConfig(credential, CDN_REGION);
722
+ const cloudfront = require_stack.awsEndpoint(process.env, "CLOUDFRONT");
723
+ const acm = require_stack.awsEndpoint(process.env, "ACM");
724
724
  return {
725
725
  CF,
726
726
  ACM,
@@ -1235,11 +1235,11 @@ const defaultEventsClients = async (credential, region) => {
1235
1235
  const SNS = await import("@aws-sdk/client-sns");
1236
1236
  const SQS = await import("@aws-sdk/client-sqs");
1237
1237
  const { STSClient, GetCallerIdentityCommand } = await import("@aws-sdk/client-sts");
1238
- const config = await require_snsSubscriptions.awsClientConfig(credential, region);
1239
- const endpoint = require_snsSubscriptions.awsEndpoint(process.env, "SNS");
1238
+ const config = await require_stack.awsClientConfig(credential, region);
1239
+ const endpoint = require_stack.awsEndpoint(process.env, "SNS");
1240
1240
  const sts = new STSClient({
1241
1241
  ...config,
1242
- ...require_snsSubscriptions.awsEndpoint(process.env, "STS") ? { endpoint: require_snsSubscriptions.awsEndpoint(process.env, "STS") } : {}
1242
+ ...require_stack.awsEndpoint(process.env, "STS") ? { endpoint: require_stack.awsEndpoint(process.env, "STS") } : {}
1243
1243
  });
1244
1244
  const { Account } = await sts.send(new GetCallerIdentityCommand({}));
1245
1245
  sts.destroy();
@@ -1252,7 +1252,7 @@ const defaultEventsClients = async (credential, region) => {
1252
1252
  }),
1253
1253
  sqs: new SQS.SQSClient({
1254
1254
  ...config,
1255
- ...require_snsSubscriptions.awsEndpoint(process.env, "SQS") ? { endpoint: require_snsSubscriptions.awsEndpoint(process.env, "SQS") } : {}
1255
+ ...require_stack.awsEndpoint(process.env, "SQS") ? { endpoint: require_stack.awsEndpoint(process.env, "SQS") } : {}
1256
1256
  }),
1257
1257
  account: Account,
1258
1258
  region,
@@ -1420,7 +1420,7 @@ async function ensureEventsKey(ctx, input) {
1420
1420
  return;
1421
1421
  }
1422
1422
  const { snsUrl } = await import("@geekmidas/events/sns");
1423
- const endpoint = require_snsSubscriptions.awsEndpoint(process.env, "SNS");
1423
+ const endpoint = require_stack.awsEndpoint(process.env, "SNS");
1424
1424
  const address = new URL(snsUrl.build({
1425
1425
  topicArn,
1426
1426
  region,
@@ -1469,8 +1469,8 @@ async function ensurePushSubscriptions(ctx, input) {
1469
1469
  const domain = ctx.workspace.domains?.[ctx.stage];
1470
1470
  if (!domain) throw new require_compose.NoDomainForStage(ctx.stage);
1471
1471
  const { SNSConnection, reconcileHttpSubscriptions } = await import("@geekmidas/events/sns");
1472
- const { credentials } = await require_snsSubscriptions.awsClientConfig(ctx.credential, region);
1473
- const endpoint = require_snsSubscriptions.awsEndpoint(process.env, "SNS");
1472
+ const { credentials } = await require_stack.awsClientConfig(ctx.credential, region);
1473
+ const endpoint = require_stack.awsEndpoint(process.env, "SNS");
1474
1474
  const byWorker = /* @__PURE__ */ new Map();
1475
1475
  for (const watcher of watchers) byWorker.set(watcher.worker, [...byWorker.get(watcher.worker) ?? [], watcher]);
1476
1476
  for (const [worker, own] of byWorker) {
@@ -1598,17 +1598,6 @@ function bucketConstructs(manifest) {
1598
1598
  })).sort((a, b) => a.id.localeCompare(b.id));
1599
1599
  }
1600
1600
  /**
1601
- * The region the stage's buckets are created in: the entry's, the secrets
1602
- * store's when it is in AWS, the credential's, `AWS_REGION`.
1603
- */
1604
- function s3Region(ctx, env = process.env) {
1605
- const store = ctx.workspace.secrets?.store;
1606
- const storeRegion = store && typeof store === "object" && "region" in store ? store.region : void 0;
1607
- const region = ctx.config.region ?? storeRegion ?? ctx.credential?.region ?? env.AWS_REGION ?? env.AWS_DEFAULT_REGION;
1608
- if (!region) throw new require_workspace.S3RegionRequired(ctx.stage);
1609
- return region;
1610
- }
1611
- /**
1612
1601
  * The address a file server over `bucket` serves on: the bucket's regional
1613
1602
  * virtual-host endpoint, which is what `FileServer.url(key)` appends a key to
1614
1603
  * — `https://<bucket>.s3.<region>.amazonaws.com/<key>`. Against an emulator,
@@ -1703,8 +1692,8 @@ async function readOr(read, missing) {
1703
1692
  const defaultClients = async (credential, region) => {
1704
1693
  const S3 = await import("@aws-sdk/client-s3");
1705
1694
  const IAM = await import("@aws-sdk/client-iam");
1706
- const config = await require_snsSubscriptions.awsClientConfig(credential, region);
1707
- const endpoint = require_snsSubscriptions.awsEndpoint(process.env, "S3");
1695
+ const config = await require_stack.awsClientConfig(credential, region);
1696
+ const endpoint = require_stack.awsEndpoint(process.env, "S3");
1708
1697
  return {
1709
1698
  S3,
1710
1699
  IAM,
@@ -1723,7 +1712,7 @@ const defaultClients = async (credential, region) => {
1723
1712
  /** For tests: what makes the clients. */
1724
1713
  let makeClients = defaultClients;
1725
1714
  async function ensureS3(ctx) {
1726
- const region = s3Region(ctx);
1715
+ const region = require_workspace.s3Region(ctx);
1727
1716
  const clients = await makeClients(ctx.credential, region);
1728
1717
  const watched = bucketWatchers(ctx.manifest);
1729
1718
  for (const construct of bucketConstructs(ctx.manifest)) await ensureBucket(ctx, clients, construct, watched.get(construct.id));
@@ -1841,7 +1830,7 @@ async function ensureBucket(ctx, stageClients, construct, watchers) {
1841
1830
  */
1842
1831
  async function ensureOwnedBucket(ctx, input) {
1843
1832
  const bucketCtx = ctx;
1844
- const stageClients = await makeClients(ctx.credential, s3Region(bucketCtx));
1833
+ const stageClients = await makeClients(ctx.credential, require_workspace.s3Region(bucketCtx));
1845
1834
  const nameInput = {
1846
1835
  scope: ctx.identity.scope,
1847
1836
  stage: ctx.stage,
@@ -2142,7 +2131,7 @@ const s3Provider = {
2142
2131
  name: "s3",
2143
2132
  check: require_workspace.checkS3Config,
2144
2133
  provisioning: require_workspace.S3_PROVISIONING,
2145
- credentials: require_snsSubscriptions.awsProvisioningCredentials,
2134
+ credentials: require_stack.awsProvisioningCredentials,
2146
2135
  runtimeKeys(manifest) {
2147
2136
  const watched = bucketWatchers(manifest);
2148
2137
  return bucketConstructs(manifest).flatMap((b) => [
@@ -2243,8 +2232,8 @@ function receiptTopicPolicy(topicArn, account) {
2243
2232
  }
2244
2233
  const defaultSesClients = async (credential, region) => {
2245
2234
  const SES = await import("@aws-sdk/client-ses");
2246
- const config = await require_snsSubscriptions.awsClientConfig(credential, region);
2247
- const endpoint = require_snsSubscriptions.awsEndpoint(process.env, "SES");
2235
+ const config = await require_stack.awsClientConfig(credential, region);
2236
+ const endpoint = require_stack.awsEndpoint(process.env, "SES");
2248
2237
  return {
2249
2238
  SES,
2250
2239
  ses: new SES.SESClient({
@@ -2269,7 +2258,7 @@ function stageDomain(ctx) {
2269
2258
  return domain;
2270
2259
  }
2271
2260
  async function ensureSes(ctx) {
2272
- const region = s3Region(ctx);
2261
+ const region = require_workspace.s3Region(ctx);
2273
2262
  if (!SES_RECEIVING_REGIONS.includes(region)) throw new require_workspace.SesReceivingUnsupported(ctx.stage, region, SES_RECEIVING_REGIONS);
2274
2263
  const inboxes = inboxConstructs(ctx.manifest);
2275
2264
  const { SES, ses } = await makeSesClients(ctx.credential, region);
@@ -2464,7 +2453,7 @@ async function retireRules(ctx, { SES, ses }, ruleSet, inboxes) {
2464
2453
  * a domain, and each inbox's keys are in the stage's secrets.
2465
2454
  */
2466
2455
  async function verifySes(ctx) {
2467
- const region = s3Region(ctx);
2456
+ const region = require_workspace.s3Region(ctx);
2468
2457
  if (!SES_RECEIVING_REGIONS.includes(region)) throw new require_workspace.SesReceivingUnsupported(ctx.stage, region, SES_RECEIVING_REGIONS);
2469
2458
  const inboxes = inboxConstructs(ctx.manifest);
2470
2459
  if (inboxes.length === 0) return;
@@ -2479,7 +2468,7 @@ const sesProvider = {
2479
2468
  name: "ses",
2480
2469
  check: require_workspace.checkSesConfig,
2481
2470
  provisioning: require_workspace.SES_PROVISIONING,
2482
- credentials: require_snsSubscriptions.awsProvisioningCredentials,
2471
+ credentials: require_stack.awsProvisioningCredentials,
2483
2472
  runtimeKeys(manifest) {
2484
2473
  return inboxConstructs(manifest).flatMap((inbox) => [(0, _geekmidas_manifest.providedKeyFor)(inbox.id, inbox.kind, "url"), (0, _geekmidas_manifest.providedKeyFor)(inbox.topic, "topic", "publisherConnectionString")]);
2485
2474
  },
@@ -2659,8 +2648,8 @@ function domainOf(address) {
2659
2648
  async function iamClients(credential, region) {
2660
2649
  const IAM = await import("@aws-sdk/client-iam");
2661
2650
  const { STSClient } = await import("@aws-sdk/client-sts");
2662
- const config = await require_snsSubscriptions.awsClientConfig(credential, region);
2663
- const stsEndpoint = require_snsSubscriptions.awsEndpoint(process.env, "STS");
2651
+ const config = await require_stack.awsClientConfig(credential, region);
2652
+ const stsEndpoint = require_stack.awsEndpoint(process.env, "STS");
2664
2653
  return {
2665
2654
  IAM,
2666
2655
  iam: new IAM.IAMClient(config),
@@ -2678,7 +2667,7 @@ async function ensureSesEmail(ctx) {
2678
2667
  return false;
2679
2668
  });
2680
2669
  if (owned.length === 0) return;
2681
- const region = s3Region(ctx);
2670
+ const region = require_workspace.s3Region(ctx);
2682
2671
  const senders = new Map(owned.map((e) => [e.id, senderOf(ctx, e)]));
2683
2672
  const domains = [...new Set([...senders.values()].map((s) => domainOf(s.address)))].sort();
2684
2673
  const ses = await sesClients(ctx.credential, region);
@@ -2776,7 +2765,7 @@ const sesEmailProvider = {
2776
2765
  name: "ses",
2777
2766
  check: require_workspace.checkSesEmailConfig,
2778
2767
  provisioning: require_workspace.SES_PROVISIONING,
2779
- credentials: require_snsSubscriptions.awsProvisioningCredentials,
2768
+ credentials: require_stack.awsProvisioningCredentials,
2780
2769
  runtimeKeys(manifest) {
2781
2770
  return emailConstructs(manifest).flatMap((email) => [(0, _geekmidas_manifest.providedKeyFor)(email.id, "email", "url"), (0, _geekmidas_manifest.providedKeyFor)(email.id, "email", "from")]);
2782
2771
  },
@@ -2914,14 +2903,14 @@ async function provisionStage(options) {
2914
2903
  if (backups.mode === "disabled") log(`💾 backups: off — deploy.backups.${stage} is false. Nothing is backed up, and nothing already backed up is deleted.`);
2915
2904
  return reports;
2916
2905
  }
2917
- const identity = require_credentials.deployIdentity(workspace, stage);
2906
+ const identity = require_dns.deployIdentity(workspace, stage);
2918
2907
  let secrets = (await options.secrets.read())?.custom ?? {};
2919
2908
  for (const entry of configured) entry.report.planned = entry.provider.runtimeKeys(manifest).filter((key) => secrets[key] === void 0);
2920
- const journal = dryRun ? void 0 : await require_seeds.DeployJournal.open(options.state, stage, () => require_apps.deploysWithCompose(workspace) ? require_credentials.createComposeState(stage) : require_credentials.createEmptyState(stage, "", ""));
2909
+ const journal = dryRun ? void 0 : await require_seeds.DeployJournal.open(options.state, stage, () => require_apps.deploysWithCompose(workspace) ? require_dns.createComposeState(stage) : require_dns.createEmptyState(stage, "", ""));
2921
2910
  const state = journal ? journalState(journal) : await readOnlyState(options.state, stage);
2922
2911
  const writeSecrets = async (values) => {
2923
2912
  if (dryRun) return;
2924
- const stored = await options.secrets.read() ?? require_credentials.initStageSecrets(stage);
2913
+ const stored = await options.secrets.read() ?? require_dns.initStageSecrets(stage);
2925
2914
  const next = {
2926
2915
  ...stored,
2927
2916
  custom: {
@@ -2962,7 +2951,7 @@ async function provisionStage(options) {
2962
2951
  workspace,
2963
2952
  stage,
2964
2953
  dryRun,
2965
- credentials: options.credentials ?? require_credentials.storedCredentials({
2954
+ credentials: options.credentials ?? require_dns.storedCredentials({
2966
2955
  env,
2967
2956
  ...options.home ? { home: options.home } : {}
2968
2957
  }),
@@ -3495,7 +3484,7 @@ async function provisionResources(phaseCtx, request, ctx, store, emit) {
3495
3484
  phaseCtx.secrets = {
3496
3485
  ...secrets,
3497
3486
  async read() {
3498
- const stored = await secrets.read() ?? require_credentials.initStageSecrets(phaseCtx.stage);
3487
+ const stored = await secrets.read() ?? require_dns.initStageSecrets(phaseCtx.stage);
3499
3488
  const custom = { ...stored.custom };
3500
3489
  for (const key of planned) custom[key] ??= PLANNED_BY_THE_DEPLOY;
3501
3490
  return {
@@ -3624,7 +3613,7 @@ async function prepare(source, request, ctx, emit, redactor) {
3624
3613
  ...configured,
3625
3614
  apps: units
3626
3615
  } : configured;
3627
- const identity = require_credentials.deployIdentity(workspace, stage);
3616
+ const identity = require_dns.deployIdentity(workspace, stage);
3628
3617
  const tag = request.tag ?? (resolved.target.tag ? await resolved.target.tag({
3629
3618
  cwd: workspace.root,
3630
3619
  stage
@@ -3703,7 +3692,7 @@ async function prepare(source, request, ctx, emit, redactor) {
3703
3692
  childOutput: ctx.childOutput ?? "inherit",
3704
3693
  emit,
3705
3694
  skip,
3706
- name: (resource) => require_credentials.applicationName(identity, resource)
3695
+ name: (resource) => require_dns.applicationName(identity, resource)
3707
3696
  },
3708
3697
  store
3709
3698
  };
@@ -3784,10 +3773,10 @@ function deploy(input) {
3784
3773
  };
3785
3774
  const ctx = {
3786
3775
  emit,
3787
- credentials: input.credentials ?? require_credentials.storedCredentials({ home: input.home ?? require_credentials.gkmHome() }),
3776
+ credentials: input.credentials ?? require_dns.storedCredentials({ home: input.home ?? require_dns.gkmHome() }),
3788
3777
  dryRun: input.dryRun ?? false,
3789
3778
  ...input.buildOnly ? { buildOnly: true } : {},
3790
- home: input.home ?? require_credentials.gkmHome(),
3779
+ home: input.home ?? require_dns.gkmHome(),
3791
3780
  redactor,
3792
3781
  ...input.signal ? { signal: input.signal } : {},
3793
3782
  ...input.childOutput ? { childOutput: input.childOutput } : {},
@@ -3899,4 +3888,4 @@ Object.defineProperty(exports, "deploy", {
3899
3888
  }
3900
3889
  });
3901
3890
 
3902
- //# sourceMappingURL=deploy-CYyf-Q8N.cjs.map
3891
+ //# sourceMappingURL=deploy-Cy2mXTnI.cjs.map