@salesforce/plugin-devops-center 0.1.0-beta.1 → 1.0.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 (72) hide show
  1. package/README.md +23 -22
  2. package/lib/commands/{deploy → project/deploy}/pipeline/report.d.ts +2 -2
  3. package/lib/commands/{deploy → project/deploy}/pipeline/report.js +2 -2
  4. package/lib/commands/project/deploy/pipeline/report.js.map +1 -0
  5. package/lib/commands/{deploy → project/deploy}/pipeline/resume.d.ts +2 -3
  6. package/lib/commands/{deploy → project/deploy}/pipeline/resume.js +2 -3
  7. package/lib/commands/project/deploy/pipeline/resume.js.map +1 -0
  8. package/lib/commands/{deploy/pipeline.d.ts → project/deploy/pipeline/start.d.ts} +3 -3
  9. package/lib/commands/{deploy/pipeline.js → project/deploy/pipeline/start.js} +5 -5
  10. package/lib/commands/project/deploy/pipeline/start.js.map +1 -0
  11. package/lib/common/base/abstractPromote.js +5 -2
  12. package/lib/common/base/abstractPromote.js.map +1 -1
  13. package/lib/common/base/abstractReportOnPromote.js +13 -19
  14. package/lib/common/base/abstractReportOnPromote.js.map +1 -1
  15. package/lib/common/base/abstractResume.d.ts +0 -1
  16. package/lib/common/base/abstractResume.js +5 -2
  17. package/lib/common/base/abstractResume.js.map +1 -1
  18. package/lib/common/flags/flags.d.ts +5 -0
  19. package/lib/common/flags/flags.js +14 -6
  20. package/lib/common/flags/flags.js.map +1 -1
  21. package/lib/common/outputColumns.js +1 -1
  22. package/lib/common/outputColumns.js.map +1 -1
  23. package/lib/common/outputService/deploySummaryBuilder.d.ts +1 -1
  24. package/lib/common/outputService/deploySummaryBuilder.js +6 -8
  25. package/lib/common/outputService/deploySummaryBuilder.js.map +1 -1
  26. package/lib/common/outputService/reportOutputService.js +1 -1
  27. package/lib/common/outputService/reportOutputService.js.map +1 -1
  28. package/lib/common/selectors/asyncOperationResultsSelector.js +3 -1
  29. package/lib/common/selectors/asyncOperationResultsSelector.js.map +1 -1
  30. package/lib/common/selectors/deployComponentsSelector.js +2 -1
  31. package/lib/common/selectors/deployComponentsSelector.js.map +1 -1
  32. package/lib/common/selectors/deployProgressSummarySelector.js +3 -2
  33. package/lib/common/selectors/deployProgressSummarySelector.js.map +1 -1
  34. package/lib/common/selectors/deploymentResultsSelector.d.ts +1 -1
  35. package/lib/common/selectors/deploymentResultsSelector.js +3 -1
  36. package/lib/common/selectors/deploymentResultsSelector.js.map +1 -1
  37. package/lib/common/selectors/environmentSelector.d.ts +1 -1
  38. package/lib/common/selectors/environmentSelector.js +3 -2
  39. package/lib/common/selectors/environmentSelector.js.map +1 -1
  40. package/lib/common/selectors/namedCredentialSelector.js +2 -1
  41. package/lib/common/selectors/namedCredentialSelector.js.map +1 -1
  42. package/lib/common/selectors/pipelineStageSelector.js +2 -1
  43. package/lib/common/selectors/pipelineStageSelector.js.map +1 -1
  44. package/lib/common/selectors/selectorUtils.d.ts +3 -0
  45. package/lib/common/selectors/selectorUtils.js +36 -0
  46. package/lib/common/selectors/selectorUtils.js.map +1 -0
  47. package/lib/common/selectors/workItemSelector.js +2 -1
  48. package/lib/common/selectors/workItemSelector.js.map +1 -1
  49. package/lib/common/types.d.ts +1 -0
  50. package/lib/common/types.js.map +1 -1
  51. package/lib/common/utils.js +6 -7
  52. package/lib/common/utils.js.map +1 -1
  53. package/lib/configMeta.d.ts +5 -0
  54. package/lib/configMeta.js +8 -0
  55. package/lib/configMeta.js.map +1 -1
  56. package/messages/commonErrors.md +16 -0
  57. package/messages/commonFlags.md +4 -4
  58. package/messages/config.md +4 -0
  59. package/messages/deploy.output.md +2 -2
  60. package/messages/{deploy.pipeline.resume.md → project.deploy.pipeline.resume.md} +0 -4
  61. package/messages/promoteFlags.md +1 -1
  62. package/messages/resume.output.md +1 -2
  63. package/oclif.manifest.json +121 -121
  64. package/package.json +19 -14
  65. package/lib/commands/deploy/pipeline/report.js.map +0 -1
  66. package/lib/commands/deploy/pipeline/resume.js.map +0 -1
  67. package/lib/commands/deploy/pipeline.js.map +0 -1
  68. /package/messages/{deploy.pipeline.report.md → project.deploy.pipeline.report.md} +0 -0
  69. /package/messages/{deploy.pipeline.md → project.deploy.pipeline.start.md} +0 -0
  70. /package/schemas/{deploy-pipeline-report.json → project-deploy-pipeline-report.json} +0 -0
  71. /package/schemas/{deploy-pipeline-resume.json → project-deploy-pipeline-resume.json} +0 -0
  72. /package/schemas/{deploy-pipeline.json → project-deploy-pipeline-start.json} +0 -0
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.1.0-beta.1",
2
+ "version": "1.0.0-beta.1",
3
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.",
4
+ "project:deploy:pipeline:report": {
5
+ "id": "project:deploy:pipeline:report",
6
+ "summary": "Check the status of a pipeline deploy operation.",
7
+ "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.",
8
8
  "strict": true,
9
9
  "pluginName": "@salesforce/plugin-devops-center",
10
10
  "pluginAlias": "@salesforce/plugin-devops-center",
@@ -12,8 +12,8 @@
12
12
  "state": "beta",
13
13
  "aliases": [],
14
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"
15
+ "Check the status using a job ID:\n<%= config.bin %> <%= command.id %> --devops-center-username MyStagingSandbox --job-id 0Af0x000017yLUFCA2",
16
+ "Check the status of the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --devops-center-username MyStagingSandbox --use-most-recent"
17
17
  ],
