@salesforce/plugin-deploy-retrieve 1.8.5-beta.2 → 1.8.5-beta.4
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/lib/commands/project/convert/mdapi.d.ts +1 -1
- package/lib/commands/project/convert/mdapi.js +13 -16
- package/lib/commands/project/convert/mdapi.js.map +1 -1
- package/lib/commands/project/convert/source.d.ts +1 -1
- package/lib/commands/project/convert/source.js +12 -12
- package/lib/commands/project/convert/source.js.map +1 -1
- package/lib/commands/project/delete/source.d.ts +3 -3
- package/lib/commands/project/delete/source.js +24 -23
- package/lib/commands/project/delete/source.js.map +1 -1
- package/lib/commands/project/delete/tracking.js +2 -2
- package/lib/commands/project/delete/tracking.js.map +1 -1
- package/lib/commands/project/deploy/cancel.js +4 -3
- package/lib/commands/project/deploy/cancel.js.map +1 -1
- package/lib/commands/project/deploy/quick.js +4 -2
- package/lib/commands/project/deploy/quick.js.map +1 -1
- package/lib/commands/project/deploy/report.js +2 -2
- package/lib/commands/project/deploy/report.js.map +1 -1
- package/lib/commands/project/deploy/resume.js +2 -1
- package/lib/commands/project/deploy/resume.js.map +1 -1
- package/lib/commands/project/deploy/start.js +4 -2
- package/lib/commands/project/deploy/start.js.map +1 -1
- package/lib/commands/project/deploy/validate.js +4 -2
- package/lib/commands/project/deploy/validate.js.map +1 -1
- package/lib/commands/project/manifest/create.d.ts +1 -1
- package/lib/commands/project/manifest/create.js +11 -11
- package/lib/commands/project/manifest/create.js.map +1 -1
- package/lib/commands/project/reset/tracking.js +3 -3
- package/lib/commands/project/reset/tracking.js.map +1 -1
- package/lib/commands/project/retrieve/start.js +4 -3
- package/lib/commands/project/retrieve/start.js.map +1 -1
- package/lib/formatters/asyncDeployCancelResultFormatter.d.ts +9 -0
- package/lib/formatters/asyncDeployCancelResultFormatter.js +28 -0
- package/lib/formatters/asyncDeployCancelResultFormatter.js.map +1 -0
- package/lib/formatters/asyncDeployResultFormatter.d.ts +9 -0
- package/lib/formatters/asyncDeployResultFormatter.js +30 -0
- package/lib/formatters/asyncDeployResultFormatter.js.map +1 -0
- package/lib/formatters/deleteResultFormatter.d.ts +13 -0
- package/lib/formatters/deleteResultFormatter.js +72 -0
- package/lib/formatters/deleteResultFormatter.js.map +1 -0
- package/lib/formatters/deployCancelResultFormatter.d.ts +8 -0
- package/lib/formatters/deployCancelResultFormatter.js +29 -0
- package/lib/formatters/deployCancelResultFormatter.js.map +1 -0
- package/lib/formatters/deployReportResultFormatter.d.ts +4 -0
- package/lib/formatters/deployReportResultFormatter.js +52 -0
- package/lib/formatters/deployReportResultFormatter.js.map +1 -0
- package/lib/formatters/deployResultFormatter.d.ts +46 -0
- package/lib/formatters/deployResultFormatter.js +296 -0
- package/lib/formatters/deployResultFormatter.js.map +1 -0
- package/lib/formatters/metadataConvertResultFormatter.d.ts +9 -0
- package/lib/formatters/metadataConvertResultFormatter.js +59 -0
- package/lib/formatters/metadataConvertResultFormatter.js.map +1 -0
- package/lib/formatters/metadataRetrieveResultFormatter.d.ts +17 -0
- package/lib/formatters/metadataRetrieveResultFormatter.js +38 -0
- package/lib/formatters/metadataRetrieveResultFormatter.js.map +1 -0
- package/lib/formatters/retrieveResultFormatter.d.ts +13 -0
- package/lib/formatters/retrieveResultFormatter.js +66 -0
- package/lib/formatters/retrieveResultFormatter.js.map +1 -0
- package/lib/formatters/sourceConvertResultFormatter.d.ts +10 -0
- package/lib/formatters/sourceConvertResultFormatter.js +37 -0
- package/lib/formatters/sourceConvertResultFormatter.js.map +1 -0
- package/lib/utils/conflicts.js +1 -1
- package/lib/utils/conflicts.js.map +1 -1
- package/lib/utils/coverage.d.ts +1 -1
- package/lib/utils/coverage.js +15 -17
- package/lib/utils/coverage.js.map +1 -1
- package/lib/utils/errorCodes.d.ts +3 -1
- package/lib/utils/errorCodes.js +4 -4
- package/lib/utils/errorCodes.js.map +1 -1
- package/lib/utils/flags.js +2 -3
- package/lib/utils/flags.js.map +1 -1
- package/lib/utils/metadataDeployer.js +2 -2
- package/lib/utils/metadataDeployer.js.map +1 -1
- package/lib/utils/output.d.ts +4 -121
- package/lib/utils/output.js +3 -567
- package/lib/utils/output.js.map +1 -1
- package/lib/utils/types.d.ts +4 -0
- package/lib/utils/types.js.map +1 -1
- package/messages/convert.mdapi.md +22 -34
- package/messages/convert.source.md +24 -25
- package/messages/delete.source.md +57 -45
- package/messages/delete.tracking.md +17 -12
- package/messages/manifest.create.md +35 -24
- package/oclif.manifest.json +74 -74
- package/package.json +10 -11
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.8.5-beta.
|
|
2
|
+
"version": "1.8.5-beta.4",
|
|
3
3
|
"commands": {
|
|
4
4
|
"deploy": {
|
|
5
5
|
"id": "deploy",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"project:convert:mdapi": {
|
|
33
33
|
"id": "project:convert:mdapi",
|
|
34
|
-
"summary": "
|
|
35
|
-
"description": "
|
|
34
|
+
"summary": "Convert metadata retrieved via Metadata API into the source format used in Salesforce DX projects.",
|
|
35
|
+
"description": "To use Salesforce CLI to work with components that you retrieved via Metadata API, first convert your files from the metadata format to the source format using this command.\n\nTo convert files from the source format back to the metadata format, run \"<%= config.bin %> project convert source\".",
|
|
36
36
|
"strict": true,
|
|
37
37
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
38
38
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"force:mdapi:convert"
|
|
43
43
|
],
|
|
44
44
|
"examples": [
|
|
45
|
-
"$ <%= config.bin %> <%= command.id %> -
|
|
46
|
-
"$ <%= config.bin %> <%= command.id %> -
|
|
45
|
+
"Convert metadata formatted files in the specified directory into source formatted files; writes converted files to your default package directory:\n$ <%= config.bin %> <%= command.id %> --root-dir path/to/metadata",
|
|
46
|
+
"Similar to previous example, but writes converted files to the specified output directory:\n$ <%= config.bin %> <%= command.id %> --root-dir path/to/metadata --output-dir path/to/outputdir"
|
|
47
47
|
],
|
|
48
48
|
"deprecateAliases": true,
|
|
49
49
|
"flags": {
|
|
@@ -79,8 +79,7 @@
|
|
|
79
79
|
"name": "root-dir",
|
|
80
80
|
"type": "option",
|
|
81
81
|
"char": "r",
|
|
82
|
-
"summary": "
|
|
83
|
-
"description": "The root directory that contains the metadata you retrieved using Metadata API.",
|
|
82
|
+
"summary": "Root directory that contains the Metadata API–formatted metadata.",
|
|
84
83
|
"required": true,
|
|
85
84
|
"multiple": false,
|
|
86
85
|
"deprecateAliases": true,
|
|
@@ -92,8 +91,7 @@
|
|
|
92
91
|
"name": "output-dir",
|
|
93
92
|
"type": "option",
|
|
94
93
|
"char": "d",
|
|
95
|
-
"summary": "
|
|
96
|
-
"description": "The directory to store your files in after they’re converted to the source format. Can be an absolute or relative path.",
|
|
94
|
+
"summary": "Directory to store your files in after they’re converted to source format; can be an absolute or relative path.",
|
|
97
95
|
"multiple": false,
|
|
98
96
|
"deprecateAliases": true,
|
|
99
97
|
"aliases": [
|
|
@@ -104,17 +102,17 @@
|
|
|
104
102
|
"name": "manifest",
|
|
105
103
|
"type": "option",
|
|
106
104
|
"char": "x",
|
|
107
|
-
"summary": "
|
|
108
|
-
"description": "
|
|
105
|
+
"summary": "File path to manifest (package.xml) of metadata types to convert.",
|
|
106
|
+
"description": "If you specify this parameter, don’t specify --metadata or --source-dir.",
|
|
109
107
|
"multiple": false,
|
|
110
108
|
"deprecateAliases": true
|
|
111
109
|
},
|
|
112
|
-
"metadata-
|
|
113
|
-
"name": "metadata-
|
|
110
|
+
"metadata-dir": {
|
|
111
|
+
"name": "metadata-dir",
|
|
114
112
|
"type": "option",
|
|
115
113
|
"char": "p",
|
|
116
|
-
"summary": "
|
|
117
|
-
"description": "
|
|
114
|
+
"summary": "Comma-separated list of paths to the local metadata files to convert.",
|
|
115
|
+
"description": "The supplied paths can be to a single file (in which case the operation is applied to only one file) or to a folder (in which case the operation is applied to all metadata types in the directory and its sub-directories).\n\nIf you specify this flag, don’t specify --manifest or --metadata. If the comma-separated list you’re supplying contains spaces, enclose the entire comma-separated list in one set of double quotes.",
|
|
118
116
|
"multiple": true,
|
|
119
117
|
"exclusive": [
|
|
120
118
|
"manifest",
|
|
@@ -130,8 +128,7 @@
|
|
|
130
128
|
"name": "metadata",
|
|
131
129
|
"type": "option",
|
|
132
130
|
"char": "m",
|
|
133
|
-
"summary": "
|
|
134
|
-
"description": "A comma-separated list of metadata component names to convert.",
|
|
131
|
+
"summary": "Comma-separated list of metadata component names to convert.",
|
|
135
132
|
"multiple": true,
|
|
136
133
|
"exclusive": [
|
|
137
134
|
"manifest",
|
|
@@ -146,8 +143,8 @@
|
|
|
146
143
|
},
|
|
147
144
|
"project:convert:source": {
|
|
148
145
|
"id": "project:convert:source",
|
|
149
|
-
"summary": "
|
|
150
|
-
"description": "
|
|
146
|
+
"summary": "Convert source-formatted files into metadata that you can deploy using Metadata API.",
|
|
147
|
+
"description": "To convert source-formatted files into the metadata format, so that you can deploy them using Metadata API, run this command. Then deploy the metadata using \"<%= config.bin %> project deploy\".\n\nTo convert Metadata API–formatted files into the source format, run \"<%= config.bin %> project convert mdapi\".\n\nTo specify a package name that includes spaces, enclose the name in single quotes.",
|
|
151
148
|
"strict": true,
|
|
152
149
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
153
150
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
@@ -156,8 +153,8 @@
|
|
|
156
153
|
"force:source:convert"
|
|
157
154
|
],
|
|
158
155
|
"examples": [
|
|
159
|
-
"$ <%= config.bin %> <%= command.id %> -
|
|
160
|
-
"$ <%= config.bin %> <%= command.id %> -
|
|
156
|
+
"Convert source-formatted files in the specified directory into metadata-formatted files; writes converted files into a new directory:\n$ <%= config.bin %> <%= command.id %> --root-dir path/to/source",
|
|
157
|
+
"Similar to previous example, but writes converted files to the specified output directory and associates the files with the specified package:\n$ <%= config.bin %> <%= command.id %> --root-dir path/to/source --output-dir path/to/outputdir --package-name 'My Package'"
|
|
161
158
|
],
|
|
162
159
|
"deprecateAliases": true,
|
|
163
160
|
"flags": {
|
|
@@ -193,7 +190,7 @@
|
|
|
193
190
|
"name": "root-dir",
|
|
194
191
|
"type": "option",
|
|
195
192
|
"char": "r",
|
|
196
|
-
"summary": "
|
|
193
|
+
"summary": "Source directory other than the default package to convert.",
|
|
197
194
|
"multiple": false,
|
|
198
195
|
"deprecateAliases": true,
|
|
199
196
|
"aliases": [
|
|
@@ -204,9 +201,9 @@
|
|
|
204
201
|
"name": "output-dir",
|
|
205
202
|
"type": "option",
|
|
206
203
|
"char": "d",
|
|
207
|
-
"summary": "
|
|
204
|
+
"summary": "Output directory to store the Metadata API–formatted files in.",
|
|
208
205
|
"multiple": false,
|
|
209
|
-
"default": "
|
|
206
|
+
"default": "metadataPackage_1679601641935",
|
|
210
207
|
"deprecateAliases": true,
|
|
211
208
|
"aliases": [
|
|
212
209
|
"outputdir"
|
|
@@ -216,7 +213,7 @@
|
|
|
216
213
|
"name": "package-name",
|
|
217
214
|
"type": "option",
|
|
218
215
|
"char": "n",
|
|
219
|
-
"summary": "
|
|
216
|
+
"summary": "Name of the package to associate with the metadata-formatted files.",
|
|
220
217
|
"multiple": false,
|
|
221
218
|
"deprecateAliases": true,
|
|
222
219
|
"aliases": [
|
|
@@ -227,17 +224,17 @@
|
|
|
227
224
|
"name": "manifest",
|
|
228
225
|
"type": "option",
|
|
229
226
|
"char": "x",
|
|
230
|
-
"summary": "
|
|
231
|
-
"description": "
|
|
227
|
+
"summary": "Path to the manifest (package.xml) file that specifies the metadata types to convert.",
|
|
228
|
+
"description": "If you specify this parameter, don’t specify --metadata or --source-dir.",
|
|
232
229
|
"multiple": false,
|
|
233
230
|
"deprecateAliases": true
|
|
234
231
|
},
|
|
235
|
-
"source-
|
|
236
|
-
"name": "source-
|
|
232
|
+
"source-dir": {
|
|
233
|
+
"name": "source-dir",
|
|
237
234
|
"type": "option",
|
|
238
235
|
"char": "p",
|
|
239
|
-
"summary": "
|
|
240
|
-
"description": "
|
|
236
|
+
"summary": "Comma-separated list of paths to the local source files to convert.",
|
|
237
|
+
"description": "The supplied paths can be to a single file (in which case the operation is applied to only one file) or to a folder (in which case the operation is applied to all metadata types in the directory and its sub-directories).\n\nIf you specify this parameter, don’t specify --manifest or --metadata.",
|
|
241
238
|
"multiple": true,
|
|
242
239
|
"exclusive": [
|
|
243
240
|
"manifest",
|
|
@@ -253,7 +250,7 @@
|
|
|
253
250
|
"name": "metadata",
|
|
254
251
|
"type": "option",
|
|
255
252
|
"char": "m",
|
|
256
|
-
"
|
|
253
|
+
"summary": "Comma-separated list of metadata component names to convert.",
|
|
257
254
|
"multiple": true,
|
|
258
255
|
"exclusive": [
|
|
259
256
|
"manifest",
|
|
@@ -268,8 +265,8 @@
|
|
|
268
265
|
},
|
|
269
266
|
"project:delete:source": {
|
|
270
267
|
"id": "project:delete:source",
|
|
271
|
-
"summary": "
|
|
272
|
-
"description": "
|
|
268
|
+
"summary": "Delete source from your project and from a non-source-tracked org.",
|
|
269
|
+
"description": "Use this command to delete components from orgs that don’t have source tracking. To remove deleted items from orgs that have source tracking enabled, \"sf project deploy start\".\n\nWhen you run this command, both the local source file and the metadata component in the org are deleted.",
|
|
273
270
|
"strict": true,
|
|
274
271
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
275
272
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
@@ -278,8 +275,11 @@
|
|
|
278
275
|
"force:source:delete"
|
|
279
276
|
],
|
|
280
277
|
"examples": [
|
|
281
|
-
"
|
|
282
|
-
"
|
|
278
|
+
"Delete all local Apex source files and all Apex classes from the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
|
|
279
|
+
"Delete a specific Apex class and a Profile that has a space in it from your default org; don't prompt for confirmation:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyFabulousApexClass --metadata \"Profile: My Profile\" --no-prompt",
|
|
280
|
+
"Run the tests that aren’t in any managed packages as part of the deletion; if the delete succeeds, and the org has source-tracking enabled, update the source tracking information:\n<%= config.bin %> <%= command.id %> --metadata ApexClass --test-level RunLocalTests --track-source",
|
|
281
|
+
"Delete the Apex source files in a directory and the corresponding components from your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes",
|
|
282
|
+
"Delete all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
|
|
283
283
|
],
|
|
284
284
|
"deprecateAliases": true,
|
|
285
285
|
"flags": {
|
|
@@ -328,8 +328,8 @@
|
|
|
328
328
|
"name": "check-only",
|
|
329
329
|
"type": "boolean",
|
|
330
330
|
"char": "c",
|
|
331
|
-
"summary": "
|
|
332
|
-
"description": "
|
|
331
|
+
"summary": "Validate delete command but don't delete anything from the org or the local project.",
|
|
332
|
+
"description": "IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.\n\nValidates the deleted metadata and runs all Apex tests, but prevents the deletion from being saved to the org.\n\nIf you change a field type from Master-Detail to Lookup or vice versa, that change isn’t supported when using the --chec-konly parameter to test a deletion (validation). This kind of change isn’t supported for test deletions to avoid the risk of data loss or corruption. If a change that isn’t supported for test deletions is included in a deletion package, the test deletion fails and issues an error.\n\nIf your deletion package changes a field type from Master-Detail to Lookup or vice versa, you can still validate the changes prior to deploying to Production by performing a full deletion to another test Sandbox. A full deletion includes a validation of the changes as part of the deletion process.\n\nNote: A Metadata API deletion that includes Master-Detail relationships deletes all detail records in the Recycle Bin in the following cases.\n\n 1. For a deletion with a new Master-Detail field, soft delete (send to the Recycle Bin) all detail records before proceeding to delete the Master-Detail field, or the deletion fails. During the deletion, detail records are permanently deleted from the Recycle Bin and cannot be recovered.\n\n 2. For a deletion that converts a Lookup field relationship to a Master-Detail relationship, detail records must reference a master record or be soft-deleted (sent to the Recycle Bin) for the deletion to succeed. However, a successful deletion permanently deletes any detail records in the Recycle Bin.",
|
|
333
333
|
"allowNo": false,
|
|
334
334
|
"deprecateAliases": true,
|
|
335
335
|
"aliases": [
|
|
@@ -340,8 +340,8 @@
|
|
|
340
340
|
"name": "wait",
|
|
341
341
|
"type": "option",
|
|
342
342
|
"char": "w",
|
|
343
|
-
"summary": "wait
|
|
344
|
-
"description": "
|
|
343
|
+
"summary": "Number of minutes to wait for the command to finish.",
|
|
344
|
+
"description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
|
|
345
345
|
"multiple": false,
|
|
346
346
|
"default": {
|
|
347
347
|
"quantity": 33,
|
|
@@ -353,8 +353,8 @@
|
|
|
353
353
|
"name": "test-level",
|
|
354
354
|
"type": "option",
|
|
355
355
|
"char": "l",
|
|
356
|
-
"summary": "
|
|
357
|
-
"description": "
|
|
356
|
+
"summary": "Deployment Apex testing level.",
|
|
357
|
+
"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- 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- 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” in the Metadata API Developer Guide.",
|
|
358
358
|
"multiple": false,
|
|
359
359
|
"options": [
|
|
360
360
|
"NoTestRun",
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
"name": "no-prompt",
|
|
372
372
|
"type": "boolean",
|
|
373
373
|
"char": "r",
|
|
374
|
-
"summary": "
|
|
374
|
+
"summary": "Don't prompt for delete confirmation.",
|
|
375
375
|
"allowNo": false,
|
|
376
376
|
"deprecateAliases": true,
|
|
377
377
|
"aliases": [
|
|
@@ -382,18 +382,18 @@
|
|
|
382
382
|
"name": "metadata",
|
|
383
383
|
"type": "option",
|
|
384
384
|
"char": "m",
|
|
385
|
-
"summary": "
|
|
386
|
-
"description": "
|
|
385
|
+
"summary": "Comma-separated list of names of metadata components to delete.",
|
|
386
|
+
"description": "If you specify this parameter, don’t specify --source-dir.",
|
|
387
387
|
"multiple": true,
|
|
388
388
|
"deprecateAliases": true,
|
|
389
389
|
"delimiter": ","
|
|
390
390
|
},
|
|
391
|
-
"source-
|
|
392
|
-
"name": "source-
|
|
391
|
+
"source-dir": {
|
|
392
|
+
"name": "source-dir",
|
|
393
393
|
"type": "option",
|
|
394
394
|
"char": "p",
|
|
395
|
-
"summary": "
|
|
396
|
-
"description": "
|
|
395
|
+
"summary": "Comma-separated list of source file paths to delete.",
|
|
396
|
+
"description": "The supplied paths can be a single file (in which case the operation is applied to only one file) or a folder (in which case the operation is applied to all metadata types in the directory and its sub-directories).\n\nIf you specify this parameter, don’t specify --metadata.",
|
|
397
397
|
"multiple": true,
|
|
398
398
|
"deprecateAliases": true,
|
|
399
399
|
"aliases": [
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
"name": "track-source",
|
|
406
406
|
"type": "boolean",
|
|
407
407
|
"char": "t",
|
|
408
|
-
"summary": "If the delete succeeds, update the source tracking information
|
|
408
|
+
"summary": "If the delete succeeds, update the source tracking information.",
|
|
409
409
|
"allowNo": false,
|
|
410
410
|
"exclusive": [
|
|
411
411
|
"check-only"
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
"name": "force-overwrite",
|
|
420
420
|
"type": "boolean",
|
|
421
421
|
"char": "f",
|
|
422
|
-
"summary": "
|
|
422
|
+
"summary": "Ignore conflict warnings and overwrite changes to the org.",
|
|
423
423
|
"allowNo": false,
|
|
424
424
|
"dependsOn": [
|
|
425
425
|
"track-source"
|
|
@@ -432,7 +432,7 @@
|
|
|
432
432
|
"verbose": {
|
|
433
433
|
"name": "verbose",
|
|
434
434
|
"type": "boolean",
|
|
435
|
-
"summary": "
|
|
435
|
+
"summary": "Verbose output of the delete result.",
|
|
436
436
|
"allowNo": false,
|
|
437
437
|
"deprecateAliases": true
|
|
438
438
|
}
|
|
@@ -443,8 +443,8 @@
|
|
|
443
443
|
},
|
|
444
444
|
"project:delete:tracking": {
|
|
445
445
|
"id": "project:delete:tracking",
|
|
446
|
-
"summary": "
|
|
447
|
-
"description": "
|
|
446
|
+
"summary": "Delete all local source tracking information.",
|
|
447
|
+
"description": "WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.\n\nDeletes all local source tracking information. When you next run 'project deploy preview', Salesforce CLI displays all local and remote files as changed, and any files with the same name are listed as conflicts.",
|
|
448
448
|
"strict": true,
|
|
449
449
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
450
450
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
@@ -501,7 +501,7 @@
|
|
|
501
501
|
"name": "no-prompt",
|
|
502
502
|
"type": "boolean",
|
|
503
503
|
"char": "p",
|
|
504
|
-
"summary": "
|
|
504
|
+
"summary": "Don't prompt for source tracking override confirmation.",
|
|
505
505
|
"allowNo": false,
|
|
506
506
|
"deprecateAliases": true,
|
|
507
507
|
"aliases": [
|
|
@@ -1674,8 +1674,8 @@
|
|
|
1674
1674
|
},
|
|
1675
1675
|
"project:manifest:create": {
|
|
1676
1676
|
"id": "project:manifest:create",
|
|
1677
|
-
"summary": "
|
|
1678
|
-
"description": "
|
|
1677
|
+
"summary": "Create a project manifest that lists the metadata components you want to deploy or retrieve.",
|
|
1678
|
+
"description": "Create a manifest from a list of metadata components (--metadata) or from one or more local directories that contain source files (--source-dir). You can specify either of these parameters, not both.\n\nUse --manifest-type to specify the type of manifest you want to create. The resulting manifest files have specific names, such as the standard package.xml or destructiveChanges.xml to delete metadata. Valid values for this parameter, and their respective file names, are:\n\n * package : package.xml (default)\n * pre : destructiveChangesPre.xml\n * post : destructiveChangesPost.xml\n * destroy : destructiveChanges.xml\n\nSee https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_deleting_files.htm for information about these destructive manifest files.\n\nUse --manifest-name to specify a custom name for the generated manifest if the pre-defined ones don’t suit your needs. You can specify either --manifest-type or --manifest-name, but not both.",
|
|
1679
1679
|
"strict": true,
|
|
1680
1680
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
1681
1681
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
@@ -1684,10 +1684,10 @@
|
|
|
1684
1684
|
"force:source:manifest:create"
|
|
1685
1685
|
],
|
|
1686
1686
|
"examples": [
|
|
1687
|
-
"$ <%= config.bin %> <%= command.id %>
|
|
1688
|
-
"$ <%= config.bin %> <%= command.id %>
|
|
1689
|
-
"$ <%= config.bin %> <%= command.id %> --source-
|
|
1690
|
-
"$ <%= config.bin %> <%= command.id %> --from-org test@myorg.com --include-packages unlocked"
|
|
1687
|
+
"Create a manifest for deploying or retrieving all Apex classes:\n$ <%= config.bin %> <%= command.id %> --metadata ApexClass",
|
|
1688
|
+
"Create a manifest for deleting the specified Apex class:\n$ <%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass --manifest-type destroy",
|
|
1689
|
+
"Create a manifest for deploying or retrieving all the metadata components in the specified local directory; name the file myNewManifest.xml:\n$ <%= config.bin %> <%= command.id %> --source-dir force-app --manifest-name myNewManifest",
|
|
1690
|
+
"Create a manifest from the metadata components in the specified org and include metadata in any unlocked packages:\n$ <%= config.bin %> <%= command.id %> --from-org test@myorg.com --include-packages unlocked"
|
|
1691
1691
|
],
|
|
1692
1692
|
"deprecateAliases": true,
|
|
1693
1693
|
"flags": {
|
|
@@ -1723,16 +1723,16 @@
|
|
|
1723
1723
|
"name": "metadata",
|
|
1724
1724
|
"type": "option",
|
|
1725
1725
|
"char": "m",
|
|
1726
|
-
"
|
|
1726
|
+
"summary": "Comma-separated list of names of metadata components to include in the manifest.",
|
|
1727
1727
|
"multiple": true,
|
|
1728
1728
|
"deprecateAliases": true,
|
|
1729
1729
|
"delimiter": ","
|
|
1730
1730
|
},
|
|
1731
|
-
"source-
|
|
1732
|
-
"name": "source-
|
|
1731
|
+
"source-dir": {
|
|
1732
|
+
"name": "source-dir",
|
|
1733
1733
|
"type": "option",
|
|
1734
1734
|
"char": "p",
|
|
1735
|
-
"
|
|
1735
|
+
"summary": "Comma-separated list of paths to the local source files to include in the manifest.",
|
|
1736
1736
|
"multiple": true,
|
|
1737
1737
|
"deprecateAliases": true,
|
|
1738
1738
|
"aliases": [
|
|
@@ -1744,7 +1744,7 @@
|
|
|
1744
1744
|
"name": "manifest-name",
|
|
1745
1745
|
"type": "option",
|
|
1746
1746
|
"char": "n",
|
|
1747
|
-
"summary": "
|
|
1747
|
+
"summary": "Name of a custom manifest file to create.",
|
|
1748
1748
|
"multiple": false,
|
|
1749
1749
|
"exclusive": [
|
|
1750
1750
|
"manifest-type"
|
|
@@ -1758,7 +1758,7 @@
|
|
|
1758
1758
|
"name": "manifest-type",
|
|
1759
1759
|
"type": "option",
|
|
1760
1760
|
"char": "t",
|
|
1761
|
-
"summary": "
|
|
1761
|
+
"summary": "Type of manifest to create; the type determines the name of the created file.",
|
|
1762
1762
|
"multiple": false,
|
|
1763
1763
|
"options": [
|
|
1764
1764
|
"pre",
|
|
@@ -1775,7 +1775,7 @@
|
|
|
1775
1775
|
"name": "include-packages",
|
|
1776
1776
|
"type": "option",
|
|
1777
1777
|
"char": "c",
|
|
1778
|
-
"
|
|
1778
|
+
"summary": "Comma-separated list of package types (managed, unlocked) whose metadata is included in the manifest; by default, metadata in packages is ignored.",
|
|
1779
1779
|
"multiple": true,
|
|
1780
1780
|
"options": [
|
|
1781
1781
|
"managed",
|
|
@@ -1793,7 +1793,7 @@
|
|
|
1793
1793
|
"from-org": {
|
|
1794
1794
|
"name": "from-org",
|
|
1795
1795
|
"type": "option",
|
|
1796
|
-
"summary": "
|
|
1796
|
+
"summary": "Username or alias of the org that contains the metadata components from which to build a manifest.",
|
|
1797
1797
|
"multiple": false,
|
|
1798
1798
|
"deprecateAliases": true,
|
|
1799
1799
|
"aliases": [
|
|
@@ -1804,7 +1804,7 @@
|
|
|
1804
1804
|
"name": "output-dir",
|
|
1805
1805
|
"type": "option",
|
|
1806
1806
|
"char": "d",
|
|
1807
|
-
"summary": "
|
|
1807
|
+
"summary": "Directory to save the created manifest.",
|
|
1808
1808
|
"multiple": false,
|
|
1809
1809
|
"deprecateAliases": true,
|
|
1810
1810
|
"aliases": [
|
|
@@ -1818,8 +1818,8 @@
|
|
|
1818
1818
|
},
|
|
1819
1819
|
"project:reset:tracking": {
|
|
1820
1820
|
"id": "project:reset:tracking",
|
|
1821
|
-
"summary": "
|
|
1822
|
-
"description": "
|
|
1821
|
+
"summary": "Reset local and remote source tracking.",
|
|
1822
|
+
"description": "WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.\n\nResets local and remote source tracking so that Salesforce CLI no longer registers differences between your local files and those in the org. When you next run 'project deploy preview', Salesforce CLI returns no results, even though conflicts might actually exist. Salesforce CLI then resumes tracking new source changes as usual.\n\nUse the --revision parameter to reset source tracking to a specific revision number of an org source member. To get the revision number, query the SourceMember Tooling API object with the 'data soql' command. For example:\n\n<%= config.bin %> data query --query \"SELECT MemberName, MemberType, RevisionCounter FROM SourceMember\" --use-tooling-api",
|
|
1823
1823
|
"strict": true,
|
|
1824
1824
|
"pluginName": "@salesforce/plugin-deploy-retrieve",
|
|
1825
1825
|
"pluginAlias": "@salesforce/plugin-deploy-retrieve",
|
|
@@ -1876,7 +1876,7 @@
|
|
|
1876
1876
|
"name": "revision",
|
|
1877
1877
|
"type": "option",
|
|
1878
1878
|
"char": "r",
|
|
1879
|
-
"summary": "
|
|
1879
|
+
"summary": "SourceMember revision counter number to reset to.",
|
|
1880
1880
|
"multiple": false,
|
|
1881
1881
|
"deprecateAliases": true
|
|
1882
1882
|
},
|
|
@@ -1884,7 +1884,7 @@
|
|
|
1884
1884
|
"name": "no-prompt",
|
|
1885
1885
|
"type": "boolean",
|
|
1886
1886
|
"char": "p",
|
|
1887
|
-
"summary": "
|
|
1887
|
+
"summary": "Don't prompt for source tracking override confirmation.",
|
|
1888
1888
|
"allowNo": false,
|
|
1889
1889
|
"deprecateAliases": true,
|
|
1890
1890
|
"aliases": [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-deploy-retrieve",
|
|
3
3
|
"description": "deploy and retrieve commands for sf",
|
|
4
|
-
"version": "1.8.5-beta.
|
|
4
|
+
"version": "1.8.5-beta.4",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@salesforce/core": "^3.34.3",
|
|
11
11
|
"@salesforce/kit": "^1.9.2",
|
|
12
12
|
"@salesforce/sf-plugins-core": "^2.2.5",
|
|
13
|
-
"@salesforce/source-deploy-retrieve": "^7.
|
|
13
|
+
"@salesforce/source-deploy-retrieve": "^7.13.0",
|
|
14
14
|
"@salesforce/source-tracking": "^2.2.22",
|
|
15
15
|
"chalk": "^4.1.2",
|
|
16
16
|
"fs-extra": "^10.0.1",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@oclif/plugin-command-snapshot": "^3.3.9",
|
|
22
22
|
"@salesforce/cli-plugins-testkit": "^3.2.25",
|
|
23
23
|
"@salesforce/dev-config": "^3.1.0",
|
|
24
|
-
"@salesforce/dev-scripts": "^4.1.
|
|
24
|
+
"@salesforce/dev-scripts": "^4.1.3",
|
|
25
25
|
"@salesforce/plugin-command-reference": "^2.4.1",
|
|
26
26
|
"@salesforce/plugin-functions": "^1.17.4",
|
|
27
27
|
"@salesforce/plugin-settings": "^1.4.2",
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"command": "tsc -p . --pretty --incremental",
|
|
172
172
|
"files": [
|
|
173
173
|
"src/**/*.ts",
|
|
174
|
-
"tsconfig.json",
|
|
174
|
+
"**/tsconfig.json",
|
|
175
175
|
"messages/**"
|
|
176
176
|
],
|
|
177
177
|
"output": [
|
|
@@ -197,7 +197,8 @@
|
|
|
197
197
|
"src/**/*.ts",
|
|
198
198
|
"test/**/*.ts",
|
|
199
199
|
"messages/**",
|
|
200
|
-
"
|
|
200
|
+
"**/.eslint*",
|
|
201
|
+
"**/tsconfig.json"
|
|
201
202
|
],
|
|
202
203
|
"output": []
|
|
203
204
|
},
|
|
@@ -205,8 +206,7 @@
|
|
|
205
206
|
"command": "tsc -p \"./test\" --pretty",
|
|
206
207
|
"files": [
|
|
207
208
|
"test/**/*.ts",
|
|
208
|
-
"tsconfig.json"
|
|
209
|
-
"test/tsconfig.json"
|
|
209
|
+
"**/tsconfig.json"
|
|
210
210
|
],
|
|
211
211
|
"output": []
|
|
212
212
|
},
|
|
@@ -228,9 +228,8 @@
|
|
|
228
228
|
"files": [
|
|
229
229
|
"test/**/*.ts",
|
|
230
230
|
"src/**/*.ts",
|
|
231
|
-
"tsconfig.json",
|
|
231
|
+
"**/tsconfig.json",
|
|
232
232
|
".mocha*",
|
|
233
|
-
"test/tsconfig.json",
|
|
234
233
|
"!*.nut.ts",
|
|
235
234
|
".nycrc"
|
|
236
235
|
],
|
|
@@ -267,7 +266,7 @@
|
|
|
267
266
|
}
|
|
268
267
|
},
|
|
269
268
|
"sfdx": {
|
|
270
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.8.5-beta.
|
|
271
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.8.5-beta.
|
|
269
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.8.5-beta.4.crt",
|
|
270
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.8.5-beta.4.sig"
|
|
272
271
|
}
|
|
273
272
|
}
|