@geekmidas/cli 10.0.0-alpha.147 → 10.0.0-alpha.148

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 (165) hide show
  1. package/dist/{GoDaddyProvider-DXuPFufW.mjs → GoDaddyProvider-CGgS-I6m.mjs} +2 -2
  2. package/dist/{GoDaddyProvider-DXuPFufW.mjs.map → GoDaddyProvider-CGgS-I6m.mjs.map} +1 -1
  3. package/dist/{GoDaddyProvider-CpO8dFYC.cjs → GoDaddyProvider-D_dZQJIX.cjs} +2 -2
  4. package/dist/{GoDaddyProvider-CpO8dFYC.cjs.map → GoDaddyProvider-D_dZQJIX.cjs.map} +1 -1
  5. package/dist/{HostingerProvider-Dum492dc.mjs → HostingerProvider-CWRE6auw.mjs} +2 -2
  6. package/dist/{HostingerProvider-Dum492dc.mjs.map → HostingerProvider-CWRE6auw.mjs.map} +1 -1
  7. package/dist/{HostingerProvider-Beu0Ciky.cjs → HostingerProvider-eGuDBjfN.cjs} +2 -2
  8. package/dist/{HostingerProvider-Beu0Ciky.cjs.map → HostingerProvider-eGuDBjfN.cjs.map} +1 -1
  9. package/dist/{LegacyStateStore-DZjph7ES.mjs → LegacyStateStore-CLyFmPIj.mjs} +2 -2
  10. package/dist/{LegacyStateStore-DZjph7ES.mjs.map → LegacyStateStore-CLyFmPIj.mjs.map} +1 -1
  11. package/dist/{LegacyStateStore-V4R0llou.cjs → LegacyStateStore-DyX9-7R_.cjs} +2 -2
  12. package/dist/{LegacyStateStore-V4R0llou.cjs.map → LegacyStateStore-DyX9-7R_.cjs.map} +1 -1
  13. package/dist/{LocalStateStore-DuSotrd3.cjs → LocalStateStore-C-v8K8zO.cjs} +2 -2
  14. package/dist/{LocalStateStore-DuSotrd3.cjs.map → LocalStateStore-C-v8K8zO.cjs.map} +1 -1
  15. package/dist/{LocalStateStore-Bth8pBp-.mjs → LocalStateStore-DQVwsyTh.mjs} +2 -2
  16. package/dist/{LocalStateStore-Bth8pBp-.mjs.map → LocalStateStore-DQVwsyTh.mjs.map} +1 -1
  17. package/dist/{S3StateStore-DTPxQS3z.cjs → S3StateStore-GA-DOTmj.cjs} +4 -4
  18. package/dist/{S3StateStore-DTPxQS3z.cjs.map → S3StateStore-GA-DOTmj.cjs.map} +1 -1
  19. package/dist/{S3StateStore-DGlh3s2p.mjs → S3StateStore-gR_6fNF6.mjs} +4 -4
  20. package/dist/{S3StateStore-DGlh3s2p.mjs.map → S3StateStore-gR_6fNF6.mjs.map} +1 -1
  21. package/dist/{SSMStateStore-DCa85jhG.mjs → SSMStateStore-CT68N-Ti.mjs} +2 -2
  22. package/dist/{SSMStateStore-DCa85jhG.mjs.map → SSMStateStore-CT68N-Ti.mjs.map} +1 -1
  23. package/dist/{SSMStateStore-B9R317q0.cjs → SSMStateStore-kdb9rf7x.cjs} +2 -2
  24. package/dist/{SSMStateStore-B9R317q0.cjs.map → SSMStateStore-kdb9rf7x.cjs.map} +1 -1
  25. package/dist/{add-Cr-9Ku0W.cjs → add-C7_WJEv2.cjs} +5 -6
  26. package/dist/{add-Cr-9Ku0W.cjs.map → add-C7_WJEv2.cjs.map} +1 -1
  27. package/dist/{add-Bl33BvDW.mjs → add-CvmRPEfW.mjs} +4 -5
  28. package/dist/{add-Bl33BvDW.mjs.map → add-CvmRPEfW.mjs.map} +1 -1
  29. package/dist/{apps-BIsxWYUo.cjs → apps-ClZkLcMz.cjs} +670 -12
  30. package/dist/apps-ClZkLcMz.cjs.map +1 -0
  31. package/dist/{apps-DFzUuJ22.mjs → apps-CmKxFPTj.mjs} +529 -15
  32. package/dist/apps-CmKxFPTj.mjs.map +1 -0
  33. package/dist/{bundler-BagXzefF.mjs → bundler-D6IEJvq4.mjs} +6 -6
  34. package/dist/{bundler-BagXzefF.mjs.map → bundler-D6IEJvq4.mjs.map} +1 -1
  35. package/dist/{bundler-Cael9EDc.cjs → bundler-Ronn7-mL.cjs} +6 -6
  36. package/dist/{bundler-Cael9EDc.cjs.map → bundler-Ronn7-mL.cjs.map} +1 -1
  37. package/dist/{cli-BJRPsFq7.mjs → cli-AZVyGSRn.mjs} +4 -4
  38. package/dist/{cli-BJRPsFq7.mjs.map → cli-AZVyGSRn.mjs.map} +1 -1
  39. package/dist/{cli-B1A-cLy-.cjs → cli-B1g2OvS0.cjs} +4 -4
  40. package/dist/{cli-B1A-cLy-.cjs.map → cli-B1g2OvS0.cjs.map} +1 -1
  41. package/dist/{compose-CnNmDNph.cjs → compose-B5AsRVqr.cjs} +13 -13
  42. package/dist/{compose-CnNmDNph.cjs.map → compose-B5AsRVqr.cjs.map} +1 -1
  43. package/dist/{compose-CZU60dwb.mjs → compose-BRNMF29g.mjs} +7 -7
  44. package/dist/{compose-CZU60dwb.mjs.map → compose-BRNMF29g.mjs.map} +1 -1
  45. package/dist/{compose-C7izI7Eo.mjs → compose-DNuENvIt.mjs} +13 -7
  46. package/dist/{compose-C7izI7Eo.mjs.map → compose-DNuENvIt.mjs.map} +1 -1
  47. package/dist/{compose-Cius-YHS.cjs → compose-DVPWitEu.cjs} +30 -6
  48. package/dist/{compose-Cius-YHS.cjs.map → compose-DVPWitEu.cjs.map} +1 -1
  49. package/dist/{credentials-D11xozSF.cjs → credentials-CrQglKgo.cjs} +5 -69
  50. package/dist/credentials-CrQglKgo.cjs.map +1 -0
  51. package/dist/{credentials-CJ_z0Nni.mjs → credentials-FRF4PZYo.mjs} +7 -41
  52. package/dist/credentials-FRF4PZYo.mjs.map +1 -0
  53. package/dist/deploy/public.cjs +10 -10
  54. package/dist/deploy/public.mjs +10 -10
  55. package/dist/{deploy-Dfn21QYG.mjs → deploy-DI_tg5Mi.mjs} +11 -11
  56. package/dist/{deploy-Dfn21QYG.mjs.map → deploy-DI_tg5Mi.mjs.map} +1 -1
  57. package/dist/{deploy-Ch1wCsU1.cjs → deploy-DTBod420.cjs} +29 -29
  58. package/dist/{deploy-Ch1wCsU1.cjs.map → deploy-DTBod420.cjs.map} +1 -1
  59. package/dist/{docker-BT6G7aJE.cjs → docker-CnWX5QNR.cjs} +7 -7
  60. package/dist/{docker-BT6G7aJE.cjs.map → docker-CnWX5QNR.cjs.map} +1 -1
  61. package/dist/{docker-_W_CauBY.mjs → docker-DsJNWnaX.mjs} +4 -4
  62. package/dist/{docker-_W_CauBY.mjs.map → docker-DsJNWnaX.mjs.map} +1 -1
  63. package/dist/{dokploy-DaQbR_NH.cjs → dokploy-CxttPnYP.cjs} +2 -2
  64. package/dist/{dokploy-DaQbR_NH.cjs.map → dokploy-CxttPnYP.cjs.map} +1 -1
  65. package/dist/{dokploy-CBgGuei3.mjs → dokploy-Dd2mXHgX.mjs} +2 -2
  66. package/dist/{dokploy-CBgGuei3.mjs.map → dokploy-Dd2mXHgX.mjs.map} +1 -1
  67. package/dist/{eas-YxDTJ3ql.cjs → eas-B-JskJLP.cjs} +2 -2
  68. package/dist/{eas-YxDTJ3ql.cjs.map → eas-B-JskJLP.cjs.map} +1 -1
  69. package/dist/{eas-3L1_yKhk.mjs → eas-B_yjP_Sl.mjs} +2 -2
  70. package/dist/{eas-3L1_yKhk.mjs.map → eas-B_yjP_Sl.mjs.map} +1 -1
  71. package/dist/{encryption-CRyFk5nu.mjs → encryption-dUnvnbu8.mjs} +2 -2
  72. package/dist/{encryption-CRyFk5nu.mjs.map → encryption-dUnvnbu8.mjs.map} +1 -1
  73. package/dist/{encryption-CVIu104e.cjs → encryption-yW6cWTsN.cjs} +2 -2
  74. package/dist/{encryption-CVIu104e.cjs.map → encryption-yW6cWTsN.cjs.map} +1 -1
  75. package/dist/{engine-DZnZy1R5.mjs → engine-W1gbyy7T.mjs} +8 -8
  76. package/dist/{engine-DZnZy1R5.mjs.map → engine-W1gbyy7T.mjs.map} +1 -1
  77. package/dist/{engine-XecwdLdj.cjs → engine-oBwumCI2.cjs} +12 -12
  78. package/dist/{engine-XecwdLdj.cjs.map → engine-oBwumCI2.cjs.map} +1 -1
  79. package/dist/{github-CDJXpBCT.mjs → github-D2-FIlNY.mjs} +6 -7
  80. package/dist/{github-CDJXpBCT.mjs.map → github-D2-FIlNY.mjs.map} +1 -1
  81. package/dist/{github-dnxU_tMp.cjs → github-DLucfS9E.cjs} +7 -8
  82. package/dist/{github-dnxU_tMp.cjs.map → github-DLucfS9E.cjs.map} +1 -1
  83. package/dist/{googlePlay-CnIU3qIV.cjs → googlePlay-C91kIbBZ.cjs} +4 -4
  84. package/dist/{googlePlay-CnIU3qIV.cjs.map → googlePlay-C91kIbBZ.cjs.map} +1 -1
  85. package/dist/{googlePlay-BYeXKpNE.mjs → googlePlay-CapfGnZ8.mjs} +4 -4
  86. package/dist/{googlePlay-BYeXKpNE.mjs.map → googlePlay-CapfGnZ8.mjs.map} +1 -1
  87. package/dist/index.cjs +94 -77
  88. package/dist/index.cjs.map +1 -1
  89. package/dist/index.mjs +82 -65
  90. package/dist/index.mjs.map +1 -1
  91. package/dist/{local-BIOpCtLE.mjs → local-2SR2d_BC.mjs} +2 -2
  92. package/dist/{local-BIOpCtLE.mjs.map → local-2SR2d_BC.mjs.map} +1 -1
  93. package/dist/{local-qdNfjzxQ.cjs → local-l5_-A-zI.cjs} +2 -2
  94. package/dist/{local-qdNfjzxQ.cjs.map → local-l5_-A-zI.cjs.map} +1 -1
  95. package/dist/{migrate-CkHtNdre.cjs → migrate-B05YVukh.cjs} +2 -2
  96. package/dist/{migrate-CkHtNdre.cjs.map → migrate-B05YVukh.cjs.map} +1 -1
  97. package/dist/{migrate-svXhccrs.mjs → migrate-C0ecSkL2.mjs} +2 -2
  98. package/dist/{migrate-svXhccrs.mjs.map → migrate-C0ecSkL2.mjs.map} +1 -1
  99. package/dist/{migrate-CDEHWq-e.cjs → migrate-DNLNhKNT.cjs} +4 -4
  100. package/dist/{migrate-CDEHWq-e.cjs.map → migrate-DNLNhKNT.cjs.map} +1 -1
  101. package/dist/{migrate--VNdTWT7.mjs → migrate-KdqlzELQ.mjs} +4 -4
  102. package/dist/{migrate--VNdTWT7.mjs.map → migrate-KdqlzELQ.mjs.map} +1 -1
  103. package/dist/{notes-D9ofENLJ.mjs → notes-Cj8jL1kS.mjs} +2 -2
  104. package/dist/{notes-D9ofENLJ.mjs.map → notes-Cj8jL1kS.mjs.map} +1 -1
  105. package/dist/{notes-DBNPml4N.cjs → notes-DTTUGZyi.cjs} +2 -2
  106. package/dist/{notes-DBNPml4N.cjs.map → notes-DTTUGZyi.cjs.map} +1 -1
  107. package/dist/{projectBucket-De0MQeNj.mjs → projectBucket-6BKUPlDp.mjs} +2 -2
  108. package/dist/{projectBucket-De0MQeNj.mjs.map → projectBucket-6BKUPlDp.mjs.map} +1 -1
  109. package/dist/{projectBucket-BtiC0Cn8.cjs → projectBucket-CjJB-nom.cjs} +2 -2
  110. package/dist/{projectBucket-BtiC0Cn8.cjs.map → projectBucket-CjJB-nom.cjs.map} +1 -1
  111. package/dist/{publish-CohTrVKe.cjs → publish-Cj36G3de.cjs} +2 -2
  112. package/dist/{publish-CohTrVKe.cjs.map → publish-Cj36G3de.cjs.map} +1 -1
  113. package/dist/{publish-k38S418e.mjs → publish-DRsFN1td.mjs} +2 -2
  114. package/dist/{publish-k38S418e.mjs.map → publish-DRsFN1td.mjs.map} +1 -1
  115. package/dist/{resolve-Cr3Qj8ch.cjs → resolve-C1NkdIcy.cjs} +4 -4
  116. package/dist/{resolve-Cr3Qj8ch.cjs.map → resolve-C1NkdIcy.cjs.map} +1 -1
  117. package/dist/{resolve-YMxlYJtO.mjs → resolve-DjbMNLt-.mjs} +4 -4
  118. package/dist/{resolve-YMxlYJtO.mjs.map → resolve-DjbMNLt-.mjs.map} +1 -1
  119. package/dist/{rollback-eyqvtzW_.cjs → rollback-531Va3dw.cjs} +5 -5
  120. package/dist/{rollback-eyqvtzW_.cjs.map → rollback-531Va3dw.cjs.map} +1 -1
  121. package/dist/{rollback-DIoyVrQI.mjs → rollback-D0ZpwlFq.mjs} +5 -5
  122. package/dist/{rollback-DIoyVrQI.mjs.map → rollback-D0ZpwlFq.mjs.map} +1 -1
  123. package/dist/{s3-CegRM8Sa.cjs → s3-BSfFgbms.cjs} +2 -2
  124. package/dist/{s3-CegRM8Sa.cjs.map → s3-BSfFgbms.cjs.map} +1 -1
  125. package/dist/{s3-Cl3tRemt.mjs → s3-Ho00alt7.mjs} +2 -2
  126. package/dist/{s3-Cl3tRemt.mjs.map → s3-Ho00alt7.mjs.map} +1 -1
  127. package/dist/{serverSetup-fQwkJ_EI.mjs → serverSetup-BW1RgJXo.mjs} +5 -5
  128. package/dist/{serverSetup-fQwkJ_EI.mjs.map → serverSetup-BW1RgJXo.mjs.map} +1 -1
  129. package/dist/{serverSetup-BwfMgz3W.cjs → serverSetup-C59lCe80.cjs} +5 -5
  130. package/dist/{serverSetup-BwfMgz3W.cjs.map → serverSetup-C59lCe80.cjs.map} +1 -1
  131. package/dist/{sniffer-BgdVvvzU.cjs → sniffer-BL7X_kzC.cjs} +6 -6
  132. package/dist/{sniffer-BgdVvvzU.cjs.map → sniffer-BL7X_kzC.cjs.map} +1 -1
  133. package/dist/{sniffer-FF7mfuR8.mjs → sniffer-DrmSlwg9.mjs} +6 -6
  134. package/dist/{sniffer-FF7mfuR8.mjs.map → sniffer-DrmSlwg9.mjs.map} +1 -1
  135. package/dist/{snsSubscriptions-DUY-Tu6J.cjs → snsSubscriptions-B8nZBBEE.cjs} +2 -2
  136. package/dist/{snsSubscriptions-DUY-Tu6J.cjs.map → snsSubscriptions-B8nZBBEE.cjs.map} +1 -1
  137. package/dist/{snsSubscriptions-B_WH4o1S.mjs → snsSubscriptions-DF7YGauz.mjs} +2 -2
  138. package/dist/{snsSubscriptions-B_WH4o1S.mjs.map → snsSubscriptions-DF7YGauz.mjs.map} +1 -1
  139. package/dist/{sst-BkTtncop.mjs → sst-C-RSpWC2.mjs} +4 -4
  140. package/dist/{sst-BkTtncop.mjs.map → sst-C-RSpWC2.mjs.map} +1 -1
  141. package/dist/{sst-BEXeTgDQ.cjs → sst-Dvko43Y3.cjs} +4 -4
  142. package/dist/{sst-BEXeTgDQ.cjs.map → sst-Dvko43Y3.cjs.map} +1 -1
  143. package/dist/{stack-CqfBL5LA.mjs → stack-CVzOFHed.mjs} +49 -368
  144. package/dist/stack-CVzOFHed.mjs.map +1 -0
  145. package/dist/{stack-CcFgY4sJ.cjs → stack-l_eQ63Gl.cjs} +51 -442
  146. package/dist/stack-l_eQ63Gl.cjs.map +1 -0
  147. package/dist/{stage-4ZtteXz8.mjs → stage-JMlDwobz.mjs} +16 -13
  148. package/dist/stage-JMlDwobz.mjs.map +1 -0
  149. package/dist/{stage-C19XRx7W.cjs → stage-_vzQ82Gz.cjs} +17 -14
  150. package/dist/stage-_vzQ82Gz.cjs.map +1 -0
  151. package/dist/target/public.cjs +1 -1
  152. package/dist/target/public.mjs +1 -1
  153. package/dist/{terminal-KVX_MmCR.mjs → terminal-BnKPi06T.mjs} +2 -2
  154. package/dist/{terminal-KVX_MmCR.mjs.map → terminal-BnKPi06T.mjs.map} +1 -1
  155. package/dist/{terminal-BkyVVOb-.cjs → terminal-CdPFlCS_.cjs} +2 -2
  156. package/dist/{terminal-BkyVVOb-.cjs.map → terminal-CdPFlCS_.cjs.map} +1 -1
  157. package/package.json +15 -15
  158. package/dist/apps-BIsxWYUo.cjs.map +0 -1
  159. package/dist/apps-DFzUuJ22.mjs.map +0 -1
  160. package/dist/credentials-CJ_z0Nni.mjs.map +0 -1
  161. package/dist/credentials-D11xozSF.cjs.map +0 -1
  162. package/dist/stack-CcFgY4sJ.cjs.map +0 -1
  163. package/dist/stack-CqfBL5LA.mjs.map +0 -1
  164. package/dist/stage-4ZtteXz8.mjs.map +0 -1
  165. package/dist/stage-C19XRx7W.cjs.map +0 -1