18
18
  "flags": {
19
19
  "json": {
@@ -23,38 +23,6 @@
23
23
  "helpGroup": "GLOBAL",
24
24
  "allowNo": false
25
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
26
  "devops-center-username": {
59
27
  "name": "devops-center-username",
60
28
  "type": "option",
@@ -63,74 +31,30 @@
63
31
  "required": true,
64
32
  "multiple": false
65
33
  },
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",
34
+ "job-id": {
35
+ "name": "job-id",
97
36
  "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
- }
37
+ "char": "i",
38
+ "summary": "Job ID of the pipeline deployment you want to check the status of.",
39
+ "description": "The job ID is valid for 10 days from when you started the deploy operation.",
40
+ "multiple": false
110
41
  },
111
- "verbose": {
112
- "name": "verbose",
42
+ "use-most-recent": {
43
+ "name": "use-most-recent",
113
44
  "type": "boolean",
114
- "summary": "Show verbose output of the command result.",
45
+ "char": "r",
46
+ "summary": "Use the job ID of the most recent deploy operation.",
47
+ "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.",
115
48
  "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
49
  }
126
50
  },
127
51
  "args": {},
128
52
  "hasDynamicHelp": true
129
53
  },
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.",
54
+ "project:deploy:pipeline:resume": {
55
+ "id": "project:deploy:pipeline:resume",
56
+ "summary": "Resume watching a pipeline deploy operation.",
57
+ "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.",
134
58
  "strict": true,
135
59
  "pluginName": "@salesforce/plugin-devops-center",
136
60
  "pluginAlias": "@salesforce/plugin-devops-center",
@@ -138,8 +62,8 @@
138
62
  "state": "beta",
139
63
  "aliases": [],
140
64
  "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"
65
+ "Resume watching a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
66
+ "Resume watching the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
143
67
  ],
