@simplysf/simply-cicd 0.3.0 → 0.5.4

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 (183) hide show
  1. package/LICENSE.txt +206 -0
  2. package/README.md +221 -163
  3. package/lib/commands/simply/cicd/build/cleanup-scratch-orgs.js +1 -1
  4. package/lib/commands/simply/cicd/build/create-fallback-tag.d.ts +2 -2
  5. package/lib/commands/simply/cicd/build/create-fallback-tag.js +1 -1
  6. package/lib/commands/simply/cicd/build/create-package-version.d.ts +2 -2
  7. package/lib/commands/simply/cicd/build/create-package-version.js +1 -1
  8. package/lib/commands/simply/cicd/build/create-scratch.js +1 -1
  9. package/lib/commands/simply/cicd/build/delete-scratch.js +1 -1
  10. package/lib/commands/simply/cicd/build/determine-package-changes.js +1 -1
  11. package/lib/commands/simply/cicd/build/generate-flexipage-diff.d.ts +9 -2
  12. package/lib/commands/simply/cicd/build/generate-flexipage-diff.js +8 -1
  13. package/lib/commands/simply/cicd/build/generate-flexipage-diff.js.map +1 -1
  14. package/lib/commands/simply/cicd/build/generate-flow-diff.d.ts +9 -2
  15. package/lib/commands/simply/cicd/build/generate-flow-diff.js +8 -1
  16. package/lib/commands/simply/cicd/build/generate-flow-diff.js.map +1 -1
  17. package/lib/commands/simply/cicd/build/install-dependencies.js +1 -1
  18. package/lib/commands/simply/cicd/build/lwc-jest.js +1 -1
  19. package/lib/commands/simply/cicd/build/push-scratch.js +1 -1
  20. package/lib/commands/simply/cicd/build/test-scratch.js +1 -1
  21. package/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.d.ts +2 -2
  22. package/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.js +1 -1
  23. package/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.d.ts +2 -2
  24. package/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.js +1 -1
  25. package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.d.ts +2 -0
  26. package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js +5 -4
  27. package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.js.map +1 -1
  28. package/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.d.ts +2 -2
  29. package/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.js +1 -1
  30. package/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.d.ts +2 -2
  31. package/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.js +1 -1
  32. package/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.d.ts +2 -2
  33. package/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.js +1 -1
  34. package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.d.ts +2 -2
  35. package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.js +1 -1
  36. package/lib/commands/simply/cicd/deploy/happy-soup/validate.js +1 -1
  37. package/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.d.ts +2 -2
  38. package/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.js +1 -1
  39. package/lib/commands/simply/cicd/deploy/project/install-packaged.d.ts +2 -0
  40. package/lib/commands/simply/cicd/deploy/project/install-packaged.js +5 -4
  41. package/lib/commands/simply/cicd/deploy/project/install-packaged.js.map +1 -1
  42. package/lib/commands/simply/cicd/deploy/project/post-deploy.d.ts +2 -2
  43. package/lib/commands/simply/cicd/deploy/project/post-deploy.js +1 -1
  44. package/lib/commands/simply/cicd/deploy/project/post-destructive.d.ts +2 -2
  45. package/lib/commands/simply/cicd/deploy/project/post-destructive.js +1 -1
  46. package/lib/commands/simply/cicd/deploy/project/pre-destructive.d.ts +2 -2
  47. package/lib/commands/simply/cicd/deploy/project/pre-destructive.js +1 -1
  48. package/lib/commands/simply/cicd/deploy/project/run-apex-tests.d.ts +2 -0
  49. package/lib/commands/simply/cicd/deploy/project/run-apex-tests.js +5 -4
  50. package/lib/commands/simply/cicd/deploy/project/run-apex-tests.js.map +1 -1
  51. package/lib/commands/simply/cicd/deploy/project/validate.js +1 -1
  52. package/lib/commands/simply/cicd/deploy/validate.js +1 -1
  53. package/lib/commands/simply/cicd/notify/happy-soup.js +1 -1
  54. package/lib/commands/simply/cicd/notify/project.d.ts +5 -16
  55. package/lib/commands/simply/cicd/notify/project.js +19 -203
  56. package/lib/commands/simply/cicd/notify/project.js.map +1 -1
  57. package/lib/commands/simply/cicd/notify/teams.js +1 -1
  58. package/lib/commands/simply/cicd/sfdx-dependabot.d.ts +7 -58
  59. package/lib/commands/simply/cicd/sfdx-dependabot.js +41 -287
  60. package/lib/commands/simply/cicd/sfdx-dependabot.js.map +1 -1
  61. package/lib/common/alm/gitlabIssues.d.ts +11 -0
  62. package/lib/common/alm/gitlabIssues.js +54 -0
  63. package/lib/common/alm/gitlabIssues.js.map +1 -0
  64. package/lib/common/alm/index.d.ts +4 -0
  65. package/lib/common/alm/index.js +24 -0
  66. package/lib/common/alm/index.js.map +1 -0
  67. package/lib/common/alm/jira.d.ts +8 -0
  68. package/lib/common/alm/jira.js +43 -0
  69. package/lib/common/alm/jira.js.map +1 -0
  70. package/lib/common/alm/registry.d.ts +10 -0
  71. package/lib/common/alm/registry.js +37 -0
  72. package/lib/common/alm/registry.js.map +1 -0
  73. package/lib/common/alm/types.d.ts +35 -0
  74. package/lib/common/alm/types.js +17 -0
  75. package/lib/common/alm/types.js.map +1 -0
  76. package/lib/common/build/cleanupScratchOrgs.js +1 -1
  77. package/lib/common/build/createFallbackTag.d.ts +1 -1
  78. package/lib/common/build/createFallbackTag.js +7 -4
  79. package/lib/common/build/createFallbackTag.js.map +1 -1
  80. package/lib/common/build/createPackageVersion.d.ts +1 -1
  81. package/lib/common/build/createPackageVersion.js +7 -4
  82. package/lib/common/build/createPackageVersion.js.map +1 -1
  83. package/lib/common/build/createScratchOrg.js +1 -1
  84. package/lib/common/build/deleteScratchOrg.js +1 -1
  85. package/lib/common/build/deltaRunner.d.ts +73 -0
  86. package/lib/common/build/deltaRunner.js +109 -0
  87. package/lib/common/build/deltaRunner.js.map +1 -0
  88. package/lib/common/build/determinePackageChanges.js +1 -1
  89. package/lib/common/build/devHubs.js +1 -1
  90. package/lib/common/build/flags.d.ts +17 -5
  91. package/lib/common/build/flags.js +29 -6
  92. package/lib/common/build/flags.js.map +1 -1
  93. package/lib/common/build/flexipageDelta.d.ts +6 -19
  94. package/lib/common/build/flexipageDelta.js +6 -63
  95. package/lib/common/build/flexipageDelta.js.map +1 -1
  96. package/lib/common/build/flowDelta.d.ts +6 -19
  97. package/lib/common/build/flowDelta.js +6 -63
  98. package/lib/common/build/flowDelta.js.map +1 -1
  99. package/lib/common/build/installDependencies.js +1 -1
  100. package/lib/common/build/lwcJest.js +1 -1
  101. package/lib/common/build/pushScratch.js +1 -1
  102. package/lib/common/build/scratchOrgInfo.js +1 -1
  103. package/lib/common/build/skipGuard.js +1 -1
  104. package/lib/common/build/testScratch.d.ts +3 -3
  105. package/lib/common/build/testScratch.js +4 -4
  106. package/lib/common/deploy/deployCommon.d.ts +1 -1
  107. package/lib/common/deploy/deployCommon.js +4 -4
  108. package/lib/common/deploy/deployCommon.js.map +1 -1
  109. package/lib/common/deploy/deployHappySoup.d.ts +3 -3
  110. package/lib/common/deploy/deployHappySoup.js +11 -9
  111. package/lib/common/deploy/deployHappySoup.js.map +1 -1
  112. package/lib/common/deploy/deployProject.d.ts +1 -1
  113. package/lib/common/deploy/deployProject.js +1 -1
  114. package/lib/common/deploy/flags.d.ts +3 -2
  115. package/lib/common/deploy/flags.js +3 -3
  116. package/lib/common/deploy/flags.js.map +1 -1
  117. package/lib/common/deploy/runDeployStage.js +1 -1
  118. package/lib/common/deploy/stageCommand.d.ts +5 -5
  119. package/lib/common/deploy/stageCommand.js +1 -1
  120. package/lib/common/deploy/validate.js +1 -1
  121. package/lib/common/env.js +1 -1
  122. package/lib/common/exec/sfCli.js +1 -1
  123. package/lib/common/flags/env.js +1 -1
  124. package/lib/common/git.d.ts +1 -2
  125. package/lib/common/git.js +4 -4
  126. package/lib/common/git.js.map +1 -1
  127. package/lib/common/logger.js +1 -1
  128. package/lib/common/notify/getCommitStories.d.ts +13 -7
  129. package/lib/common/notify/getCommitStories.js +13 -21
  130. package/lib/common/notify/getCommitStories.js.map +1 -1
  131. package/lib/common/notify/projectNotification.d.ts +58 -0
  132. package/lib/common/notify/projectNotification.js +204 -0
  133. package/lib/common/notify/projectNotification.js.map +1 -0
  134. package/lib/common/notify/renderTemplate.js +1 -1
  135. package/lib/common/notify/sendNotification.js +1 -1
  136. package/lib/common/notify/templates.js +60 -60
  137. package/lib/common/schemas/deployConfig.js +1 -1
  138. package/lib/common/schemas/deployProgress.js +1 -1
  139. package/lib/common/schemas/deployRules.js +1 -1
  140. package/lib/common/sfApex.js +1 -1
  141. package/lib/common/sfAuth.js +1 -1
  142. package/lib/common/sfConfig.d.ts +6 -2
  143. package/lib/common/sfConfig.js +26 -9
  144. package/lib/common/sfConfig.js.map +1 -1
  145. package/lib/common/sfPackages.js +1 -1
  146. package/lib/common/sfPlugins.js +1 -1
  147. package/lib/common/sfdxDependabot/dependabotRun.d.ts +95 -0
  148. package/lib/common/sfdxDependabot/dependabotRun.js +287 -0
  149. package/lib/common/sfdxDependabot/dependabotRun.js.map +1 -0
  150. package/lib/common/sfdxDependabot/updater.js +1 -1
  151. package/lib/common/vcs/github.d.ts +27 -0
  152. package/lib/common/vcs/github.js +258 -0
  153. package/lib/common/vcs/github.js.map +1 -0
  154. package/lib/common/vcs/gitlab.d.ts +21 -14
  155. package/lib/common/vcs/gitlab.js +59 -33
  156. package/lib/common/vcs/gitlab.js.map +1 -1
  157. package/lib/common/vcs/index.d.ts +4 -4
  158. package/lib/common/vcs/index.js +8 -10
  159. package/lib/common/vcs/index.js.map +1 -1
  160. package/lib/common/vcs/registry.d.ts +10 -0
  161. package/lib/common/vcs/registry.js +37 -0
  162. package/lib/common/vcs/registry.js.map +1 -0
  163. package/lib/common/vcs/types.d.ts +68 -16
  164. package/lib/common/vcs/types.js +1 -1
  165. package/lib/config/defaultDeploymentPlugins.js +1 -1
  166. package/lib/config/trustedPlugins.js +1 -1
  167. package/lib/index.js +1 -1
  168. package/messages/simply.cicd.build.generate-flexipage-diff.md +4 -2
  169. package/messages/simply.cicd.build.generate-flow-diff.md +4 -2
  170. package/messages/simply.cicd.build.md +22 -2
  171. package/messages/simply.cicd.deploy.happy-soup.deploy-unpackaged.md +11 -11
  172. package/messages/simply.cicd.deploy.happy-soup.post-deploy.md +11 -11
  173. package/messages/simply.cicd.deploy.happy-soup.post-destructive.md +11 -11
  174. package/messages/simply.cicd.deploy.happy-soup.pre-destructive.md +11 -11
  175. package/messages/simply.cicd.deploy.md +75 -75
  176. package/messages/simply.cicd.deploy.project.deploy-unpackaged.md +11 -11
  177. package/messages/simply.cicd.deploy.project.post-deploy.md +11 -11
  178. package/messages/simply.cicd.deploy.project.post-destructive.md +11 -11
  179. package/messages/simply.cicd.deploy.project.pre-destructive.md +11 -11
  180. package/messages/simply.cicd.notify.project.md +10 -6
  181. package/messages/simply.cicd.notify.teams.md +27 -27
  182. package/messages/simply.cicd.sfdx-dependabot.md +40 -18
  183. package/package.json +215 -214
