@salesforce/plugin-deploy-retrieve 1.8.5-beta.2 → 1.8.5-beta.3

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 (79) hide show
  1. package/lib/commands/project/convert/mdapi.d.ts +1 -1
  2. package/lib/commands/project/convert/mdapi.js +9 -9
  3. package/lib/commands/project/convert/mdapi.js.map +1 -1
  4. package/lib/commands/project/convert/source.d.ts +1 -1
  5. package/lib/commands/project/convert/source.js +6 -6
  6. package/lib/commands/project/convert/source.js.map +1 -1
  7. package/lib/commands/project/delete/source.d.ts +3 -3
  8. package/lib/commands/project/delete/source.js +13 -13
  9. package/lib/commands/project/delete/source.js.map +1 -1
  10. package/lib/commands/project/deploy/cancel.js +4 -3
  11. package/lib/commands/project/deploy/cancel.js.map +1 -1
  12. package/lib/commands/project/deploy/quick.js +4 -2
  13. package/lib/commands/project/deploy/quick.js.map +1 -1
  14. package/lib/commands/project/deploy/report.js +2 -2
  15. package/lib/commands/project/deploy/report.js.map +1 -1
  16. package/lib/commands/project/deploy/resume.js +2 -1
  17. package/lib/commands/project/deploy/resume.js.map +1 -1
  18. package/lib/commands/project/deploy/start.js +4 -2
  19. package/lib/commands/project/deploy/start.js.map +1 -1
  20. package/lib/commands/project/deploy/validate.js +4 -2
  21. package/lib/commands/project/deploy/validate.js.map +1 -1
  22. package/lib/commands/project/manifest/create.d.ts +1 -1
  23. package/lib/commands/project/manifest/create.js +4 -4
  24. package/lib/commands/project/manifest/create.js.map +1 -1
  25. package/lib/commands/project/retrieve/start.js +4 -3
  26. package/lib/commands/project/retrieve/start.js.map +1 -1
  27. package/lib/formatters/asyncDeployCancelResultFormatter.d.ts +9 -0
  28. package/lib/formatters/asyncDeployCancelResultFormatter.js +28 -0
  29. package/lib/formatters/asyncDeployCancelResultFormatter.js.map +1 -0
  30. package/lib/formatters/asyncDeployResultFormatter.d.ts +9 -0
  31. package/lib/formatters/asyncDeployResultFormatter.js +30 -0
  32. package/lib/formatters/asyncDeployResultFormatter.js.map +1 -0
  33. package/lib/formatters/deleteResultFormatter.d.ts +13 -0
  34. package/lib/formatters/deleteResultFormatter.js +72 -0
  35. package/lib/formatters/deleteResultFormatter.js.map +1 -0
  36. package/lib/formatters/deployCancelResultFormatter.d.ts +8 -0
  37. package/lib/formatters/deployCancelResultFormatter.js +29 -0
  38. package/lib/formatters/deployCancelResultFormatter.js.map +1 -0
  39. package/lib/formatters/deployReportResultFormatter.d.ts +4 -0
  40. package/lib/formatters/deployReportResultFormatter.js +52 -0
  41. package/lib/formatters/deployReportResultFormatter.js.map +1 -0
  42. package/lib/formatters/deployResultFormatter.d.ts +46 -0
  43. package/lib/formatters/deployResultFormatter.js +296 -0
  44. package/lib/formatters/deployResultFormatter.js.map +1 -0
  45. package/lib/formatters/metadataConvertResultFormatter.d.ts +9 -0
  46. package/lib/formatters/metadataConvertResultFormatter.js +59 -0
  47. package/lib/formatters/metadataConvertResultFormatter.js.map +1 -0
  48. package/lib/formatters/metadataRetrieveResultFormatter.d.ts +17 -0
  49. package/lib/formatters/metadataRetrieveResultFormatter.js +38 -0
  50. package/lib/formatters/metadataRetrieveResultFormatter.js.map +1 -0
  51. package/lib/formatters/retrieveResultFormatter.d.ts +13 -0
  52. package/lib/formatters/retrieveResultFormatter.js +66 -0
  53. package/lib/formatters/retrieveResultFormatter.js.map +1 -0
  54. package/lib/formatters/sourceConvertResultFormatter.d.ts +10 -0
  55. package/lib/formatters/sourceConvertResultFormatter.js +37 -0
  56. package/lib/formatters/sourceConvertResultFormatter.js.map +1 -0
  57. package/lib/utils/conflicts.js +1 -1
  58. package/lib/utils/conflicts.js.map +1 -1
  59. package/lib/utils/coverage.d.ts +1 -1
  60. package/lib/utils/coverage.js +15 -17
  61. package/lib/utils/coverage.js.map +1 -1
  62. package/lib/utils/errorCodes.d.ts +3 -1
  63. package/lib/utils/errorCodes.js +4 -4
  64. package/lib/utils/errorCodes.js.map +1 -1
  65. package/lib/utils/flags.js +2 -3
  66. package/lib/utils/flags.js.map +1 -1
  67. package/lib/utils/metadataDeployer.js +2 -2
  68. package/lib/utils/metadataDeployer.js.map +1 -1
  69. package/lib/utils/output.d.ts +4 -121
  70. package/lib/utils/output.js +3 -567
  71. package/lib/utils/output.js.map +1 -1
  72. package/lib/utils/types.d.ts +4 -0
  73. package/lib/utils/types.js.map +1 -1
  74. package/messages/convert.mdapi.md +3 -3
  75. package/messages/convert.source.md +3 -3
  76. package/messages/delete.source.md +3 -3
  77. package/messages/manifest.create.md +3 -3
  78. package/oclif.manifest.json +18 -17
  79. package/package.json +10 -11
