@simplysf/simply-cicd 0.3.0

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 (274) hide show
  1. package/README.md +1621 -0
  2. package/lib/commands/simply/cicd/build/cleanup-scratch-orgs.d.ts +21 -0
  3. package/lib/commands/simply/cicd/build/cleanup-scratch-orgs.js +47 -0
  4. package/lib/commands/simply/cicd/build/cleanup-scratch-orgs.js.map +1 -0
  5. package/lib/commands/simply/cicd/build/create-fallback-tag.d.ts +25 -0
  6. package/lib/commands/simply/cicd/build/create-fallback-tag.js +63 -0
  7. package/lib/commands/simply/cicd/build/create-fallback-tag.js.map +1 -0
  8. package/lib/commands/simply/cicd/build/create-package-version.d.ts +32 -0
  9. package/lib/commands/simply/cicd/build/create-package-version.js +110 -0
  10. package/lib/commands/simply/cicd/build/create-package-version.js.map +1 -0
  11. package/lib/commands/simply/cicd/build/create-scratch.d.ts +25 -0
  12. package/lib/commands/simply/cicd/build/create-scratch.js +63 -0
  13. package/lib/commands/simply/cicd/build/create-scratch.js.map +1 -0
  14. package/lib/commands/simply/cicd/build/delete-scratch.d.ts +21 -0
  15. package/lib/commands/simply/cicd/build/delete-scratch.js +53 -0
  16. package/lib/commands/simply/cicd/build/delete-scratch.js.map +1 -0
  17. package/lib/commands/simply/cicd/build/determine-package-changes.d.ts +17 -0
  18. package/lib/commands/simply/cicd/build/determine-package-changes.js +44 -0
  19. package/lib/commands/simply/cicd/build/determine-package-changes.js.map +1 -0
  20. package/lib/commands/simply/cicd/build/generate-flexipage-diff.d.ts +20 -0
  21. package/lib/commands/simply/cicd/build/generate-flexipage-diff.js +47 -0
  22. package/lib/commands/simply/cicd/build/generate-flexipage-diff.js.map +1 -0
  23. package/lib/commands/simply/cicd/build/generate-flow-diff.d.ts +20 -0
  24. package/lib/commands/simply/cicd/build/generate-flow-diff.js +47 -0
  25. package/lib/commands/simply/cicd/build/generate-flow-diff.js.map +1 -0
  26. package/lib/commands/simply/cicd/build/install-dependencies.d.ts +18 -0
  27. package/lib/commands/simply/cicd/build/install-dependencies.js +58 -0
  28. package/lib/commands/simply/cicd/build/install-dependencies.js.map +1 -0
  29. package/lib/commands/simply/cicd/build/lwc-jest.d.ts +14 -0
  30. package/lib/commands/simply/cicd/build/lwc-jest.js +37 -0
  31. package/lib/commands/simply/cicd/build/lwc-jest.js.map +1 -0
  32. package/lib/commands/simply/cicd/build/push-scratch.d.ts +19 -0
  33. package/lib/commands/simply/cicd/build/push-scratch.js +57 -0
  34. package/lib/commands/simply/cicd/build/push-scratch.js.map +1 -0
  35. package/lib/commands/simply/cicd/build/test-scratch.d.ts +18 -0
  36. package/lib/commands/simply/cicd/build/test-scratch.js +58 -0
  37. package/lib/commands/simply/cicd/build/test-scratch.js.map +1 -0
  38. package/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.d.ts +29 -0
  39. package/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js +36 -0
  40. package/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js.map +1 -0
  41. package/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.d.ts +23 -0
  42. package/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js +82 -0
  43. package/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js.map +1 -0
  44. package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.d.ts +21 -0
  45. package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js +57 -0
  46. package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js.map +1 -0
  47. package/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.d.ts +29 -0
  48. package/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js +36 -0
  49. package/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js.map +1 -0
  50. package/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.d.ts +29 -0
  51. package/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js +36 -0
  52. package/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js.map +1 -0
  53. package/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.d.ts +29 -0
  54. package/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js +36 -0
  55. package/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js.map +1 -0
  56. package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.d.ts +28 -0
  57. package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js +89 -0
  58. package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js.map +1 -0
  59. package/lib/commands/simply/cicd/deploy/happy-soup/validate.d.ts +15 -0
  60. package/lib/commands/simply/cicd/deploy/happy-soup/validate.js +49 -0
  61. package/lib/commands/simply/cicd/deploy/happy-soup/validate.js.map +1 -0
  62. package/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.d.ts +28 -0
  63. package/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js +36 -0
  64. package/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js.map +1 -0
  65. package/lib/commands/simply/cicd/deploy/project/install-packaged.d.ts +24 -0
  66. package/lib/commands/simply/cicd/deploy/project/install-packaged.js +69 -0
  67. package/lib/commands/simply/cicd/deploy/project/install-packaged.js.map +1 -0
  68. package/lib/commands/simply/cicd/deploy/project/post-deploy.d.ts +28 -0
  69. package/lib/commands/simply/cicd/deploy/project/post-deploy.js +36 -0
  70. package/lib/commands/simply/cicd/deploy/project/post-deploy.js.map +1 -0
  71. package/lib/commands/simply/cicd/deploy/project/post-destructive.d.ts +28 -0
  72. package/lib/commands/simply/cicd/deploy/project/post-destructive.js +36 -0
  73. package/lib/commands/simply/cicd/deploy/project/post-destructive.js.map +1 -0
  74. package/lib/commands/simply/cicd/deploy/project/pre-destructive.d.ts +28 -0
  75. package/lib/commands/simply/cicd/deploy/project/pre-destructive.js +36 -0
  76. package/lib/commands/simply/cicd/deploy/project/pre-destructive.js.map +1 -0
  77. package/lib/commands/simply/cicd/deploy/project/run-apex-tests.d.ts +26 -0
  78. package/lib/commands/simply/cicd/deploy/project/run-apex-tests.js +66 -0
  79. package/lib/commands/simply/cicd/deploy/project/run-apex-tests.js.map +1 -0
  80. package/lib/commands/simply/cicd/deploy/project/validate.d.ts +14 -0
  81. package/lib/commands/simply/cicd/deploy/project/validate.js +51 -0
  82. package/lib/commands/simply/cicd/deploy/project/validate.js.map +1 -0
  83. package/lib/commands/simply/cicd/deploy/validate.d.ts +14 -0
  84. package/lib/commands/simply/cicd/deploy/validate.js +50 -0
  85. package/lib/commands/simply/cicd/deploy/validate.js.map +1 -0
  86. package/lib/commands/simply/cicd/notify/happy-soup.d.ts +32 -0
  87. package/lib/commands/simply/cicd/notify/happy-soup.js +193 -0
  88. package/lib/commands/simply/cicd/notify/happy-soup.js.map +1 -0
  89. package/lib/commands/simply/cicd/notify/project.d.ts +51 -0
  90. package/lib/commands/simply/cicd/notify/project.js +376 -0
  91. package/lib/commands/simply/cicd/notify/project.js.map +1 -0
  92. package/lib/commands/simply/cicd/notify/teams.d.ts +18 -0
  93. package/lib/commands/simply/cicd/notify/teams.js +77 -0
  94. package/lib/commands/simply/cicd/notify/teams.js.map +1 -0
  95. package/lib/commands/simply/cicd/sfdx-dependabot.d.ts +84 -0
  96. package/lib/commands/simply/cicd/sfdx-dependabot.js +469 -0
  97. package/lib/commands/simply/cicd/sfdx-dependabot.js.map +1 -0
  98. package/lib/common/build/cleanupScratchOrgs.d.ts +7 -0
  99. package/lib/common/build/cleanupScratchOrgs.js +91 -0
  100. package/lib/common/build/cleanupScratchOrgs.js.map +1 -0
  101. package/lib/common/build/createFallbackTag.d.ts +24 -0
  102. package/lib/common/build/createFallbackTag.js +96 -0
  103. package/lib/common/build/createFallbackTag.js.map +1 -0
  104. package/lib/common/build/createPackageVersion.d.ts +27 -0
  105. package/lib/common/build/createPackageVersion.js +164 -0
  106. package/lib/common/build/createPackageVersion.js.map +1 -0
  107. package/lib/common/build/createScratchOrg.d.ts +14 -0
  108. package/lib/common/build/createScratchOrg.js +191 -0
  109. package/lib/common/build/createScratchOrg.js.map +1 -0
  110. package/lib/common/build/deleteScratchOrg.d.ts +12 -0
  111. package/lib/common/build/deleteScratchOrg.js +58 -0
  112. package/lib/common/build/deleteScratchOrg.js.map +1 -0
  113. package/lib/common/build/determinePackageChanges.d.ts +13 -0
  114. package/lib/common/build/determinePackageChanges.js +98 -0
  115. package/lib/common/build/determinePackageChanges.js.map +1 -0
  116. package/lib/common/build/devHubs.d.ts +8 -0
  117. package/lib/common/build/devHubs.js +30 -0
  118. package/lib/common/build/devHubs.js.map +1 -0
  119. package/lib/common/build/flags.d.ts +36 -0
  120. package/lib/common/build/flags.js +120 -0
  121. package/lib/common/build/flags.js.map +1 -0
  122. package/lib/common/build/flexipageDelta.d.ts +31 -0
  123. package/lib/common/build/flexipageDelta.js +92 -0
  124. package/lib/common/build/flexipageDelta.js.map +1 -0
  125. package/lib/common/build/flowDelta.d.ts +30 -0
  126. package/lib/common/build/flowDelta.js +91 -0
  127. package/lib/common/build/flowDelta.js.map +1 -0
  128. package/lib/common/build/installDependencies.d.ts +7 -0
  129. package/lib/common/build/installDependencies.js +36 -0
  130. package/lib/common/build/installDependencies.js.map +1 -0
  131. package/lib/common/build/lwcJest.d.ts +9 -0
  132. package/lib/common/build/lwcJest.js +36 -0
  133. package/lib/common/build/lwcJest.js.map +1 -0
  134. package/lib/common/build/pushScratch.d.ts +8 -0
  135. package/lib/common/build/pushScratch.js +63 -0
  136. package/lib/common/build/pushScratch.js.map +1 -0
  137. package/lib/common/build/scratchOrgInfo.d.ts +10 -0
  138. package/lib/common/build/scratchOrgInfo.js +21 -0
  139. package/lib/common/build/scratchOrgInfo.js.map +1 -0
  140. package/lib/common/build/skipGuard.d.ts +8 -0
  141. package/lib/common/build/skipGuard.js +41 -0
  142. package/lib/common/build/skipGuard.js.map +1 -0
  143. package/lib/common/build/testScratch.d.ts +14 -0
  144. package/lib/common/build/testScratch.js +45 -0
  145. package/lib/common/build/testScratch.js.map +1 -0
  146. package/lib/common/deploy/deployCommon.d.ts +101 -0
  147. package/lib/common/deploy/deployCommon.js +361 -0
  148. package/lib/common/deploy/deployCommon.js.map +1 -0
  149. package/lib/common/deploy/deployHappySoup.d.ts +54 -0
  150. package/lib/common/deploy/deployHappySoup.js +143 -0
  151. package/lib/common/deploy/deployHappySoup.js.map +1 -0
  152. package/lib/common/deploy/deployProject.d.ts +24 -0
  153. package/lib/common/deploy/deployProject.js +114 -0
  154. package/lib/common/deploy/deployProject.js.map +1 -0
  155. package/lib/common/deploy/flags.d.ts +34 -0
  156. package/lib/common/deploy/flags.js +91 -0
  157. package/lib/common/deploy/flags.js.map +1 -0
  158. package/lib/common/deploy/runDeployStage.d.ts +16 -0
  159. package/lib/common/deploy/runDeployStage.js +65 -0
  160. package/lib/common/deploy/runDeployStage.js.map +1 -0
  161. package/lib/common/deploy/stageCommand.d.ts +106 -0
  162. package/lib/common/deploy/stageCommand.js +131 -0
  163. package/lib/common/deploy/stageCommand.js.map +1 -0
  164. package/lib/common/deploy/validate.d.ts +11 -0
  165. package/lib/common/deploy/validate.js +54 -0
  166. package/lib/common/deploy/validate.js.map +1 -0
  167. package/lib/common/env.d.ts +9 -0
  168. package/lib/common/env.js +47 -0
  169. package/lib/common/env.js.map +1 -0
  170. package/lib/common/exec/sfCli.d.ts +27 -0
  171. package/lib/common/exec/sfCli.js +50 -0
  172. package/lib/common/exec/sfCli.js.map +1 -0
  173. package/lib/common/flags/env.d.ts +44 -0
  174. package/lib/common/flags/env.js +81 -0
  175. package/lib/common/flags/env.js.map +1 -0
  176. package/lib/common/git.d.ts +19 -0
  177. package/lib/common/git.js +79 -0
  178. package/lib/common/git.js.map +1 -0
  179. package/lib/common/logger.d.ts +10 -0
  180. package/lib/common/logger.js +33 -0
  181. package/lib/common/logger.js.map +1 -0
  182. package/lib/common/notify/getCommitStories.d.ts +16 -0
  183. package/lib/common/notify/getCommitStories.js +69 -0
  184. package/lib/common/notify/getCommitStories.js.map +1 -0
  185. package/lib/common/notify/renderTemplate.d.ts +3 -0
  186. package/lib/common/notify/renderTemplate.js +24 -0
  187. package/lib/common/notify/renderTemplate.js.map +1 -0
  188. package/lib/common/notify/sendNotification.d.ts +2 -0
  189. package/lib/common/notify/sendNotification.js +50 -0
  190. package/lib/common/notify/sendNotification.js.map +1 -0
  191. package/lib/common/notify/templates.d.ts +11 -0
  192. package/lib/common/notify/templates.js +85 -0
  193. package/lib/common/notify/templates.js.map +1 -0
  194. package/lib/common/schemas/deployConfig.d.ts +25 -0
  195. package/lib/common/schemas/deployConfig.js +55 -0
  196. package/lib/common/schemas/deployConfig.js.map +1 -0
  197. package/lib/common/schemas/deployProgress.d.ts +10 -0
  198. package/lib/common/schemas/deployProgress.js +27 -0
  199. package/lib/common/schemas/deployProgress.js.map +1 -0
  200. package/lib/common/schemas/deployRules.d.ts +34 -0
  201. package/lib/common/schemas/deployRules.js +40 -0
  202. package/lib/common/schemas/deployRules.js.map +1 -0
  203. package/lib/common/sfApex.d.ts +22 -0
  204. package/lib/common/sfApex.js +158 -0
  205. package/lib/common/sfApex.js.map +1 -0
  206. package/lib/common/sfAuth.d.ts +30 -0
  207. package/lib/common/sfAuth.js +99 -0
  208. package/lib/common/sfAuth.js.map +1 -0
  209. package/lib/common/sfConfig.d.ts +6 -0
  210. package/lib/common/sfConfig.js +45 -0
  211. package/lib/common/sfConfig.js.map +1 -0
  212. package/lib/common/sfPackages.d.ts +12 -0
  213. package/lib/common/sfPackages.js +53 -0
  214. package/lib/common/sfPackages.js.map +1 -0
  215. package/lib/common/sfPlugins.d.ts +11 -0
  216. package/lib/common/sfPlugins.js +134 -0
  217. package/lib/common/sfPlugins.js.map +1 -0
  218. package/lib/common/sfdxDependabot/updater.d.ts +14 -0
  219. package/lib/common/sfdxDependabot/updater.js +94 -0
  220. package/lib/common/sfdxDependabot/updater.js.map +1 -0
  221. package/lib/common/vcs/gitlab.d.ts +21 -0
  222. package/lib/common/vcs/gitlab.js +208 -0
  223. package/lib/common/vcs/gitlab.js.map +1 -0
  224. package/lib/common/vcs/index.d.ts +4 -0
  225. package/lib/common/vcs/index.js +26 -0
  226. package/lib/common/vcs/index.js.map +1 -0
  227. package/lib/common/vcs/types.d.ts +69 -0
  228. package/lib/common/vcs/types.js +17 -0
  229. package/lib/common/vcs/types.js.map +1 -0
  230. package/lib/config/defaultDeploymentPlugins.d.ts +2 -0
  231. package/lib/config/defaultDeploymentPlugins.js +18 -0
  232. package/lib/config/defaultDeploymentPlugins.js.map +1 -0
  233. package/lib/config/trustedPlugins.d.ts +2 -0
  234. package/lib/config/trustedPlugins.js +18 -0
  235. package/lib/config/trustedPlugins.js.map +1 -0
  236. package/lib/index.d.ts +2 -0
  237. package/lib/index.js +17 -0
  238. package/lib/index.js.map +1 -0
  239. package/messages/simply.cicd.build.cleanup-scratch-orgs.md +11 -0
  240. package/messages/simply.cicd.build.create-fallback-tag.md +21 -0
  241. package/messages/simply.cicd.build.create-package-version.md +49 -0
  242. package/messages/simply.cicd.build.create-scratch.md +21 -0
  243. package/messages/simply.cicd.build.delete-scratch.md +13 -0
  244. package/messages/simply.cicd.build.determine-package-changes.md +15 -0
  245. package/messages/simply.cicd.build.generate-flexipage-diff.md +11 -0
  246. package/messages/simply.cicd.build.generate-flow-diff.md +11 -0
  247. package/messages/simply.cicd.build.install-dependencies.md +17 -0
  248. package/messages/simply.cicd.build.lwc-jest.md +11 -0
  249. package/messages/simply.cicd.build.md +75 -0
  250. package/messages/simply.cicd.build.push-scratch.md +21 -0
  251. package/messages/simply.cicd.build.test-scratch.md +17 -0
  252. package/messages/simply.cicd.deploy.happy-soup.deploy-unpackaged.md +11 -0
  253. package/messages/simply.cicd.deploy.happy-soup.deployment-close-out.md +39 -0
  254. package/messages/simply.cicd.deploy.happy-soup.install-packaged.md +15 -0
  255. package/messages/simply.cicd.deploy.happy-soup.post-deploy.md +11 -0
  256. package/messages/simply.cicd.deploy.happy-soup.post-destructive.md +11 -0
  257. package/messages/simply.cicd.deploy.happy-soup.pre-destructive.md +11 -0
  258. package/messages/simply.cicd.deploy.happy-soup.tag-deployment.md +35 -0
  259. package/messages/simply.cicd.deploy.happy-soup.validate.md +25 -0
  260. package/messages/simply.cicd.deploy.md +75 -0
  261. package/messages/simply.cicd.deploy.project.deploy-unpackaged.md +11 -0
  262. package/messages/simply.cicd.deploy.project.install-packaged.md +23 -0
  263. package/messages/simply.cicd.deploy.project.post-deploy.md +11 -0
  264. package/messages/simply.cicd.deploy.project.post-destructive.md +11 -0
  265. package/messages/simply.cicd.deploy.project.pre-destructive.md +11 -0
  266. package/messages/simply.cicd.deploy.project.run-apex-tests.md +15 -0
  267. package/messages/simply.cicd.deploy.project.validate.md +25 -0
  268. package/messages/simply.cicd.deploy.validate.md +25 -0
  269. package/messages/simply.cicd.md +3 -0
  270. package/messages/simply.cicd.notify.happy-soup.md +73 -0
  271. package/messages/simply.cicd.notify.project.md +125 -0
  272. package/messages/simply.cicd.notify.teams.md +27 -0
  273. package/messages/simply.cicd.sfdx-dependabot.md +91 -0
  274. package/package.json +214 -0