@@ -1,11 +1,11 @@
1
- # summary
2
-
3
- Run the post-deploy stage of a happy-soup deployment.
4
-
5
- # description
6
-
7
- Runs the `bin/postDeploy.sh` script (if present) for each configured deployment that participates in this stage, cloning each repo fresh and resuming from the deployment progress file unless --start-from is given.
8
-
9
- # examples
10
-
11
- - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
1
+ # summary
2
+
3
+ Run the post-deploy stage of a happy-soup deployment.
4
+
5
+ # description
6
+
7
+ Runs the `bin/postDeploy.sh` script (if present) for each configured deployment that participates in this stage, cloning each repo fresh and resuming from the deployment progress file unless --start-from is given.
8
+
9
+ # examples
10
+
11
+ - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
@@ -1,11 +1,11 @@
1
- # summary
2
-
3
- Run the post-destructive stage of a happy-soup deployment.
4
-
5
- # description
6
-
7
- Runs the `bin/postDestructive.sh` script (if present) for each configured deployment that participates in this stage, cloning each repo fresh and resuming from the deployment progress file unless --start-from is given.
8
-
9
- # examples
10
-
11
- - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
1
+ # summary
2
+
3
+ Run the post-destructive stage of a happy-soup deployment.
4
+
5
+ # description
6
+
7
+ Runs the `bin/postDestructive.sh` script (if present) for each configured deployment that participates in this stage, cloning each repo fresh and resuming from the deployment progress file unless --start-from is given.
8
+
9
+ # examples
10
+
11
+ - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
@@ -1,11 +1,11 @@
1
- # summary
2
-
3
- Run the pre-destructive stage of a happy-soup deployment.
4
-
5
- # description
6
-
7
- Runs the `bin/preDestructive.sh` script (if present) for each configured deployment that participates in this stage, cloning each repo fresh and resuming from the deployment progress file unless --start-from is given.
8
-
9
- # examples
10
-
11
- - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
1
+ # summary
2
+
3
+ Run the pre-destructive stage of a happy-soup deployment.
4
+
5
+ # description
6
+
7
+ Runs the `bin/preDestructive.sh` script (if present) for each configured deployment that participates in this stage, cloning each repo fresh and resuming from the deployment progress file unless --start-from is given.
8
+
9
+ # examples
10
+
11
+ - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org --source-branch-name release/uat
@@ -1,75 +1,75 @@
1
- # flags.alias.summary
2
-
3
- Salesforce org alias.
4
-
5
- # flags.auth-url.summary
6
-
7
- Salesforce authorization (SFDX auth) URL, used as an alternative to JWT authentication.
8
-
9
- # flags.client-id.summary
10
-
11
- Connected app client ID, used for JWT authentication.
12
-
13
- # flags.instance-url.summary
14
-
15
- Salesforce login/instance URL, used for JWT authentication.
16
-
17
- # flags.jwt-key-file.summary
18
-
19
- Path to the JWT private key file.
20
-
21
- # flags.username.summary
22
-
23
- Salesforce username, used for JWT authentication.
24
-
25
- # flags.debug.summary
26
-
27
- Enable verbose debug logging.
28
-
29
- # flags.vcs-host.summary
30
-
31
- The source-control host to talk to (e.g. gitlab.com).
32
-
33
- # flags.vcs-provider.summary
34
-
35
- The source-control-hosting platform to talk to.
36
-
37
- # flags.test-level.summary
38
-
39
- The Apex test level to run.
40
-
41
- # flags.test-suite.summary
42
-
43
- The Apex test suite to run. If specified, overrides --test-level.
44
-
45
- # flags.tests.summary
46
-
47
- Specific Apex tests to run.
48
-
49
- # flags.start-from.summary
50
-
51
- Start (or resume) the deployment from a specific job name, overriding the progress file.
52
-
53
- # flags.deploy-progress-file.summary
54
-
55
- Path to the deployment progress file.
56
-
57
- # flags.deploy-rules-file.summary
58
-
59
- Path to the deployment rules file.
60
-
61
- # flags.ci-job-token.summary
62
-
63
- The CI job token used to authenticate read-only repository clones.
64
-
65
- # flags.project-deploy-config-file.summary
66
-
67
- Path to the deployment configuration file.
68
-
69
- # flags.happy-soup-deploy-config-file.summary
70
-
71
- Path to the deployment configuration file. If not provided, derived from --source-branch-name.
72
-
73
- # flags.source-branch-name.summary
74
-
75
- The source branch name for the deployment, used to derive the deployment config file path if --deploy-config-file is not provided.
1
+ # flags.alias.summary
2
+
3
+ Salesforce org alias.
4
+
5
+ # flags.auth-url.summary
6
+
7
+ Salesforce authorization (SFDX auth) URL, used as an alternative to JWT authentication.
8
+
9
+ # flags.client-id.summary
10
+
11
+ Connected app client ID, used for JWT authentication.
12
+
13
+ # flags.instance-url.summary
14
+
15
+ Salesforce login/instance URL, used for JWT authentication.
16
+
17
+ # flags.jwt-key-file.summary
18
+
19
+ Path to the JWT private key file.
20
+
21
+ # flags.username.summary
22
+
23
+ Salesforce username, used for JWT authentication.
24
+
25
+ # flags.debug.summary
26
+
27
+ Enable verbose debug logging.
28
+
29
+ # flags.vcs-host.summary
30
+
31
+ The source-control host to talk to (e.g. gitlab.com).
32
+
33
+ # flags.vcs-provider.summary
34
+
35
+ The source-control-hosting platform to talk to.
36
+
37
+ # flags.test-level.summary
38
+
39
+ The Apex test level to run.
40
+
41
+ # flags.test-suite.summary
42
+
43
+ The Apex test suite to run. If specified, overrides --test-level.
44
+
45
+ # flags.tests.summary
46
+
47
+ Specific Apex tests to run.
48
+
49
+ # flags.start-from.summary
50
+
51
+ Start (or resume) the deployment from a specific job name, overriding the progress file.
52
+
53
+ # flags.deploy-progress-file.summary
54
+
55
+ Path to the deployment progress file.
56
+
57
+ # flags.deploy-rules-file.summary
58
+
59
+ Path to the deployment rules file.
60
+
61
+ # flags.ci-job-token.summary
62
+
63
+ The CI job token used to authenticate read-only repository clones.
64
+
65
+ # flags.project-deploy-config-file.summary
66
+
67
+ Path to the deployment configuration file.
68
+
69
+ # flags.happy-soup-deploy-config-file.summary
70
+
71
+ Path to the deployment configuration file. If not provided, derived from --source-branch-name.
72
+
73
+ # flags.source-branch-name.summary
74
+
75
+ The source branch name for the deployment, used to derive the deployment config file path if --deploy-config-file is not provided.
@@ -1,11 +1,11 @@
1
- # summary
2
-
3
- Run the deploy-unpackaged stage of a project deployment.
4
-
5
- # description
6
-
7
- Runs the `bin/unpackagedDeploy.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
8
-
9
- # examples
10
-
11
- - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
1
+ # summary
2
+
3
+ Run the deploy-unpackaged stage of a project deployment.
4
+
5
+ # description
6
+
7
+ Runs the `bin/unpackagedDeploy.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
8
+
9
+ # examples
10
+
11
+ - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
@@ -1,11 +1,11 @@
1
- # summary
2
-
3
- Run the post-deploy stage of a project deployment.
4
-
5
- # description
6
-
7
- Runs the `bin/postDeploy.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
8
-
9
- # examples
10
-
11
- - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
1
+ # summary
2
+
3
+ Run the post-deploy stage of a project deployment.
4
+
5
+ # description
6
+
7
+ Runs the `bin/postDeploy.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
8
+
9
+ # examples
10
+
11
+ - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
@@ -1,11 +1,11 @@
1
- # summary
2
-
3
- Run the post-destructive stage of a project deployment.
4
-
5
- # description
6
-
7
- Runs the `bin/postDestructive.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
8
-
9
- # examples
10
-
11
- - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
1
+ # summary
2
+
3
+ Run the post-destructive stage of a project deployment.
4
+
5
+ # description
6
+
7
+ Runs the `bin/postDestructive.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
8
+
9
+ # examples
10
+
11
+ - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
@@ -1,11 +1,11 @@
1
- # summary
2
-
3
- Run the pre-destructive stage of a project deployment.
4
-
5
- # description
6
-
7
- Runs the `bin/preDestructive.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
8
-
9
- # examples
10
-
11
- - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
1
+ # summary
2
+
3
+ Run the pre-destructive stage of a project deployment.
4
+
5
+ # description
6
+
7
+ Runs the `bin/preDestructive.sh` script (if present) against the local project directory, resuming from the deployment progress file unless --start-from is given.
8
+
9
+ # examples
10
+
11
+ - <%= config.bin %> <%= command.id %> --ci-job-token $CI_JOB_TOKEN --alias my-org
@@ -1,10 +1,10 @@
1
1
  # summary
2
2
 
3
- Send a project deployment notification to Microsoft Teams, with Jira story integration.
3
+ Send a project deployment notification to Microsoft Teams, with issue-tracker integration.
4
4
 
5
5
  # description
6
6
 
7
- Run once with `--before-script` at the start of a deployment pipeline (to record the previously installed and target package versions), and once with `--after-script` at the end (to post a success or failure card to Teams, including the Jira stories that shipped between those two versions).
7
+ Run once with `--before-script` at the start of a deployment pipeline (to record the previously installed and target package versions), and once with `--after-script` at the end (to post a success or failure card to Teams, including the tracked issues that shipped between those two versions).
8
8
 
9
9
  # flags.after-script.summary
10
10
 
@@ -74,13 +74,17 @@ Whether the notification is actually sent. Defaults to false so pipelines can ga
74
74
 
75
75
  Login instance URL for the target org.
76
76
 
77
- # flags.jira-base-url.summary
77
+ # flags.alm-base-url.summary
78
78
 
79
- Base URL for linking a Jira issue key, e.g. https://jira.example.com/browse. Story keys are shown without links if not provided.
79
+ Base URL that an issue reference is appended to, e.g. https://jira.example.com/browse for Jira or https://gitlab.com/group/project/-/issues for GitLab Issues. References are shown without links if not provided.
80
80
 
81
- # flags.jira-project-key.summary
81
+ # flags.alm-project-key.summary
82
82
 
83
- Fallback Jira project key(s) used to search commit messages for story references, if none are configured in .sfdevrc.json.
83
+ Fallback project key(s) used to search commit messages for issue references, if none are configured in .sfdevrc.json. Only used by prefix-keyed trackers such as Jira.
84
+
85
+ # flags.alm-provider.summary
86
+
87
+ The issue tracker whose reference format to look for in commit messages.
84
88
 
85
89
  # flags.jwt-key-file.summary
86
90
 
@@ -1,27 +1,27 @@
1
- # summary
2
-
3
- Send a serialized JSON payload to a Microsoft Teams webhook.
4
-
5
- # description
6
-
7
- Posts a payload as-is to one or more Microsoft Teams incoming webhook URLs. Use this for custom notifications that don't fit the built-in `notify project` or `notify happy-soup` card templates.
8
-
9
- # flags.payload.summary
10
-
11
- The JSON payload to send to Teams, as a serialized string.
12
-
13
- # flags.webhook-url.summary
14
-
15
- The Teams webhook URL to send the payload to.
16
-
17
- # flags.enabled.summary
18
-
19
- Whether the notification is actually sent. Defaults to false so pipelines can gate this behind their own condition.
20
-
21
- # flags.debug.summary
22
-
23
- Enable verbose debug logging.
24
-
25
- # examples
26
-
27
- - <%= config.bin %> <%= command.id %> --payload '{"text":"Deployment complete"}' --webhook-url https://outlook.office.com/webhook/... --enabled
1
+ # summary
2
+
3
+ Send a serialized JSON payload to a Microsoft Teams webhook.
4
+
5
+ # description
6
+
7
+ Posts a payload as-is to one or more Microsoft Teams incoming webhook URLs. Use this for custom notifications that don't fit the built-in `notify project` or `notify happy-soup` card templates.
8
+
9
+ # flags.payload.summary
10
+
11
+ The JSON payload to send to Teams, as a serialized string.
12
+
13
+ # flags.webhook-url.summary
14
+
15
+ The Teams webhook URL to send the payload to.
16
+
17
+ # flags.enabled.summary
18
+
19
+ Whether the notification is actually sent. Defaults to false so pipelines can gate this behind their own condition.
20
+
21
+ # flags.debug.summary
22
+
23
+ Enable verbose debug logging.
24
+
25
+ # examples
26
+
27
+ - <%= config.bin %> <%= command.id %> --payload '{"text":"Deployment complete"}' --webhook-url https://outlook.office.com/webhook/... --enabled
@@ -4,25 +4,33 @@ Automatically update downstream projects with a newly released Salesforce 2GP pa
4
4
 
5
5
  # description
6
6
 
7
- Discovers repositories under a GitLab group, reads each one's `sfdx-project.json`, and for any repository that both depends on the released package and has opted in via the `SFDX_DEPENDABOT_ENABLED=TRUE` project-level CI/CD variable, opens (or updates) a merge request bumping the dependency to the newly released version.
7
+ Discovers repositories under a group or organization, reads each one's `sfdx-project.json`, and for any repository that both depends on the released package and has opted in via the `SFDX_DEPENDABOT_ENABLED=TRUE` repository-level CI variable, opens (or updates) a change request bumping the dependency to the newly released version.
8
8
 
9
9
  Each eligible repository must explicitly opt in — this command never touches a downstream repository's dependencies without that variable set.
10
10
 
11
- # flags.gitlab-api-url.summary
11
+ # flags.vcs-host.summary
12
12
 
13
- GitLab API v4 base URL.
13
+ Hostname of the VCS instance hosting the downstream projects.
14
14
 
15
- # flags.gitlab-api-url.description
15
+ # flags.vcs-host.description
16
16
 
17
- Falls back to the SFDX_DEPENDABOT_GITLAB_API_URL or CI_API_V4_URL environment variables if not provided.
17
+ Defaults to the selected provider's public instance if not provided.
18
18
 
19
- # flags.gitlab-token.summary
19
+ # flags.vcs-api-url.summary
20
20
 
21
- GitLab access token with file-writing and merge request privileges.
21
+ Base URL of the VCS platform's API.
22
+
23
+ # flags.vcs-api-url.description
24
+
25
+ Only needed for self-hosted instances whose API is not at the provider's usual location. Falls back to the SFDX_DEPENDABOT_VCS_API_URL or CI_API_V4_URL environment variables if not provided.
26
+
27
+ # flags.vcs-token.summary
28
+
29
+ VCS access token with file-writing and change request privileges.
22
30
 
23
31
  # flags.root-group-id.summary
24
32
 
25
- GitLab group ID or URL-encoded path to scan for downstream projects.
33
+ Group or organization ID, or URL-encoded path, to scan for downstream projects.
26
34
 
27
35
  # flags.subscriber-package-version-id.summary
28
36
 
@@ -34,31 +42,31 @@ Salesforce DevHub username or alias used to resolve the package's name and versi
34
42
 
35
43
  # flags.dry-run.summary
36
44
 
37
- Run discovery and parsing, but perform zero write, commit, or merge request operations.
45
+ Run discovery and parsing, but perform zero write, commit, or change request operations.
38
46
 
39
47
  # flags.project-allowlist.summary
40
48
 
41
- Comma-separated list of GitLab project paths to include in the scan. If specified, only matching projects are scanned.
49
+ Comma-separated list of repository paths to include in the scan. If specified, only matching repositories are scanned.
42
50
 
43
51
  # flags.project-denylist.summary
44
52
 
45
- Comma-separated list of GitLab project paths to exclude from scanning.
53
+ Comma-separated list of repository paths to exclude from scanning.
46
54
 
47
55
  # flags.skip-archived.summary
48
56
 
49
- Skip archived GitLab repositories.
57
+ Skip archived repositories.
50
58
 
51
59
  # flags.skip-forks.summary
52
60
 
53
- Skip forked GitLab repositories.
61
+ Skip forked repositories.
54
62
 
55
63
  # flags.branch-prefix.summary
56
64
 
57
65
  Prefix used for generated branch names.
58
66
 
59
- # flags.mr-labels.summary
67
+ # flags.change-request-labels.summary
60
68
 
61
- Comma-separated labels to apply to created or updated merge requests.
69
+ Comma-separated labels to apply to created or updated change requests (merge requests on GitLab, pull requests on GitHub).
62
70
 
63
71
  # flags.fail-on-error.summary
64
72
 
@@ -76,11 +84,25 @@ The source-control-hosting platform to talk to.
76
84
 
77
85
  - <%= config.bin %> <%= command.id %> --root-group-id 12345 --subscriber-package-version-id 04tXXXXXXXXXXXXXXX --devhub-username hub@example.com --dry-run
78
86
 
79
- - <%= config.bin %> <%= command.id %> --root-group-id 12345 --subscriber-package-version-id 04tXXXXXXXXXXXXXXX --devhub-username hub@example.com --branch-prefix devops/dependabot --mr-labels dependencies
87
+ - <%= config.bin %> <%= command.id %> --root-group-id 12345 --subscriber-package-version-id 04tXXXXXXXXXXXXXXX --devhub-username hub@example.com --branch-prefix devops/dependabot --change-request-labels dependencies
88
+
89
+ - <%= config.bin %> <%= command.id %> --vcs-provider github --root-group-id my-org --subscriber-package-version-id 04tXXXXXXXXXXXXXXX --devhub-username hub@example.com
90
+
91
+ # error.missingVcsToken
92
+
93
+ Missing VCS access token. Provide --vcs-token or set SFDX_DEPENDABOT_VCS_TOKEN.
94
+
95
+ # error.missingRootGroupId
96
+
97
+ Missing root group or organization ID. Provide --root-group-id or set SFDX_DEPENDABOT_ROOT_GROUP_ID.
98
+
99
+ # error.missingSubscriberPackageVersionId
100
+
101
+ Missing subscriber package version ID. Provide --subscriber-package-version-id or set SUBSCRIBER_PACKAGE_VERSION_ID.
80
102
 
81
- # error.missingGitlabApiUrl
103
+ # error.missingDevhubUsername
82
104
 
83
- Missing GitLab API URL. Provide --gitlab-api-url or set SFDX_DEPENDABOT_GITLAB_API_URL / CI_API_V4_URL.
105
+ Missing DevHub username/alias. Provide --devhub-username or set DEVHUB_TOOLING_USERNAME.
84
106
 
85
107
  # info.starting
86
108