@salesforce/plugin-devops-center 0.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/LICENSE.txt +12 -0
  2. package/README.md +245 -0
  3. package/lib/commands/deploy/pipeline/report.d.ts +15 -0
  4. package/lib/commands/deploy/pipeline/report.js +42 -0
  5. package/lib/commands/deploy/pipeline/report.js.map +1 -0
  6. package/lib/commands/deploy/pipeline/resume.d.ts +12 -0
  7. package/lib/commands/deploy/pipeline/resume.js +28 -0
  8. package/lib/commands/deploy/pipeline/resume.js.map +1 -0
  9. package/lib/commands/deploy/pipeline.d.ts +26 -0
  10. package/lib/commands/deploy/pipeline.js +50 -0
  11. package/lib/commands/deploy/pipeline.js.map +1 -0
  12. package/lib/common/base/abstractPromote.d.ts +69 -0
  13. package/lib/common/base/abstractPromote.js +173 -0
  14. package/lib/common/base/abstractPromote.js.map +1 -0
  15. package/lib/common/base/abstractReportOnPromote.d.ts +17 -0
  16. package/lib/common/base/abstractReportOnPromote.js +64 -0
  17. package/lib/common/base/abstractReportOnPromote.js.map +1 -0
  18. package/lib/common/base/abstractResume.d.ts +37 -0
  19. package/lib/common/base/abstractResume.js +90 -0
  20. package/lib/common/base/abstractResume.js.map +1 -0
  21. package/lib/common/constants.d.ts +9 -0
  22. package/lib/common/constants.js +20 -0
  23. package/lib/common/constants.js.map +1 -0
  24. package/lib/common/deployPipelineCache.d.ts +39 -0
  25. package/lib/common/deployPipelineCache.js +81 -0
  26. package/lib/common/deployPipelineCache.js.map +1 -0
  27. package/lib/common/flags/flags.d.ts +19 -0
  28. package/lib/common/flags/flags.js +84 -0
  29. package/lib/common/flags/flags.js.map +1 -0
  30. package/lib/common/flags/promote/promoteFlags.d.ts +12 -0
  31. package/lib/common/flags/promote/promoteFlags.js +52 -0
  32. package/lib/common/flags/promote/promoteFlags.js.map +1 -0
  33. package/lib/common/index.d.ts +2 -0
  34. package/lib/common/index.js +18 -0
  35. package/lib/common/index.js.map +1 -0
  36. package/lib/common/outputColumns.d.ts +17 -0
  37. package/lib/common/outputColumns.js +24 -0
  38. package/lib/common/outputColumns.js.map +1 -0
  39. package/lib/common/outputService/aorOutputService.d.ts +43 -0
  40. package/lib/common/outputService/aorOutputService.js +50 -0
  41. package/lib/common/outputService/aorOutputService.js.map +1 -0
  42. package/lib/common/outputService/deployCommandOutputService.d.ts +12 -0
  43. package/lib/common/outputService/deployCommandOutputService.js +28 -0
  44. package/lib/common/outputService/deployCommandOutputService.js.map +1 -0
  45. package/lib/common/outputService/deploySummaryBuilder.d.ts +32 -0
  46. package/lib/common/outputService/deploySummaryBuilder.js +185 -0
  47. package/lib/common/outputService/deploySummaryBuilder.js.map +1 -0
  48. package/lib/common/outputService/deploymentResultOutputService.d.ts +23 -0
  49. package/lib/common/outputService/deploymentResultOutputService.js +18 -0
  50. package/lib/common/outputService/deploymentResultOutputService.js.map +1 -0
  51. package/lib/common/outputService/index.d.ts +6 -0
  52. package/lib/common/outputService/index.js +20 -0
  53. package/lib/common/outputService/index.js.map +1 -0
  54. package/lib/common/outputService/outputService.d.ts +27 -0
  55. package/lib/common/outputService/outputService.js +30 -0
  56. package/lib/common/outputService/outputService.js.map +1 -0
  57. package/lib/common/outputService/outputServiceFactory.d.ts +27 -0
  58. package/lib/common/outputService/outputServiceFactory.js +39 -0
  59. package/lib/common/outputService/outputServiceFactory.js.map +1 -0
  60. package/lib/common/outputService/outputUtils.d.ts +3 -0
  61. package/lib/common/outputService/outputUtils.js +26 -0
  62. package/lib/common/outputService/outputUtils.js.map +1 -0
  63. package/lib/common/outputService/promoteOutputService.d.ts +30 -0
  64. package/lib/common/outputService/promoteOutputService.js +55 -0
  65. package/lib/common/outputService/promoteOutputService.js.map +1 -0
  66. package/lib/common/outputService/reportOutputService.d.ts +21 -0
  67. package/lib/common/outputService/reportOutputService.js +54 -0
  68. package/lib/common/outputService/reportOutputService.js.map +1 -0
  69. package/lib/common/outputService/resumeCommandOutputService.d.ts +12 -0
  70. package/lib/common/outputService/resumeCommandOutputService.js +30 -0
  71. package/lib/common/outputService/resumeCommandOutputService.js.map +1 -0
  72. package/lib/common/outputService/resumeOutputService.d.ts +15 -0
  73. package/lib/common/outputService/resumeOutputService.js +19 -0
  74. package/lib/common/outputService/resumeOutputService.js.map +1 -0
  75. package/lib/common/selectors/asyncOperationResultsSelector.d.ts +7 -0
  76. package/lib/common/selectors/asyncOperationResultsSelector.js +21 -0
  77. package/lib/common/selectors/asyncOperationResultsSelector.js.map +1 -0
  78. package/lib/common/selectors/deployComponentsSelector.d.ts +3 -0
  79. package/lib/common/selectors/deployComponentsSelector.js +18 -0
  80. package/lib/common/selectors/deployComponentsSelector.js.map +1 -0
  81. package/lib/common/selectors/deployProgressSummarySelector.d.ts +13 -0
  82. package/lib/common/selectors/deployProgressSummarySelector.js +24 -0
  83. package/lib/common/selectors/deployProgressSummarySelector.js.map +1 -0
  84. package/lib/common/selectors/deploymentResultsSelector.d.ts +7 -0
  85. package/lib/common/selectors/deploymentResultsSelector.js +24 -0
  86. package/lib/common/selectors/deploymentResultsSelector.js.map +1 -0
  87. package/lib/common/selectors/environmentSelector.d.ts +11 -0
  88. package/lib/common/selectors/environmentSelector.js +22 -0
  89. package/lib/common/selectors/environmentSelector.js.map +1 -0
  90. package/lib/common/selectors/namedCredentialSelector.d.ts +6 -0
  91. package/lib/common/selectors/namedCredentialSelector.js +24 -0
  92. package/lib/common/selectors/namedCredentialSelector.js.map +1 -0
  93. package/lib/common/selectors/pipelineStageSelector.d.ts +7 -0
  94. package/lib/common/selectors/pipelineStageSelector.js +22 -0
  95. package/lib/common/selectors/pipelineStageSelector.js.map +1 -0
  96. package/lib/common/selectors/workItemSelector.d.ts +11 -0
  97. package/lib/common/selectors/workItemSelector.js +22 -0
  98. package/lib/common/selectors/workItemSelector.js.map +1 -0
  99. package/lib/common/types.d.ts +98 -0
  100. package/lib/common/types.js +24 -0
  101. package/lib/common/types.js.map +1 -0
  102. package/lib/common/utils.d.ts +75 -0
  103. package/lib/common/utils.js +176 -0
  104. package/lib/common/utils.js.map +1 -0
  105. package/lib/configMeta.d.ts +13 -0
  106. package/lib/configMeta.js +28 -0
  107. package/lib/configMeta.js.map +1 -0
  108. package/lib/streamer/doceMonitor.d.ts +7 -0
  109. package/lib/streamer/doceMonitor.js +9 -0
  110. package/lib/streamer/doceMonitor.js.map +1 -0
  111. package/lib/streamer/doceStream.d.ts +20 -0
  112. package/lib/streamer/doceStream.js +33 -0
  113. package/lib/streamer/doceStream.js.map +1 -0
  114. package/lib/streamer/processors/asyncOpStream.d.ts +20 -0
  115. package/lib/streamer/processors/asyncOpStream.js +48 -0
  116. package/lib/streamer/processors/asyncOpStream.js.map +1 -0
  117. package/lib/streamer/sObjectStream.d.ts +22 -0
  118. package/lib/streamer/sObjectStream.js +40 -0
  119. package/lib/streamer/sObjectStream.js.map +1 -0
  120. package/messages/aorOperations.output.md +8 -0
  121. package/messages/cache.md +3 -0
  122. package/messages/commonErrors.md +31 -0
  123. package/messages/commonFlags.md +53 -0
  124. package/messages/config.md +3 -0
  125. package/messages/deploy.output.md +31 -0
  126. package/messages/deploy.pipeline.md +37 -0
  127. package/messages/deploy.pipeline.report.md +49 -0
  128. package/messages/deploy.pipeline.resume.md +23 -0
  129. package/messages/promoteFlags.md +53 -0
  130. package/messages/resume.output.md +4 -0
  131. package/oclif.manifest.json +247 -0
  132. package/package.json +115 -0
  133. package/schemas/deploy-pipeline-report.json +25 -0
  134. package/schemas/deploy-pipeline-resume.json +25 -0
  135. package/schemas/deploy-pipeline.json +25 -0
