@geekmidas/cli 10.0.0-alpha.164 → 10.0.0-alpha.166

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 (230) hide show
  1. package/dist/{GoDaddyProvider-DSzYpSc3.cjs → GoDaddyProvider-DClFHezd.cjs} +2 -2
  2. package/dist/{GoDaddyProvider-DSzYpSc3.cjs.map → GoDaddyProvider-DClFHezd.cjs.map} +1 -1
  3. package/dist/{GoDaddyProvider-BrZ7WtmP.mjs → GoDaddyProvider-mnY-cdD2.mjs} +2 -2
  4. package/dist/{GoDaddyProvider-BrZ7WtmP.mjs.map → GoDaddyProvider-mnY-cdD2.mjs.map} +1 -1
  5. package/dist/{HostingerProvider-D7N8GbQm.mjs → HostingerProvider-39eSGyBa.mjs} +2 -2
  6. package/dist/{HostingerProvider-D7N8GbQm.mjs.map → HostingerProvider-39eSGyBa.mjs.map} +1 -1
  7. package/dist/{HostingerProvider-DQusFkZJ.cjs → HostingerProvider-BMyz2LnZ.cjs} +2 -2
  8. package/dist/{HostingerProvider-DQusFkZJ.cjs.map → HostingerProvider-BMyz2LnZ.cjs.map} +1 -1
  9. package/dist/{LegacyStateStore-B2vZVXVe.mjs → LegacyStateStore-B2TBaSMq.mjs} +3 -3
  10. package/dist/{LegacyStateStore-B2vZVXVe.mjs.map → LegacyStateStore-B2TBaSMq.mjs.map} +1 -1
  11. package/dist/{LegacyStateStore-CxQkI3fQ.cjs → LegacyStateStore-BJY7ntQk.cjs} +3 -3
  12. package/dist/{LegacyStateStore-CxQkI3fQ.cjs.map → LegacyStateStore-BJY7ntQk.cjs.map} +1 -1
  13. package/dist/{LocalStateStore-ff4XiebR.mjs → LocalStateStore-8LFd-aMA.mjs} +2 -2
  14. package/dist/{LocalStateStore-ff4XiebR.mjs.map → LocalStateStore-8LFd-aMA.mjs.map} +1 -1
  15. package/dist/{LocalStateStore-CrrjFgMc.cjs → LocalStateStore-BvoEjPi5.cjs} +2 -2
  16. package/dist/{LocalStateStore-CrrjFgMc.cjs.map → LocalStateStore-BvoEjPi5.cjs.map} +1 -1
  17. package/dist/{S3StateStore-62sFppnE.mjs → S3StateStore-DMzsqfSa.mjs} +4 -4
  18. package/dist/{S3StateStore-62sFppnE.mjs.map → S3StateStore-DMzsqfSa.mjs.map} +1 -1
  19. package/dist/{S3StateStore-EnatbBd3.cjs → S3StateStore-eeA5NXRa.cjs} +4 -4
  20. package/dist/{S3StateStore-EnatbBd3.cjs.map → S3StateStore-eeA5NXRa.cjs.map} +1 -1
  21. package/dist/{SSMStateStore-CYPYh1c7.cjs → SSMStateStore-BUv-du0T.cjs} +2 -2
  22. package/dist/{SSMStateStore-CYPYh1c7.cjs.map → SSMStateStore-BUv-du0T.cjs.map} +1 -1
  23. package/dist/{SSMStateStore-BON4jyRR.mjs → SSMStateStore-CE2DTAtT.mjs} +2 -2
  24. package/dist/{SSMStateStore-BON4jyRR.mjs.map → SSMStateStore-CE2DTAtT.mjs.map} +1 -1
  25. package/dist/{add-CzoX8swL.mjs → add-BgCYGJpE.mjs} +6 -6
  26. package/dist/{add-CzoX8swL.mjs.map → add-BgCYGJpE.mjs.map} +1 -1
  27. package/dist/{add-D65M2URP.cjs → add-Dp0KQNkQ.cjs} +7 -7
  28. package/dist/{add-D65M2URP.cjs.map → add-Dp0KQNkQ.cjs.map} +1 -1
  29. package/dist/{apps-Dquc1K9N.mjs → apps-CJTOIaz3.mjs} +4 -5
  30. package/dist/{apps-Dquc1K9N.mjs.map → apps-CJTOIaz3.mjs.map} +1 -1
  31. package/dist/{apps-DY82zCeA.cjs → apps-DkMR-qvD.cjs} +22 -23
  32. package/dist/{apps-DY82zCeA.cjs.map → apps-DkMR-qvD.cjs.map} +1 -1
  33. package/dist/{bundler-wtMYRk9K.cjs → bundler-CA7KimJ0.cjs} +6 -6
  34. package/dist/{bundler-wtMYRk9K.cjs.map → bundler-CA7KimJ0.cjs.map} +1 -1
  35. package/dist/{bundler-9RpLU2H3.mjs → bundler-Dt1ffXl6.mjs} +6 -6
  36. package/dist/{bundler-9RpLU2H3.mjs.map → bundler-Dt1ffXl6.mjs.map} +1 -1
  37. package/dist/{cli-D0Tu6u1G.mjs → cli-C-fdEb8N.mjs} +5 -5
  38. package/dist/{cli-D0Tu6u1G.mjs.map → cli-C-fdEb8N.mjs.map} +1 -1
  39. package/dist/{cli-CgZuiNWv.cjs → cli-CY1Cp8yN.cjs} +5 -5
  40. package/dist/{cli-CgZuiNWv.cjs.map → cli-CY1Cp8yN.cjs.map} +1 -1
  41. package/dist/{compose-DgBUpgXh.cjs → compose-BIm9yNH7.cjs} +6 -6
  42. package/dist/{compose-DgBUpgXh.cjs.map → compose-BIm9yNH7.cjs.map} +1 -1
  43. package/dist/{compose-pbLaJlts.mjs → compose-CZGeE6QJ.mjs} +6 -6
  44. package/dist/{compose-pbLaJlts.mjs.map → compose-CZGeE6QJ.mjs.map} +1 -1
  45. package/dist/{compose-kEjxTamg.cjs → compose-SmuCWWUh.cjs} +22 -10
  46. package/dist/compose-SmuCWWUh.cjs.map +1 -0
  47. package/dist/{compose-BfTrMiAk.mjs → compose-tX6YTa1U.mjs} +22 -10
  48. package/dist/compose-tX6YTa1U.mjs.map +1 -0
  49. package/dist/{config-DNoWqavN.d.cts → config-B8gSu59v.d.mts} +3 -3
  50. package/dist/{config-BxSSAzVi.d.mts.map → config-B8gSu59v.d.mts.map} +1 -1
  51. package/dist/{config-BxSSAzVi.d.mts → config-u5XdE1Cq.d.cts} +3 -3
  52. package/dist/{config-DNoWqavN.d.cts.map → config-u5XdE1Cq.d.cts.map} +1 -1
  53. package/dist/config.cjs +457 -19
  54. package/dist/config.cjs.map +1 -0
  55. package/dist/config.d.cts +3 -3
  56. package/dist/config.d.mts +3 -3
  57. package/dist/config.mjs +440 -2
  58. package/dist/config.mjs.map +1 -0
  59. package/dist/{credentials-Bel6afW2.cjs → credentials-CS3Dr-pv.cjs} +6 -6
  60. package/dist/{credentials-Bel6afW2.cjs.map → credentials-CS3Dr-pv.cjs.map} +1 -1
  61. package/dist/{credentials-BgtOz5ec.mjs → credentials-V3WgiKmZ.mjs} +6 -6
  62. package/dist/{credentials-BgtOz5ec.mjs.map → credentials-V3WgiKmZ.mjs.map} +1 -1
  63. package/dist/deploy/public.cjs +13 -13
  64. package/dist/deploy/public.d.cts +4 -4
  65. package/dist/deploy/public.d.mts +4 -4
  66. package/dist/deploy/public.mjs +13 -13
  67. package/dist/{deploy-C4V-nsOF.cjs → deploy--ia-CGMv.cjs} +174 -68
  68. package/dist/deploy--ia-CGMv.cjs.map +1 -0
  69. package/dist/{deploy-D-5ib-ah.mjs → deploy-BWFFSN5p.mjs} +166 -60
  70. package/dist/deploy-BWFFSN5p.mjs.map +1 -0
  71. package/dist/{destroy-DuQqz53a.cjs → destroy-CrxF8Dlk.cjs} +12 -12
  72. package/dist/{destroy-DuQqz53a.cjs.map → destroy-CrxF8Dlk.cjs.map} +1 -1
  73. package/dist/{destroy-CYQCEn4A.mjs → destroy-ZNiKL3--.mjs} +12 -12
  74. package/dist/{destroy-CYQCEn4A.mjs.map → destroy-ZNiKL3--.mjs.map} +1 -1
  75. package/dist/{docker-BMReDeMB.cjs → docker-BtUjo-J_.cjs} +9 -8
  76. package/dist/{docker-BMReDeMB.cjs.map → docker-BtUjo-J_.cjs.map} +1 -1
  77. package/dist/{docker-BEsTfsFc.mjs → docker-DhmU416x.mjs} +6 -5
  78. package/dist/{docker-BEsTfsFc.mjs.map → docker-DhmU416x.mjs.map} +1 -1
  79. package/dist/{dokploy-BuYCnz9U.mjs → dokploy-BszAUbbA.mjs} +2 -2
  80. package/dist/{dokploy-BuYCnz9U.mjs.map → dokploy-BszAUbbA.mjs.map} +1 -1
  81. package/dist/{dokploy-BpPAgZ0u.cjs → dokploy-ComPiFLl.cjs} +2 -2
  82. package/dist/{dokploy-BpPAgZ0u.cjs.map → dokploy-ComPiFLl.cjs.map} +1 -1
  83. package/dist/{eas-DjVtUdb4.mjs → eas-DQudP2g2.mjs} +3 -3
  84. package/dist/{eas-DjVtUdb4.mjs.map → eas-DQudP2g2.mjs.map} +1 -1
  85. package/dist/{eas-H-6ixmsY.cjs → eas-zxVAWY6c.cjs} +6 -6
  86. package/dist/{eas-H-6ixmsY.cjs.map → eas-zxVAWY6c.cjs.map} +1 -1
  87. package/dist/{encryption-CR4aMkSK.mjs → encryption-BCaweYBJ.mjs} +4 -4
  88. package/dist/{encryption-CR4aMkSK.mjs.map → encryption-BCaweYBJ.mjs.map} +1 -1
  89. package/dist/{encryption-BvCsBp2p.cjs → encryption-CU5O0Y61.cjs} +4 -4
  90. package/dist/{encryption-BvCsBp2p.cjs.map → encryption-CU5O0Y61.cjs.map} +1 -1
  91. package/dist/{engine-upEpdhEF.mjs → engine-BzeCK6e8.mjs} +10 -11
  92. package/dist/{engine-upEpdhEF.mjs.map → engine-BzeCK6e8.mjs.map} +1 -1
  93. package/dist/{engine-CV2wqRFl.cjs → engine-xrlcbr1g.cjs} +11 -12
  94. package/dist/{engine-CV2wqRFl.cjs.map → engine-xrlcbr1g.cjs.map} +1 -1
  95. package/dist/{github-D2l7aqFx.mjs → github-CHClpJZS.mjs} +116 -72
  96. package/dist/github-CHClpJZS.mjs.map +1 -0
  97. package/dist/{github-BDOLgdMp.cjs → github-Jcrqfzg0.cjs} +116 -72
  98. package/dist/github-Jcrqfzg0.cjs.map +1 -0
  99. package/dist/{googlePlay-DJ2Kv0UX.mjs → googlePlay-Dk_pnif9.mjs} +5 -5
  100. package/dist/{googlePlay-DJ2Kv0UX.mjs.map → googlePlay-Dk_pnif9.mjs.map} +1 -1
  101. package/dist/{googlePlay-B3FR1VGL.cjs → googlePlay-e_tIBr4n.cjs} +5 -5
  102. package/dist/{googlePlay-B3FR1VGL.cjs.map → googlePlay-e_tIBr4n.cjs.map} +1 -1
  103. package/dist/{iam-BVPpX76R.cjs → iam-B6WLUf_x.cjs} +2 -2
  104. package/dist/{iam-BVPpX76R.cjs.map → iam-B6WLUf_x.cjs.map} +1 -1
  105. package/dist/{iam-q9ALh-Y5.mjs → iam-BKfO7u14.mjs} +2 -2
  106. package/dist/{iam-q9ALh-Y5.mjs.map → iam-BKfO7u14.mjs.map} +1 -1
  107. package/dist/{index-Dy4ojz5P.d.cts → index-1H93w_H6.d.cts} +2 -2
  108. package/dist/{index-BC1BLv9Q.d.mts.map → index-1H93w_H6.d.cts.map} +1 -1
  109. package/dist/{index-BC1BLv9Q.d.mts → index-DFZ0SMwN.d.mts} +2 -2
  110. package/dist/{index-Dy4ojz5P.d.cts.map → index-DFZ0SMwN.d.mts.map} +1 -1
  111. package/dist/index.cjs +71 -71
  112. package/dist/index.cjs.map +1 -1
  113. package/dist/index.mjs +65 -65
  114. package/dist/index.mjs.map +1 -1
  115. package/dist/{local-COaqGFDc.mjs → local-DUi3f-WB.mjs} +2 -2
  116. package/dist/{local-COaqGFDc.mjs.map → local-DUi3f-WB.mjs.map} +1 -1
  117. package/dist/{local-DhAnAhXn.cjs → local-Dc2h2Ex3.cjs} +2 -2
  118. package/dist/{local-DhAnAhXn.cjs.map → local-Dc2h2Ex3.cjs.map} +1 -1
  119. package/dist/{migrate-CusdrYsn.cjs → migrate-BU4eyd7z.cjs} +6 -6
  120. package/dist/{migrate-CusdrYsn.cjs.map → migrate-BU4eyd7z.cjs.map} +1 -1
  121. package/dist/{migrate-Nt9NOr1s.mjs → migrate-BxFCXc7M.mjs} +6 -6
  122. package/dist/{migrate-Nt9NOr1s.mjs.map → migrate-BxFCXc7M.mjs.map} +1 -1
  123. package/dist/{migrate-Hjvo9j_J.cjs → migrate-CIjcBr96.cjs} +4 -4
  124. package/dist/{migrate-Hjvo9j_J.cjs.map → migrate-CIjcBr96.cjs.map} +1 -1
  125. package/dist/{migrate-CpT7qBZE.mjs → migrate-CbpeVxEW.mjs} +4 -4
  126. package/dist/{migrate-CpT7qBZE.mjs.map → migrate-CbpeVxEW.mjs.map} +1 -1
  127. package/dist/{notes-CZvLIjfg.cjs → notes-DJyFkK13.cjs} +7 -8
  128. package/dist/{notes-CZvLIjfg.cjs.map → notes-DJyFkK13.cjs.map} +1 -1
  129. package/dist/{notes-B-tgKkvp.mjs → notes-TDHMzdVt.mjs} +3 -4
  130. package/dist/{notes-B-tgKkvp.mjs.map → notes-TDHMzdVt.mjs.map} +1 -1
  131. package/dist/openapi.cjs +3 -3
  132. package/dist/openapi.cjs.map +1 -1
  133. package/dist/openapi.d.cts +1 -1
  134. package/dist/openapi.d.mts +1 -1
  135. package/dist/openapi.mjs +2 -2
  136. package/dist/{projectBucket-DNAOBIYZ.mjs → projectBucket-BPzx0b0t.mjs} +2 -2
  137. package/dist/{projectBucket-DNAOBIYZ.mjs.map → projectBucket-BPzx0b0t.mjs.map} +1 -1
  138. package/dist/{projectBucket-XyxlpATc.cjs → projectBucket-CoskwJC5.cjs} +2 -2
  139. package/dist/{projectBucket-XyxlpATc.cjs.map → projectBucket-CoskwJC5.cjs.map} +1 -1
  140. package/dist/{publish-DmBXVNlk.cjs → publish-DB3-zkpm.cjs} +2 -2
  141. package/dist/{publish-DmBXVNlk.cjs.map → publish-DB3-zkpm.cjs.map} +1 -1
  142. package/dist/{publish-CwjRq8Ye.mjs → publish-LZ1eb-MI.mjs} +2 -2
  143. package/dist/{publish-CwjRq8Ye.mjs.map → publish-LZ1eb-MI.mjs.map} +1 -1
  144. package/dist/reconcile/public.d.cts +1 -1
  145. package/dist/reconcile/public.d.mts +1 -1
  146. package/dist/{resolve-BuqA14hD.cjs → resolve-B5_tOTJG.cjs} +4 -4
  147. package/dist/{resolve-BuqA14hD.cjs.map → resolve-B5_tOTJG.cjs.map} +1 -1
  148. package/dist/{resolve-vOUrXSHP.mjs → resolve-jez3Y1S0.mjs} +4 -4
  149. package/dist/{resolve-vOUrXSHP.mjs.map → resolve-jez3Y1S0.mjs.map} +1 -1
  150. package/dist/{rollback-CiyKH1HK.cjs → rollback-BNo1bCLO.cjs} +8 -8
  151. package/dist/{rollback-CiyKH1HK.cjs.map → rollback-BNo1bCLO.cjs.map} +1 -1
  152. package/dist/{rollback-glkFgz6-.mjs → rollback-BtOfxwo-.mjs} +8 -8
  153. package/dist/{rollback-glkFgz6-.mjs.map → rollback-BtOfxwo-.mjs.map} +1 -1
  154. package/dist/{runtime-MZ5Pqgan.d.mts → runtime-CKOkIrw0.d.cts} +2 -2
  155. package/dist/{runtime-BySbkdBz.d.cts.map → runtime-CKOkIrw0.d.cts.map} +1 -1
  156. package/dist/{runtime-BySbkdBz.d.cts → runtime-Cdvv8SfU.d.mts} +2 -2
  157. package/dist/{runtime-MZ5Pqgan.d.mts.map → runtime-Cdvv8SfU.d.mts.map} +1 -1
  158. package/dist/{s3-BZbRcH8T.mjs → s3-Bf_75vVl.mjs} +3 -3
  159. package/dist/{s3-BZbRcH8T.mjs.map → s3-Bf_75vVl.mjs.map} +1 -1
  160. package/dist/{s3-C0EBuF8n.cjs → s3-BlPwyu1L.cjs} +3 -3
  161. package/dist/{s3-C0EBuF8n.cjs.map → s3-BlPwyu1L.cjs.map} +1 -1
  162. package/dist/{seeds-D7q1zKCJ.cjs → seeds-Bc3niNVb.cjs} +95 -82
  163. package/dist/seeds-Bc3niNVb.cjs.map +1 -0
  164. package/dist/{seeds-y1rzXlAc.mjs → seeds-Ccn0Ru2T.mjs} +84 -83
  165. package/dist/seeds-Ccn0Ru2T.mjs.map +1 -0
  166. package/dist/{serverSetup-Dlj7JQW-.mjs → serverSetup-D0Zor2i4.mjs} +8 -8
  167. package/dist/{serverSetup-Dlj7JQW-.mjs.map → serverSetup-D0Zor2i4.mjs.map} +1 -1
  168. package/dist/{serverSetup-n1Znminh.cjs → serverSetup-D30vVD6t.cjs} +8 -8
  169. package/dist/{serverSetup-n1Znminh.cjs.map → serverSetup-D30vVD6t.cjs.map} +1 -1
  170. package/dist/{sniffer-DDAxYDqU.cjs → sniffer-Bw00z3I8.cjs} +8 -8
  171. package/dist/{sniffer-DDAxYDqU.cjs.map → sniffer-Bw00z3I8.cjs.map} +1 -1
  172. package/dist/{sniffer-BgzTs_Zt.mjs → sniffer-DdPDiNmc.mjs} +8 -8
  173. package/dist/{sniffer-BgzTs_Zt.mjs.map → sniffer-DdPDiNmc.mjs.map} +1 -1
  174. package/dist/{snsSubscriptions-CCyxCMoc.mjs → snsSubscriptions-DBxVTR6Y.mjs} +3 -3
  175. package/dist/{snsSubscriptions-CCyxCMoc.mjs.map → snsSubscriptions-DBxVTR6Y.mjs.map} +1 -1
  176. package/dist/{snsSubscriptions-Dr5ghfa5.cjs → snsSubscriptions-g7apv_fy.cjs} +3 -3
  177. package/dist/{snsSubscriptions-Dr5ghfa5.cjs.map → snsSubscriptions-g7apv_fy.cjs.map} +1 -1
  178. package/dist/{sst-DBkHn3mA.cjs → sst-CEs0bMxj.cjs} +6 -6
  179. package/dist/{sst-DBkHn3mA.cjs.map → sst-CEs0bMxj.cjs.map} +1 -1
  180. package/dist/{sst-CV5TemXa.mjs → sst-DJ22YDEq.mjs} +5 -5
  181. package/dist/{sst-CV5TemXa.mjs.map → sst-DJ22YDEq.mjs.map} +1 -1
  182. package/dist/{stack-Dku1pOA2.cjs → stack-BmG-lKgD.cjs} +12 -13
  183. package/dist/{stack-Dku1pOA2.cjs.map → stack-BmG-lKgD.cjs.map} +1 -1
  184. package/dist/{stack-r97Ao-uG.mjs → stack-Ds9jjpE1.mjs} +7 -8
  185. package/dist/{stack-r97Ao-uG.mjs.map → stack-Ds9jjpE1.mjs.map} +1 -1
  186. package/dist/{stage-Deb-7Ohk.mjs → stage-D9dfV1Ey.mjs} +7 -7
  187. package/dist/{stage-Deb-7Ohk.mjs.map → stage-D9dfV1Ey.mjs.map} +1 -1
  188. package/dist/{stage-Du8I-UIa.cjs → stage-kGc9L3yB.cjs} +7 -7
  189. package/dist/{stage-Du8I-UIa.cjs.map → stage-kGc9L3yB.cjs.map} +1 -1
  190. package/dist/{stages-CW7qtiJ2.mjs → stages-BL22BLJS.mjs} +3 -3
  191. package/dist/{stages-CW7qtiJ2.mjs.map → stages-BL22BLJS.mjs.map} +1 -1
  192. package/dist/{stages-CtqmEJJW.cjs → stages-CN53nNOK.cjs} +3 -3
  193. package/dist/{stages-CtqmEJJW.cjs.map → stages-CN53nNOK.cjs.map} +1 -1
  194. package/dist/target/public.cjs +1 -1
  195. package/dist/target/public.d.cts +2 -2
  196. package/dist/target/public.d.mts +2 -2
  197. package/dist/target/public.mjs +1 -1
  198. package/dist/{terminal-BEa0E3pz.mjs → terminal-C0A7S7fB.mjs} +2 -2
  199. package/dist/{terminal-BEa0E3pz.mjs.map → terminal-C0A7S7fB.mjs.map} +1 -1
  200. package/dist/{terminal-BXpp9kBr.cjs → terminal-DVlIWcUb.cjs} +2 -2
  201. package/dist/{terminal-BXpp9kBr.cjs.map → terminal-DVlIWcUb.cjs.map} +1 -1
  202. package/dist/{types-BsfPHUFZ.d.cts → types-DEmuMHsS.d.cts} +9 -1
  203. package/dist/types-DEmuMHsS.d.cts.map +1 -0
  204. package/dist/{types-BXboFkn9.d.mts → types-g_S0_RAi.d.mts} +9 -1
  205. package/dist/types-g_S0_RAi.d.mts.map +1 -0
  206. package/dist/workspace/index.cjs +1 -1
  207. package/dist/workspace/index.d.cts +2 -2
  208. package/dist/workspace/index.d.mts +2 -2
  209. package/dist/workspace/index.mjs +1 -1
  210. package/dist/{workspace-D5Vm2qcy.mjs → workspace-D4hzz6Xb.mjs} +331 -3
  211. package/dist/workspace-D4hzz6Xb.mjs.map +1 -0
  212. package/dist/{workspace-VhzmoxOv.cjs → workspace-DPSdiv-b.cjs} +371 -1
  213. package/dist/workspace-DPSdiv-b.cjs.map +1 -0
  214. package/package.json +15 -15
  215. package/dist/compose-BfTrMiAk.mjs.map +0 -1
  216. package/dist/compose-kEjxTamg.cjs.map +0 -1
  217. package/dist/config-CXj-9eRo.cjs +0 -890
  218. package/dist/config-CXj-9eRo.cjs.map +0 -1
  219. package/dist/config-Di0oJwM9.mjs +0 -759
  220. package/dist/config-Di0oJwM9.mjs.map +0 -1
  221. package/dist/deploy-C4V-nsOF.cjs.map +0 -1
  222. package/dist/deploy-D-5ib-ah.mjs.map +0 -1
  223. package/dist/github-BDOLgdMp.cjs.map +0 -1
  224. package/dist/github-D2l7aqFx.mjs.map +0 -1
  225. package/dist/seeds-D7q1zKCJ.cjs.map +0 -1
  226. package/dist/seeds-y1rzXlAc.mjs.map +0 -1
  227. package/dist/types-BXboFkn9.d.mts.map +0 -1
  228. package/dist/types-BsfPHUFZ.d.cts.map +0 -1
  229. package/dist/workspace-D5Vm2qcy.mjs.map +0 -1
  230. package/dist/workspace-VhzmoxOv.cjs.map +0 -1