@@ -0,0 +1,47 @@
1
+ /*
2
+ * Copyright (c) 2026, Clay Chipps; Copyright (c) 2026 Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Messages } from '@salesforce/core';
17
+ import { SfCommand } from '@salesforce/sf-plugins-core';
18
+ import { generateFlexipageDiff } from '../../../../common/build/flexipageDelta.js';
19
+ import { debugFlag, diffFlags, disabledFlag } from '../../../../common/build/flags.js';
20
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
21
+ const messages = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.build.generate-flexipage-diff');
22
+ /** Generates a FlexiPage delta between two commits and posts the results to the merge request. */
23
+ export default class BuildGenerateFlexipageDiff extends SfCommand {
24
+ static summary = messages.getMessage('summary');
25
+ static description = messages.getMessage('description');
26
+ static examples = messages.getMessages('examples');
27
+ static flags = {
28
+ ...SfCommand.baseFlags,
29
+ ...diffFlags,
30
+ ...debugFlag,
31
+ ...disabledFlag,
32
+ };
33
+ async run() {
34
+ const { flags } = await this.parse(BuildGenerateFlexipageDiff);
35
+ return generateFlexipageDiff({
36
+ from: flags.from,
37
+ to: flags.to,
38
+ out: flags.out,
39
+ projectAccessToken: flags['project-access-token'],
40
+ ciProjectId: flags['ci-project-id'],
41
+ ciMergeRequestIid: flags['ci-merge-request-iid'],
42
+ debug: flags.debug,
43
+ disabled: flags.disabled,
44
+ });
45
+ }
46
+ }
47
+ //# sourceMappingURL=generate-flexipage-diff.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-flexipage-diff.js","sourceRoot":"","sources":["../../../../../src/commands/simply/cicd/build/generate-flexipage-diff.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAoC,MAAM,4CAA4C,CAAC;AACrH,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAEvF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,uBAAuB,EAAE,2CAA2C,CAAC,CAAC;AAE7G,kGAAkG;AAClG,MAAM,CAAC,OAAO,OAAO,0BAA2B,SAAQ,SAAsC;IACrF,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE5D,MAAM,CAAU,KAAK,GAAG;QAC7B,GAAG,SAAS,CAAC,SAAS;QACtB,GAAG,SAAS;QACZ,GAAG,SAAS;QACZ,GAAG,YAAY;KAChB,CAAC;IAEK,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAE/D,OAAO,qBAAqB,CAAC;YAC3B,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,EAAE,EAAE,KAAK,CAAC,EAAE;YACZ,GAAG,EAAE,KAAK,CAAC,GAAG;YACd,kBAAkB,EAAE,KAAK,CAAC,sBAAsB,CAAC;YACjD,WAAW,EAAE,KAAK,CAAC,eAAe,CAAC;YACnC,iBAAiB,EAAE,KAAK,CAAC,sBAAsB,CAAC;YAChD,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,QAAQ,EAAE,KAAK,CAAC,QAAQ;SACzB,CAAC,CAAC;IACL,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ import { type GenerateFlowDiffResult } from '../../../../common/build/flowDelta.js';
3
+ /** Generates a Flow delta between two commits and posts the results to the merge request. */
4
+ export default class BuildGenerateFlowDiff extends SfCommand<GenerateFlowDiffResult> {
5
+ static readonly summary: string;
6
+ static readonly description: string;
7
+ static readonly examples: string[];
8
+ static readonly flags: {
9
+ disabled: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ 'ci-project-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
12
+ 'ci-merge-request-iid': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
13
+ from: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
14
+ to: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
15
+ 'project-access-token': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
+ out: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
17
+ 'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
18
+ };
19
+ run(): Promise<GenerateFlowDiffResult>;
20
+ }
@@ -0,0 +1,47 @@
1
+ /*
2
+ * Copyright (c) 2026, Clay Chipps; Copyright (c) 2026 Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Messages } from '@salesforce/core';
17
+ import { SfCommand } from '@salesforce/sf-plugins-core';
18
+ import { generateFlowDiff } from '../../../../common/build/flowDelta.js';
19
+ import { debugFlag, diffFlags, disabledFlag } from '../../../../common/build/flags.js';
20
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
21
+ const messages = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.build.generate-flow-diff');
22
+ /** Generates a Flow delta between two commits and posts the results to the merge request. */
23
+ export default class BuildGenerateFlowDiff extends SfCommand {
24
+ static summary = messages.getMessage('summary');
25
+ static description = messages.getMessage('description');
26
+ static examples = messages.getMessages('examples');
27
+ static flags = {
28
+ ...SfCommand.baseFlags,
29
+ ...diffFlags,
30
+ ...debugFlag,
31
+ ...disabledFlag,
32
+ };
33
+ async run() {
34
+ const { flags } = await this.parse(BuildGenerateFlowDiff);
35
+ return generateFlowDiff({
36
+ from: flags.from,
37
+ to: flags.to,
38
+ out: flags.out,
39
+ projectAccessToken: flags['project-access-token'],
40
+ ciProjectId: flags['ci-project-id'],
41
+ ciMergeRequestIid: flags['ci-merge-request-iid'],
42
+ debug: flags.debug,
43
+ disabled: flags.disabled,
44
+ });
45
+ }
46
+ }
47
+ //# sourceMappingURL=generate-flow-diff.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-flow-diff.js","sourceRoot":"","sources":["../../../../../src/commands/simply/cicd/build/generate-flow-diff.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAA+B,MAAM,uCAAuC,CAAC;AACtG,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAEvF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,uBAAuB,EAAE,sCAAsC,CAAC,CAAC;AAExG,6FAA6F;AAC7F,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAiC;IAC3E,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE5D,MAAM,CAAU,KAAK,GAAG;QAC7B,GAAG,SAAS,CAAC,SAAS;QACtB,GAAG,SAAS;QACZ,GAAG,SAAS;QACZ,GAAG,YAAY;KAChB,CAAC;IAEK,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;QAE1D,OAAO,gBAAgB,CAAC;YACtB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,EAAE,EAAE,KAAK,CAAC,EAAE;YACZ,GAAG,EAAE,KAAK,CAAC,GAAG;YACd,kBAAkB,EAAE,KAAK,CAAC,sBAAsB,CAAC;YACjD,WAAW,EAAE,KAAK,CAAC,eAAe,CAAC;YACnC,iBAAiB,EAAE,KAAK,CAAC,sBAAsB,CAAC;YAChD,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,QAAQ,EAAE,KAAK,CAAC,QAAQ;SACzB,CAAC,CAAC;IACL,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ export type BuildInstallDependenciesResult = {
3
+ skipped: boolean;
4
+ };
5
+ /** Authenticates to the scratch org created by `build create-scratch` and installs its packaged dependencies. */
6
+ export default class BuildInstallDependencies extends SfCommand<BuildInstallDependenciesResult> {
7
+ static readonly summary: string;
8
+ static readonly description: string;
9
+ static readonly examples: string[];
10
+ static readonly flags: {
11
+ 'install-type': import("@oclif/core/interfaces").OptionFlag<"Upgrade" | "All" | "Delta", import("@oclif/core/interfaces").CustomOptions>;
12
+ disabled: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ 'jwt-key-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
15
+ 'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
16
+ };
17
+ run(): Promise<BuildInstallDependenciesResult>;
18
+ }
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Copyright (c) 2026, Clay Chipps; Copyright (c) 2026 Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Messages } from '@salesforce/core';
17
+ import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
18
+ import { installDependencies } from '../../../../common/build/installDependencies.js';
19
+ import { getSkipReason } from '../../../../common/build/skipGuard.js';
20
+ import { debugFlag, disabledFlag, jwtKeyFileFlag } from '../../../../common/build/flags.js';
21
+ import { logger } from '../../../../common/logger.js';
22
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
23
+ const messages = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.build.install-dependencies');
24
+ /** Authenticates to the scratch org created by `build create-scratch` and installs its packaged dependencies. */
25
+ export default class BuildInstallDependencies extends SfCommand {
26
+ static summary = messages.getMessage('summary');
27
+ static description = messages.getMessage('description');
28
+ static examples = messages.getMessages('examples');
29
+ static flags = {
30
+ ...SfCommand.baseFlags,
31
+ ...jwtKeyFileFlag,
32
+ ...debugFlag,
33
+ ...disabledFlag,
34
+ 'install-type': Flags.custom({ options: ['All', 'Delta', 'Upgrade'] })({
35
+ summary: messages.getMessage('flags.install-type.summary'),
36
+ default: 'Upgrade',
37
+ }),
38
+ };
39
+ async run() {
40
+ const { flags } = await this.parse(BuildInstallDependencies);
41
+ const skipReason = getSkipReason('install-dependencies');
42
+ if (skipReason) {
43
+ logger.warn(skipReason);
44
+ return { skipped: true };
45
+ }
46
+ if (flags.disabled) {
47
+ logger.warn('install-dependencies is disabled. Skipping.');
48
+ return { skipped: true };
49
+ }
50
+ await installDependencies({
51
+ jwtKeyFile: flags['jwt-key-file'],
52
+ debug: flags.debug,
53
+ installType: flags['install-type'],
54
+ });
55
+ return { skipped: false };
56
+ }
57
+ }
58
+ //# sourceMappingURL=install-dependencies.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"install-dependencies.js","sourceRoot":"","sources":["../../../../../src/commands/simply/cicd/build/install-dependencies.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAEtD,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,uBAAuB,EAAE,wCAAwC,CAAC,CAAC;AAI1G,iHAAiH;AACjH,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,SAAyC;IACtF,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE5D,MAAM,CAAU,KAAK,GAAG;QAC7B,GAAG,SAAS,CAAC,SAAS;QACtB,GAAG,cAAc;QACjB,GAAG,SAAS;QACZ,GAAG,YAAY;QACf,cAAc,EAAE,KAAK,CAAC,MAAM,CAA8B,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;YAClG,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,4BAA4B,CAAC;YAC1D,OAAO,EAAE,SAAS;SACnB,CAAC;KACH,CAAC;IAEK,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAE7D,MAAM,UAAU,GAAG,aAAa,CAAC,sBAAsB,CAAC,CAAC;QACzD,IAAI,UAAU,EAAE,CAAC;YACf,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YACxB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAED,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;YACnB,MAAM,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;YAC3D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAED,MAAM,mBAAmB,CAAC;YACxB,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC;YACjC,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC;SACnC,CAAC,CAAC;QAEH,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ import { type RunLwcJestResult } from '../../../../common/build/lwcJest.js';
3
+ /** Installs the LWC Jest test libraries and runs the project's LWC Jest tests with coverage. */
4
+ export default class BuildLwcJest extends SfCommand<RunLwcJestResult> {
5
+ static readonly summary: string;
6
+ static readonly description: string;
7
+ static readonly examples: string[];
8
+ static readonly flags: {
9
+ disabled: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ 'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
+ };
13
+ run(): Promise<RunLwcJestResult>;
14
+ }
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Copyright (c) 2026, Clay Chipps; Copyright (c) 2026 Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Messages } from '@salesforce/core';
17
+ import { SfCommand } from '@salesforce/sf-plugins-core';
18
+ import { runLwcJest } from '../../../../common/build/lwcJest.js';
19
+ import { debugFlag, disabledFlag } from '../../../../common/build/flags.js';
20
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
21
+ const messages = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.build.lwc-jest');
22
+ /** Installs the LWC Jest test libraries and runs the project's LWC Jest tests with coverage. */
23
+ export default class BuildLwcJest extends SfCommand {
24
+ static summary = messages.getMessage('summary');
25
+ static description = messages.getMessage('description');
26
+ static examples = messages.getMessages('examples');
27
+ static flags = {
28
+ ...SfCommand.baseFlags,
29
+ ...debugFlag,
30
+ ...disabledFlag,
31
+ };
32
+ async run() {
33
+ const { flags } = await this.parse(BuildLwcJest);
34
+ return runLwcJest({ disabled: flags.disabled });
35
+ }
36
+ }
37
+ //# sourceMappingURL=lwc-jest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lwc-jest.js","sourceRoot":"","sources":["../../../../../src/commands/simply/cicd/build/lwc-jest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAyB,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAE5E,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,uBAAuB,EAAE,4BAA4B,CAAC,CAAC;AAE9F,gGAAgG;AAChG,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,SAA2B;IAC5D,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE5D,MAAM,CAAU,KAAK,GAAG;QAC7B,GAAG,SAAS,CAAC,SAAS;QACtB,GAAG,SAAS;QACZ,GAAG,YAAY;KAChB,CAAC;IAEK,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QAEjD,OAAO,UAAU,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAClD,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ export type BuildPushScratchResult = {
3
+ skipped: boolean;
4
+ };
5
+ /** Pushes source to the scratch org created by `build create-scratch`. */
6
+ export default class BuildPushScratch extends SfCommand<BuildPushScratchResult> {
7
+ static readonly summary: string;
8
+ static readonly description: string;
9
+ static readonly examples: string[];
10
+ static readonly flags: {
11
+ 'ignore-warnings': import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ 'scratch-org-source-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ disabled: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
+ 'jwt-key-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
+ 'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
17
+ };
18
+ run(): Promise<BuildPushScratchResult>;
19
+ }
@@ -0,0 +1,57 @@
1
+ /*
2
+ * Copyright (c) 2026, Clay Chipps; Copyright (c) 2026 Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Messages } from '@salesforce/core';
17
+ import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
18
+ import { pushToScratch } from '../../../../common/build/pushScratch.js';
19
+ import { getSkipReason } from '../../../../common/build/skipGuard.js';
20
+ import { debugFlag, disabledFlag, jwtKeyFileFlag } from '../../../../common/build/flags.js';
21
+ import { logger } from '../../../../common/logger.js';
22
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
23
+ const messages = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.build.push-scratch');
24
+ /** Pushes source to the scratch org created by `build create-scratch`. */
25
+ export default class BuildPushScratch extends SfCommand {
26
+ static summary = messages.getMessage('summary');
27
+ static description = messages.getMessage('description');
28
+ static examples = messages.getMessages('examples');
29
+ static flags = {
30
+ ...SfCommand.baseFlags,
31
+ ...jwtKeyFileFlag,
32
+ ...debugFlag,
33
+ ...disabledFlag,
34
+ 'ignore-warnings': Flags.boolean({ summary: messages.getMessage('flags.ignore-warnings.summary'), default: false }),
35
+ 'scratch-org-source-dir': Flags.string({ summary: messages.getMessage('flags.scratch-org-source-dir.summary') }),
36
+ };
37
+ async run() {
38
+ const { flags } = await this.parse(BuildPushScratch);
39
+ const skipReason = getSkipReason('push-scratch');
40
+ if (skipReason) {
41
+ logger.warn(skipReason);
42
+ return { skipped: true };
43
+ }
44
+ if (flags.disabled) {
45
+ logger.warn('push-scratch is disabled. Skipping.');
46
+ return { skipped: true };
47
+ }
48
+ await pushToScratch({
49
+ jwtKeyFile: flags['jwt-key-file'],
50
+ debug: flags.debug,
51
+ ignoreWarnings: flags['ignore-warnings'],
52
+ scratchOrgSourceDir: flags['scratch-org-source-dir'],
53
+ });
54
+ return { skipped: false };
55
+ }
56
+ }
57
+ //# sourceMappingURL=push-scratch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"push-scratch.js","sourceRoot":"","sources":["../../../../../src/commands/simply/cicd/build/push-scratch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAEtD,QAAQ,CAAC,kCAAkC,CAAC,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AAE,CAAC;QAC3B,CAAC;QAED,MAAM,aAAa,CAAC;YAClB,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC;YACjC,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC;YACxC,mBAAmB,EAAE,KAAK,CAAC,wBAAwB,CAAC;SACrD,CAAC,CAAC;QAEH,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ export type BuildTestScratchResult = {
3
+ skipped: boolean;
4
+ };
5
+ /** Authenticates to the scratch org created by `build create-scratch` and runs its Apex tests. */
6
+ export default class BuildTestScratch extends SfCommand<BuildTestScratchResult> {
7
+ static readonly summary: string;
8
+ static readonly description: string;
9
+ static readonly examples: string[];
10
+ static readonly flags: {
11
+ 'disable-apex-tests': import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ disabled: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ 'jwt-key-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
15
+ 'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
16
+ };
17
+ run(): Promise<BuildTestScratchResult>;
18
+ }
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Copyright (c) 2026, Clay Chipps; Copyright (c) 2026 Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Messages } from '@salesforce/core';
17
+ import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
18
+ import { runScratchApexTests } from '../../../../common/build/testScratch.js';
19
+ import { getSkipReason } from '../../../../common/build/skipGuard.js';
20
+ import { debugFlag, disabledFlag, jwtKeyFileFlag } from '../../../../common/build/flags.js';
21
+ import { logger } from '../../../../common/logger.js';
22
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
23
+ const messages = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.build.test-scratch');
24
+ /** Authenticates to the scratch org created by `build create-scratch` and runs its Apex tests. */
25
+ export default class BuildTestScratch extends SfCommand {
26
+ static summary = messages.getMessage('summary');
27
+ static description = messages.getMessage('description');
28
+ static examples = messages.getMessages('examples');
29
+ static flags = {
30
+ ...SfCommand.baseFlags,
31
+ ...jwtKeyFileFlag,
32
+ ...debugFlag,
33
+ ...disabledFlag,
34
+ 'disable-apex-tests': Flags.boolean({
35
+ summary: messages.getMessage('flags.disable-apex-tests.summary'),
36
+ default: false,
37
+ }),
38
+ };
39
+ async run() {
40
+ const { flags } = await this.parse(BuildTestScratch);
41
+ const skipReason = getSkipReason('test-scratch');
42
+ if (skipReason) {
43
+ logger.warn(skipReason);
44
+ return { skipped: true };
45
+ }
46
+ if (flags.disabled) {
47
+ logger.warn('test-scratch is disabled. Skipping.');
48
+ return { skipped: true };
49
+ }
50
+ await runScratchApexTests({
51
+ jwtKeyFile: flags['jwt-key-file'],
52
+ debug: flags.debug,
53
+ disableApexTests: flags['disable-apex-tests'],
54
+ });
55
+ return { skipped: false };
56
+ }
57
+ }
58
+ //# sourceMappingURL=test-scratch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-scratch.js","sourceRoot":"","sources":["../../../../../src/commands/simply/cicd/build/test-scratch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,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CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YACxB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAED,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;YACnB,MAAM,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAC;YACnD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC3B,CAAC;QAED,MAAM,mBAAmB,CAAC;YACxB,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC;YACjC,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,gBAAgB,EAAE,KAAK,CAAC,oBAAoB,CAAC;SAC9C,CAAC,CAAC;QAEH,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ /** Runs the deploy-unpackaged stage of a happy-soup deployment. */
3
+ export default class DeployHappySoupDeployUnpackaged extends SfCommand<void> {
4
+ static readonly summary: string;
5
+ static readonly description: string;
6
+ static readonly examples: string[];
7
+ static readonly flags: {
8
+ 'vcs-host': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
9
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab", import("@oclif/core/interfaces").CustomOptions>;
10
+ 'test-level': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
+ 'test-suite': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
+ tests: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ 'start-from': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
+ 'source-branch-name': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
+ 'deploy-rules-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
+ 'deploy-progress-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
17
+ 'deploy-config-file': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
18
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
19
+ alias: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
20
+ 'auth-url': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
+ 'client-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
22
+ 'instance-url': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
+ 'jwt-key-file': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
24
+ username: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
25
+ 'ci-job-token': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
26
+ 'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
27
+ };
28
+ run(): Promise<void>;
29
+ }
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Copyright (c) 2026, Clay Chipps; Copyright (c) 2026 Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Messages } from '@salesforce/core';
17
+ import { SfCommand } from '@salesforce/sf-plugins-core';
18
+ import { deployHappySoup } from '../../../../../common/deploy/deployHappySoup.js';
19
+ import { happySoupStageFlags, toHappySoupStageOptions } from '../../../../../common/deploy/stageCommand.js';
20
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
21
+ const messages = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.deploy.happy-soup.deploy-unpackaged');
22
+ /** Runs the deploy-unpackaged stage of a happy-soup deployment. */
23
+ export default class DeployHappySoupDeployUnpackaged extends SfCommand {
24
+ static summary = messages.getMessage('summary');
25
+ static description = messages.getMessage('description');
26
+ static examples = messages.getMessages('examples');
27
+ static flags = {
28
+ ...SfCommand.baseFlags,
29
+ ...happySoupStageFlags,
30
+ };
31
+ async run() {
32
+ const { flags } = await this.parse(DeployHappySoupDeployUnpackaged);
33
+ await deployHappySoup(toHappySoupStageOptions('deploy-unpackaged', flags));
34
+ }
35
+ }
36
+ //# sourceMappingURL=deploy-unpackaged.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deploy-unpackaged.js","sourceRoot":"","sources":["../../../../../../src/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAE5G,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,uBAAuB,EAAE,iDAAiD,CAAC,CAAC;AAEnH,mEAAmE;AACnE,MAAM,CAAC,OAAO,OAAO,+BAAgC,SAAQ,SAAe;IACnE,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE5D,MAAM,CAAU,KAAK,GAAG;QAC7B,GAAG,SAAS,CAAC,SAAS;QACtB,GAAG,mBAAmB;KACvB,CAAC;IAEK,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;QAEpE,MAAM,eAAe,CAAC,uBAAuB,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC,CAAC;IAC7E,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ /** Archives (or removes an obsolete) deployment config file used for a happy-soup deployment. */
3
+ export default class DeployHappySoupDeploymentCloseOut extends SfCommand<void> {
4
+ static readonly summary: string;
5
+ static readonly description: string;
6
+ static readonly examples: string[];
7
+ static readonly flags: {
8
+ 'vcs-host': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
9
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab", import("@oclif/core/interfaces").CustomOptions>;
10
+ 'deploy-release-date': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
+ 'source-branch-name': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
+ 'deploy-rules-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
13
+ 'deploy-progress-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
14
+ 'deploy-config-file': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
16
+ 'ci-commit-ref-name': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
17
+ 'ci-pipeline-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
18
+ 'ci-project-path': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
19
+ 'project-access-token': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
20
+ 'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
+ };
22
+ run(): Promise<void>;
23
+ }
@@ -0,0 +1,82 @@
1
+ /*
2
+ * Copyright (c) 2026, Clay Chipps; Copyright (c) 2026 Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Messages } from '@salesforce/core';
17
+ import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
18
+ import { deployHappySoup } from '../../../../../common/deploy/deployHappySoup.js';
19
+ import { debugFlag, deployProgressFileFlag, deployRulesFileFlag, vcsFlags, } from '../../../../../common/deploy/flags.js';
20
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
21
+ const messages = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.deploy.happy-soup.deployment-close-out');
22
+ /** Archives (or removes an obsolete) deployment config file used for a happy-soup deployment. */
23
+ export default class DeployHappySoupDeploymentCloseOut extends SfCommand {
24
+ static summary = messages.getMessage('summary');
25
+ static description = messages.getMessage('description');
26
+ static examples = messages.getMessages('examples');
27
+ static flags = {
28
+ ...SfCommand.baseFlags,
29
+ 'ci-commit-ref-name': Flags.string({
30
+ summary: messages.getMessage('flags.ci-commit-ref-name.summary'),
31
+ required: true,
32
+ env: 'SIMPLY_CICD_CI_COMMIT_REF_NAME',
33
+ }),
34
+ 'ci-pipeline-id': Flags.string({
35
+ summary: messages.getMessage('flags.ci-pipeline-id.summary'),
36
+ required: true,
37
+ env: 'SIMPLY_CICD_CI_PIPELINE_ID',
38
+ }),
39
+ 'ci-project-path': Flags.string({
40
+ summary: messages.getMessage('flags.ci-project-path.summary'),
41
+ required: true,
42
+ env: 'SIMPLY_CICD_CI_PROJECT_PATH',
43
+ }),
44
+ 'project-access-token': Flags.string({
45
+ summary: messages.getMessage('flags.project-access-token.summary'),
46
+ required: true,
47
+ env: 'SIMPLY_CICD_PROJECT_ACCESS_TOKEN',
48
+ }),
49
+ ...debugFlag,
50
+ 'deploy-config-file': Flags.string({
51
+ summary: messages.getMessage('flags.deploy-config-file.summary'),
52
+ env: 'SIMPLY_CICD_DEPLOY_CONFIG_FILE',
53
+ }),
54
+ ...deployProgressFileFlag,
55
+ ...deployRulesFileFlag,
56
+ 'deploy-release-date': Flags.string({ summary: messages.getMessage('flags.deploy-release-date.summary') }),
57
+ 'source-branch-name': Flags.string({
58
+ summary: messages.getMessage('flags.source-branch-name.summary'),
59
+ env: 'SIMPLY_CICD_SOURCE_BRANCH_NAME',
60
+ }),
61
+ ...vcsFlags,
62
+ };
63
+ async run() {
64
+ const { flags } = await this.parse(DeployHappySoupDeploymentCloseOut);
65
+ await deployHappySoup({
66
+ stage: 'deployment-close-out',
67
+ debug: flags.debug,
68
+ deployConfigFile: flags['deploy-config-file'],
69
+ deployProgressFile: flags['deploy-progress-file'],
70
+ deployRulesFile: flags['deploy-rules-file'],
71
+ deployReleaseDate: flags['deploy-release-date'],
72
+ sourceBranchName: flags['source-branch-name'],
73
+ projectAccessToken: flags['project-access-token'],
74
+ ciPipelineId: flags['ci-pipeline-id'],
75
+ ciProjectPath: flags['ci-project-path'],
76
+ ciCommitRefName: flags['ci-commit-ref-name'],
77
+ vcsHost: flags['vcs-host'],
78
+ vcsProvider: flags['vcs-provider'],
79
+ });
80
+ }
81
+ }
82
+ //# sourceMappingURL=deployment-close-out.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployment-close-out.js","sourceRoot":"","sources":["../../../../../../src/commands/simply/cicd/deploy/happy-soup/deployment-close-out.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAC;AAClF,OAAO,EACL,SAAS,EACT,sBAAsB,EACtB,mBAAmB,EACnB,QAAQ,GACT,MAAM,uCAAuC,CAAC;AAE/C,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,uBAAuB,EAAE,oDAAoD,CAAC,CAAC;AAEtH,iGAAiG;AACjG,MAAM,CAAC,OAAO,OAAO,iCAAkC,SAAQ,SAAe;IACrE,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE5D,MAAM,CAAU,KAAK,GAAG;QAC7B,GAAG,SAAS,CAAC,SAAS;QACtB,oBAAoB,EAAE,KAAK,CAAC,MAAM,CAAC;YACjC,OAAO,EAAE,QAA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