@@ -1,20 +1,20 @@
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-D11xozSF.cjs");
3
+ const require_credentials = require("./credentials-CrQglKgo.cjs");
4
4
  const require_workspace = require("./workspace-1szcahj9.cjs");
5
- const require_stack = require("./stack-CcFgY4sJ.cjs");
5
+ const require_apps = require("./apps-ClZkLcMz.cjs");
6
6
  const require_define = require("./define-crmMcXFS.cjs");
7
- const require_compose = require("./compose-Cius-YHS.cjs");
8
- const require_apps = require("./apps-BIsxWYUo.cjs");
7
+ const require_compose = require("./compose-DVPWitEu.cjs");
9
8
  const require_SubscriberGenerator = require("./SubscriberGenerator-BNJyPmXJ.cjs");
10
9
  const require_config = require("./config-juUyBlb1.cjs");
11
10
  const require_discover = require("./discover-CRywE7yc.cjs");
12
- const require_resolve = require("./resolve-Cr3Qj8ch.cjs");
13
- const require_notes = require("./notes-DBNPml4N.cjs");
14
- const require_snsSubscriptions = require("./snsSubscriptions-DUY-Tu6J.cjs");
15
- const require_local = require("./local-qdNfjzxQ.cjs");
16
- const require_sniffer = require("./sniffer-BgdVvvzU.cjs");
17
- const require_projectBucket = require("./projectBucket-BtiC0Cn8.cjs");
11
+ const require_resolve = require("./resolve-C1NkdIcy.cjs");
12
+ const require_notes = require("./notes-DTTUGZyi.cjs");
13
+ const require_stack = require("./stack-l_eQ63Gl.cjs");
14
+ const require_snsSubscriptions = require("./snsSubscriptions-B8nZBBEE.cjs");
15
+ const require_local = require("./local-l5_-A-zI.cjs");
16
+ const require_sniffer = require("./sniffer-BL7X_kzC.cjs");
17
+ const require_projectBucket = require("./projectBucket-CjJB-nom.cjs");
18
18
  const require_seeds = require("./seeds-B3xvUAQf.cjs");
