@salesforce/plugin-devops-center 2.2.0 → 2.3.2
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 +45 -36
- package/lib/commands/devops/pipeline/create.js +6 -0
- package/lib/commands/devops/pipeline/create.js.map +1 -1
- package/lib/commands/devops/pipeline/update.js +1 -1
- package/lib/commands/devops/pipeline/update.js.map +1 -1
- package/lib/commands/devops/promote.d.ts +8 -0
- package/lib/commands/devops/promote.js +31 -1
- package/lib/commands/devops/promote.js.map +1 -1
- package/lib/commands/devops/stage/branch/add.d.ts +15 -0
- package/lib/commands/devops/stage/branch/add.js +48 -1
- package/lib/commands/devops/stage/branch/add.js.map +1 -1
- package/lib/commands/devops/stage/environment/add.d.ts +15 -0
- package/lib/commands/devops/stage/environment/add.js +51 -1
- package/lib/commands/devops/stage/environment/add.js.map +1 -1
- package/lib/commands/devops/work-item/create.js +1 -0
- package/lib/commands/devops/work-item/create.js.map +1 -1
- package/lib/commands/devops/work-item/list.js +2 -1
- package/lib/commands/devops/work-item/list.js.map +1 -1
- package/lib/common/base/abstractAsyncOperation.js +4 -1
- package/lib/common/base/abstractAsyncOperation.js.map +1 -1
- package/lib/common/base/abstractPromote.d.ts +2 -2
- package/lib/common/base/abstractPromote.js +4 -3
- package/lib/common/base/abstractPromote.js.map +1 -1
- package/lib/common/base/abstractQuick.js +2 -0
- package/lib/common/base/abstractQuick.js.map +1 -1
- package/lib/common/base/abstractReportOnPromote.js +0 -2
- package/lib/common/base/abstractReportOnPromote.js.map +1 -1
- package/lib/common/base/abstractResume.js +1 -2
- package/lib/common/base/abstractResume.js.map +1 -1
- package/lib/common/flags/flags.js +2 -0
- package/lib/common/flags/flags.js.map +1 -1
- package/lib/common/outputService/aorOutputService.js +1 -1
- package/lib/common/outputService/aorOutputService.js.map +1 -1
- package/lib/common/outputService/deployCommandOutputService.js +1 -1
- package/lib/common/outputService/deployCommandOutputService.js.map +1 -1
- package/lib/common/outputService/deploySummaryBuilder.js +5 -1
- package/lib/common/outputService/deploySummaryBuilder.js.map +1 -1
- package/lib/common/outputService/deploymentResultOutputService.js.map +1 -1
- package/lib/common/outputService/promoteOutputService.js +1 -1
- package/lib/common/outputService/promoteOutputService.js.map +1 -1
- package/lib/common/outputService/reportOutputService.js +0 -1
- package/lib/common/outputService/reportOutputService.js.map +1 -1
- package/lib/common/outputService/resumeCommandOutputService.js +1 -1
- package/lib/common/outputService/resumeCommandOutputService.js.map +1 -1
- package/lib/common/outputService/resumeOutputService.js +1 -0
- package/lib/common/outputService/resumeOutputService.js.map +1 -1
- package/lib/common/utils.js +0 -2
- package/lib/common/utils.js.map +1 -1
- package/lib/streamer/processors/asyncOpStream.js +0 -2
- package/lib/streamer/processors/asyncOpStream.js.map +1 -1
- package/lib/streamer/sObjectStream.js +2 -3
- package/lib/streamer/sObjectStream.js.map +1 -1
- package/lib/utils/addStageBranch.d.ts +20 -0
- package/lib/utils/addStageBranch.js +33 -0
- package/lib/utils/addStageBranch.js.map +1 -1
- package/lib/utils/addStageEnvironment.d.ts +21 -0
- package/lib/utils/addStageEnvironment.js +34 -1
- package/lib/utils/addStageEnvironment.js.map +1 -1
- package/lib/utils/createPipeline.d.ts +5 -0
- package/lib/utils/createPipeline.js +37 -0
- package/lib/utils/createPipeline.js.map +1 -1
- package/lib/utils/createPullRequest.js +1 -3
- package/lib/utils/createPullRequest.js.map +1 -1
- package/lib/utils/createWorkItem.js +21 -18
- package/lib/utils/createWorkItem.js.map +1 -1
- package/lib/utils/promoteStage.d.ts +20 -0
- package/lib/utils/promoteStage.js +25 -0
- package/lib/utils/promoteStage.js.map +1 -1
- package/lib/utils/updateWorkItem.d.ts +22 -2
- package/lib/utils/updateWorkItem.js +98 -20
- package/lib/utils/updateWorkItem.js.map +1 -1
- package/lib/utils/workItems.js +8 -5
- package/lib/utils/workItems.js.map +1 -1
- package/messages/devops.promote.md +12 -0
- package/messages/devops.stage.branch.add.md +17 -1
- package/messages/devops.stage.environment.add.md +16 -0
- package/oclif.manifest.json +276 -258
- package/package.json +16 -9
- package/schemas/devops-pipeline-create.json +19 -0
- package/npm-shrinkwrap.json +0 -16645
- package/oclif.lock +0 -8997
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-devops-center",
|
|
3
3
|
"description": "The DevOps Center CLI plugin provides a command-line alternative to performing equivalent actions in the DevOps Center graphical UI",
|
|
4
|
-
"version": "2.2
|
|
4
|
+
"version": "2.3.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Salesforce",
|
|
7
7
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
@@ -17,14 +17,20 @@
|
|
|
17
17
|
"@oclif/plugin-command-snapshot": "^5.2.3",
|
|
18
18
|
"@oclif/test": "^3",
|
|
19
19
|
"@salesforce/cli-plugins-testkit": "^5.3.20",
|
|
20
|
-
"@salesforce/dev-scripts": "^
|
|
21
|
-
"@salesforce/plugin-command-reference": "^3.1.
|
|
22
|
-
"@salesforce/ts-sinon": "^1.4.
|
|
23
|
-
"
|
|
20
|
+
"@salesforce/dev-scripts": "^15.0.0",
|
|
21
|
+
"@salesforce/plugin-command-reference": "^3.1.141",
|
|
22
|
+
"@salesforce/ts-sinon": "^1.4.39",
|
|
23
|
+
"@types/chai": "^4.3.17",
|
|
24
|
+
"@types/mocha": "^10.0.10",
|
|
25
|
+
"@types/node": "^18",
|
|
26
|
+
"@types/sinon": "^10.0.20",
|
|
27
|
+
"eslint": "^10.4.0",
|
|
28
|
+
"eslint-config-salesforce-typescript": "^7.0.0",
|
|
29
|
+
"eslint-plugin-sf-plugin": "^3.0.1",
|
|
24
30
|
"esmock": "^2.7.6",
|
|
25
|
-
"oclif": "^
|
|
31
|
+
"oclif": "^6.0.8",
|
|
26
32
|
"tsx": "^4",
|
|
27
|
-
"typescript": "^
|
|
33
|
+
"typescript": "^6.0.0"
|
|
28
34
|
},
|
|
29
35
|
"engines": {
|
|
30
36
|
"node": ">=22.0.0"
|
|
@@ -177,6 +183,7 @@
|
|
|
177
183
|
"src/**/*.ts",
|
|
178
184
|
"test/**/*.ts",
|
|
179
185
|
"messages/**",
|
|
186
|
+
"**/eslint.config.*",
|
|
180
187
|
"**/.eslint*",
|
|
181
188
|
"**/tsconfig.json"
|
|
182
189
|
],
|
|
@@ -256,7 +263,7 @@
|
|
|
256
263
|
}
|
|
257
264
|
},
|
|
258
265
|
"sfdx": {
|
|
259
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-devops-center/2.2.
|
|
260
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-devops-center/2.2.
|
|
266
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-devops-center/2.3.2.crt",
|
|
267
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-devops-center/2.3.2.sig"
|
|
261
268
|
}
|
|
262
269
|
}
|
|
@@ -20,6 +20,12 @@
|
|
|
20
20
|
"repository": {
|
|
21
21
|
"$ref": "#/definitions/RepoInfo"
|
|
22
22
|
},
|
|
23
|
+
"stages": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": {
|
|
26
|
+
"$ref": "#/definitions/PipelineStageInfo"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
23
29
|
"error": {
|
|
24
30
|
"type": "string"
|
|
25
31
|
}
|
|
@@ -42,6 +48,19 @@
|
|
|
42
48
|
},
|
|
43
49
|
"required": ["repoUrl", "repoType", "created"],
|
|
44
50
|
"additionalProperties": false
|
|
51
|
+
},
|
|
52
|
+
"PipelineStageInfo": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"properties": {
|
|
55
|
+
"id": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"name": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": ["id"],
|
|
63
|
+
"additionalProperties": false
|
|
45
64
|
}
|
|
46
65
|
}
|
|
47
66
|
}
|