@simplysf/simply-cicd 0.25.1 → 0.27.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 (39) hide show
  1. package/README.md +86 -69
  2. package/lib/commands/simply/cicd/build/create-fallback-tag.d.ts +1 -1
  3. package/lib/commands/simply/cicd/build/create-package-version.d.ts +1 -1
  4. package/lib/commands/simply/cicd/build/generate-flexipage-diff.d.ts +1 -1
  5. package/lib/commands/simply/cicd/build/generate-flow-diff.d.ts +1 -1
  6. package/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.d.ts +1 -1
  7. package/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.d.ts +1 -1
  8. package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.d.ts +1 -1
  9. package/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.d.ts +1 -1
  10. package/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.d.ts +1 -1
  11. package/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.d.ts +1 -1
  12. package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.d.ts +1 -1
  13. package/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.d.ts +1 -1
  14. package/lib/commands/simply/cicd/deploy/project/install-packaged.d.ts +1 -1
  15. package/lib/commands/simply/cicd/deploy/project/post-deploy.d.ts +1 -1
  16. package/lib/commands/simply/cicd/deploy/project/post-destructive.d.ts +1 -1
  17. package/lib/commands/simply/cicd/deploy/project/pre-destructive.d.ts +1 -1
  18. package/lib/commands/simply/cicd/deploy/project/run-apex-tests.d.ts +1 -1
  19. package/lib/commands/simply/cicd/notify/build.d.ts +2 -2
  20. package/lib/commands/simply/cicd/notify/happy-soup.d.ts +2 -2
  21. package/lib/commands/simply/cicd/notify/project.d.ts +2 -2
  22. package/lib/commands/simply/cicd/sfdx-dependabot.d.ts +4 -2
  23. package/lib/commands/simply/cicd/sfdx-dependabot.js +49 -25
  24. package/lib/commands/simply/cicd/sfdx-dependabot.js.map +1 -1
  25. package/lib/common/build/flags.d.ts +2 -3
  26. package/lib/common/deploy/flags.d.ts +1 -2
  27. package/lib/common/deploy/stageCommand.d.ts +2 -2
  28. package/messages/simply.cicd.build.create-fallback-tag.md +1 -1
  29. package/messages/simply.cicd.build.create-package-version.md +1 -1
  30. package/messages/simply.cicd.build.create-scratch.md +1 -1
  31. package/messages/simply.cicd.build.delete-scratch.md +1 -1
  32. package/messages/simply.cicd.build.determine-package-changes.md +1 -1
  33. package/messages/simply.cicd.build.install-dependencies.md +1 -1
  34. package/messages/simply.cicd.build.publish-utam-page-objects.md +5 -5
  35. package/messages/simply.cicd.build.push-scratch.md +1 -1
  36. package/messages/simply.cicd.build.test-scratch.md +1 -1
  37. package/messages/simply.cicd.sfdx-dependabot.md +12 -6
  38. package/oclif.manifest.json +108 -108
  39. package/package.json +3 -3