144
68
  "flags": {
145
69
  "json": {
@@ -161,8 +85,8 @@
161
85
  "name": "job-id",
162
86
  "type": "option",
163
87
  "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.",
88
+ "summary": "Job ID of the pipeline deploy operation you want to resume.",
89
+ "description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- sf project deploy pipeline start\n- sf project deploy pipeline validate\n- sf project deploy pipeline quick\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
166
90
  "multiple": false
167
91
  },
168
92
  "use-most-recent": {
@@ -170,17 +94,33 @@
170
94
  "type": "boolean",
171
95
  "char": "r",
172
96
  "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.",
97
+ "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.",
174
98
  "allowNo": false
99
+ },
100
+ "wait": {
101
+ "name": "wait",
102
+ "type": "option",
103
+ "char": "w",
104
+ "summary": "Number of minutes to wait for command to complete and display results.",
105
+ "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.split(' ').slice(0, -1).join(' ') %> report\".",
106
+ "helpValue": "<minutes>",
107
+ "multiple": false,
108
+ "exclusive": [
109
+ "async"
110
+ ],
111
+ "default": {
112
+ "quantity": 33,
113
+ "unit": 0
114
+ }
175
115
  }
176
116
  },
177
117
  "args": {},
178
118
  "hasDynamicHelp": true
179
119
  },
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.",
120
+ "project:deploy:pipeline:start": {
121
+ "id": "project:deploy:pipeline:start",
122
+ "summary": "Deploy changes from a branch to the pipeline stage’s org.",
123
+ "description": "Before you run this command, changes in the branch must be merged in the source control repository.",
184
124
  "strict": true,
185
125
  "pluginName": "@salesforce/plugin-devops-center",
186
126
  "pluginAlias": "@salesforce/plugin-devops-center",
@@ -188,8 +128,8 @@
188
128
  "state": "beta",
189
129
  "aliases": [],
190
130
  "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"
131
+ "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",
132
+ "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"
193
133
  ],
