@simplysf/simply-cicd 0.26.0 → 0.28.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.
- package/README.md +230 -68
- package/lib/commands/simply/cicd/build/create-fallback-tag.d.ts +1 -1
- package/lib/commands/simply/cicd/build/create-package-version.d.ts +1 -1
- package/lib/commands/simply/cicd/build/generate-flexipage-diff.d.ts +1 -1
- package/lib/commands/simply/cicd/build/generate-flow-diff.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/deploy-unpackaged.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/deployment-close-out.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/install-packaged.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/post-deploy.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/post-destructive.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/pre-destructive.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/happy-soup/tag-deployment.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/project/deploy-unpackaged.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/project/install-packaged.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/project/post-deploy.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/project/post-destructive.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/project/pre-destructive.d.ts +1 -1
- package/lib/commands/simply/cicd/deploy/project/run-apex-tests.d.ts +1 -1
- package/lib/commands/simply/cicd/happy-soup/release/create.d.ts +28 -0
- package/lib/commands/simply/cicd/happy-soup/release/create.js +114 -0
- package/lib/commands/simply/cicd/happy-soup/release/create.js.map +1 -0
- package/lib/commands/simply/cicd/happy-soup/release/stage.d.ts +37 -0
- package/lib/commands/simply/cicd/happy-soup/release/stage.js +111 -0
- package/lib/commands/simply/cicd/happy-soup/release/stage.js.map +1 -0
- package/lib/commands/simply/cicd/notify/build.d.ts +2 -2
- package/lib/commands/simply/cicd/notify/happy-soup.d.ts +2 -2
- package/lib/commands/simply/cicd/notify/project.d.ts +2 -2
- package/lib/commands/simply/cicd/sfdx-dependabot.d.ts +2 -2
- package/lib/commands/simply/cicd/sfdx-dependabot.js +4 -4
- package/lib/commands/simply/cicd/sfdx-dependabot.js.map +1 -1
- package/lib/common/build/flags.d.ts +2 -3
- package/lib/common/deploy/flags.d.ts +1 -2
- package/lib/common/deploy/stageCommand.d.ts +2 -2
- package/lib/common/happySoup/flags.d.ts +27 -0
- package/lib/common/happySoup/flags.js +57 -0
- package/lib/common/happySoup/flags.js.map +1 -0
- package/messages/simply.cicd.build.create-fallback-tag.md +1 -1
- package/messages/simply.cicd.build.create-package-version.md +1 -1
- package/messages/simply.cicd.build.create-scratch.md +1 -1
- package/messages/simply.cicd.build.delete-scratch.md +1 -1
- package/messages/simply.cicd.build.determine-package-changes.md +1 -1
- package/messages/simply.cicd.build.install-dependencies.md +1 -1
- package/messages/simply.cicd.build.publish-utam-page-objects.md +5 -5
- package/messages/simply.cicd.build.push-scratch.md +1 -1
- package/messages/simply.cicd.build.test-scratch.md +1 -1
- package/messages/simply.cicd.happy-soup.md +39 -0
- package/messages/simply.cicd.happy-soup.release.create.md +65 -0
- package/messages/simply.cicd.happy-soup.release.stage.md +75 -0
- package/messages/simply.cicd.sfdx-dependabot.md +2 -2
- package/oclif.manifest.json +602 -107
- package/package.json +10 -4
|
@@ -15,7 +15,7 @@
|
|
|
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
21
|
/**
|
|
@@ -125,9 +125,9 @@ export default class SfdxDependabot extends SfCommand {
|
|
|
125
125
|
const vcsApiUrl = resolveOptionalString(flags['vcs-api-url'], [legacy('vcs-api-url'), process.env.CI_API_V4_URL]);
|
|
126
126
|
const vcsToken = resolveOptionalString(flags['vcs-token'], [legacy('vcs-token')]);
|
|
127
127
|
const rootGroupId = resolveOptionalString(flags['root-group-id'], [legacy('root-group-id')]);
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
]);
|
|
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
131
|
const devhubUsername = resolveOptionalString(flags['devhub-username'], [legacy('devhub-username')]);
|
|
132
132
|
const legacyMaxProjects = legacy('max-projects');
|
|
133
133
|
if (!vcsToken) {
|
|
@@ -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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AAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACb,IAAI,CAAC,GAAG,CAAC,wBAAwB,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAAC;QAC/D,IAAI,CAAC,GAAG,CAAC,oCAAoC,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAC;QACzE,IAAI,CAAC,GAAG,CAAC,qBAAqB,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC;QACzD,IAAI,CAAC,GAAG,CAAC,2BAA2B,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;QACpE,IAAI,CAAC,GAAG,CAAC,gCAAgC,OAAO,CAAC,wBAAwB,EAAE,CAAC,CAAC;QAC7E,IAAI,CAAC,GAAG,CAAC,oBAAoB,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;QACvD,IAAI,CAAC,GAAG,CAAC,wBAAwB,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;QAC9D,IAAI,CAAC,GAAG,CAAC,8BAA8B,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAAC;QACzE,IAAI,CAAC,GAAG,CAAC,YAAY,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;QACxC,IAAI,CAAC,GAAG,CAAC,WAAW,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;QACtC,IAAI,CAAC,GAAG,CAAC,YAAY,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IACzC,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Flags shared by the developer-run `happy-soup` commands. Unlike the pipeline stages' flags, these
|
|
3
|
+
* read no `SIMPLY_CICD_*` variables: a developer's shell isn't a CI job.
|
|
4
|
+
*/
|
|
5
|
+
export declare const releaseConfigFlags: {
|
|
6
|
+
config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
+
'base-branch': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
|
+
remote: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
|
+
'dry-run': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
'no-prompt': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The merge request's VCS settings. No default provider: an unset flag falls through to
|
|
14
|
+
* `SIMPLY_VCS_PROVIDER`, then `.sfdevrc.json`, then GitLab, in `resolveVcsSettings`.
|
|
15
|
+
*/
|
|
16
|
+
export declare const mergeRequestVcsFlags: {
|
|
17
|
+
'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github" | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
|
+
'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
19
|
+
'vcs-project-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
20
|
+
'vcs-token': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
21
|
+
};
|
|
22
|
+
/** Sentinel for the "Other" entry at the end of a prompt's list. Can't collide with a git ref name. */
|
|
23
|
+
export declare const OTHER = "\0other";
|
|
24
|
+
/** Prompts run only in a terminal, and never with `--no-prompt` or `--json`. */
|
|
25
|
+
export declare function canPrompt(noPrompt: boolean, jsonEnabled: boolean): boolean;
|
|
26
|
+
/** @returns The root of the git repository containing the current directory. Runs git without a shell. */
|
|
27
|
+
export declare function repositoryRoot(): Promise<string>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026, SimplySF.
|
|
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 { execFile } from 'node:child_process';
|
|
17
|
+
import { promisify } from 'node:util';
|
|
18
|
+
import { Messages } from '@salesforce/core';
|
|
19
|
+
import { Flags } from '@salesforce/sf-plugins-core';
|
|
20
|
+
import { listVcsProviderKinds } from '@simplysf/simply-cicd-core';
|
|
21
|
+
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
22
|
+
const messages = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.happy-soup');
|
|
23
|
+
/**
|
|
24
|
+
* Flags shared by the developer-run `happy-soup` commands. Unlike the pipeline stages' flags, these
|
|
25
|
+
* read no `SIMPLY_CICD_*` variables: a developer's shell isn't a CI job.
|
|
26
|
+
*/
|
|
27
|
+
export const releaseConfigFlags = {
|
|
28
|
+
config: Flags.string({ char: 'c', summary: messages.getMessage('flags.config.summary') }),
|
|
29
|
+
'base-branch': Flags.string({ char: 'b', summary: messages.getMessage('flags.base-branch.summary') }),
|
|
30
|
+
remote: Flags.string({ summary: messages.getMessage('flags.remote.summary'), default: 'origin' }),
|
|
31
|
+
'dry-run': Flags.boolean({ summary: messages.getMessage('flags.dry-run.summary'), default: false }),
|
|
32
|
+
'no-prompt': Flags.boolean({ summary: messages.getMessage('flags.no-prompt.summary'), default: false }),
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* The merge request's VCS settings. No default provider: an unset flag falls through to
|
|
36
|
+
* `SIMPLY_VCS_PROVIDER`, then `.sfdevrc.json`, then GitLab, in `resolveVcsSettings`.
|
|
37
|
+
*/
|
|
38
|
+
export const mergeRequestVcsFlags = {
|
|
39
|
+
'vcs-provider': Flags.custom({ options: listVcsProviderKinds() })({
|
|
40
|
+
summary: messages.getMessage('flags.vcs-provider.summary'),
|
|
41
|
+
}),
|
|
42
|
+
'vcs-host': Flags.string({ summary: messages.getMessage('flags.vcs-host.summary') }),
|
|
43
|
+
'vcs-project-id': Flags.string({ summary: messages.getMessage('flags.vcs-project-id.summary') }),
|
|
44
|
+
'vcs-token': Flags.string({ summary: messages.getMessage('flags.vcs-token.summary'), env: 'SIMPLY_VCS_TOKEN' }),
|
|
45
|
+
};
|
|
46
|
+
/** Sentinel for the "Other" entry at the end of a prompt's list. Can't collide with a git ref name. */
|
|
47
|
+
export const OTHER = '\0other';
|
|
48
|
+
/** Prompts run only in a terminal, and never with `--no-prompt` or `--json`. */
|
|
49
|
+
export function canPrompt(noPrompt, jsonEnabled) {
|
|
50
|
+
return !noPrompt && !jsonEnabled && Boolean(process.stdin.isTTY);
|
|
51
|
+
}
|
|
52
|
+
/** @returns The root of the git repository containing the current directory. Runs git without a shell. */
|
|
53
|
+
export async function repositoryRoot() {
|
|
54
|
+
const { stdout } = await promisify(execFile)('git', ['rev-parse', '--show-toplevel']);
|
|
55
|
+
return stdout.trim();
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=flags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flags.js","sourceRoot":"","sources":["../../../src/common/happySoup/flags.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,E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E,CAAC,CAAC;QACjF,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,4BAA4B,CAAC;KAC3D,CAAC;IACF,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC,EAAE,CAAC;IACpF,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,8BAA8B,CAAC,EAAE,CAAC;IAChG,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,kBAAkB,EAAE,CAAC;CAChH,CAAC;AAEF,uGAAuG;AACvG,MAAM,CAAC,MAAM,KAAK,GAAG,SAAS,CAAC;AAE/B,gFAAgF;AAChF,MAAM,UAAU,SAAS,CAAC,QAAiB,EAAE,WAAoB;IAC/D,OAAO,CAAC,QAAQ,IAAI,CAAC,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,0GAA0G;AAC1G,MAAM,CAAC,KAAK,UAAU,cAAc;IAClC,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,SAAS,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC,CAAC,CAAC;IACtF,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;AACvB,CAAC"}
|
|
@@ -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 `
|
|
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 `
|
|
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
|
|
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
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# flags.config.summary
|
|
2
|
+
|
|
3
|
+
Path to the release configuration file. Defaults to config/release.json or release.json, searched for from the current directory up to the repository root.
|
|
4
|
+
|
|
5
|
+
# flags.base-branch.summary
|
|
6
|
+
|
|
7
|
+
Branch to start from. Defaults to productionBranch in the release configuration, which defaults to environment/production.
|
|
8
|
+
|
|
9
|
+
# flags.remote.summary
|
|
10
|
+
|
|
11
|
+
Remote to fetch from and push to.
|
|
12
|
+
|
|
13
|
+
# flags.dry-run.summary
|
|
14
|
+
|
|
15
|
+
Print the plan without changing anything.
|
|
16
|
+
|
|
17
|
+
# flags.no-prompt.summary
|
|
18
|
+
|
|
19
|
+
Don't ask for anything. Values that would be asked for must then be passed as flags.
|
|
20
|
+
|
|
21
|
+
# flags.vcs-provider.summary
|
|
22
|
+
|
|
23
|
+
VCS platform for the merge request. Defaults to SIMPLY_VCS_PROVIDER, then vcs.provider in .sfdevrc.json, then gitlab.
|
|
24
|
+
|
|
25
|
+
# flags.vcs-host.summary
|
|
26
|
+
|
|
27
|
+
VCS hostname, for a self-hosted instance. Defaults to SIMPLY_VCS_HOST, then vcs.host in .sfdevrc.json.
|
|
28
|
+
|
|
29
|
+
# flags.vcs-project-id.summary
|
|
30
|
+
|
|
31
|
+
GitLab project ID or GitHub owner/repo. Defaults to SIMPLY_VCS_PROJECT_ID, then vcs.projectId in .sfdevrc.json.
|
|
32
|
+
|
|
33
|
+
# flags.vcs-token.summary
|
|
34
|
+
|
|
35
|
+
VCS API token for the merge request.
|
|
36
|
+
|
|
37
|
+
# prompt.other
|
|
38
|
+
|
|
39
|
+
Other (type a name)
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Open a dated happy-soup release: create release/YYYY-MM-DD with its deployment files, push it, and open a draft merge request.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Run this from a local clone of a happy-soup repository. It creates `release/<date>` from the remote's copy of the production branch (`productionBranch` in `config/release.json`, by default `environment/production`), without checking out or pulling any other branch, and checks it out.
|
|
8
|
+
|
|
9
|
+
It then copies the deployment steps template to `deployment-steps/<date>.md` and the deployment configs template to `deployment-configs/<date>.json`, which is the file the `simply cicd deploy happy-soup` stages use for this branch, and commits both in one commit. The templates are read from the base branch, from the paths `deploymentStepsTemplate` and `deploymentConfigsTemplate` in `config/release.json` (by default `xdocs/deployment-steps-template.md` and `xdocs/deployment-configs-template.json`). A template that doesn't exist is skipped and reported. A deployment file that already exists on the base branch is left alone.
|
|
10
|
+
|
|
11
|
+
Finally, it pushes the branch and opens a draft merge request back into the base branch, unless `--no-push` or `--no-merge-request`. The merge request needs a token, from `--vcs-token` or `SIMPLY_VCS_TOKEN`, and a project ID, from `--vcs-project-id`, `SIMPLY_VCS_PROJECT_ID`, or `vcs.projectId` in `.sfdevrc.json`. These are checked before anything changes.
|
|
12
|
+
|
|
13
|
+
A working tree with uncommitted changes is refused. Nothing is ever force-checked-out, reset, or force-pushed, and your repository's commit hooks always run. If a hook rejects the commit, nothing is pushed and the files stay staged: commit them, push the branch, and run this command again to open the merge request.
|
|
14
|
+
|
|
15
|
+
If the branch is already on the remote, nothing is created: it is checked out (a local copy that is only behind is fast-forwarded), and the merge request is opened if it's missing.
|
|
16
|
+
|
|
17
|
+
# flags.date.summary
|
|
18
|
+
|
|
19
|
+
Release date, in YYYY-MM-DD form. Asked for when omitted in a terminal.
|
|
20
|
+
|
|
21
|
+
# flags.message.summary
|
|
22
|
+
|
|
23
|
+
Commit message template for the deployment files, with an optional {DATE} placeholder. Defaults to "chore: set up release {DATE}".
|
|
24
|
+
|
|
25
|
+
# flags.no-push.summary
|
|
26
|
+
|
|
27
|
+
Create and commit the branch locally only. Implies --no-merge-request.
|
|
28
|
+
|
|
29
|
+
# flags.no-merge-request.summary
|
|
30
|
+
|
|
31
|
+
Push the branch without opening a draft merge request.
|
|
32
|
+
|
|
33
|
+
# error.dateRequired
|
|
34
|
+
|
|
35
|
+
Pass --date with the release date, in YYYY-MM-DD form.
|
|
36
|
+
|
|
37
|
+
# prompt.date
|
|
38
|
+
|
|
39
|
+
What is the release date (YYYY-MM-DD)?
|
|
40
|
+
|
|
41
|
+
# tableTitle
|
|
42
|
+
|
|
43
|
+
Release branch
|
|
44
|
+
|
|
45
|
+
# examples
|
|
46
|
+
|
|
47
|
+
- Open the release for 19 October 2026:
|
|
48
|
+
|
|
49
|
+
<%= config.bin %> <%= command.id %> --date 2026-10-19
|
|
50
|
+
|
|
51
|
+
- See what would happen, without changing anything:
|
|
52
|
+
|
|
53
|
+
<%= config.bin %> <%= command.id %> --date 2026-10-19 --dry-run
|
|
54
|
+
|
|
55
|
+
- Ask for the date:
|
|
56
|
+
|
|
57
|
+
<%= config.bin %> <%= command.id %>
|
|
58
|
+
|
|
59
|
+
- Create the branch and its files, but push and open the merge request yourself:
|
|
60
|
+
|
|
61
|
+
<%= config.bin %> <%= command.id %> --date 2026-10-19 --no-push
|
|
62
|
+
|
|
63
|
+
- Use a commit message your repository's rules accept:
|
|
64
|
+
|
|
65
|
+
<%= config.bin %> <%= command.id %> --date 2026-10-19 --message "chore: PROJ-123 set up release {DATE}"
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Start a staging branch, <team>/<app>/<name>, for work headed into a happy-soup release.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Run this from a local clone of a happy-soup repository. It creates `<team>/<app>/<name>`, such as `platform/core/PROJ-1058`, from the remote's copy of the base branch, without checking out or pulling any other branch, and checks it out. The branch isn't pushed.
|
|
8
|
+
|
|
9
|
+
In a terminal, anything you leave out is asked for. The teams, and each team's applications, come from `config/release.json`. A team with no applications of its own offers the file's top-level `applications`. Each list ends with "Other", for a name that isn't configured. The base branches offered are the remote's `environment/*` and `release/*` branches, with `productionBranch` first. Without prompts, `--team`, `--app`, and `--name` are required, and the base defaults to `productionBranch` (by default `environment/production`).
|
|
10
|
+
|
|
11
|
+
`--team` matches a configured team ignoring case. Each part of the name must be a single valid git branch component: no `/`, spaces, `..`, or the other characters git refuses.
|
|
12
|
+
|
|
13
|
+
A working tree with uncommitted changes is refused. If the branch already exists, on the remote or only locally, it is checked out instead of created.
|
|
14
|
+
|
|
15
|
+
# flags.team.summary
|
|
16
|
+
|
|
17
|
+
Team, the first part of the branch name. Asked for when omitted in a terminal.
|
|
18
|
+
|
|
19
|
+
# flags.app.summary
|
|
20
|
+
|
|
21
|
+
Application, the second part of the branch name. Asked for when omitted in a terminal.
|
|
22
|
+
|
|
23
|
+
# flags.name.summary
|
|
24
|
+
|
|
25
|
+
Release name or ticket, the last part of the branch name, such as PROJ-1058. Asked for when omitted in a terminal.
|
|
26
|
+
|
|
27
|
+
# error.flagsRequired
|
|
28
|
+
|
|
29
|
+
Pass %s, or run this in a terminal to be asked.
|
|
30
|
+
|
|
31
|
+
# prompt.team
|
|
32
|
+
|
|
33
|
+
Which team is this for?
|
|
34
|
+
|
|
35
|
+
# prompt.teamName
|
|
36
|
+
|
|
37
|
+
What is the team name?
|
|
38
|
+
|
|
39
|
+
# prompt.app
|
|
40
|
+
|
|
41
|
+
Which application is this for?
|
|
42
|
+
|
|
43
|
+
# prompt.appName
|
|
44
|
+
|
|
45
|
+
What is the application name?
|
|
46
|
+
|
|
47
|
+
# prompt.name
|
|
48
|
+
|
|
49
|
+
What is the release name or ticket?
|
|
50
|
+
|
|
51
|
+
# prompt.base
|
|
52
|
+
|
|
53
|
+
Which branch do you want to stage from?
|
|
54
|
+
|
|
55
|
+
# prompt.baseName
|
|
56
|
+
|
|
57
|
+
What is the branch name?
|
|
58
|
+
|
|
59
|
+
# tableTitle
|
|
60
|
+
|
|
61
|
+
Staging branch
|
|
62
|
+
|
|
63
|
+
# examples
|
|
64
|
+
|
|
65
|
+
- Start platform/core/PROJ-1058 from the production branch:
|
|
66
|
+
|
|
67
|
+
<%= config.bin %> <%= command.id %> --team platform --app core --name PROJ-1058
|
|
68
|
+
|
|
69
|
+
- Stage from a release branch instead:
|
|
70
|
+
|
|
71
|
+
<%= config.bin %> <%= command.id %> --team platform --app core --name PROJ-1058 --base-branch release/2026-10-19
|
|
72
|
+
|
|
73
|
+
- Pick the team, application, and base branch from lists:
|
|
74
|
+
|
|
75
|
+
<%= config.bin %> <%= command.id %>
|
|
@@ -4,7 +4,7 @@ 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 `
|
|
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
|
|
|
@@ -100,7 +100,7 @@ Missing root group or organization ID. Provide --root-group-id or set SIMPLY_CIC
|
|
|
100
100
|
|
|
101
101
|
# error.missingSubscriberPackageVersionId
|
|
102
102
|
|
|
103
|
-
Missing subscriber package version ID. Provide --subscriber-package-version-id or set
|
|
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).
|
|
104
104
|
|
|
105
105
|
# error.missingDevhubUsername
|
|
106
106
|
|