@@ -698,6 +698,323 @@ const S3_PROVISIONING = {
698
698
  ],
699
699
  describe: "the stage's AWS account — AWS_PROFILE, or AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY (in CI, what aws-actions/configure-aws-credentials exports)"
700
700
  };
701
+ //#endregion
702
+ //#region src/workspace/fileServerLabel.ts
703
+ /**
704
+ * The name a file server answers on.
705
+ *
706
+ * `new FileServer('Assets', …)` is two manifest nodes: the bucket, which keeps
707
+ * the id (`Assets`, `ASSETS_URL`), and the surface in front of it,
708
+ * `AssetsServer` (`ASSETS_SERVER_URL`). The suffix keeps the two nodes and
709
+ * their keys apart, and that is all it is for. A host is not a key, so it
710
+ * takes the name the construct was given: `assets.<domain>`, never
711
+ * `assets-server.<domain>`.
712
+ *
713
+ * Read off the surface's id rather than its `of`: with `{ origin }` the bucket
714
+ * is another construct's, and its id is not this file server's name.
715
+ *
716
+ * Every host a file server has — its CDN alias and certificate, its edge
717
+ * route, its local `*.localhost` address, its processors' origin and unit —
718
+ * is built from this one label, so no two of them can disagree.
719
+ *
720
+ * @example fileServerLabel('AssetsServer') // 'assets'
721
+ * @example fileServerLabel('UserUploadsServer') // 'user-uploads'
722
+ */
723
+ function fileServerLabel(serverId) {
724
+ return (0, _geekmidas_manifest.kebabCase)(serverId.replace(/Server$/, ""));
725
+ }
726
+ //#endregion
727
+ //#region src/workspace/subdomains.ts
728
+ /**
729
+ * The subdomains of a stage's domain, as a wildcard site sees them.
730
+ *
731
+ * A site declared `subdomain: '*'` answers on every label nothing else does,
732
+ * so the labels something else does answer on are the ones a tenant can never
733
+ * take. They come from two places and from nowhere else: every app's own
734
+ * label, read off the constructs and never listed by hand, and the names no
735
+ * construct declares (`www`, `mail`, `status`), listed once in the workspace
736
+ * config as `protectedSubdomains`.
737
+ */
738
+ /** A `protectedSubdomains` entry an app already answers on. */
739
+ var ProtectedSubdomainIsAnApp = class extends require_errors.GkmError {
740
+ subdomain;
741
+ app;
742
+ constructor(subdomain, app) {
743
+ super(`protectedSubdomains lists '${subdomain}', which '${app}' already answers on — a construct's own subdomain is protected without being listed. Remove it from protectedSubdomains.`);
744
+ this.subdomain = subdomain;
745
+ this.app = app;
746
+ this.name = "ProtectedSubdomainIsAnApp";
747
+ }
748
+ };
749
+ /** Two sites that both answer on every subdomain. */
750
+ var SecondWildcardSite = class extends require_errors.GkmError {
751
+ sites;
752
+ constructor(sites) {
753
+ super(`${sites.join(" and ")} both declare subdomain: '*', and two sites cannot share the same hosts. Keep one wildcard site per project; give the other a subdomain of its own.`);
754
+ this.sites = sites;
755
+ this.name = "SecondWildcardSite";
756
+ }
757
+ };
758
+ /** A wildcard site whose `hosts` route is on no surface the project declares. */
759
+ var SiteHostsEndpointMissing = class extends require_errors.GkmError {
760
+ site;
761
+ surface;
762
+ path;
763
+ constructor(site, surface, path) {
764
+ super(`'${site}' checks its hosts with GET ${path} on '${surface}', but '${surface}' serves no such route. Export the endpoint from the surface's endpoints, or point \`hosts\` at one it serves.`);
765
+ this.site = site;
766
+ this.surface = surface;
767
+ this.path = path;
768
+ this.name = "SiteHostsEndpointMissing";
769
+ }
770
+ };
771
+ /**
772
+ * A file server whose host another construct already answers on.
773
+ *
774
+ * A file server answers on its own name — `FileServer('Assets')` on
775
+ * `assets.<domain>` — so an app named `Assets` beside it would claim the same
776
+ * host, and whichever deployed second would take it from the first.
777
+ */
778
+ var FileServerHostTaken = class extends require_errors.GkmError {
779
+ fileServer;
780
+ subdomain;
781
+ app;
782
+ constructor(fileServer, subdomain, app) {
783
+ super(`'${fileServer}' answers on '${subdomain}', which '${app}' answers on too, and two constructs cannot share a host. Rename one of them, or give '${app}' a subdomain of its own.`);
784
+ this.fileServer = fileServer;
785
+ this.subdomain = subdomain;
786
+ this.app = app;
787
+ this.name = "FileServerHostTaken";
788
+ }
789
+ };
790
+ /** The project's one wildcard site, or `undefined` when it has none. */
791
+ function wildcardSite(manifest) {
792
+ return Object.values(manifest).find(_geekmidas_manifest.isWildcardSite);
793
+ }
794
+ /**
795
+ * Every label an app answers on, by the app it belongs to — what a deploy
796
+ * puts under the stage's domain: a surface's or site's `subdomain` (or its id
797
+ * kebab-cased), each file server and its processors' origin, and each worker,
798
+ * which SNS may push to on a host of its own.
799
+ *
800
+ * The root site's is kept although it answers on the domain itself: which
801
+ * site is the root can change without a tenant's slug changing meaning. The
802
+ * wildcard site has none — its labels are whatever is left.
803
+ */
804
+ function appSubdomains(manifest) {
805
+ return new Map(claimedLabels(manifest));
806
+ }
807
+ /** Each label a construct answers on, with that construct's id, in manifest order. */
808
+ function* claimedLabels(manifest) {
809
+ for (const [id, declaration] of Object.entries(manifest)) switch (declaration.kind) {
810
+ case "rest-api":
811
+ case "websocket-api":
812
+ yield [declaration.subdomain ?? (0, _geekmidas_manifest.kebabCase)(id), id];
813
+ break;
814
+ case "site":
815
+ if (declaration.subdomain === _geekmidas_manifest.WILDCARD_SUBDOMAIN) break;
816
+ yield [declaration.subdomain ?? (0, _geekmidas_manifest.kebabCase)(id), id];
817
+ break;
818
+ case "file-server":
819
+ yield [fileServerLabel(id), id];
820
+ if (declaration.processors?.length) yield [`${fileServerLabel(id)}-processors`, id];
821
+ break;
822
+ case "worker": yield [(0, _geekmidas_manifest.kebabCase)(id), id];
823
+ }
824
+ }
825
+ /**
826
+ * The labels no tenant may take: every app's own and the workspace's
827
+ * `protectedSubdomains`, sorted.
828
+ */
829
+ function protectedSubdomains(manifest, configured = []) {
830
+ return [.../* @__PURE__ */ new Set([...appSubdomains(manifest).keys(), ...configured])].sort();
831
+ }
832
+ /**
833
+ * What a project's subdomains have to satisfy before anything is derived
834
+ * from them.
835
+ *
836
+ * @throws {SecondWildcardSite} when two sites declare `subdomain: '*'`
837
+ * @throws {SiteHostsEndpointMissing} when the wildcard site's `hosts` route is not served
838
+ * @throws {ProtectedSubdomainIsAnApp} when `protectedSubdomains` repeats an app's own
839
+ * @throws {FileServerHostTaken} when a file server's host is another construct's
840
+ */
841
+ function assertSubdomains(manifest, configured = []) {
842
+ const wildcards = Object.values(manifest).filter(_geekmidas_manifest.isWildcardSite);
843
+ if (wildcards.length > 1) throw new SecondWildcardSite(wildcards.map((site) => site.id).sort());
844
+ const site = wildcards[0];
845
+ if (site?.hosts) {
846
+ const surface = manifest[site.hosts.surface];
847
+ if (!(surface?.kind === "rest-api" && surface.endpoints.some((endpoint) => endpoint.method.toUpperCase() === "GET" && endpoint.path === site.hosts?.path))) throw new SiteHostsEndpointMissing(site.id, site.hosts.surface, site.hosts.path);
848
+ }
849
+ assertFileServerHosts(manifest);
850
+ const labels = appSubdomains(manifest);
851
+ for (const subdomain of configured) {
852
+ const app = labels.get(subdomain);
853
+ if (app) throw new ProtectedSubdomainIsAnApp(subdomain, app);
854
+ }
855
+ }
856
+ /**
857
+ * Every host a file server answers on — its own and its processors' origin —
858
+ * is no other construct's. {@link appSubdomains} keeps one owner per label,
859
+ * so the clash it would hide is found here, before either is deployed.
860
+ */
861
+ function assertFileServerHosts(manifest) {
862
+ const owners = /* @__PURE__ */ new Map();
863
+ for (const [label, id] of claimedLabels(manifest)) {
864
+ const other = owners.get(label);
865
+ owners.set(label, id);
866
+ if (other === void 0 || other === id) continue;
867
+ if (manifest[id]?.kind === "file-server") throw new FileServerHostTaken(id, label, other);
868
+ if (manifest[other]?.kind === "file-server") throw new FileServerHostTaken(other, label, id);
869
+ }
870
+ }
871
+ //#endregion
872
+ //#region src/workspace/derive.ts
873
+ /**
874
+ * The apps a manifest implies.
875
+ *
876
+ * `gkm.config.ts` used to carry an `apps` block naming every app: its type, its
877
+ * path, its port, its framework, which other apps it depended on. Every one of
878
+ * those facts was already declared. A `StaticSite('Web', { path: 'apps/web' })`
879
+ * and an `apps.web = { type: 'web', path: 'apps/web', framework: 'vite',
880
+ * dependencies: ['api'] }` are the same statement written twice, and only one of
881
+ * them was checked against anything — so the copy in config was free to drift,
882
+ * and a surface config had no entry for simply never deployed.
883
+ *
884
+ * So the list comes from the graph. A `site` is an app, and so is every
885
+ * `rest-api` — one surface, one container, at the `path` it declared.
886
+ *
887
+ * What config still supplies is what no graph can answer: the backends a cache
888
+ * and a mailer resolve to, the deploy endpoint, the stage's domain.
889
+ */
890
+ /** Which frontend framework builds each site variant. */
891
+ const FRAMEWORKS = {
892
+ static: "vite",
893
+ next: "nextjs",
894
+ tanstack: "tanstack-start"
895
+ };
896
+ /**
897
+ * The app key a construct id becomes.
898
+ *
899
+ * The same kebab form every physical name is built from, so `Api` is `api` in
900
+ * the config, `production-kitchen-sink-api` on Dokploy, and `API_URL` in an
901
+ * environment — one id, three renderings, no second list.
902
+ */
903
+ function appKey(id) {
904
+ return (0, _geekmidas_manifest.kebabCase)(id);
905
+ }
906
+ /**
907
+ * The app serving a surface: its own, always.
908
+ *
909
+ * Every surface gets a container. There is no arrangement in which one runs
910
+ * inside another — two surfaces in a process share a filesystem, an
911
+ * environment, and every credential either was granted, so an auth server
912
+ * beside an API is one bug in the API away from being read by it.
913
+ */
914
+ function hostOf(manifest, id) {
915
+ const declaration = manifest[id];
916
+ if (!declaration || declaration.kind !== "rest-api" && declaration.kind !== "websocket-api") return void 0;
917
+ return id;
918
+ }
919
+ /**
920
+ * Local ports, assigned so that adding a site does not renumber the others.
921
+ *
922
+ * Backends first, then the site holding the base domain, then the rest
923
+ * alphabetically. The ordering is arbitrary but it is *fixed*, which is the
924
+ * property that matters: a port that moves when an unrelated app is added is a
925
+ * port nobody can put in a bookmark. A construct that names its own port keeps
926
+ * it, and is skipped here.
927
+ */
928
+ function assignPorts(apps) {
929
+ const rank = (name, app) => [
930
+ app.type === "backend" ? 0 : app.type === "web" ? 1 : 2,
931
+ app.root ? 0 : 1,
932
+ name
933
+ ];
934
+ const ordered = Object.entries(apps).sort(([aName, a], [bName, b]) => {
935
+ const [at, ar, an] = rank(aName, a);
936
+ const [bt, br, bn] = rank(bName, b);
937
+ return at - bt || ar - br || an.localeCompare(bn);
938
+ });
939
+ const taken = new Set(ordered.map(([, app]) => app.port).filter((p) => !!p));
940
+ let next = 3e3;
941
+ for (const [, app] of ordered) {
942
+ if (app.port) continue;
943
+ while (taken.has(next)) next += 1;
944
+ app.port = next;
945
+ taken.add(next);
946
+ }
947
+ }
948
+ /**
949
+ * Whichever site holds the base domain.
950
+ *
951
+ * The convention first — a site named `web` — because it is one people already
952
+ * rely on. Then an explicit `root: true`. A project with one site needs neither.
953
+ */
954
+ function markRoot(apps) {
955
+ const sites = Object.entries(apps).filter(([, a]) => a.type === "web" && a.subdomain !== _geekmidas_manifest.WILDCARD_SUBDOMAIN);
956
+ if (sites.length === 0) return;
957
+ if (sites.some(([, a]) => a.root)) return;
958
+ const chosen = sites.find(([name]) => name === "web") ?? (sites.length === 1 ? sites[0] : void 0);
959
+ if (chosen) chosen[1].root = true;
960
+ }
961
+ function derivedApps(manifest, workspace) {
962
+ assertSubdomains(manifest, workspace.protectedSubdomains);
963
+ const apps = {};
964
+ const defaultTarget = workspace.deploy?.default ?? "dokploy";
965
+ for (const [id, declaration] of Object.entries(manifest)) {
966
+ if (declaration.kind !== "site" && declaration.kind !== "mobile-app" && declaration.kind !== "rest-api" && declaration.kind !== "websocket-api") continue;
967
+ const spec = declaration.kind === "site" || declaration.kind === "mobile-app" ? declaration.app : {
968
+ path: declaration.path,
969
+ ...declaration.kind === "rest-api" && declaration.telescope ? { telescope: true } : {}
970
+ };
971
+ const name = appKey(id);
972
+ const configured = workspace.apps[name];
973
+ apps[name] = {
974
+ ...configured,
975
+ type: declaration.kind === "site" ? "web" : declaration.kind === "mobile-app" ? "mobile" : "backend",
976
+ path: spec.path,
977
+ port: spec.port ?? configured?.port ?? 0,
978
+ ...(declaration.kind === "rest-api" || declaration.kind === "websocket-api" || declaration.kind === "site") && declaration.subdomain ? { subdomain: declaration.subdomain } : {},
979
+ dependencies: [],
980
+ resolvedDeployTarget: configured?.resolvedDeployTarget ?? defaultTarget,
981
+ ...declaration.kind === "site" ? {
982
+ framework: configured?.framework ?? FRAMEWORKS[declaration.variant],
983
+ ...declaration.root ? { root: true } : {},
984
+ ...spec.config ? { config: spec.config } : {}
985
+ } : {},
986
+ ...declaration.kind === "mobile-app" ? {
987
+ framework: configured?.framework ?? declaration.variant,
988
+ ...spec.config ? { config: spec.config } : {}
989
+ } : {},
990
+ ...spec.telescope !== void 0 ? { telescope: spec.telescope } : {},
991
+ ...spec.openapi !== void 0 ? { openapi: spec.openapi } : {},
992
+ ...spec.runtime !== void 0 ? { runtime: spec.runtime } : {},
993
+ ...spec.env !== void 0 ? { env: spec.env } : {},
994
+ ...spec.entry !== void 0 ? { entry: spec.entry } : {},
995
+ ...configured?.domain ? { domain: configured.domain } : {}
996
+ };
997
+ }
998
+ for (const [id, declaration] of Object.entries(manifest)) {
999
+ if (declaration.kind !== "site" && declaration.kind !== "mobile-app" && declaration.kind !== "rest-api" && declaration.kind !== "websocket-api") continue;
1000
+ const app = apps[appKey(id)];
1001
+ if (!app) continue;
1002
+ const edges = (0, _geekmidas_manifest.dependenciesOf)(declaration);
1003
+ const names = /* @__PURE__ */ new Set();
1004
+ for (const edge of edges) {
1005
+ if (edge.kind !== "rest-api") continue;
1006
+ const host = hostOf(manifest, edge.target);
1007
+ if (!host) continue;
1008
+ const key = appKey(host);
1009
+ if (key !== appKey(id) && apps[key]) names.add(key);
1010
+ }
1011
+ app.dependencies = [...names].sort();
1012
+ }
1013
+ markRoot(apps);
1014
+ assignPorts(apps);
1015
+ for (const [name, app] of Object.entries(workspace.apps)) if (!apps[name]) apps[name] = app;
1016
+ return apps;
1017
+ }
701
1018
  const SUFFIX_ALPHABET = "abcdefghijklmnopqrstuvwxyz0123456789";