@@ -6,7 +6,7 @@ export default class DeployHappySoupTagDeployment extends SfCommand<void> {
6
6
  static readonly examples: string[];
7
7
  static readonly flags: {
8
8
  'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<import("@simplysf/simply-cicd-core").VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
9
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
10
10
  'deploy-rules-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
11
  'deploy-progress-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
12
12
  debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
@@ -6,7 +6,7 @@ export default class DeployProjectDeployUnpackaged extends SfCommand<void> {
6
6
  static readonly examples: string[];
7
7
  static readonly flags: {
8
8
  'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<import("@simplysf/simply-cicd-core").VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
9
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
10
10
  'test-level': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
11
  'test-suite': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
12
  tests: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -13,7 +13,7 @@ export default class DeployProjectInstallPackaged extends SfCommand<void> {
13
13
  'deploy-config-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
14
14
  debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
15
  'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
16
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<import("@simplysf/simply-cicd-core").VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
16
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
17
17
  alias: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
18
18
  'ci-job-token': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
19
19
  'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -6,7 +6,7 @@ export default class DeployProjectPostDeploy extends SfCommand<void> {
6
6
  static readonly examples: string[];
7
7
  static readonly flags: {
8
8
  'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<import("@simplysf/simply-cicd-core").VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
9
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
10
10
  'test-level': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
11
  'test-suite': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
12
  tests: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -6,7 +6,7 @@ export default class DeployProjectPostDestructive extends SfCommand<void> {
6
6
  static readonly examples: string[];
7
7
  static readonly flags: {
8
8
  'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<import("@simplysf/simply-cicd-core").VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
9
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
10
10
  'test-level': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
11
  'test-suite': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
12
  tests: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -6,7 +6,7 @@ export default class DeployProjectPreDestructive extends SfCommand<void> {
6
6
  static readonly examples: string[];
7
7
  static readonly flags: {
8
8
  'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<import("@simplysf/simply-cicd-core").VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
9
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
10
10
  'test-level': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
11
  'test-suite': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
12
  tests: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -14,7 +14,7 @@ export default class DeployProjectRunApexTests extends SfCommand<void> {
14
14
  'deploy-config-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
15
15
  debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
16
16
  'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
17
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<import("@simplysf/simply-cicd-core").VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
17
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
18
18
  alias: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
19
19
  'ci-job-token': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
20
20
  'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -1,5 +1,5 @@
1
1
  import { SfCommand } from '@salesforce/sf-plugins-core';
2
- import { type AlmProviderKind, type NotifyBuildResult } from '@simplysf/simply-cicd-core';
2
+ import { type NotifyBuildResult } from '@simplysf/simply-cicd-core';
3
3
  export type { NotifyBuildResult } from '@simplysf/simply-cicd-core';
4
4
  /** Sends a build job's failure, or its new package version and stories, to Microsoft Teams. */
5
5
  export default class NotifyBuild extends SfCommand<NotifyBuildResult> {
@@ -18,7 +18,7 @@ export default class NotifyBuild extends SfCommand<NotifyBuildResult> {
18
18
  enabled: import("@oclif/core/interfaces").BooleanFlag<boolean>;
19
19
  'alm-base-url': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
20
20
  'alm-project-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
- 'alm-provider': import("@oclif/core/interfaces").OptionFlag<AlmProviderKind, import("@oclif/core/interfaces").CustomOptions>;
21
+ 'alm-provider': import("@oclif/core/interfaces").OptionFlag<"jira" | "gitlab-issues", import("@oclif/core/interfaces").CustomOptions>;
22
22
  'teams-webhook-url': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
23
  debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
24
24
  'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -1,5 +1,5 @@
1
1
  import { SfCommand } from '@salesforce/sf-plugins-core';
2
- import { type AlmProviderKind, type NotifyHappySoupResult } from '@simplysf/simply-cicd-core';
2
+ import { type NotifyHappySoupResult } from '@simplysf/simply-cicd-core';
3
3
  export type { NotifyHappySoupResult } from '@simplysf/simply-cicd-core';
4
4
  /** Sends a happy-soup deployment stage notification to Microsoft Teams, with ALM story integration. */
5
5
  export default class NotifyHappySoup extends SfCommand<NotifyHappySoupResult> {
@@ -21,7 +21,7 @@ export default class NotifyHappySoup extends SfCommand<NotifyHappySoupResult> {
21
21
  enabled: import("@oclif/core/interfaces").BooleanFlag<boolean>;
22
22
  'alm-base-url': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
23
  'alm-project-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
24
- 'alm-provider': import("@oclif/core/interfaces").OptionFlag<AlmProviderKind, import("@oclif/core/interfaces").CustomOptions>;
24
+ 'alm-provider': import("@oclif/core/interfaces").OptionFlag<"jira" | "gitlab-issues", import("@oclif/core/interfaces").CustomOptions>;
25
25
  'project-access-token': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
26
26
  'teams-webhook-url': import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
27
27
  'notify-on-completion': import("@oclif/core/interfaces").BooleanFlag<boolean>;
@@ -1,5 +1,5 @@
1
1
  import { SfCommand } from '@salesforce/sf-plugins-core';
2
- import { type AlmProviderKind, type NotifyProjectResult } from '@simplysf/simply-cicd-core';
2
+ import { type NotifyProjectResult } from '@simplysf/simply-cicd-core';
3
3
  /** Sends a project deployment notification to Microsoft Teams, with Jira story integration. */
4
4
  export default class NotifyProject extends SfCommand<NotifyProjectResult> {
5
5
  static readonly summary: string;
@@ -21,7 +21,7 @@ export default class NotifyProject extends SfCommand<NotifyProjectResult> {
21
21
  enabled: import("@oclif/core/interfaces").BooleanFlag<boolean>;
22
22
  'alm-base-url': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
23
  'alm-project-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
24
- 'alm-provider': import("@oclif/core/interfaces").OptionFlag<AlmProviderKind, import("@oclif/core/interfaces").CustomOptions>;
24
+ 'alm-provider': import("@oclif/core/interfaces").OptionFlag<"jira" | "gitlab-issues", import("@oclif/core/interfaces").CustomOptions>;
25
25
  'prev-installed-package-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
26
26
  'subscriber-package-version-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
27
27
  'target-package-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -1,5 +1,5 @@
1
1
  import { SfCommand } from '@salesforce/sf-plugins-core';
2
- import { type SfdxDependabotSummary, type VcsProviderKind } from '@simplysf/simply-cicd-core';
2
+ import { type SfdxDependabotSummary } from '@simplysf/simply-cicd-core';
3
3
  /**
4
4
  * Discovers downstream repositories that depend on a just-released Salesforce 2GP package,
5
5
  * opens or updates a merge request bumping each opted-in repository to the new version.
@@ -24,9 +24,11 @@ export default class SfdxDependabot extends SfCommand<SfdxDependabotSummary> {
24
24
  'change-request-labels': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
25
25
  'fail-on-error': import("@oclif/core/interfaces").BooleanFlag<boolean>;
26
26
  'max-projects': import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
27
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
27
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
28
28
  'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
29
29
  };
30
30
  run(): Promise<SfdxDependabotSummary>;
31
+ /** Read a flag's deprecated environment variable, warning (and naming its replacement) when it's set. */
32
+ private readLegacyEnv;
31
33
  private logSummary;
32
34
  }
@@ -15,9 +15,29 @@
15
15
  */
16
16
  import { Messages } from '@salesforce/core';
17
17
  import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
18
- import { applyMaxProjectsLimit, createVcsProvider, discoverEligibleProjects, listVcsProviderKinds, logger, processProject, resolveBoolean, resolveOptionalString, resolvePackageDetails, resolveString, } from '@simplysf/simply-cicd-core';
18
+ import { applyMaxProjectsLimit, CICD_ENV_VARS, createVcsProvider, discoverEligibleProjects, listVcsProviderKinds, logger, processProject, readCicdEnvVar, resolveBoolean, resolveOptionalString, resolvePackageDetails, resolveString, } from '@simplysf/simply-cicd-core';
19
19
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
20
20
  const messages = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.sfdx-dependabot');
21
+ /**
22
+ * The environment variable each flag fell back to before its `SIMPLY_CICD_` one. Still read when
23
+ * neither the flag nor its `SIMPLY_CICD_` variable is set, with a deprecation warning; removed in a
24
+ * future release.
25
+ */
26
+ const LEGACY_FLAG_ENV_VARS = {
27
+ 'vcs-api-url': 'SFDX_DEPENDABOT_VCS_API_URL',
28
+ 'vcs-token': 'SFDX_DEPENDABOT_VCS_TOKEN',
29
+ 'root-group-id': 'SFDX_DEPENDABOT_ROOT_GROUP_ID',
30
+ 'devhub-username': 'PACKAGING_DEVHUB_USERNAME',
31
+ 'dry-run': 'SFDX_DEPENDABOT_DRY_RUN',
32
+ 'project-allowlist': 'SFDX_DEPENDABOT_PROJECT_ALLOWLIST',
33
+ 'project-denylist': 'SFDX_DEPENDABOT_PROJECT_DENYLIST',
34
+ 'skip-archived': 'SFDX_DEPENDABOT_SKIP_ARCHIVED',
35
+ 'skip-forks': 'SFDX_DEPENDABOT_SKIP_FORKS',
36
+ 'branch-prefix': 'SFDX_DEPENDABOT_BRANCH_PREFIX',
37
+ 'change-request-labels': 'SFDX_DEPENDABOT_CHANGE_REQUEST_LABELS',
38
+ 'fail-on-error': 'SFDX_DEPENDABOT_FAIL_ON_ERROR',
39
+ 'max-projects': 'SFDX_DEPENDABOT_MAX_PROJECTS',
40
+ };
21
41
  /**
22
42
  * Discovers downstream repositories that depend on a just-released Salesforce 2GP package,
23
43
  * opens or updates a merge request bumping each opted-in repository to the new version.
@@ -99,17 +119,17 @@ export default class SfdxDependabot extends SfCommand {
99
119
  };
100
120
  async run() {
101
121
  const { flags } = await this.parse(SfdxDependabot);
122
+ // A deprecated variable is only consulted, and only warned about, when its flag is unset.
123
+ const legacy = (flag) => flags[flag] === undefined ? this.readLegacyEnv(flag) : undefined;
102
124
  // Only needed for self-hosted instances; otherwise the provider derives its own API URL.
103
- const vcsApiUrl = resolveOptionalString(flags['vcs-api-url'], [
104
- process.env.SFDX_DEPENDABOT_VCS_API_URL,
105
- process.env.CI_API_V4_URL,
106
- ]);
107
- const vcsToken = resolveOptionalString(flags['vcs-token'], [process.env.SFDX_DEPENDABOT_VCS_TOKEN]);
108
- const rootGroupId = resolveOptionalString(flags['root-group-id'], [process.env.SFDX_DEPENDABOT_ROOT_GROUP_ID]);
109
- const subscriberPackageVersionId = resolveOptionalString(flags['subscriber-package-version-id'], [
110
- process.env.SUBSCRIBER_PACKAGE_VERSION_ID,
111
- ]);
112
- const devhubUsername = resolveOptionalString(flags['devhub-username'], [process.env.PACKAGING_DEVHUB_USERNAME]);
125
+ const vcsApiUrl = resolveOptionalString(flags['vcs-api-url'], [legacy('vcs-api-url'), process.env.CI_API_V4_URL]);
126
+ const vcsToken = resolveOptionalString(flags['vcs-token'], [legacy('vcs-token')]);
127
+ const rootGroupId = resolveOptionalString(flags['root-group-id'], [legacy('root-group-id')]);
128
+ // The 04t `build create-package-version` wrote to its dotenv report. readCicdEnvVar falls back to the
129
+ // deprecated SUBSCRIBER_PACKAGE_VERSION_ID, with a warning, when only that is set.
130
+ const subscriberPackageVersionId = flags['subscriber-package-version-id'] ?? readCicdEnvVar(CICD_ENV_VARS.builtSubscriberPackageVersionId)?.value;
131
+ const devhubUsername = resolveOptionalString(flags['devhub-username'], [legacy('devhub-username')]);
132
+ const legacyMaxProjects = legacy('max-projects');
113
133
  if (!vcsToken) {
114
134
  throw messages.createError('error.missingVcsToken');
115
135
  }
@@ -129,20 +149,15 @@ export default class SfdxDependabot extends SfCommand {
129
149
  rootGroupId,
130
150
  subscriberPackageVersionId,
131
151
  devhubUsername,
132
- dryRun: resolveBoolean(flags['dry-run'], process.env.SFDX_DEPENDABOT_DRY_RUN, false),
133
- projectAllowlist: resolveString(flags['project-allowlist'], [process.env.SFDX_DEPENDABOT_PROJECT_ALLOWLIST]),
134
- projectDenylist: resolveString(flags['project-denylist'], [process.env.SFDX_DEPENDABOT_PROJECT_DENYLIST]),
135
- skipArchived: resolveBoolean(flags['skip-archived'], process.env.SFDX_DEPENDABOT_SKIP_ARCHIVED, true),
136
- skipForks: resolveBoolean(flags['skip-forks'], process.env.SFDX_DEPENDABOT_SKIP_FORKS, true),
137
- branchPrefix: resolveString(flags['branch-prefix'], [process.env.SFDX_DEPENDABOT_BRANCH_PREFIX], 'devops/dependabot'),
138
- changeRequestLabels: resolveString(flags['change-request-labels'], [
139
- process.env.SFDX_DEPENDABOT_CHANGE_REQUEST_LABELS,
140
- ]),
141
- failOnError: resolveBoolean(flags['fail-on-error'], process.env.SFDX_DEPENDABOT_FAIL_ON_ERROR, false),
142
- maxProjects: flags['max-projects'] ??
143
- (process.env.SFDX_DEPENDABOT_MAX_PROJECTS !== undefined
144
- ? Number(process.env.SFDX_DEPENDABOT_MAX_PROJECTS)
145
- : undefined),
152
+ dryRun: resolveBoolean(flags['dry-run'], legacy('dry-run'), false),
153
+ projectAllowlist: resolveString(flags['project-allowlist'], [legacy('project-allowlist')]),
154
+ projectDenylist: resolveString(flags['project-denylist'], [legacy('project-denylist')]),
155
+ skipArchived: resolveBoolean(flags['skip-archived'], legacy('skip-archived'), true),
156
+ skipForks: resolveBoolean(flags['skip-forks'], legacy('skip-forks'), true),
157
+ branchPrefix: resolveString(flags['branch-prefix'], [legacy('branch-prefix')], 'devops/dependabot'),
158
+ changeRequestLabels: resolveString(flags['change-request-labels'], [legacy('change-request-labels')]),
159
+ failOnError: resolveBoolean(flags['fail-on-error'], legacy('fail-on-error'), false),
160
+ maxProjects: flags['max-projects'] ?? (legacyMaxProjects !== undefined ? Number(legacyMaxProjects) : undefined),
146
161
  };
147
162
  logger.info(messages.getMessage('info.starting'));
148
163
  if (options.dryRun) {
@@ -198,6 +213,15 @@ export default class SfdxDependabot extends SfCommand {
198
213
  }
199
214
  return summary;
200
215
  }
216
+ /** Read a flag's deprecated environment variable, warning (and naming its replacement) when it's set. */
217
+ readLegacyEnv(flag) {
218
+ const legacyName = LEGACY_FLAG_ENV_VARS[flag];
219
+ const value = process.env[legacyName];
220
+ if (value !== undefined) {
221
+ this.warn(messages.getMessage('warning.deprecatedEnvVar', [legacyName, SfdxDependabot.flags[flag].env, flag]));
222
+ }
223
+ return value;
224
+ }
201
225
  logSummary(summary) {
202
226
  this.styledHeader('SFDX Dependabot Summary');
203
227
  this.log(`Package: ${summary.packageName}`);
@@ -1 +1 @@
1
- {"version":3,"file":"sfdx-dependabot.js","sourceRoot":"","sources":["../../../../src/commands/simply/cicd/sfdx-dependabot.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,EACL,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,MAAM,EACN,cAAc,EACd,cAAc,EAEd,qBAAqB,EACrB,qBAAqB,EACrB,aAAa,GAId,MAAM,4BAA4B,CAAC;AAEpC,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,uBAAuB,EAAE,6BAA6B,CAAC,CAAC;AAE/F;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,SAAgC;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,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC;YACvB,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC;YACtD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAA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
1
- import { type VcsProviderKind } from '@simplysf/simply-cicd-core';
2
1
  /**
3
2
  * Flags shared by every build command that operates against one or more Dev Hubs. `simply-cicd`
4
3
  * never authenticates Dev Hubs itself — each alias must already be authenticated (by the calling
@@ -33,7 +32,7 @@ export declare const gitOpsFlags: {
33
32
  };
34
33
  export declare const vcsFlags: {
35
34
  'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
36
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
35
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
37
36
  };
38
37
  /**
39
38
  * Flags shared by the `generate-flow-diff` and `generate-flexipage-diff` commands. The platform
@@ -53,5 +52,5 @@ export declare const diffFlags: {
53
52
  'project-access-token': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
54
53
  out: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
55
54
  'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
56
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
55
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
57
56
  };
@@ -1,4 +1,3 @@
1
- import { type VcsProviderKind } from '@simplysf/simply-cicd-core';
2
1
  /**
3
2
  * Flags shared by every deploy command that targets a Salesforce org. `simply-cicd` never
4
3
  * authenticates orgs itself — the alias must already be authenticated (by the calling pipeline,
@@ -13,7 +12,7 @@ export declare const debugFlag: {
13
12
  /** Flags shared by every deploy command that clones, tags, or pushes to a source-control remote. */
14
13
  export declare const vcsFlags: {
15
14
  'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
16
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
15
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
17
16
  };
18
17
  export declare const testFlags: {
19
18
  'test-level': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
@@ -6,7 +6,7 @@
6
6
  */
7
7
  export declare const projectStageFlags: {
8
8
  'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<import("@simplysf/simply-cicd-core").VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
9
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
10
10
  'test-level': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
11
  'test-suite': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
12
  tests: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -27,7 +27,7 @@ export declare const projectStageFlags: {
27
27
  */
28
28
  export declare const happySoupStageFlags: {
29
29
  'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
30
- 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<import("@simplysf/simply-cicd-core").VcsProviderKind, import("@oclif/core/interfaces").CustomOptions>;
30
+ 'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
31
31
  'test-level': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
32
32
  'test-suite': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
33
33
  tests: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -8,7 +8,7 @@ Resolves the last tag to increment (either `--last-tag`, or the closest reachabl
8
8
 
9
9
  Also soft no-ops when HEAD already carries a tag matching the version prefix, e.g. because `build create-package-version` just created and tagged a real package version earlier in the same job. This also keeps a retried job from adding a second fallback tag to the same commit.
10
10
 
11
- Skipped automatically when `PACKAGE_CHANGED=TRUE` is set in the environment (see `build determine-package-changes`) — a real package version will be created instead.
11
+ Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=TRUE` (or the deprecated `PACKAGE_CHANGED=TRUE`) is set in the environment (see `build determine-package-changes`) — a real package version will be created instead.
12
12
 
13
13
  # flags.last-tag.summary
14
14
 
@@ -8,7 +8,7 @@ Skips entirely (without error) when the pipeline was triggered by a merge reques
8
8
 
9
9
  The tag is `v<major>.<minor>.<patch>.<build>` by default. A project can choose its own shape with a `plugins.simply.versionTagFormat` template in `sfdx-project.json`, or the `SIMPLY_CICD_VERSION_TAG_FORMAT` environment variable (which overrides it) — e.g. `{MAJOR}.{MINOR}.{PATCH}+{BUILD}` tags `1.2.3.4` as `1.2.3+4`. Each of `{MAJOR}`, `{MINOR}`, `{PATCH}`, and `{BUILD}` must appear exactly once, and the format is validated before any package version is created. Unless this is a release-branch build, the package directory's `branch` attribute or the CI ref is appended as `-<suffix>` after the formatted version.
10
10
 
11
- Skipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).
11
+ Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in the environment (see `build determine-package-changes`).
12
12
 
13
13
  # flags.ci-commit-sha.summary
14
14
 
@@ -6,7 +6,7 @@ Create a scratch org, trying each configured Dev Hub in order.
6
6
 
7
7
  Reads the default package directory's `definitionFile` from `sfdx-project.json` (falling back to `--scratch-definition-file`), and attempts creation against each `--dev-hub` alias in order (each must already be authenticated). A Dev Hub is skipped in favor of the next one when it has no scratch org signups left today (`DailyScratchOrgs`) or is already at its limit of active scratch orgs (`ActiveScratchOrgs`); a Dev Hub that hits either limit during the signup is also skipped. Writes the resulting org's auth fields to `SCRATCH_ORG_INFO.json` for later build steps, best-effort sets a default `CountryCode`, and assigns any permission sets/licenses declared under the default package directory's `packageMetadataAccess`.
8
8
 
9
- Skipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).
9
+ Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in the environment (see `build determine-package-changes`).
10
10
 
11
11
  # flags.scratch-definition-file.summary
12
12
 
@@ -6,7 +6,7 @@ Delete the scratch org created by `build create-scratch`.
6
6
 
7
7
  Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`) to confirm `--dev-hub` is the Dev Hub that owns the scratch org, re-authenticates to it and the scratch org as needed, and deletes it. Deletion failures are logged rather than thrown, since a scratch org left behind after a failed deletion just needs manual cleanup and shouldn't fail an otherwise-successful pipeline run.
8
8
 
9
- Skipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).
9
+ Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in the environment (see `build determine-package-changes`).
10
10
 
11
11
  # examples
12
12
 
@@ -4,7 +4,7 @@ Determine if any package-relevant files have changed since the last release tag.
4
4
 
5
5
  # description
6
6
 
7
- Reads the default package directory from `sfdx-project.json`, finds the closest reachable git tag for its `major.minor.patch` (in `SIMPLY_CICD_VERSION_TAG_FORMAT` or the project's `plugins.simply.versionTagFormat`, `v<major>.<minor>.<patch>.*` by default), and diffs that tag against `HEAD` for the package directory and `sfdx-project.json` itself. Writes `PACKAGE_CHANGED=TRUE|FALSE` and `LAST_TAG=<tag>` to the output file. Any failure during detection (missing/invalid sfdx-project.json, git errors) defaults to `PACKAGE_CHANGED=TRUE`, so a build never silently skips work it should have done.
7
+ Reads the default package directory from `sfdx-project.json`, finds the closest reachable git tag for its `major.minor.patch` (in `SIMPLY_CICD_VERSION_TAG_FORMAT` or the project's `plugins.simply.versionTagFormat`, `v<major>.<minor>.<patch>.*` by default), and diffs that tag against `HEAD` for the package directory and `sfdx-project.json` itself. Writes `SIMPLY_CICD_PACKAGE_CHANGED=TRUE|FALSE` and `SIMPLY_CICD_LAST_TAG=<tag>` to the output file, followed by the same values under the deprecated names `PACKAGE_CHANGED` and `LAST_TAG`, which will be removed in a future release. Any failure during detection (missing/invalid sfdx-project.json, git errors) defaults to `SIMPLY_CICD_PACKAGE_CHANGED=TRUE`, so a build never silently skips work it should have done.
8
8
 
9
9
  # flags.out.summary
10
10
 
@@ -6,7 +6,7 @@ Install packaged dependencies into the scratch org created by `build create-scra
6
6
 
7
7
  Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`), authenticates as that scratch org, and installs its packaged dependencies.
8
8
 
9
- Skipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).
9
+ Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in the environment (see `build determine-package-changes`).
10
10
 
11
11
  # flags.install-type.summary
12
12
 
@@ -6,15 +6,15 @@ Compile the project's UTAM page objects for a package version and publish them t
6
6
 
7
7
  Gives every Salesforce Unlocked Package version a matching npm package of compiled UTAM page objects, so a UI-test suite can install exactly the page objects that describe the package version it is testing against.
8
8
 
9
- Runs after `build create-package-version`, whose `04t` it takes as input — from `--subscriber-package-version-id`, from `SUBSCRIBER_PACKAGE_VERSION_ID` in the environment (how a separate job receives that command's dotenv report), or from the dotenv file itself (how a later step in the same job sees it). It copies every `**/__utam__/**/*.utam.json` page object and `**/__utam__/**/*.utam.js` utility under the default package directory into a staging directory outside the repo, compiles them there with the UTAM compiler, and publishes the result: the compiled page objects under `pageObjects/` (`.js`, `.cjs`, `.d.ts`, `.d.cts`), the utilities under `utils/`, and the sources under `source/`. When page objects use profiles, the profiles config is published as `profiles.config.json`, for a test suite to pass to its UTAM loader as `<package>/profiles.config.json`. The compiler writes nothing into the repo; a relative `lint.lintingOutputFile` in the project's compiler config is resolved against the working directory.
9
+ Runs after `build create-package-version`, whose `04t` it takes as input — from `--subscriber-package-version-id`, from `SIMPLY_CICD_BUILT_SUBSCRIBER_PACKAGE_VERSION_ID` (or the deprecated `SUBSCRIBER_PACKAGE_VERSION_ID`) in the environment (how a separate job receives that command's dotenv report), or from the dotenv file itself (how a later step in the same job sees it). It copies every `**/__utam__/**/*.utam.json` page object and `**/__utam__/**/*.utam.js` utility under the default package directory into a staging directory outside the repo, compiles them there with the UTAM compiler, and publishes the result: the compiled page objects under `pageObjects/` (`.js`, `.cjs`, `.d.ts`, `.d.cts`), the utilities under `utils/`, and the sources under `source/`. When page objects use profiles, the profiles config is published as `profiles.config.json`, for a test suite to pass to its UTAM loader as `<package>/profiles.config.json`. The compiler writes nothing into the repo; a relative `lint.lintingOutputFile` in the project's compiler config is resolved against the working directory.
10
10
 
11
11
  The npm version is derived from the Salesforce version number the same way `sfdx-project.json` writes a dependency pin: `1.2.3.4` becomes `1.2.3-4`, with the git tag's suffix carried as a second prerelease identifier and as the dist-tag, so `1.2.3.4` built from a `beta` package branch is `1.2.3-4.beta` at `beta`, and a release build is `1.2.3-4` at `latest`.
12
12
 
13
13
  The compiler is installed at run time rather than shipped with this plugin, so nothing is downloaded unless the command actually runs.
14
14
 
15
- Skips (without failing) when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`), when `--disabled` is passed, when no package version ID can be found, when the project authors no page objects, or when this exact version is already on the registry — which is what makes retrying a job that died after publishing succeed rather than fail on a version conflict. Any other failure fails the job, including two page objects (or utilities) with the same file name, which would compile to the same output file, and a compile that leaves any page object out: a missing or empty page-object package would silently break every UI test pinned to that version.
15
+ Skips (without failing) when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in the environment (see `build determine-package-changes`), when `--disabled` is passed, when no package version ID can be found, when the project authors no page objects, or when this exact version is already on the registry — which is what makes retrying a job that died after publishing succeed rather than fail on a version conflict. Any other failure fails the job, including two page objects (or utilities) with the same file name, which would compile to the same output file, and a compile that leaves any page object out: a missing or empty page-object package would silently break every UI test pinned to that version.
16
16
 
17
- On success, appends `UTAM_PAGE_OBJECTS_PACKAGE` and `UTAM_PAGE_OBJECTS_VERSION` to `--out`, so a downstream job can install the package without knowing the mapping rule.
17
+ On success, appends `SIMPLY_CICD_UTAM_PAGE_OBJECTS_PACKAGE` and `SIMPLY_CICD_UTAM_PAGE_OBJECTS_VERSION` to `--out` (plus the deprecated `UTAM_PAGE_OBJECTS_PACKAGE` and `UTAM_PAGE_OBJECTS_VERSION`, which will be removed in a future release), so a downstream job can install the package without knowing the mapping rule.
18
18
 
19
19
  Registry authentication is not this command's job: set it up before the command runs, in user-level npm config (for example `npm config set -- "//<registry host and path>/:_authToken=<token>"`, which writes `~/.npmrc`) or in an `.npmrc` that `NPM_CONFIG_USERCONFIG` points at. npm runs from a staging directory outside the repo, so a project-level `.npmrc` in the repo is not read.
20
20
 
@@ -26,7 +26,7 @@ Alias of the Dev Hub that owns the package version. Must already be authenticate
26
26
 
27
27
  # flags.subscriber-package-version-id.summary
28
28
 
29
- Subscriber package version ID (04t) to publish page objects for. Falls back to SUBSCRIBER_PACKAGE_VERSION_ID in the environment, then to the same key in --env-file.
29
+ Subscriber package version ID (04t) to publish page objects for. Falls back to SIMPLY_CICD_BUILT_SUBSCRIBER_PACKAGE_VERSION_ID (or the deprecated SUBSCRIBER_PACKAGE_VERSION_ID) in the environment, then to the same key in --env-file.
30
30
 
31
31
  # flags.npm-package-name.summary
32
32
 
@@ -66,7 +66,7 @@ Dotenv file to append the published package name and version to.
66
66
 
67
67
  # flags.env-file.summary
68
68
 
69
- Dotenv file to read SUBSCRIBER_PACKAGE_VERSION_ID from when it isn't passed as a flag or set in the environment.
69
+ Dotenv file to read SIMPLY_CICD_BUILT_SUBSCRIBER_PACKAGE_VERSION_ID from when it isn't passed as a flag or set in the environment.
70
70
 
71
71
  # examples
72
72
 
@@ -6,7 +6,7 @@ Push source to the scratch org created by `build create-scratch`.
6
6
 
7
7
  Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`), authenticates as that scratch org, strips metadata types the scratch org push doesn't support (Einstein Conversation Agent file types), and runs `sf project deploy start`. When `--scratch-org-source-dir` is given, also deploys the default package directory's `seedMetadata.path`, if declared in `sfdx-project.json`.
8
8
 
9
- Skipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).
9
+ Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in the environment (see `build determine-package-changes`).
10
10
 
11
11
  # flags.ignore-warnings.summary
12
12
 
@@ -6,7 +6,7 @@ Run Apex tests against the scratch org created by `build create-scratch`.
6
6
 
7
7
  Reads `SCRATCH_ORG_INFO.json` (written by `build create-scratch`), authenticates as that scratch org, and runs its Apex tests with `RunLocalTests`.
8
8
 
9
- Skipped automatically when `PACKAGE_CHANGED=FALSE` is set in the environment (see `build determine-package-changes`).
9
+ Skipped automatically when `SIMPLY_CICD_PACKAGE_CHANGED=FALSE` (or the deprecated `PACKAGE_CHANGED=FALSE`) is set in the environment (see `build determine-package-changes`).
10
10
 
11
11
  # flags.disable-apex-tests.summary
12
12
 
@@ -4,10 +4,12 @@ Automatically update downstream projects with a newly released Salesforce 2GP pa
4
4
 
5
5
  # description
6
6
 
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.
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 `SIMPLY_CICD_SFDX_DEPENDABOT_ENABLED=TRUE` repository-level CI variable (the deprecated `SFDX_DEPENDABOT_ENABLED=TRUE` still works, with a warning, until a future release), 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
+ Every flag can also be set through the `SIMPLY_CICD_` environment variable shown in its help. The older `SFDX_DEPENDABOT_*` variables (and `PACKAGING_DEVHUB_USERNAME` for `--devhub-username`) are deprecated: they are still read when neither the flag nor its `SIMPLY_CICD_` variable is set, with a warning, and will be removed in a future release.
12
+
11
13
  # flags.vcs-host.summary
12
14
 
13
15
  Hostname of the VCS instance hosting the downstream projects.
@@ -22,7 +24,7 @@ Base URL of the VCS platform's API.
22
24
 
23
25
  # flags.vcs-api-url.description
24
26
 
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.
27
+ Only needed for self-hosted instances whose API is not at the provider's usual location. Falls back to the SIMPLY_CICD_VCS_API_URL environment variable, then the deprecated SFDX_DEPENDABOT_VCS_API_URL, then GitLab's CI_API_V4_URL.
26
28
 
27
29
  # flags.vcs-token.summary
28
30
 
@@ -90,19 +92,19 @@ The source-control-hosting platform to talk to.
90
92
 
91
93
  # error.missingVcsToken
92
94
 
93
- Missing VCS access token. Provide --vcs-token or set SFDX_DEPENDABOT_VCS_TOKEN.
95
+ Missing VCS access token. Provide --vcs-token or set SIMPLY_CICD_VCS_TOKEN.
94
96
 
95
97
  # error.missingRootGroupId
96
98
 
97
- Missing root group or organization ID. Provide --root-group-id or set SFDX_DEPENDABOT_ROOT_GROUP_ID.
99
+ Missing root group or organization ID. Provide --root-group-id or set SIMPLY_CICD_ROOT_GROUP_ID.
98
100
 
99
101
  # error.missingSubscriberPackageVersionId
100
102
 
101
- Missing subscriber package version ID. Provide --subscriber-package-version-id or set SUBSCRIBER_PACKAGE_VERSION_ID.
103
+ Missing subscriber package version ID. Provide --subscriber-package-version-id or set SIMPLY_CICD_BUILT_SUBSCRIBER_PACKAGE_VERSION_ID (written by build create-package-version).
102
104
 
103
105
  # error.missingDevhubUsername
104
106
 
105
- Missing DevHub username/alias. Provide --devhub-username or set PACKAGING_DEVHUB_USERNAME.
107
+ Missing DevHub username/alias. Provide --devhub-username or set SIMPLY_CICD_DEVHUB_USERNAME.
106
108
 
107
109
  # info.starting
108
110
 
@@ -111,3 +113,7 @@ Starting SFDX Project Dependabot execution...
111
113
  # info.dryRun
112
114
 
113
115
  Executing in DRY-RUN mode. No changes will be written or committed.
116
+
117
+ # warning.deprecatedEnvVar
118
+
119
+ %s is deprecated and will be removed in a future release. Set %s (or pass --%s) instead.