@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
|
@@ -14,7 +14,7 @@ export default class BuildCreateFallbackTag extends SfCommand<BuildCreateFallbac
|
|
|
14
14
|
disabled: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
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<
|
|
17
|
+
'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
|
|
18
18
|
'ci-commit-ref-name': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
19
19
|
'ci-pipeline-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
20
20
|
'ci-project-path': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
@@ -18,7 +18,7 @@ export default class BuildCreatePackageVersion extends SfCommand<BuildCreatePack
|
|
|
18
18
|
disabled: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
19
19
|
debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
20
20
|
'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
21
|
-
'vcs-provider': import("@oclif/core/interfaces").OptionFlag<
|
|
21
|
+
'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
|
|
22
22
|
'ci-commit-ref-name': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
23
23
|
'ci-pipeline-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
24
24
|
'ci-project-path': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
@@ -20,7 +20,7 @@ export default class BuildGenerateFlexipageDiff extends SfCommand<GenerateFlexip
|
|
|
20
20
|
'project-access-token': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
21
21
|
out: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
22
22
|
'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
23
|
-
'vcs-provider': import("@oclif/core/interfaces").OptionFlag<
|
|
23
|
+
'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
|
|
24
24
|
'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
25
25
|
};
|
|
26
26
|
run(): Promise<GenerateFlexipageDiffResult>;
|
|
@@ -20,7 +20,7 @@ export default class BuildGenerateFlowDiff extends SfCommand<GenerateFlowDiffRes
|
|
|
20
20
|
'project-access-token': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
21
21
|
out: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
22
22
|
'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
23
|
-
'vcs-provider': import("@oclif/core/interfaces").OptionFlag<
|
|
23
|
+
'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
|
|
24
24
|
'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
25
25
|
};
|
|
26
26
|
run(): Promise<GenerateFlowDiffResult>;
|
|
@@ -6,7 +6,7 @@ export default class DeployHappySoupDeployUnpackaged 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<
|
|
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 DeployHappySoupDeploymentCloseOut 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<
|
|
9
|
+
'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
|
|
10
10
|
'deploy-release-date': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
11
|
'source-branch-name': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
12
|
'deploy-rules-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
@@ -12,7 +12,7 @@ export default class DeployHappySoupInstallPackaged extends SfCommand<void> {
|
|
|
12
12
|
'deploy-progress-file': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
13
|
debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
14
14
|
'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
-
'vcs-provider': import("@oclif/core/interfaces").OptionFlag<
|
|
15
|
+
'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github", import("@oclif/core/interfaces").CustomOptions>;
|
|
16
16
|
alias: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
17
|
'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
18
|
};
|
|
@@ -6,7 +6,7 @@ export default class DeployHappySoupPostDeploy 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<
|
|
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 DeployHappySoupPostDestructive 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<
|
|
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 DeployHappySoupPreDestructive 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<
|
|
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 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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
+
import { type CreateReleaseBranchResult } from '@simplysf/simply-cicd-core';
|
|
3
|
+
export type HappySoupReleaseCreateResult = CreateReleaseBranchResult;
|
|
4
|
+
/** Opens a dated happy-soup release: branch, deployment files from templates, push, and a draft merge request. */
|
|
5
|
+
export default class HappySoupReleaseCreate extends SfCommand<HappySoupReleaseCreateResult> {
|
|
6
|
+
static readonly summary: string;
|
|
7
|
+
static readonly description: string;
|
|
8
|
+
static readonly examples: string[];
|
|
9
|
+
static readonly enableJsonFlag = true;
|
|
10
|
+
static readonly flags: {
|
|
11
|
+
'vcs-provider': import("@oclif/core/interfaces").OptionFlag<"gitlab" | "github" | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
'vcs-host': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
+
'vcs-project-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
|
+
'vcs-token': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
message: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
+
'no-push': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
|
+
'no-merge-request': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
18
|
+
config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
19
|
+
'base-branch': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
20
|
+
remote: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
21
|
+
'dry-run': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
22
|
+
'no-prompt': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
23
|
+
date: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
24
|
+
'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
25
|
+
};
|
|
26
|
+
run(): Promise<HappySoupReleaseCreateResult>;
|
|
27
|
+
protected promptForDate(): Promise<string>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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 { Messages } from '@salesforce/core';
|
|
17
|
+
import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
|
|
18
|
+
import { assertReleaseDate, createReleaseBranch, resolveHappySoupVcs, } from '@simplysf/simply-cicd-core';
|
|
19
|
+
import { text } from '@simplysf/simply-plugin-kit';
|
|
20
|
+
import { canPrompt, mergeRequestVcsFlags, releaseConfigFlags } from '../../../../../common/happySoup/flags.js';
|
|
21
|
+
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
22
|
+
const messages = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.happy-soup.release.create');
|
|
23
|
+
/** Opens a dated happy-soup release: branch, deployment files from templates, push, and a draft merge request. */
|
|
24
|
+
export default class HappySoupReleaseCreate extends SfCommand {
|
|
25
|
+
static summary = messages.getMessage('summary');
|
|
26
|
+
static description = messages.getMessage('description');
|
|
27
|
+
static examples = messages.getMessages('examples');
|
|
28
|
+
static enableJsonFlag = true;
|
|
29
|
+
static flags = {
|
|
30
|
+
...SfCommand.baseFlags,
|
|
31
|
+
date: Flags.string({ char: 'd', summary: messages.getMessage('flags.date.summary') }),
|
|
32
|
+
...releaseConfigFlags,
|
|
33
|
+
message: Flags.string({ summary: messages.getMessage('flags.message.summary') }),
|
|
34
|
+
'no-push': Flags.boolean({ summary: messages.getMessage('flags.no-push.summary'), default: false }),
|
|
35
|
+
'no-merge-request': Flags.boolean({
|
|
36
|
+
summary: messages.getMessage('flags.no-merge-request.summary'),
|
|
37
|
+
default: false,
|
|
38
|
+
}),
|
|
39
|
+
...mergeRequestVcsFlags,
|
|
40
|
+
};
|
|
41
|
+
async run() {
|
|
42
|
+
const { flags } = await this.parse(HappySoupReleaseCreate);
|
|
43
|
+
const interactive = canPrompt(flags['no-prompt'], this.jsonEnabled());
|
|
44
|
+
const date = flags.date ?? (interactive ? await this.promptForDate() : undefined);
|
|
45
|
+
if (!date) {
|
|
46
|
+
this.error(messages.getMessage('error.dateRequired'));
|
|
47
|
+
}
|
|
48
|
+
const push = !flags['no-push'];
|
|
49
|
+
const mergeRequest = push && !flags['no-merge-request'];
|
|
50
|
+
const vcs = mergeRequest
|
|
51
|
+
? resolveHappySoupVcs({
|
|
52
|
+
provider: flags['vcs-provider'],
|
|
53
|
+
host: flags['vcs-host'],
|
|
54
|
+
projectId: flags['vcs-project-id'],
|
|
55
|
+
token: flags['vcs-token'],
|
|
56
|
+
warn: (message) => this.warn(message),
|
|
57
|
+
})
|
|
58
|
+
: undefined;
|
|
59
|
+
const result = await createReleaseBranch({
|
|
60
|
+
date,
|
|
61
|
+
baseBranch: flags['base-branch'],
|
|
62
|
+
configPath: flags.config,
|
|
63
|
+
remote: flags.remote,
|
|
64
|
+
message: flags.message,
|
|
65
|
+
push,
|
|
66
|
+
mergeRequest,
|
|
67
|
+
vcs,
|
|
68
|
+
dryRun: flags['dry-run'],
|
|
69
|
+
});
|
|
70
|
+
for (const warning of result.warnings) {
|
|
71
|
+
this.warn(warning);
|
|
72
|
+
}
|
|
73
|
+
this.table({
|
|
74
|
+
title: messages.getMessage('tableTitle'),
|
|
75
|
+
data: [
|
|
76
|
+
{ field: 'Branch', value: result.branch },
|
|
77
|
+
{ field: 'Base', value: result.base },
|
|
78
|
+
{ field: 'Status', value: result.status },
|
|
79
|
+
...(result.commit ? [{ field: 'Commit', value: result.commit }] : []),
|
|
80
|
+
{ field: 'Files', value: result.files.join(', ') || '(none)' },
|
|
81
|
+
...(result.skippedTemplates.length > 0
|
|
82
|
+
? [{ field: 'Missing templates', value: result.skippedTemplates.join(', ') }]
|
|
83
|
+
: []),
|
|
84
|
+
{ field: 'Pushed', value: result.pushed ? 'Yes' : 'No' },
|
|
85
|
+
...(result.mergeRequest
|
|
86
|
+
? [
|
|
87
|
+
{
|
|
88
|
+
field: 'Merge request',
|
|
89
|
+
value: [result.mergeRequest.status, result.mergeRequest.webUrl ?? result.mergeRequest.title].join(': '),
|
|
90
|
+
},
|
|
91
|
+
]
|
|
92
|
+
: []),
|
|
93
|
+
],
|
|
94
|
+
});
|
|
95
|
+
return result;
|
|
96
|
+
}
|
|
97
|
+
// eslint-disable-next-line class-methods-use-this -- kept as a method so tests can stub the prompt
|
|
98
|
+
async promptForDate() {
|
|
99
|
+
return text({
|
|
100
|
+
message: messages.getMessage('prompt.date'),
|
|
101
|
+
placeholder: new Date().toISOString().slice(0, 10),
|
|
102
|
+
validate: (value) => {
|
|
103
|
+
try {
|
|
104
|
+
assertReleaseDate(value);
|
|
105
|
+
return undefined;
|
|
106
|
+
}
|
|
107
|
+
catch (error) {
|
|
108
|
+
return error instanceof Error ? error.message : String(error);
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../../src/commands/simply/cicd/happy-soup/release/create.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,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,GAEpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,oBAAoB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AM,CAAC,YAAY,CAAC,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;yBACxG;qBACF;oBACH,CAAC,CAAC,EAAE,CAAC;aACR;SACF,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,mGAAmG;IACzF,KAAK,CAAC,aAAa;QAC3B,OAAO,IAAI,CAAC;YACV,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC;YAC3C,WAAW,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC;YAClD,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;gBAClB,IAAI,CAAC;oBACH,iBAAiB,CAAC,KAAK,CAAC,CAAC;oBACzB,OAAO,SAAS,CAAC;gBACnB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACf,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;gBAChE,CAAC;YACH,CAAC;SACF,CAAC,CAAC;IACL,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
+
import { applicationsForTeam, type HappySoupReleaseConfig, type ReleaseTeam, type StageReleaseBranchResult } from '@simplysf/simply-cicd-core';
|
|
3
|
+
import { type SelectOption } from '@simplysf/simply-plugin-kit';
|
|
4
|
+
export type HappySoupReleaseStageResult = StageReleaseBranchResult;
|
|
5
|
+
/** Starts a `<team>/<app>/<name>` staging branch for work headed into a happy-soup release. */
|
|
6
|
+
export default class HappySoupReleaseStage extends SfCommand<HappySoupReleaseStageResult> {
|
|
7
|
+
static readonly summary: string;
|
|
8
|
+
static readonly description: string;
|
|
9
|
+
static readonly examples: string[];
|
|
10
|
+
static readonly enableJsonFlag = true;
|
|
11
|
+
static readonly flags: {
|
|
12
|
+
config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
+
'base-branch': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
|
+
remote: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
'dry-run': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
|
+
'no-prompt': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
|
+
team: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
|
+
app: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
19
|
+
name: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
20
|
+
'flags-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
21
|
+
};
|
|
22
|
+
run(): Promise<HappySoupReleaseStageResult>;
|
|
23
|
+
/** A configured team's own spelling when the name matches one, ignoring case; otherwise the name as typed. */
|
|
24
|
+
protected resolveTeam(config: HappySoupReleaseConfig, name: string): {
|
|
25
|
+
name: string;
|
|
26
|
+
config?: ReleaseTeam;
|
|
27
|
+
};
|
|
28
|
+
protected promptForTeam(config: HappySoupReleaseConfig): Promise<{
|
|
29
|
+
name: string;
|
|
30
|
+
config?: ReleaseTeam;
|
|
31
|
+
}>;
|
|
32
|
+
protected promptForApp(applications: ReturnType<typeof applicationsForTeam>): Promise<string>;
|
|
33
|
+
protected promptForName(): Promise<string>;
|
|
34
|
+
protected promptForBase(productionBranch: string, remote: string): Promise<string>;
|
|
35
|
+
/** A list ending in "Other", which asks for a name. With nothing configured, it asks straight away. */
|
|
36
|
+
protected pickOrType(message: string, options: Array<SelectOption<string>>, typeMessage: string): Promise<string>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 { Messages } from '@salesforce/core';
|
|
17
|
+
import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
|
|
18
|
+
import { applicationsForTeam, findReleaseTeam, listStagingBaseBranches, loadReleaseConfig, stageReleaseBranch, } from '@simplysf/simply-cicd-core';
|
|
19
|
+
import { select, text } from '@simplysf/simply-plugin-kit';
|
|
20
|
+
import { canPrompt, OTHER, releaseConfigFlags, repositoryRoot } from '../../../../../common/happySoup/flags.js';
|
|
21
|
+
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
22
|
+
const messages = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.happy-soup.release.stage');
|
|
23
|
+
const shared = Messages.loadMessages('@simplysf/simply-cicd', 'simply.cicd.happy-soup');
|
|
24
|
+
/** Starts a `<team>/<app>/<name>` staging branch for work headed into a happy-soup release. */
|
|
25
|
+
export default class HappySoupReleaseStage extends SfCommand {
|
|
26
|
+
static summary = messages.getMessage('summary');
|
|
27
|
+
static description = messages.getMessage('description');
|
|
28
|
+
static examples = messages.getMessages('examples');
|
|
29
|
+
static enableJsonFlag = true;
|
|
30
|
+
static flags = {
|
|
31
|
+
...SfCommand.baseFlags,
|
|
32
|
+
team: Flags.string({ summary: messages.getMessage('flags.team.summary') }),
|
|
33
|
+
app: Flags.string({ char: 'a', summary: messages.getMessage('flags.app.summary') }),
|
|
34
|
+
name: Flags.string({ char: 'n', summary: messages.getMessage('flags.name.summary') }),
|
|
35
|
+
...releaseConfigFlags,
|
|
36
|
+
};
|
|
37
|
+
async run() {
|
|
38
|
+
const { flags } = await this.parse(HappySoupReleaseStage);
|
|
39
|
+
const interactive = canPrompt(flags['no-prompt'], this.jsonEnabled());
|
|
40
|
+
if (!interactive) {
|
|
41
|
+
const missing = ['team', 'app', 'name'].filter((flag) => !flags[flag]).map((flag) => `--${flag}`);
|
|
42
|
+
if (missing.length > 0) {
|
|
43
|
+
this.error(messages.getMessage('error.flagsRequired', [missing.join(', ')]));
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
const { config } = loadReleaseConfig({ configPath: flags.config, stopAt: await repositoryRoot() });
|
|
47
|
+
const team = flags.team ? this.resolveTeam(config, flags.team) : await this.promptForTeam(config);
|
|
48
|
+
const app = flags.app ?? (await this.promptForApp(applicationsForTeam(config, team.config)));
|
|
49
|
+
const name = flags.name ?? (await this.promptForName());
|
|
50
|
+
const baseBranch = flags['base-branch'] ??
|
|
51
|
+
(interactive ? await this.promptForBase(config.productionBranch, flags.remote) : config.productionBranch);
|
|
52
|
+
const result = await stageReleaseBranch({
|
|
53
|
+
team: team.name,
|
|
54
|
+
app,
|
|
55
|
+
name,
|
|
56
|
+
baseBranch,
|
|
57
|
+
remote: flags.remote,
|
|
58
|
+
dryRun: flags['dry-run'],
|
|
59
|
+
});
|
|
60
|
+
for (const warning of result.warnings) {
|
|
61
|
+
this.warn(warning);
|
|
62
|
+
}
|
|
63
|
+
this.table({
|
|
64
|
+
title: messages.getMessage('tableTitle'),
|
|
65
|
+
data: [
|
|
66
|
+
{ field: 'Branch', value: result.branch },
|
|
67
|
+
{ field: 'Base', value: result.base },
|
|
68
|
+
{ field: 'Status', value: result.status },
|
|
69
|
+
],
|
|
70
|
+
});
|
|
71
|
+
return result;
|
|
72
|
+
}
|
|
73
|
+
/** A configured team's own spelling when the name matches one, ignoring case; otherwise the name as typed. */
|
|
74
|
+
// eslint-disable-next-line class-methods-use-this
|
|
75
|
+
resolveTeam(config, name) {
|
|
76
|
+
const configured = findReleaseTeam(config, name);
|
|
77
|
+
return configured ? { name: configured.name, config: configured } : { name };
|
|
78
|
+
}
|
|
79
|
+
async promptForTeam(config) {
|
|
80
|
+
const picked = await this.pickOrType(messages.getMessage('prompt.team'), config.teams.map((team) => ({ value: team.name, label: team.label ?? team.name })), messages.getMessage('prompt.teamName'));
|
|
81
|
+
return this.resolveTeam(config, picked);
|
|
82
|
+
}
|
|
83
|
+
async promptForApp(applications) {
|
|
84
|
+
return this.pickOrType(messages.getMessage('prompt.app'), applications.map((app) => ({ value: app.name, label: app.label ?? app.name, hint: app.description })), messages.getMessage('prompt.appName'));
|
|
85
|
+
}
|
|
86
|
+
// eslint-disable-next-line class-methods-use-this -- kept as a method so tests can stub the prompt
|
|
87
|
+
async promptForName() {
|
|
88
|
+
return text({ message: messages.getMessage('prompt.name'), placeholder: 'PROJ-1058' });
|
|
89
|
+
}
|
|
90
|
+
async promptForBase(productionBranch, remote) {
|
|
91
|
+
const branches = await listStagingBaseBranches({ remote, productionBranch });
|
|
92
|
+
const choices = branches.length > 0 ? branches : [productionBranch];
|
|
93
|
+
return this.pickOrType(messages.getMessage('prompt.base'), choices.map((branch) => ({ value: branch, label: branch })), messages.getMessage('prompt.baseName'));
|
|
94
|
+
}
|
|
95
|
+
/** A list ending in "Other", which asks for a name. With nothing configured, it asks straight away. */
|
|
96
|
+
// eslint-disable-next-line class-methods-use-this
|
|
97
|
+
async pickOrType(message, options, typeMessage) {
|
|
98
|
+
if (options.length > 0) {
|
|
99
|
+
const picked = await select({
|
|
100
|
+
message,
|
|
101
|
+
options: [...options, { value: OTHER, label: shared.getMessage('prompt.other') }],
|
|
102
|
+
maxItems: 10,
|
|
103
|
+
});
|
|
104
|
+
if (picked !== OTHER) {
|
|
105
|
+
return picked;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return text({ message: typeMessage });
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=stage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stage.js","sourceRoot":"","sources":["../../../../../../src/commands/simply/cicd/happy-soup/release/stage.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,mBAAmB,EACnB,eAAe,EACf,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,GAInB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAqB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAEhH,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,uBAAuB,EAAE,sCAAsC,CAAC,CAAC;AACxG,MAAM,MAAM,GAAG,QAAQ,CAAC,YAAY,CAAC,uBAAuB,EAAE,wBAAwB,CAAC,CAAC;AAIxF,+FAA+F;AAC/F,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAsC;IAChF,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;IAC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EAAE,EAAE;aACb,CAAC,CAAC;YACH,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC;gBACrB,OAAO,MAAM,CAAC;YAChB,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IACxC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
-
import { type
|
|
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<
|
|
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
|
|
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<
|
|
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
|
|
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<
|
|
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
|
|
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,7 +24,7 @@ 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<
|
|
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>;
|