194
134
  "flags": {
195
135
  "json": {
@@ -199,6 +139,38 @@
199
139
  "helpGroup": "GLOBAL",
200
140
  "allowNo": false
201
141
  },
142
+ "branch-name": {
143
+ "name": "branch-name",
144
+ "type": "option",
145
+ "char": "b",
146
+ "summary": "Name of the branch in the source control repository from which to deploy changes to the stage’s org.",
147
+ "required": true,
148
+ "multiple": false
149
+ },
150
+ "bundle-version-name": {
151
+ "name": "bundle-version-name",
152
+ "type": "option",
153
+ "char": "v",
154
+ "summary": "Version name of the bundle.",
155
+ "description": "You must indicate the bundle version if deploying to the environment that corresponds to the first stage after the bundling stage.",
156
+ "multiple": false
157
+ },
158
+ "deploy-all": {
159
+ "name": "deploy-all",
160
+ "type": "boolean",
161
+ "char": "a",
162
+ "summary": "Deploy all metadata in branch.",
163
+ "description": "If you don’t specify this flag, only changes in the stage’s branch are deployed.",
164
+ "allowNo": false
165
+ },
166
+ "devops-center-project-name": {
167
+ "name": "devops-center-project-name",
168
+ "type": "option",
169
+ "char": "p",
170
+ "summary": "Name of the DevOps Center project.",
171
+ "required": true,
172
+ "multiple": false
173
+ },
202
174
  "devops-center-username": {
203
175
  "name": "devops-center-username",
204
176
  "type": "option",
@@ -207,20 +179,33 @@
207
179
  "required": true,
208
180
  "multiple": false
209
181
  },
210
- "job-id": {
211
- "name": "job-id",
182
+ "tests": {
183
+ "name": "tests",
212
184
  "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
185
+ "char": "t",
186
+ "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
187
+ "description": "Separate multiple test names with commas, and enclose the entire flag value in double quotes if a test name contains a space.",
188
+ "multiple": true
217
189
  },
218
- "use-most-recent": {
219
- "name": "use-most-recent",
190
+ "test-level": {
191
+ "name": "test-level",
192
+ "type": "option",
193
+ "char": "l",
194
+ "summary": "Deployment Apex testing level.",
195
+ "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\".",
196
+ "multiple": false,
197
+ "options": [
198
+ "NoTestRun",
199
+ "RunSpecifiedTests",
200
+ "RunLocalTests",
201
+ "RunAllTestsInOrg"
202
+ ]
203
+ },
204
+ "async": {
205
+ "name": "async",
220
206
  "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.",
207
+ "summary": "Run the command asynchronously.",
208
+ "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 project deploy pipeline resume\". To check the status of the deployment, run \"sf project deploy pipeline report\".",
224
209
  "allowNo": false
225
210
  },
226
211
  "wait": {
@@ -228,7 +213,7 @@
228
213
  "type": "option",
229
214
  "char": "w",
230
215
  "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\".",
216
+ "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.split(' ').slice(0, -1).join(' ') %> report\".",
232
217
  "helpValue": "<minutes>",
233
218
  "multiple": false,
234
219
  "exclusive": [
@@ -238,6 +223,21 @@
238
223
  "quantity": 33,
239
224
  "unit": 0
240
225
  }
226
+ },
227
+ "verbose": {
228
+ "name": "verbose",
229
+ "type": "boolean",
230
+ "summary": "Show verbose output of the command result.",
231
+ "allowNo": false
232
+ },
233
+ "concise": {
234
+ "name": "concise",
235
+ "type": "boolean",
236
+ "summary": "Show concise output of the command result.",
237
+ "allowNo": false,
238
+ "exclusive": [
239
+ "verbose"
240
+ ]
241
241
  }
242
242
  },
243
243
  "args": {},
package/package.json CHANGED
@@ -1,18 +1,18 @@
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": "0.1.0-beta.1",
4
+ "version": "1.0.0-beta.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^2.4.0",
9
- "@salesforce/core": "^3.32.11",
9
+ "@salesforce/core": "^3.34.4",
10
10
  "@salesforce/kit": "^1.8.2",
11
- "@salesforce/sf-plugins-core": "^2.2.4",
11
+ "@salesforce/sf-plugins-core": "^2.2.5",
12
12
  "tslib": "^2"
13
13
  },
14
14
  "devDependencies": {
15
- "@oclif/plugin-command-snapshot": "^3.3.6",
15
+ "@oclif/plugin-command-snapshot": "^3.3.9",
16
16
  "@oclif/test": "^2.3.7",
17
17
  "@salesforce/cli-plugins-testkit": "^3.2.25",
18
18
  "@salesforce/dev-config": "^3.1.0",
@@ -26,19 +26,19 @@
26
26
  "@typescript-eslint/parser": "^5.54.1",
27
27
  "chai": "^4.3.7",
28
28
  "eslint": "^8.35.0",
29
- "eslint-config-prettier": "^8.7.0",
29
+ "eslint-config-prettier": "^8.8.0",
30
30
  "eslint-config-salesforce": "^1.1.1",
31
31
  "eslint-config-salesforce-license": "^0.2.0",
32
32
  "eslint-config-salesforce-typescript": "^1.1.1",
33
33
  "eslint-plugin-header": "^3.0.0",
34
34
  "eslint-plugin-import": "2.27.5",
35
35
  "eslint-plugin-jsdoc": "^39.6.4",
36
- "eslint-plugin-sf-plugin": "^1.11.1",
36
+ "eslint-plugin-sf-plugin": "^1.14.0",
37
37
  "husky": "^7.0.4",
38
38
  "mocha": "^9.2.2",
39
39
  "nyc": "^15.1.0",
40
40
  "oclif": "^3.7.0",
41
- "prettier": "^2.8.3",
41
+ "prettier": "^2.8.7",
42
42
  "pretty-quick": "^3.1.3",
43
43
  "shx": "0.3.4",
44
44
  "sinon": "10.0.0",
@@ -54,7 +54,7 @@
54
54
  "/oclif.manifest.json",
55
55
  "/schemas"
56
56
  ],
57
- "homepage": "https://github.com/salesforcecli/plugin-template-sf",
57
+ "homepage": "https://github.com/salesforcecli/plugin-devops-center",
58
58
  "keywords": [
59
59
  "force",
60
60
  "salesforce",
@@ -77,17 +77,22 @@
77
77
  "@salesforce/plugin-command-reference"
78
78
  ],
79
79
  "topics": {
80
- "deploy": {
81
- "description": "Commands to deploy artifacts to an environment.",
80
+ "project": {
81
+ "external": true,
82
82
  "subtopics": {
83
- "pipeline": {
84
- "description": "Commands to deploy metadata from a pipeline stage to a Salesforce org."
83
+ "deploy": {
84
+ "description": "Commands to deploy artifacts to an environment.",
85
+ "subtopics": {
86
+ "pipeline": {
87
+ "description": "Commands to deploy metadata from a pipeline stage to a Salesforce org."
88
+ }
89
+ }
85
90
  }
86
91
  }
87
92
  }
88
93
  }
89
94
  },
90
- "repository": "salesforcecli/plugin-template-sf",
95
+ "repository": "salesforcecli/plugin-devops-center",
91
96
  "scripts": {
92
97
  "build": "sf-build",
93
98
  "clean": "sf-clean",
@@ -112,4 +117,4 @@
112
117
  "publishConfig": {
113
118
  "access": "public"
114
119
  }
115
- }
120
+ }
@@ -1 +0,0 @@
1
- {"version":3,"file":"report.js","sourceRoot":"","sources":["../../../../src/commands/deploy/pipeline/report.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,2CAA4C;AAC5C,iEAA+D;AAE/D,0FAAsF;AAEtF,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,wBAAwB,CAAC,CAAC;AAErG,MAAqB,oBAAqB,SAAQ,gDAAwC;IAA1F;;QAmBY,kBAAa,GAAG,QAAQ,CAAC;IAKrC,CAAC;IAHQ,KAAK,CAAC,GAAG;QACd,OAAO,IAAI,CAAC,kBAAkB,EAAE,CAAC;IACnC,CAAC;;AAvBH,uCAwBC;AAvBwB,gCAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,4BAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;AACzC,6BAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AAC5C,0BAAK,GAAG,MAAM,CAAC;AACxB,0BAAK,GAAG;IACpB,QAAQ,EAAE,uBAAK,CAAC,YAAY,CAAC;QAC3B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC;QAC5D,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;QACpD,UAAU,EAAE,CAAC,iBAAiB,EAAE,QAAQ,CAAC;KAC1C,CAAC;IACF,iBAAiB,EAAE,uBAAK,CAAC,OAAO,CAAC;QAC/B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,mCAAmC,CAAC;QACrE,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC;QAC7D,UAAU,EAAE,CAAC,iBAAiB,EAAE,QAAQ,CAAC;KAC1C,CAAC;CACH,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"resume.js","sourceRoot":"","sources":["../../../../src/commands/deploy/pipeline/resume.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,2CAA4C;AAG5C,wEAAoE;AAEpE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,wBAAwB,CAAC,CAAC;AAErG,MAAqB,oBAAqB,SAAQ,8BAA+B;IAAjF;;QAMY,kBAAa,GAAG,YAAY,CAAC;QAC7B,gBAAW,GAAG,iBAAiB,CAAC;IAK5C,CAAC;IAHQ,KAAK,CAAC,GAAG;QACd,OAAO,IAAI,CAAC,eAAe,EAAE,CAAC;IAChC,CAAC;;AAXH,uCAYC;AAXwB,4BAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;AACzC,gCAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,6BAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AAC5C,0BAAK,GAAG,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../../src/commands/deploy/pipeline.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,2CAA4C;AAE5C,uEAAmE;AAEnE,sDAAkD;AAElD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,iBAAiB,CAAC,CAAC;AAE9F;;GAEG;AACH,MAAqB,cAAe,SAAQ,gCAAgC;IAA5E;;QAKmB,qBAAgB,GAAG,IAAI,CAAC;IA0B3C,CAAC;IAxBQ,KAAK,CAAC,GAAG;QACd,OAAO,IAAI,CAAC,gBAAgB,EAAE,CAAC;IACjC,CAAC;IAED;;;;;;OAMG;IACO,gBAAgB;QACxB,MAAM,WAAW,GAAkB,IAAI,CAAC,cAAc,EAAE,CAAC;QACzD,OAAO,WAAW,CAAC,6BAA6B;YAC9C,CAAC,CAAC,WAAW,CAAC,6BAA6B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE;YACzD,CAAC,CAAC,oBAAQ,CAAC;IACf,CAAC;IAED;;OAEG;IACO,iBAAiB;QACzB,OAAO,EAAE,cAAc,EAAE,IAAI,CAAC,gBAAgB,EAAE,CAAC;IACnD,CAAC;;AA9BH,iCA+BC;AA9BwB,sBAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;AACzC,0BAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,uBAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AAC5C,oBAAK,GAAG,MAAM,CAAC"}