19
19
  const require_credentialSchemas = require("./credentialSchemas-BAklWDna.cjs");
20
20
  let node_path = require("node:path");
@@ -649,7 +649,7 @@ var BackupsKeyRefused = class extends require_errors.GkmError {
649
649
  key;
650
650
  said;
651
651
  constructor(stage, bucket, key, said) {
652
- super(`The ${require_stack.BACKUPS_URL_KEY} key of '${stage}' could not put s3://${bucket}/${key} (${said}), so its backups would fail the same way. Run the deploy with the stage's AWS credentials to put its user and policy back, or --rotate-keys to issue it a new key.`);
652
+ super(`The ${require_apps.BACKUPS_URL_KEY} key of '${stage}' could not put s3://${bucket}/${key} (${said}), so its backups would fail the same way. Run the deploy with the stage's AWS credentials to put its user and policy back, or --rotate-keys to issue it a new key.`);
653
653
  this.stage = stage;
654
654
  this.bucket = bucket;
655
655
  this.key = key;
@@ -678,7 +678,7 @@ function backupsRegion(workspace, stage, credential, env = process.env) {
678
678
  async function ensureStageBackups(input) {
679
679
  const { workspace, manifest, stage, ctx } = input;
680
680
  const env = input.env ?? process.env;
681
- const choice = require_stack.stageBackups(workspace, manifest, stage);
681
+ const choice = require_apps.stageBackups(workspace, manifest, stage);
682
682
  if (choice.mode === "disabled") {
683
683
  ctx.log(`💾 backups: off — deploy.backups.${stage} is false. Nothing is backed up, and nothing already backed up is deleted.`);
684
684
  return choice;
@@ -698,11 +698,11 @@ async function ensureStageBackups(input) {
698
698
  const region = backupsRegion(workspace, stage, credential, env);
699
699
  const clients = await backupsClients(credential, region, env);
700
700
  const bucket = require_projectBucket.projectBucketName(ctx.identity.scope, await require_projectBucket.callerAccountId(clients.sts));
701
- const prefix = require_stack.backupsPrefix(workspace, stage);
702
- const expiries = require_stack.backupExpiries(workspace, manifest);
701
+ const prefix = require_apps.backupsPrefix(workspace, stage);
702
+ const expiries = require_apps.backupExpiries(workspace, manifest);
703
703
  ctx.log(`💾 backups: ${choice.backups.describe}, to s3://${bucket}/${prefix}/${ctx.dryRun ? " (dry run)" : ""}`);
704
704
  if (await require_projectBucket.findProjectBucket(clients.s3, bucket) === "none") await ctx.change({
705
- construct: require_stack.BACKUPS_SERVICE,
705
+ construct: require_apps.BACKUPS_SERVICE,
706
706
  resource: `bucket ${bucket}`,
707
707
  change: `create in ${region}, expiring each stage's backups`
708
708
  }, async () => {
@@ -714,7 +714,7 @@ async function ensureStageBackups(input) {
714
714
  });
715
715
  });
716
716
  else if (await require_projectBucket.reconcileProjectBucketLifecycle(clients.s3, bucket, expiries, { dryRun: true })) await ctx.change({
717
- construct: require_stack.BACKUPS_SERVICE,
717
+ construct: require_apps.BACKUPS_SERVICE,
718
718
  resource: `bucket ${bucket}`,
719
719
  change: `lifecycle: ${expiries.map((e) => `${e.prefix} after ${e.days} days`).join(", ")}`
720
720
  }, async () => {
@@ -730,7 +730,7 @@ async function ensureStageBackups(input) {
730
730
  await ensureAccessKey(ctx, clients, {
731
731
  id: BACKUPS_ID,
732
732
  bucket,
733
- urlKey: require_stack.BACKUPS_URL_KEY,
733
+ urlKey: require_apps.BACKUPS_URL_KEY,
734
734
  ...user
735
735
  });
736
736
  return choice;
@@ -766,8 +766,8 @@ async function backupsClients(credential, region, env) {
766
766
  */
767
767
  async function verifyStageBackups(input) {
768
768
  const { stage } = input;
769
- if (require_stack.stageBackups(input.workspace, input.manifest, stage).mode !== "on") return false;
770
- const url = input.secrets[require_stack.BACKUPS_URL_KEY];
769
+ if (require_apps.stageBackups(input.workspace, input.manifest, stage).mode !== "on") return false;
770
+ const url = input.secrets[require_apps.BACKUPS_URL_KEY];
771
771
  if (!url) return false;
772
772
  const address = (await import("@geekmidas/storage/s3-url")).parse(url);
773
773
  if (!address.accessKeyId || !address.secretAccessKey) return false;
@@ -781,7 +781,7 @@ async function verifyStageBackups(input) {
781
781
  ...address.endpoint ? { endpoint: address.endpoint } : {},
782
782
  ...address.forcePathStyle ? { forcePathStyle: true } : {}
783
783
  });
784
- const Key = `${require_stack.backupsPrefix(input.workspace, stage)}/${VERIFY_MARKER}`;
784
+ const Key = `${require_apps.backupsPrefix(input.workspace, stage)}/${VERIFY_MARKER}`;
785
785
  const put = async () => {
786
786
  try {
787
787
  await client.send(new S3.PutObjectCommand({
@@ -1085,7 +1085,7 @@ function distributionConfig(input) {
1085
1085
  CustomHeaders: {
1086
1086
  Quantity: 1,
1087
1087
  Items: [{
1088
- HeaderName: require_credentials.ORIGIN_VERIFY_HEADER,
1088
+ HeaderName: require_apps.ORIGIN_VERIFY_HEADER,
1089
1089
  HeaderValue: processors.secret
1090
1090
  }]
1091
1091
  }
@@ -1198,7 +1198,7 @@ async function ensureBucketCdn(ctx, input) {
1198
1198
  ...input,
1199
1199
  server,
1200
1200
  host: cdnHost(server.id, domain),
1201
- processorHost: require_credentials.processorOriginHost(server.id, domain)
1201
+ processorHost: require_apps.processorOriginHost(server.id, domain)
1202
1202
  });
1203
1203
  out.distributionArns.push(arn);
1204
1204
  out.urls[server.id] = url;
@@ -1278,10 +1278,10 @@ async function ensureServerCdn(ctx, clients, input) {
1278
1278
  * it, when it composes.
1279
1279
  */
1280
1280
  async function ensureOriginSecret(ctx, serverId) {
1281
- const key = require_credentials.originSecretKey(serverId);
1281
+ const key = require_apps.originSecretKey(serverId);
1282
1282
  const kept = ctx.secrets[key];
1283
1283
  if (kept) return kept;
1284
- const secret = require_credentials.newOriginSecret();
1284
+ const secret = require_apps.newOriginSecret();
1285
1285
  ctx.log(` ${serverId}: a new processor origin secret, kept as ${key}`);
1286
1286
  await ctx.writeSecrets({ [key]: secret });
1287
1287
  return secret;
@@ -1881,7 +1881,7 @@ function workerPushHost(worker, domain) {
1881
1881
  */
1882
1882
  async function ensurePushSubscriptions(ctx, input) {
1883
1883
  const { id, events, region, watchers } = input;
1884
- if (!require_stack.deploysWithCompose(ctx.workspace)) {
1884
+ if (!require_apps.deploysWithCompose(ctx.workspace)) {
1885
1885
  ctx.log(` '${id}' is watched, and only a compose stage pushes a bucket's changes to a worker: its subscribers receive nothing on '${ctx.stage}'`);
1886
1886
  return;
1887
1887
  }
@@ -3013,7 +3013,7 @@ async function provisionStage(options) {
3013
3013
  report
3014
3014
  });
3015
3015
  }
3016
- const backups = require_stack.stageBackups(workspace, manifest, stage);
3016
+ const backups = require_apps.stageBackups(workspace, manifest, stage);
3017
3017
  if (configured.length === 0 && backups.mode !== "on") {
3018
3018
  if (backups.mode === "disabled") log(`💾 backups: off — deploy.backups.${stage} is false. Nothing is backed up, and nothing already backed up is deleted.`);
3019
3019
  return reports;
@@ -3021,7 +3021,7 @@ async function provisionStage(options) {
3021
3021
  const identity = require_credentials.deployIdentity(workspace, stage);
3022
3022
  let secrets = (await options.secrets.read())?.custom ?? {};
3023
3023
  for (const entry of configured) entry.report.planned = entry.provider.runtimeKeys(manifest).filter((key) => secrets[key] === void 0);
3024
- const state = dryRun ? await readOnlyState(options.state, stage) : journalState(await require_seeds.DeployJournal.open(options.state, stage, () => require_stack.deploysWithCompose(workspace) ? require_credentials.createComposeState(stage) : require_credentials.createEmptyState(stage, "", "")));
3024
+ const state = dryRun ? await readOnlyState(options.state, stage) : journalState(await require_seeds.DeployJournal.open(options.state, stage, () => require_apps.deploysWithCompose(workspace) ? require_credentials.createComposeState(stage) : require_credentials.createEmptyState(stage, "", "")));
3025
3025
  const writeSecrets = async (values) => {
3026
3026
  if (dryRun) return;
3027
3027
  const stored = await options.secrets.read() ?? require_credentials.initStageSecrets(stage);
@@ -3079,7 +3079,7 @@ async function provisionStage(options) {
3079
3079
  kind: "backups",
3080
3080
  mode: backups.mode === "on" ? "provider" : "none",
3081
3081
  actions: [],
3082
- planned: backups.mode === "on" && secrets["BACKUPS_URL"] === void 0 ? [require_stack.BACKUPS_URL_KEY] : []
3082
+ planned: backups.mode === "on" && secrets["BACKUPS_URL"] === void 0 ? [require_apps.BACKUPS_URL_KEY] : []
3083
3083
  };
3084
3084
  reports.push(report);
3085
3085
  await ensureStageBackups({
@@ -3889,4 +3889,4 @@ Object.defineProperty(exports, "iamUserName", {
3889
3889
  }
3890
3890
  });
3891
3891
 
3892
- //# sourceMappingURL=deploy-Ch1wCsU1.cjs.map
3892
+ //# sourceMappingURL=deploy-DTBod420.cjs.map