@@ -28,7 +28,7 @@ the output directory to store the source–formatted files
28
28
 
29
29
  file path to manifest (package.xml) of metadata types to convert.
30
30
 
31
- # flags.metadata-path
31
+ # flags.metadata-dir
32
32
 
33
33
  comma-separated list of metadata file paths to convert
34
34
 
@@ -48,9 +48,9 @@ The directory to store your files in after they’re converted to the source for
48
48
 
49
49
  - The complete path to the manifest (package.xml) file that specifies the metadata types to convert.
50
50
 
51
- - If you specify this parameter, don’t specify --metadata or --source-path.
51
+ - If you specify this parameter, don’t specify --metadata or --source-dir.
52
52
 
53
- # flagsLong.metadata-path
53
+ # flagsLong.metadata-dir
54
54
 
55
55
  - A comma-separated list of paths to the local metadata files to convert. 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).
56
56
 
@@ -35,7 +35,7 @@ name of the package to associate with the metadata-formatted files
35
35
 
36
36
  file path to manifest (package.xml) of metadata types to convert.
37
37
 
38
- # flags.source-path
38
+ # flags.source-dir
39
39
 
40
40
  comma-separated list of paths to the local source files to convert
41
41
 
@@ -47,9 +47,9 @@ comma-separated list of metadata component names to convert
47
47
 
48
48
  - The complete path to the manifest (package.xml) file that specifies the metadata types to convert.
49
49
 
50
- - If you specify this parameter, don’t specify --metadata or --source-path.
50
+ - If you specify this parameter, don’t specify --metadata or --source-dir.
51
51
 
52
- # flagsLong.source-path
52
+ # flagsLong.source-dir
53
53
 
54
54
  - A comma-separated list of paths to the local source files to convert. 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).
55
55
 
@@ -16,7 +16,7 @@ To remove deleted items from scratch orgs, which have change tracking, use "sf p
16
16
 
17
17
  - $ <%= config.bin %> <%= command.id %> -p path/to/source
18
18
 
19
- # flags.source-path
19
+ # flags.source-dir
20
20
 
21
21
  comma-separated list of source file paths to delete
22
22
 
@@ -70,9 +70,9 @@ verbose output of delete result
70
70
 
71
71
  - A comma-separated list of names of metadata components to delete from your project and your org.
72
72
 
73
- - If you specify this parameter, don’t specify --source-path.
73
+ - If you specify this parameter, don’t specify --source-dir.
74
74
 