702
1019
  /** A name that S3 would refuse — what the name builder never returns. */
703
1020
  var InvalidBucketName = class extends require_errors.GkmError {
@@ -885,6 +1202,17 @@ function emailUserName(scope, stage, id) {
885
1202
  id
886
1203
  });
887
1204
  }
1205
+ /**
1206
+ * What an inbox's bucket and its IAM user are named for, after the stage:
1207
+ * `requests-mail`.
1208
+ */
1209
+ function inboxBucketId(inbox) {
1210
+ return `${appKey(inbox)}-mail`;
1211
+ }
1212
+ /** The SNS topic SES announces an inbox's mail on. */
1213
+ function inboxTopicName(scope, stage, inbox) {
1214
+ return `gkm-${scope}-${stage}-${inboxBucketId(inbox)}`.replace(/[^A-Za-z0-9_-]/g, "-").slice(0, 256);
1215
+ }
888
1216
  /** The stage's AWS account, as every AWS provider asks for it. */
889
1217
  const SES_PROVISIONING = S3_PROVISIONING;
890
1218
  //#endregion
@@ -2870,6 +3198,12 @@ Object.defineProperty(exports, "appConstructGlobs", {
2870
3198
  return appConstructGlobs;
2871
3199
  }
2872
3200
  });
3201
+ Object.defineProperty(exports, "appKey", {
3202
+ enumerable: true,
3203
+ get: function() {
3204
+ return appKey;
3205
+ }
3206
+ });
2873
3207
  Object.defineProperty(exports, "assertDeployedStage", {
2874
3208
  enumerable: true,
2875
3209
  get: function() {
@@ -2942,12 +3276,24 @@ Object.defineProperty(exports, "deployedProblems", {
2942
3276
  return deployedProblems;
2943
3277
  }
2944
3278
  });
3279
+ Object.defineProperty(exports, "derivedApps", {
3280
+ enumerable: true,
3281
+ get: function() {
3282
+ return derivedApps;
3283
+ }
3284
+ });
2945
3285
  Object.defineProperty(exports, "emailUserName", {
2946
3286
  enumerable: true,
2947
3287
  get: function() {
2948
3288
  return emailUserName;
2949
3289
  }
2950
3290
  });
3291
+ Object.defineProperty(exports, "fileServerLabel", {
3292
+ enumerable: true,
3293
+ get: function() {
3294
+ return fileServerLabel;
3295
+ }
3296
+ });
2951
3297
  Object.defineProperty(exports, "formatValidationErrors", {
2952
3298
  enumerable: true,
2953
3299
  get: function() {
@@ -2990,6 +3336,18 @@ Object.defineProperty(exports, "iamUserName", {
2990
3336
  return iamUserName;
2991
3337
  }
2992
3338
  });
3339
+ Object.defineProperty(exports, "inboxBucketId", {
3340
+ enumerable: true,
3341
+ get: function() {
3342
+ return inboxBucketId;
3343
+ }
3344
+ });
3345
+ Object.defineProperty(exports, "inboxTopicName", {
3346
+ enumerable: true,
3347
+ get: function() {
3348
+ return inboxTopicName;
3349
+ }
3350
+ });
2993
3351
  Object.defineProperty(exports, "isDeployTargetSupported", {
2994
3352
  enumerable: true,
2995
3353
  get: function() {
@@ -3032,6 +3390,12 @@ Object.defineProperty(exports, "processConfig", {
3032
3390
  return processConfig;
3033
3391
  }
3034
3392
  });
3393
+ Object.defineProperty(exports, "protectedSubdomains", {
3394
+ enumerable: true,
3395
+ get: function() {
3396
+ return protectedSubdomains;
3397
+ }
3398
+ });
3035
3399
  Object.defineProperty(exports, "provisioningOf", {
3036
3400
  enumerable: true,
3037
3401
  get: function() {
@@ -3116,6 +3480,12 @@ Object.defineProperty(exports, "validateWorkspaceConfig", {
3116
3480
  return validateWorkspaceConfig;
3117
3481
  }
3118
3482
  });
3483
+ Object.defineProperty(exports, "wildcardSite", {
3484
+ enumerable: true,
3485
+ get: function() {
3486
+ return wildcardSite;
3487
+ }
3488
+ });
3119
3489
  Object.defineProperty(exports, "workspaceConstructGlobs", {
3120
3490
  enumerable: true,
3121
3491
  get: function() {
@@ -3129,4 +3499,4 @@ Object.defineProperty(exports, "wrapSingleAppAsWorkspace", {
3129
3499
  }
3130
3500
  });
3131
3501
 
3132
- //# sourceMappingURL=workspace-VhzmoxOv.cjs.map
3502
+ //# sourceMappingURL=workspace-DPSdiv-b.cjs.map