@@ -0,0 +1,247 @@
1
+ {
2
+ "version": "0.1.0-beta.1",
3
+ "commands": {
4
+ "deploy:pipeline": {
5
+ "id": "deploy:pipeline",
6
+ "summary": "Deploy changes from a branch to the pipeline stage’s org.",
7
+ "description": "Before you run this command, changes in the branch must be merged in the source control repository.",
8
+ "strict": true,
9
+ "pluginName": "@salesforce/plugin-devops-center",
10
+ "pluginAlias": "@salesforce/plugin-devops-center",
11
+ "pluginType": "core",
12
+ "state": "beta",
13
+ "aliases": [],
14
+ "examples": [
15
+ "Deploy changes in the Staging branch to the Staging environment (sandbox), if the previous stage is the bundling stage:\n<%= config.bin %> <%= command.id %> --devops-center-project-name “Recruiting App” --branch-name staging --devops-center-username MyStagingSandbox --bundle-version-name 1.0",
16
+ "Deploy all changes in the main branch to the release environment:\n<%= config.bin %> <%= command.id %> --devops-center-project-name “Recruiting App” --branch-name main --devops-center-username MyReleaseOrg --deploy-all"
17
+ ],
18
+ "flags": {
19
+ "json": {
20
+ "name": "json",
21
+ "type": "boolean",
22
+ "description": "Format output as json.",
23
+ "helpGroup": "GLOBAL",
24
+ "allowNo": false
25
+ },
26
+ "branch-name": {
27
+ "name": "branch-name",
28
+ "type": "option",
29
+ "char": "b",
30
+ "summary": "Name of the branch in the source control repository from which to deploy changes to the stage’s org.",
31
+ "required": true,
32
+ "multiple": false
33
+ },
34
+ "bundle-version-name": {
35
+ "name": "bundle-version-name",
36
+ "type": "option",
37
+ "char": "v",
38
+ "summary": "Version name of the bundle.",
39
+ "description": "You must indicate the bundle version if deploying to the environment that corresponds to the first stage after the bundling stage.",
40
+ "multiple": false
41
+ },
42
+ "deploy-all": {
43
+ "name": "deploy-all",
44
+ "type": "boolean",
45
+ "char": "a",
46
+ "summary": "Deploy all metadata in branch.",
47
+ "description": "If you don’t specify this flag, only changes in the stage’s branch are deployed.",
48
+ "allowNo": false
49
+ },
50
+ "devops-center-project-name": {
51
+ "name": "devops-center-project-name",
52
+ "type": "option",
53
+ "char": "p",
54
+ "summary": "Name of the DevOps Center project.",
55
+ "required": true,
56
+ "multiple": false
57
+ },
58
+ "devops-center-username": {
59
+ "name": "devops-center-username",
60
+ "type": "option",
61
+ "char": "c",
62
+ "summary": "Username or alias of the DevOps Center org.",
63
+ "required": true,
64
+ "multiple": false
65
+ },
66
+ "tests": {
67
+ "name": "tests",
68
+ "type": "option",
69
+ "char": "t",
70
+ "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
71
+ "description": "Separate multiple test names with commas, and enclose the entire flag value in double quotes if a test name contains a space.",
72
+ "multiple": true
73
+ },
74
+ "test-level": {
75
+ "name": "test-level",
76
+ "type": "option",
77
+ "char": "l",
78
+ "summary": "Deployment Apex testing level.",
79
+ "description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --run-tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more information, see [Running Tests in a Deployment](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the \"Metadata API Developer Guide\".",
80
+ "multiple": false,
81
+ "options": [
82
+ "NoTestRun",
83
+ "RunSpecifiedTests",
84
+ "RunLocalTests",
85
+ "RunAllTestsInOrg"
86
+ ]
87
+ },
88
+ "async": {
89
+ "name": "async",
90
+ "type": "boolean",
91
+ "summary": "Run the command asynchronously.",
92
+ "description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run \"sf deploy pipeline resume\". To check the status of the deployment, run \"sf deploy pipeline report\".",
93
+ "allowNo": false
94
+ },
95
+ "wait": {
96
+ "name": "wait",
97
+ "type": "option",
98
+ "char": "w",
99
+ "summary": "Number of minutes to wait for command to complete and display results.",
100
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To check the status of the operation, run \"<%= config.bin %> <%= command.id %> report\".",
101
+ "helpValue": "<minutes>",
102
+ "multiple": false,
103
+ "exclusive": [
104
+ "async"
105
+ ],
106
+ "default": {
107
+ "quantity": 33,
108
+ "unit": 0
109
+ }
110
+ },
111
+ "verbose": {
112
+ "name": "verbose",
113
+ "type": "boolean",
114
+ "summary": "Show verbose output of the command result.",
115
+ "allowNo": false
116
+ },
117
+ "concise": {
118
+ "name": "concise",
119
+ "type": "boolean",
120
+ "summary": "Show concise output of the command result.",
121
+ "allowNo": false,
122
+ "exclusive": [
123
+ "verbose"
124
+ ]
125
+ }
126
+ },
127
+ "args": {},
128
+ "hasDynamicHelp": true
129
+ },
130
+ "deploy:pipeline:report": {
131
+ "id": "deploy:pipeline:report",
132
+ "summary": "Check the status of a pipeline deploy operation.",
133
+ "description": "Run this command by either passing it a job ID or specifying the —use-most-recent flag to use the job ID of the most recent deploy operation.",
134
+ "strict": true,
135
+ "pluginName": "@salesforce/plugin-devops-center",
136
+ "pluginAlias": "@salesforce/plugin-devops-center",
137
+ "pluginType": "core",
138
+ "state": "beta",
139
+ "aliases": [],
140
+ "examples": [
141
+ "Check the status using a job ID:\n<%= config.bin %> <%= command.id %> --devops-center-username MyStagingSandbox --job-id 0Af0x000017yLUFCA2",
142
+ "Check the status of the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --devops-center-username MyStagingSandbox --use-most-recent"
143
+ ],
144
+ "flags": {
145
+ "json": {
146
+ "name": "json",
147
+ "type": "boolean",
148
+ "description": "Format output as json.",
149
+ "helpGroup": "GLOBAL",
150
+ "allowNo": false
151
+ },
152
+ "devops-center-username": {
153
+ "name": "devops-center-username",
154
+ "type": "option",
155
+ "char": "c",
156
+ "summary": "Username or alias of the DevOps Center org.",
157
+ "required": true,
158
+ "multiple": false
159
+ },
160
+ "job-id": {
161
+ "name": "job-id",
162
+ "type": "option",
163
+ "char": "i",
164
+ "summary": "Job ID of the pipeline deployment you want to check the status of.",
165
+ "description": "The job ID is valid for 10 days from when you started the deploy operation.",
166
+ "multiple": false
167
+ },
168
+ "use-most-recent": {
169
+ "name": "use-most-recent",
170
+ "type": "boolean",
171
+ "char": "r",
172
+ "summary": "Use the job ID of the most recent deploy operation.",
173
+ "description": "For performance reasons, this flag uses job IDs for deploy operations that started in the past 3 days or fewer. If your most recent operation was longer than 3 days ago, this flag won't find a job ID.",
174
+ "allowNo": false
175
+ }
176
+ },
177
+ "args": {},
178
+ "hasDynamicHelp": true
179
+ },
180
+ "deploy:pipeline:resume": {
181
+ "id": "deploy:pipeline:resume",
182
+ "summary": "Resume watching a pipeline deploy operation.",
183
+ "description": "Use this command to resume watching a pipeline deploy operation if the original command times out or you specified the --async flag.\n\nRun this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.",
184
+ "strict": true,
185
+ "pluginName": "@salesforce/plugin-devops-center",
186
+ "pluginAlias": "@salesforce/plugin-devops-center",
187
+ "pluginType": "core",
188
+ "state": "beta",
189
+ "aliases": [],
190
+ "examples": [
191
+ "Resume watching a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
192
+ "Resume watching the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
193
+ ],
194
+ "flags": {
195
+ "json": {
196
+ "name": "json",
197
+ "type": "boolean",
198
+ "description": "Format output as json.",
199
+ "helpGroup": "GLOBAL",
200
+ "allowNo": false
201
+ },
202
+ "devops-center-username": {
203
+ "name": "devops-center-username",
204
+ "type": "option",
205
+ "char": "c",
206
+ "summary": "Username or alias of the DevOps Center org.",
207
+ "required": true,
208
+ "multiple": false
209
+ },
210
+ "job-id": {
211
+ "name": "job-id",
212
+ "type": "option",
213
+ "char": "i",
214
+ "summary": "Job ID of the pipeline deploy operation you want to resume.",
215
+ "description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- sf deploy pipeline\n- sf deploy pipeline validate\n- sf deploy pipeline quick\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
216
+ "multiple": false
217
+ },
218
+ "use-most-recent": {
219
+ "name": "use-most-recent",
220
+ "type": "boolean",
221
+ "char": "r",
222
+ "summary": "Use the job ID of the most recent deploy operation.",
223
+ "description": "For performance reasons, this flag uses job IDs for operations that started in the past 3 days or fewer. If your most recent operation was longer than 3 days ago, this flag won't find a job ID.",
224
+ "allowNo": false
225
+ },
226
+ "wait": {
227
+ "name": "wait",
228
+ "type": "option",
229
+ "char": "w",
230
+ "summary": "Number of minutes to wait for command to complete and display results.",
231
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To check the status of the operation, run \"<%= config.bin %> <%= command.id %> report\".",
232
+ "helpValue": "<minutes>",
233
+ "multiple": false,
234
+ "exclusive": [
235
+ "async"
236
+ ],
237
+ "default": {
238
+ "quantity": 33,
239
+ "unit": 0
240
+ }
241
+ }
242
+ },
243
+ "args": {},
244
+ "hasDynamicHelp": true
245
+ }
246
+ }
247
+ }
package/package.json ADDED
@@ -0,0 +1,115 @@
1
+ {
2
+ "name": "@salesforce/plugin-devops-center",
3
+ "description": "The DevOps Center CLI plugin provides a command-line alternative to performing equivalent actions in the DevOps Center graphical UI",
4
+ "version": "0.1.0-beta.1",
5
+ "author": "Salesforce",
6
+ "bugs": "https://github.com/forcedotcom/cli/issues",
7
+ "dependencies": {
8
+ "@oclif/core": "^2.4.0",
9
+ "@salesforce/core": "^3.32.11",
10
+ "@salesforce/kit": "^1.8.2",
11
+ "@salesforce/sf-plugins-core": "^2.2.4",
12
+ "tslib": "^2"
13
+ },
14
+ "devDependencies": {
15
+ "@oclif/plugin-command-snapshot": "^3.3.6",
16
+ "@oclif/test": "^2.3.7",
17
+ "@salesforce/cli-plugins-testkit": "^3.2.25",
18
+ "@salesforce/dev-config": "^3.1.0",
19
+ "@salesforce/dev-scripts": "^3.1.1",
20
+ "@salesforce/plugin-command-reference": "^2.3.1",
21
+ "@salesforce/prettier-config": "^0.0.2",
22
+ "@salesforce/ts-sinon": "1.4.6",
23
+ "@swc/cli": "^0.1.62",
24
+ "@swc/core": "1.3.39",
25
+ "@typescript-eslint/eslint-plugin": "^5.54.0",
26
+ "@typescript-eslint/parser": "^5.54.1",
27
+ "chai": "^4.3.7",
28
+ "eslint": "^8.35.0",
29
+ "eslint-config-prettier": "^8.7.0",
30
+ "eslint-config-salesforce": "^1.1.1",
31
+ "eslint-config-salesforce-license": "^0.2.0",
32
+ "eslint-config-salesforce-typescript": "^1.1.1",
33
+ "eslint-plugin-header": "^3.0.0",
34
+ "eslint-plugin-import": "2.27.5",
35
+ "eslint-plugin-jsdoc": "^39.6.4",
36
+ "eslint-plugin-sf-plugin": "^1.11.1",
37
+ "husky": "^7.0.4",
38
+ "mocha": "^9.2.2",
39
+ "nyc": "^15.1.0",
40
+ "oclif": "^3.7.0",
41
+ "prettier": "^2.8.3",
42
+ "pretty-quick": "^3.1.3",
43
+ "shx": "0.3.4",
44
+ "sinon": "10.0.0",
45
+ "ts-node": "^10.9.1",
46
+ "typescript": "^4.9.4"
47
+ },
48
+ "engines": {
49
+ "node": ">=14.0.0"
50
+ },
51
+ "files": [
52
+ "/lib",
53
+ "/messages",
54
+ "/oclif.manifest.json",
55
+ "/schemas"
56
+ ],
57
+ "homepage": "https://github.com/salesforcecli/plugin-template-sf",
58
+ "keywords": [
59
+ "force",
60
+ "salesforce",
61
+ "sfdx",
62
+ "salesforcedx",
63
+ "sfdx-plugin",
64
+ "sf-plugin",
65
+ "sf"
66
+ ],
67
+ "license": "BSD-3-Clause",
68
+ "main": "lib/index.js",
69
+ "oclif": {
70
+ "commands": "./lib/commands",
71
+ "bin": "sf",
72
+ "configMeta": "./lib/configMeta",
73
+ "topicSeparator": " ",
74
+ "devPlugins": [
75
+ "@oclif/plugin-help",
76
+ "@oclif/plugin-command-snapshot",
77
+ "@salesforce/plugin-command-reference"
78
+ ],
79
+ "topics": {
80
+ "deploy": {
81
+ "description": "Commands to deploy artifacts to an environment.",
82
+ "subtopics": {
83
+ "pipeline": {
84
+ "description": "Commands to deploy metadata from a pipeline stage to a Salesforce org."
85
+ }
86
+ }
87
+ }
88
+ }
89
+ },
90
+ "repository": "salesforcecli/plugin-template-sf",
91
+ "scripts": {
92
+ "build": "sf-build",
93
+ "clean": "sf-clean",
94
+ "clean-all": "sf-clean all",
95
+ "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
96
+ "compile": "sf-compile",
97
+ "docs": "sf-docs",
98
+ "format": "sf-format",
99
+ "lint": "sf-lint",
100
+ "postpack": "shx rm -f oclif.manifest.json",
101
+ "posttest": "yarn lint && yarn test:deprecation-policy && yarn test:json-schema && yarn test:command-reference",
102
+ "prepack": "sf-prepack",
103
+ "prepare": "sf-install",
104
+ "pretest": "sf-compile-test",
105
+ "test": "sf-test",
106
+ "test:command-reference": "./bin/dev commandreference:generate --erroronwarnings",
107
+ "test:deprecation-policy": "./bin/dev snapshot:compare",
108
+ "test:json-schema": "./bin/dev schema:compare",
109
+ "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
110
+ "version": "oclif readme"
111
+ },
112
+ "publishConfig": {
113
+ "access": "public"
114
+ }
115
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/PromotePipelineResult",
4
+ "definitions": {
5
+ "PromotePipelineResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "jobId": {
9
+ "type": "string"
10
+ },
11
+ "status": {
12
+ "type": "string"
13
+ },
14
+ "message": {
15
+ "type": "string"
16
+ },
17
+ "errorDetails": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "required": ["jobId"],
22
+ "additionalProperties": false
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/PromotePipelineResult",
4
+ "definitions": {
5
+ "PromotePipelineResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "jobId": {
9
+ "type": "string"
10
+ },
11
+ "status": {
12
+ "type": "string"
13
+ },
14
+ "message": {
15
+ "type": "string"
16
+ },
17
+ "errorDetails": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "required": ["jobId"],
22
+ "additionalProperties": false
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/PromotePipelineResult",
4
+ "definitions": {
5
+ "PromotePipelineResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "jobId": {
9
+ "type": "string"
10
+ },
11
+ "status": {
12
+ "type": "string"
13
+ },
14
+ "message": {
15
+ "type": "string"
16
+ },
17
+ "errorDetails": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "required": ["jobId"],
22
+ "additionalProperties": false
23
+ }
24
+ }
25
+ }