75
- # flagsLong.source-path
75
+ # flagsLong.source-dir
76
76
 
77
77
  - A comma-separated list of paths to the local metadata to delete. 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).
78
78
 
@@ -1,7 +1,7 @@
1
1
  # description
2
2
 
3
3
  create a project manifest that lists the metadata components you want to deploy or retrieve
4
- Create a manifest from a list of metadata components (--metadata) or from one or more local directories that contain source files (--source-path). You can specify either of these parameters, not both.
4
+ 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.
5
5
 
6
6
  Use --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:
7
7
 
@@ -20,7 +20,7 @@ Use --manifest-name to specify a custom name for the generated manifest if the p
20
20
 
21
21
  - $ <%= config.bin %> <%= command.id %> -m ApexClass:MyApexClass --manifest-type destroy
22
22
 
23
- - $ <%= config.bin %> <%= command.id %> --source-path force-app --manifest-name myNewManifest
23
+ - $ <%= config.bin %> <%= command.id %> --source-dir force-app --manifest-name myNewManifest
24
24
 
25
25
  - $ <%= config.bin %> <%= command.id %> --from-org test@myorg.com --include-packages unlocked
26
26
 
@@ -44,7 +44,7 @@ name of a custom manifest file to create
44
44
 
45
45
  directory to save the created manifest
46
46
 
47
- # flags.source-path
47
+ # flags.source-dir
48
48
 
49
49
  comma-separated list of paths to the local source files to include in the manifest
50
50
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.8.5-beta.2",
2
+ "version": "1.8.5-beta.3",
3
3
  "commands": {
4
4
  "deploy": {
5
5
  "id": "deploy",
@@ -105,12 +105,12 @@
105
105
  "type": "option",
106
106
  "char": "x",
107
107
  "summary": "file path to manifest (package.xml) of metadata types to convert.",
108
- "description": "The complete path to the manifest (package.xml) file that specifies the metadata types to convert.\nIf you specify this parameter, don’t specify --metadata or --source-path.",
108
+ "description": "The complete path to the manifest (package.xml) file that specifies the metadata types to convert.\nIf you specify this parameter, don’t specify --metadata or --source-dir.",
109
109
  "multiple": false,
110
110
  "deprecateAliases": true
111
111
  },
112
- "metadata-path": {
113
- "name": "metadata-path",
112
+ "metadata-dir": {
113
+ "name": "metadata-dir",
114
114
  "type": "option",
115
115
  "char": "p",
116
116
  "summary": "comma-separated list of metadata file paths to convert",
@@ -135,7 +135,7 @@
135
135
  "multiple": true,
136
136
  "exclusive": [
137
137
  "manifest",
138
- "metadatapath"
138
+ "metadata-dir"
139
139
  ],
140
140
  "deprecateAliases": true,
141
141
  "delimiter": ","
@@ -206,7 +206,7 @@
206
206
  "char": "d",
207
207
  "summary": "output directory to store the Metadata API–formatted files in",
208
208
  "multiple": false,
209
- "default": "metadataPackage_1679527716679",
209
+ "default": "metadataPackage_1679597528416",
210
210
  "deprecateAliases": true,
211
211
  "aliases": [
212
212
  "outputdir"
@@ -227,13 +227,13 @@
227
227
  "name": "manifest",
228
228
  "type": "option",
229
229
  "char": "x",
230
- "summary": "The complete path to the manifest (package.xml) file that specifies the metadata types to convert.\nIf you specify this parameter, don’t specify --metadata or --source-path.",
230
+ "summary": "The complete path to the manifest (package.xml) file that specifies the metadata types to convert.\nIf you specify this parameter, don’t specify --metadata or --source-dir.",
231
231
  "description": "file path to manifest (package.xml) of metadata types to convert.",
232
232
  "multiple": false,
233
233
  "deprecateAliases": true
234
234
  },
235
- "source-path": {
236
- "name": "source-path",
235
+ "source-dir": {
236
+ "name": "source-dir",
237
237
  "type": "option",
238
238
  "char": "p",
239
239
  "summary": "A comma-separated list of paths to the local source files to convert. 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).\nIf you specify this parameter, don’t specify --manifest or --metadata.",
@@ -358,6 +358,7 @@
358
358
  "multiple": false,
359
359
  "options": [
360
360
  "NoTestRun",
361
+ "RunSpecifiedTests",
361
362
  "RunLocalTests",
362
363
  "RunAllTestsInOrg"
363
364
  ],
@@ -383,13 +384,13 @@
383
384
  "type": "option",
384
385
  "char": "m",
385
386
  "summary": "comma-separated list of names of metadata components to delete",
386
- "description": "A comma-separated list of names of metadata components to delete from your project and your org.\nIf you specify this parameter, don’t specify --source-path.",
387
+ "description": "A comma-separated list of names of metadata components to delete from your project and your org.\nIf you specify this parameter, don’t specify --source-dir.",
387
388
  "multiple": true,
388
389
  "deprecateAliases": true,
389
390
  "delimiter": ","
390
391
  },
391
- "source-path": {
392
- "name": "source-path",
392
+ "source-dir": {
393
+ "name": "source-dir",
393
394
  "type": "option",
394
395
  "char": "p",
395
396
  "summary": "comma-separated list of source file paths to delete",
@@ -1674,8 +1675,8 @@
1674
1675
  },
1675
1676
  "project:manifest:create": {
1676
1677
  "id": "project:manifest:create",
1677
- "summary": "create a project manifest that lists the metadata components you want to deploy or retrieve\nCreate a manifest from a list of metadata components (--metadata) or from one or more local directories that contain source files (--source-path). 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\npackage : package.xml (default)\npre : destructiveChangesPre.xml\npost : destructiveChangesPost.xml\ndestroy : 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.",
1678
- "description": "create a project manifest that lists the metadata components you want to deploy or retrieve\nCreate a manifest from a list of metadata components (--metadata) or from one or more local directories that contain source files (--source-path). 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\npackage : package.xml (default)\npre : destructiveChangesPre.xml\npost : destructiveChangesPost.xml\ndestroy : 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.",
1678
+ "summary": "create a project manifest that lists the metadata components you want to deploy or retrieve\nCreate 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\npackage : package.xml (default)\npre : destructiveChangesPre.xml\npost : destructiveChangesPost.xml\ndestroy : 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
+ "description": "create a project manifest that lists the metadata components you want to deploy or retrieve\nCreate 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\npackage : package.xml (default)\npre : destructiveChangesPre.xml\npost : destructiveChangesPost.xml\ndestroy : 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
1680
  "strict": true,
1680
1681
  "pluginName": "@salesforce/plugin-deploy-retrieve",
1681
1682
  "pluginAlias": "@salesforce/plugin-deploy-retrieve",
@@ -1686,7 +1687,7 @@
1686
1687
  "examples": [
1687
1688
  "$ <%= config.bin %> <%= command.id %> -m ApexClass",
1688
1689
  "$ <%= config.bin %> <%= command.id %> -m ApexClass:MyApexClass --manifest-type destroy",
1689
- "$ <%= config.bin %> <%= command.id %> --source-path force-app --manifest-name myNewManifest",
1690
+ "$ <%= config.bin %> <%= command.id %> --source-dir force-app --manifest-name myNewManifest",
1690
1691
  "$ <%= config.bin %> <%= command.id %> --from-org test@myorg.com --include-packages unlocked"
1691
1692
  ],
1692
1693
  "deprecateAliases": true,
@@ -1728,8 +1729,8 @@
1728
1729
  "deprecateAliases": true,
1729
1730
  "delimiter": ","
1730
1731
  },
1731
- "source-path": {
1732
- "name": "source-path",
1732
+ "source-dir": {
1733
+ "name": "source-dir",
1733
1734
  "type": "option",
1734
1735
  "char": "p",
1735
1736
  "description": "comma-separated list of paths to the local source files to include in the manifest",
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.2",
4
+ "version": "1.8.5-beta.3",
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.12.2",
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.2",
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
- ".eslint*"
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.2.crt",
271
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.8.5-beta.2.sig"
269
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.8.5-beta.3.crt",
270
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.8.5-beta.3.sig"
272
271
  }
273
272
  }