@salesforce/plugin-deploy-retrieve 2.1.2 → 2.1.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.
package/README.md CHANGED
@@ -141,7 +141,7 @@ FLAG DESCRIPTIONS
141
141
  If you specify this parameter, don’t specify --metadata or --source-dir.
142
142
  ```
143
143
 
144
- _See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/convert/mdapi.ts)_
144
+ _See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/convert/mdapi.ts)_
145
145
 
146
146
  ## `sf project convert source`
147
147
 
@@ -153,7 +153,7 @@ USAGE
153
153
  <value> | -m <value>]
154
154
 
155
155
  FLAGS
156
- -d, --output-dir=<value> [default: metadataPackage_1700254237624] Output directory to store the Metadata
156
+ -d, --output-dir=<value> [default: metadataPackage_1700498412279] Output directory to store the Metadata
157
157
  API–formatted files in.
158
158
  -m, --metadata=<value>... Metadata component names to convert.
159
159
  -n, --package-name=<value> Name of the package to associate with the metadata-formatted files.
@@ -213,7 +213,7 @@ FLAG DESCRIPTIONS
213
213
  Override the api version used for api requests made by this command
214
214
  ```
215
215
 
216
- _See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/convert/source.ts)_
216
+ _See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/convert/source.ts)_
217
217
 
218
218
  ## `sf project delete source`
219
219
 
@@ -351,7 +351,7 @@ FLAG DESCRIPTIONS
351
351
  - Separate the test names with spaces: --tests Test1 Test2 "Test With Space"
352
352
  ```
353
353
 
354
- _See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/delete/source.ts)_
354
+ _See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/delete/source.ts)_
355
355
 
356
356
  ## `sf project delete tracking`
357
357
 
@@ -386,7 +386,7 @@ EXAMPLES
386
386
  $ sf project delete tracking --target-org my-scratch
387
387
  ```
388
388
 
389
- _See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/delete/tracking.ts)_
389
+ _See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/delete/tracking.ts)_
390
390
 
391
391
  ## `sf project deploy cancel`
392
392
 
@@ -456,7 +456,7 @@ FLAG DESCRIPTIONS
456
456
  project deploy report".
457
457
  ```
458
458
 
459
- _See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/deploy/cancel.ts)_
459
+ _See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/deploy/cancel.ts)_
460
460
 
461
461
  ## `sf project deploy preview`
462
462
 
@@ -539,7 +539,7 @@ FLAG DESCRIPTIONS
539
539
  All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
540
540
  ```
541
541
 
542
- _See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/deploy/preview.ts)_
542
+ _See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/deploy/preview.ts)_
543
543
 
544
544
  ## `sf project deploy quick`
545
545
 
@@ -623,7 +623,7 @@ FLAG DESCRIPTIONS
623
623
  deploy report".
624
624
  ```
625
625
 
626
- _See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/deploy/quick.ts)_
626
+ _See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/deploy/quick.ts)_
627
627
 
628
628
  ## `sf project deploy report`
629
629
 
@@ -718,7 +718,7 @@ FLAG DESCRIPTIONS
718
718
  --coverage-formatters lcov --coverage-formatters clover
719
719
  ```
720
720
 
721
- _See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/deploy/report.ts)_
721
+ _See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/deploy/report.ts)_
722
722
 
723
723
  ## `sf project deploy resume`
724
724
 
@@ -802,7 +802,7 @@ FLAG DESCRIPTIONS
802
802
  --coverage-formatters lcov --coverage-formatters clover
803
803
  ```
804
804
 
805
- _See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/deploy/resume.ts)_
805
+ _See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/deploy/resume.ts)_
806
806
 
807
807
  ## `sf project deploy start`
808
808
 
@@ -1014,7 +1014,7 @@ FLAG DESCRIPTIONS
1014
1014
  --coverage-formatters lcov --coverage-formatters clover
1015
1015
  ```
1016
1016
 
1017
- _See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/deploy/start.ts)_
1017
+ _See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/deploy/start.ts)_
1018
1018
 
1019
1019
  ## `sf project deploy validate`
1020
1020
 
@@ -1176,7 +1176,7 @@ FLAG DESCRIPTIONS
1176
1176
  --coverage-formatters lcov --coverage-formatters clover
1177
1177
  ```
1178
1178
 
1179
- _See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/deploy/validate.ts)_
1179
+ _See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/deploy/validate.ts)_
1180
1180
 
1181
1181
  ## `sf project generate manifest`
1182
1182
 
@@ -1251,7 +1251,7 @@ EXAMPLES
1251
1251
  $ sf project generate manifest --from-org test@myorg.com --include-packages unlocked
1252
1252
  ```
1253
1253
 
1254
- _See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/generate/manifest.ts)_
1254
+ _See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/generate/manifest.ts)_
1255
1255
 
1256
1256
  ## `sf project list ignored`
1257
1257
 
@@ -1292,7 +1292,7 @@ EXAMPLES
1292
1292
  $ sf project list ignored --source-dir package.xml
1293
1293
  ```
1294
1294
 
1295
- _See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/list/ignored.ts)_
1295
+ _See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/list/ignored.ts)_
1296
1296
 
1297
1297
  ## `sf project reset tracking`
1298
1298
 
@@ -1339,7 +1339,7 @@ EXAMPLES
1339
1339
  $ sf project reset tracking --revision 30
1340
1340
  ```
1341
1341
 
1342
- _See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/reset/tracking.ts)_
1342
+ _See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/reset/tracking.ts)_
1343
1343
 
1344
1344
  ## `sf project retrieve preview`
1345
1345
 
@@ -1394,7 +1394,7 @@ FLAG DESCRIPTIONS
1394
1394
  Overrides your default org.
1395
1395
  ```
1396
1396
 
1397
- _See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/retrieve/preview.ts)_
1397
+ _See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/retrieve/preview.ts)_
1398
1398
 
1399
1399
  ## `sf project retrieve start`
1400
1400
 
@@ -1540,6 +1540,6 @@ FLAG DESCRIPTIONS
1540
1540
  If you specify this parameter, don’t specify --metadata or --source-dir.
1541
1541
  ```
1542
1542
 
1543
- _See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.2/src/commands/project/retrieve/start.ts)_
1543
+ _See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.1.3/src/commands/project/retrieve/start.ts)_
1544
1544
 
1545
1545
  <!-- commandsstop -->
@@ -208,6 +208,22 @@ export class DeployResultFormatter extends TestResultsFormatter {
208
208
  if (this.result.response.status === RequestStatus.Succeeded)
209
209
  return;
210
210
  const failures = this.relativeFiles.filter(isSdrFailure);
211
+ const deployMessages = ensureArray(this.result.response.details?.componentFailures);
212
+ if (deployMessages.length > failures.length) {
213
+ const failureKeySet = new Set(failures.map((f) => makeKey(f.type, f.fullName)));
214
+ // if there's additional failures in the API response, find the failure and add it to the output
215
+ deployMessages
216
+ .filter((m) => !m.componentType || !failureKeySet.has(makeKey(m.componentType, m.fullName)))
217
+ .map((deployMessage) => {
218
+ failures.push({
219
+ fullName: deployMessage.fullName,
220
+ type: deployMessage.componentType ?? 'UNKNOWN',
221
+ state: ComponentStatus.Failed,
222
+ error: deployMessage.problem ?? 'UNKNOWN',
223
+ problemType: deployMessage.problemType ?? 'Error',
224
+ });
225
+ });
226
+ }
211
227
  if (!failures.length)
212
228
  return;
213
229
  const columns = {
@@ -239,4 +255,5 @@ export class DeployResultFormatter extends TestResultsFormatter {
239
255
  ux.table(getFileResponseSuccessProps(deletions), columns, options);
240
256
  }
241
257
  }
258
+ const makeKey = (type, name) => `${type}#${name}`;
242
259
  //# sourceMappingURL=deployResultFormatter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deployResultFormatter.js","sourceRoot":"","sources":["../../src/formatters/deployResultFormatter.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,eAAe,EAA8B,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAChH,OAAO,EAAO,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAY,WAAW,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAEL,gBAAgB,EAEhB,aAAa,GAEd,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAoB,YAAY,EAAE,YAAY,EAAE,SAAS,EAAwB,MAAM,mBAAmB,CAAC;AAClH,OAAO,EACL,oBAAoB,EACpB,4BAA4B,EAC5B,kBAAkB,EAClB,cAAc,EACd,+BAA+B,GAChC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,2BAA2B,EAC3B,KAAK,GACN,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,MAAM,OAAO,qBAAsB,SAAQ,oBAAoB;IAQjD;IACA;IARJ,aAAa,CAAiB;IAC9B,aAAa,CAAiB;IAC9B,eAAe,CAA0B;IACzC,UAAU,CAAS;IACV,KAAK,CAAsB;IAE5C,YACY,MAAoB,EACpB,KASR;QAEF,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QAZX,WAAM,GAAN,MAAM,CAAc;QACpB,UAAK,GAAL,KAAK,CASb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AAE;SAC7B,CAAC;QAEF,MAAM,OAAO,GAAG,EAAE,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;QAC9E,EAAE,CAAC,GAAG,EAAE,CAAC;QAET,EAAE,CAAC,KAAK,CAAC,2BAA2B,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF;AAED,MAAM,OAAO,GAAG,CAAC,IAAY,EAAE,IAAY,EAAU,EAAE,CAAC,GAAG,IAAI,IAAI,IAAI,EAAE,CAAC"}
package/oclif.lock CHANGED
@@ -960,7 +960,7 @@
960
960
  resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
961
961
  integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==
962
962
 
963
- "@salesforce/apex-node@^2.1.0", "@salesforce/apex-node@^2.1.2":
963
+ "@salesforce/apex-node@^2.1.2":
964
964
  version "2.1.2"
965
965
  resolved "https://registry.yarnpkg.com/@salesforce/apex-node/-/apex-node-2.1.2.tgz#f42935b9be6ad7d28b5810ea36a88124789e6f5f"
966
966
  integrity sha512-4ShpuymejVotaK4BYa9h33jc3zj0J9xPV7IIKfTscBTfFHspgPEPaDghTODC+DZMn6TJ1M2nNzRfeHmlF7J2kA==
@@ -1041,10 +1041,10 @@
1041
1041
  resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.1.0.tgz#e529576466d074e7a5f1441236510fef123da01e"
1042
1042
  integrity sha512-2iDDepiIwjXHS5IVY7pwv8jMo4xWosJ7p/UTj+lllpB/gnJiYLhjJPE4Z3FCGFKyvfg5jGaimCd8Ca6bLGsCQA==
1043
1043
 
1044
- "@salesforce/dev-scripts@^7.1.0":
1045
- version "7.1.0"
1046
- resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-7.1.0.tgz#123708d4f494d8b95464b90c28993141986e84bc"
1047
- integrity sha512-79x6QgENORLyCrr9b4MO2pPq8N7d9ILj83vOtAp5NLreAfjZN/c5TEEHuIZKZ3UaO+hkwbtzv3Qs6CyNxiasWA==
1044
+ "@salesforce/dev-scripts@^7.1.1":
1045
+ version "7.1.1"
1046
+ resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-7.1.1.tgz#549b58fb7e8c2410ce594c46f780a0907618f19f"
1047
+ integrity sha512-6SL+QDOMZCnmU4Lu2ZCjqsMRcHw96mnjUOPE7b2HcfmfPo2a/hAYUtv8v7UsZ/+3UPbSf+XsLJfUsF15QIUWrg==
1048
1048
  dependencies:
1049
1049
  "@commitlint/cli" "^17.1.2"
1050
1050
  "@commitlint/config-conventional" "^17.1.0"
@@ -1094,18 +1094,18 @@
1094
1094
  handlebars "^4.7.8"
1095
1095
  tslib "^2"
1096
1096
 
1097
- "@salesforce/plugin-source@^2.11.3":
1098
- version "2.11.3"
1099
- resolved "https://registry.yarnpkg.com/@salesforce/plugin-source/-/plugin-source-2.11.3.tgz#2f559a9588cee5514bb74d1159df215313cf11d4"
1100
- integrity sha512-44F5W0/1laIJtbmwv/oYh7+8+pL51EXX1uy/UlxQxF4+pv1z0gGLNjbyQW/Iw6a2nt/4WLcCxHIG9h9+p4b2gA==
1097
+ "@salesforce/plugin-source@^2.11.4":
1098
+ version "2.11.4"
1099
+ resolved "https://registry.yarnpkg.com/@salesforce/plugin-source/-/plugin-source-2.11.4.tgz#03d8b7fd9787f09ae210d657d2b91fc433be3f90"
1100
+ integrity sha512-geW1y4tAtw0XCUZ4nB4ysIAXPcAHsxKIoAU4f14ygYzIr2N65Vx9jUcY/HgFWHwn1OLHvQRDGaKR7jiMCNesTA==
1101
1101
  dependencies:
1102
- "@oclif/core" "^2.15.0"
1103
- "@salesforce/apex-node" "^2.1.0"
1104
- "@salesforce/core" "^5.3.20"
1102
+ "@oclif/core" "^3.11.0"
1103
+ "@salesforce/apex-node" "^2.1.2"
1104
+ "@salesforce/core" "^6.1.3"
1105
1105
  "@salesforce/kit" "^3.0.15"
1106
- "@salesforce/sf-plugins-core" "^3.1.25"
1107
- "@salesforce/source-deploy-retrieve" "^9.8.5"
1108
- "@salesforce/source-tracking" "^4.4.0"
1106
+ "@salesforce/sf-plugins-core" "^5.0.1"
1107
+ "@salesforce/source-deploy-retrieve" "^10.0.0"
1108
+ "@salesforce/source-tracking" "^5.0.0"
1109
1109
  chalk "^4.1.2"
1110
1110
  got "^11.8.6"
1111
1111
  proxy-agent "^6.3.1"
@@ -1121,7 +1121,7 @@
1121
1121
  resolved "https://registry.yarnpkg.com/@salesforce/schemas/-/schemas-1.6.1.tgz#7d1c071e1e509ca9d2d8a6e48ac7447dd67a534d"
1122
1122
  integrity sha512-eVy947ZMxCJReKJdgfddUIsBIbPTa/i8RwQGwxq4/ss38H5sLOAeSTaun9V7HpJ1hkpDznWKfgzYvjsst9K6ig==
1123
1123
 
1124
- "@salesforce/sf-plugins-core@^3.1.25", "@salesforce/sf-plugins-core@^3.1.28":
1124
+ "@salesforce/sf-plugins-core@^3.1.28":
1125
1125
  version "3.1.28"
1126
1126
  resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-3.1.28.tgz#7714c5b1ce26052bb5cbc524c5990bc52eb601cd"
1127
1127
  integrity sha512-Z1fVS/pqLCX/3ESrjvtzyuvDFwXu8qxjqs5Gana0J7RKkhDL0f7w+pz3DR1/YfQPeHK8rk9pFDOKB3tOnXf9Lw==
@@ -1164,7 +1164,7 @@
1164
1164
  minimatch "^5.1.6"
1165
1165
  proxy-agent "^6.3.1"
1166
1166
 
1167
- "@salesforce/source-deploy-retrieve@^9.8.5", "@salesforce/source-deploy-retrieve@^9.8.6":
1167
+ "@salesforce/source-deploy-retrieve@^9.8.6":
1168
1168
  version "9.8.6"
1169
1169
  resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-9.8.6.tgz#3b9240bc776a44bc740e59acbd86da3072f3efdc"
1170
1170
  integrity sha512-avsfR/hB54ZdSOI3bYdUqRPQbjExKEwAZfsIbs6N1vtidPrc1TSHvloCZhY0Clou+vLgjabIHEHVyQJUln0FKA==
@@ -1198,21 +1198,6 @@
1198
1198
  shelljs "^0.8.4"
1199
1199
  sinon "^10.0.0"
1200
1200
 
1201
- "@salesforce/source-tracking@^4.4.0":
1202
- version "4.4.3"
1203
- resolved "https://registry.yarnpkg.com/@salesforce/source-tracking/-/source-tracking-4.4.3.tgz#3e83f5afd3935650e358410122cf1611f859d1b3"
1204
- integrity sha512-98XA3NKDmIauloX8PUQZ/fjDm/Llm8fW7Ro4U+VwF8zLFi4LQX3+hZPNlY1LesT08YfWmcLMtgek4ycDIrPeyQ==
1205
- dependencies:
1206
- "@oclif/core" "^3.10.8"
1207
- "@salesforce/core" "^5.3.20"
1208
- "@salesforce/kit" "^3.0.15"
1209
- "@salesforce/source-deploy-retrieve" "^9.8.5"
1210
- "@salesforce/ts-types" "^2.0.9"
1211
- fast-xml-parser "^4.2.5"
1212
- graceful-fs "^4.2.11"
1213
- isomorphic-git "1.23.0"
1214
- ts-retry-promise "^0.7.0"
1215
-
1216
1201
  "@salesforce/source-tracking@^5.0.0":
1217
1202
  version "5.0.0"
1218
1203
  resolved "https://registry.yarnpkg.com/@salesforce/source-tracking/-/source-tracking-5.0.0.tgz#54fa3adfc48fb476daac9167125425a5ae9e3986"
@@ -246,7 +246,7 @@
246
246
  "deprecateAliases": true,
247
247
  "name": "output-dir",
248
248
  "summary": "Output directory to store the Metadata API–formatted files in.",
249
- "default": "metadataPackage_1700254402940",
249
+ "default": "metadataPackage_1700509416605",
250
250
  "hasDynamicHelp": false,
251
251
  "multiple": false,
252
252
  "type": "option"
@@ -340,18 +340,16 @@
340
340
  "source:convert:project"
341
341
  ]
342
342
  },
343
- "project:delete:source": {
343
+ "project:deploy:cancel": {
344
344
  "aliases": [
345
- "force:source:delete"
345
+ "deploy:metadata:cancel"
346
346
  ],
347
347
  "args": {},
348
348
  "deprecateAliases": true,
349
- "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, \"<%= config.bin %> project deploy start\".\n\nWhen you run this command, both the local source file and the metadata component in the org are deleted.\n\nTo delete multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir.",
349
+ "description": "Use this command to cancel a deploy operation that hasn't yet completed in the org. Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.\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.",
350
350
  "examples": [
351
- "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",
352
- "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",
353
- "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",
354
- "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"
351
+ "Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
352
+ "Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
355
353
  ],
356
354
  "flags": {
357
355
  "json": {
@@ -361,211 +359,95 @@
361
359
  "allowNo": false,
362
360
  "type": "boolean"
363
361
  },
364
- "api-version": {
365
- "aliases": [
366
- "apiversion"
367
- ],
368
- "deprecateAliases": true,
369
- "description": "Override the api version used for api requests made by this command",
370
- "name": "api-version",
371
- "hasDynamicHelp": false,
372
- "multiple": false,
373
- "type": "option"
374
- },
375
- "loglevel": {
376
- "deprecated": {
377
- "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
378
- },
379
- "hidden": true,
380
- "name": "loglevel",
381
- "hasDynamicHelp": false,
382
- "multiple": false,
383
- "type": "option"
384
- },
385
- "target-org": {
386
- "aliases": [
387
- "targetusername",
388
- "u"
389
- ],
390
- "char": "o",
391
- "deprecateAliases": true,
392
- "name": "target-org",
393
- "noCacheDefault": true,
394
- "required": true,
395
- "summary": "Username or alias of the target org.",
396
- "hasDynamicHelp": true,
397
- "multiple": false,
398
- "type": "option"
399
- },
400
- "check-only": {
401
- "aliases": [
402
- "checkonly"
362
+ "async": {
363
+ "description": "The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
364
+ "exclusive": [
365
+ "wait"
403
366
  ],
404
- "char": "c",
405
- "deprecateAliases": true,
406
- "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.",
407
- "name": "check-only",
408
- "summary": "Validate delete command but don't delete anything from the org or the local project.",
367
+ "name": "async",
368
+ "summary": "Run the command asynchronously.",
409
369
  "allowNo": false,
410
370
  "type": "boolean"
411
371
  },
412
- "wait": {
413
- "char": "w",
414
- "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
415
- "name": "wait",
416
- "summary": "Number of minutes to wait for the command to finish.",
417
- "default": {
418
- "quantity": 33,
419
- "unit": 0
420
- },
421
- "hasDynamicHelp": false,
422
- "multiple": false,
423
- "type": "option"
424
- },
425
- "tests": {
426
- "description": "If a test name contains a space, enclose it in double quotes.\nFor multiple test names, use one of the following formats:\n\n- Repeat the flag for multiple test names: --tests Test1 --tests Test2 --tests \"Test With Space\"\n- Separate the test names with spaces: --tests Test1 Test2 \"Test With Space\"",
427
- "helpGroup": "Test",
428
- "name": "tests",
429
- "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
430
- "hasDynamicHelp": false,
431
- "multiple": true,
432
- "type": "option"
433
- },
434
- "test-level": {
435
- "aliases": [
436
- "testlevel"
437
- ],
438
- "char": "l",
439
- "deprecateAliases": true,
440
- "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 --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 and target org. For more information, see “Running Tests in a Deployment” in the Metadata API Developer Guide.",
441
- "helpGroup": "Test",
442
- "name": "test-level",
443
- "summary": "Deployment Apex testing level.",
372
+ "job-id": {
373
+ "char": "i",
374
+ "description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- <%= config.bin %> project deploy start\n- <%= config.bin %> project deploy validate\n- <%= config.bin %> project deploy quick\n- <%= config.bin %> project deploy cancel\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
375
+ "name": "job-id",
376
+ "summary": "Job ID of the deploy operation you want to cancel.",
444
377
  "hasDynamicHelp": false,
445
378
  "multiple": false,
446
- "options": [
447
- "NoTestRun",
448
- "RunSpecifiedTests",
449
- "RunLocalTests",
450
- "RunAllTestsInOrg"
451
- ],
452
379
  "type": "option"
453
380
  },
454
- "no-prompt": {
455
- "aliases": [
456
- "noprompt"
457
- ],
381
+ "use-most-recent": {
458
382
  "char": "r",
459
- "deprecateAliases": true,
460
- "name": "no-prompt",
461
- "summary": "Don't prompt for delete confirmation.",
383
+ "description": "For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less. If your most recent deploy operations was more than 3 days ago, this flag won't find a job ID.",
384
+ "name": "use-most-recent",
385
+ "summary": "Use the job ID of the most recent deploy operation.",
462
386
  "allowNo": false,
463
387
  "type": "boolean"
464
388
  },
465
- "metadata": {
466
- "char": "m",
467
- "description": "If you specify this parameter, don’t specify --source-dir.",
468
- "name": "metadata",
469
- "summary": "Metadata components to delete.",
470
- "delimiter": ",",
471
- "hasDynamicHelp": false,
472
- "multiple": true,
473
- "type": "option"
474
- },
475
- "source-dir": {
476
- "aliases": [
477
- "sourcepath"
389
+ "wait": {
390
+ "char": "w",
391
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
392
+ "exclusive": [
393
+ "async"
478
394
  ],
479
- "char": "p",
480
- "deprecateAliases": true,
481
- "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.",
482
- "name": "source-dir",
483
- "summary": "Source file paths to delete.",
484
- "delimiter": ",",
395
+ "name": "wait",
396
+ "summary": "Number of minutes to wait for the command to complete and display results.",
485
397
  "hasDynamicHelp": false,
486
- "multiple": true,
398
+ "helpValue": "<minutes>",
399
+ "multiple": false,
487
400
  "type": "option"
488
- },
489
- "track-source": {
490
- "aliases": [
491
- "tracksource"
492
- ],
493
- "char": "t",
494
- "deprecateAliases": true,
495
- "exclusive": [
496
- "check-only"
497
- ],
498
- "name": "track-source",
499
- "summary": "If the delete succeeds, update the source tracking information.",
500
- "allowNo": false,
501
- "type": "boolean"
502
- },
503
- "force-overwrite": {
504
- "aliases": [
505
- "forceoverwrite"
506
- ],
507
- "char": "f",
508
- "dependsOn": [
509
- "track-source"
510
- ],
511
- "deprecateAliases": true,
512
- "name": "force-overwrite",
513
- "summary": "Ignore conflict warnings and overwrite changes to the org.",
514
- "allowNo": false,
515
- "type": "boolean"
516
- },
517
- "verbose": {
518
- "name": "verbose",
519
- "summary": "Verbose output of the delete result.",
520
- "allowNo": false,
521
- "type": "boolean"
522
401
  }
523
402
  },
524
- "hasDynamicHelp": true,
403
+ "hasDynamicHelp": false,
525
404
  "hiddenAliases": [],
526
- "id": "project:delete:source",
405
+ "id": "project:deploy:cancel",
527
406
  "pluginAlias": "@salesforce/plugin-deploy-retrieve",
528
407
  "pluginName": "@salesforce/plugin-deploy-retrieve",
529
408
  "pluginType": "core",
530
409
  "strict": true,
531
- "summary": "Delete source from your project and from a non-source-tracked org.",
410
+ "summary": "Cancel a deploy operation.",
532
411
  "enableJsonFlag": true,
533
412
  "SF_ENV": "SF_ENV",
534
- "requiresProject": true,
535
413
  "isESM": true,
536
414
  "relativePath": [
537
415
  "lib",
538
416
  "commands",
539
417
  "project",
540
- "delete",
541
- "source.js"
418
+ "deploy",
419
+ "cancel.js"
542
420
  ],
543
421
  "aliasPermutations": [
544
- "force:source:delete",
545
- "source:force:delete",
546
- "source:delete:force",
547
- "force:delete:source",
548
- "delete:force:source",
549
- "delete:source:force"
422
+ "deploy:metadata:cancel",
423
+ "metadata:deploy:cancel",
424
+ "metadata:cancel:deploy",
425
+ "deploy:cancel:metadata",
426
+ "cancel:deploy:metadata",
427
+ "cancel:metadata:deploy"
550
428
  ],
551
429
  "permutations": [
552
- "project:delete:source",
553
- "delete:project:source",
554
- "delete:source:project",
555
- "project:source:delete",
556
- "source:project:delete",
557
- "source:delete:project"
430
+ "project:deploy:cancel",
431
+ "deploy:project:cancel",
432
+ "deploy:cancel:project",
433
+ "project:cancel:deploy",
434
+ "cancel:project:deploy",
435
+ "cancel:deploy:project"
558
436
  ]
559
437
  },
560
- "project:delete:tracking": {
438
+ "project:deploy:preview": {
561
439
  "aliases": [
562
- "force:source:tracking:clear"
440
+ "deploy:metadata:preview"
563
441
  ],
564
442
  "args": {},
565
443
  "deprecateAliases": true,
566
- "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.",
444
+ "description": "You must run this command from within a project.\n\nThe command outputs a table that describes what will happen if you run the \"<%= config.bin %> project deploy start\" command. The table lists the metadata components that will be deployed and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be deployed because they're included in your .forceignore file.\n\nIf your org allows source tracking, then this command displays potential conflicts between the org and your local project. Some orgs, such as production org, never allow source tracking. Source tracking is enabled by default on scratch and sandbox orgs; you can disable source tracking when you create the orgs by specifying the --no-track-source flag on the \"<%= config.bin %> org create scratch|sandbox\" commands.\n\nTo preview the deployment of multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir.",
567
445
  "examples": [
568
- "Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
446
+ "NOTE: The commands to preview a deployment and actually deploy it use similar flags. We provide a few preview examples here, but see the help for \"<%= config.bin %> project deploy start\" for more examples that you can adapt for previewing.",
447
+ "Preview the deployment of source files in a directory, such as force-app, to your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
448
+ "Preview the deployment of all Apex classes to an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
449
+ "Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
450
+ "Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
569
451
  ],
570
452
  "flags": {
571
453
  "json": {
@@ -575,242 +457,23 @@
575
457
  "allowNo": false,
576
458
  "type": "boolean"
577
459
  },
578
- "api-version": {
579
- "aliases": [
580
- "apiversion"
460
+ "ignore-conflicts": {
461
+ "char": "c",
462
+ "description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
463
+ "name": "ignore-conflicts",
464
+ "summary": "Don't display conflicts in preview of the deployment.",
465
+ "allowNo": false,
466
+ "type": "boolean"
467
+ },
468
+ "manifest": {
469
+ "char": "x",
470
+ "description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
471
+ "exclusive": [
472
+ "source-dir",
473
+ "metadata"
581
474
  ],
582
- "deprecateAliases": true,
583
- "description": "Override the api version used for api requests made by this command",
584
- "name": "api-version",
585
- "hasDynamicHelp": false,
586
- "multiple": false,
587
- "type": "option"
588
- },
589
- "loglevel": {
590
- "deprecated": {
591
- "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
592
- },
593
- "hidden": true,
594
- "name": "loglevel",
595
- "hasDynamicHelp": false,
596
- "multiple": false,
597
- "type": "option"
598
- },
599
- "target-org": {
600
- "aliases": [
601
- "targetusername",
602
- "u"
603
- ],
604
- "char": "o",
605
- "deprecateAliases": true,
606
- "name": "target-org",
607
- "noCacheDefault": true,
608
- "required": true,
609
- "summary": "Username or alias of the target org.",
610
- "hasDynamicHelp": true,
611
- "multiple": false,
612
- "type": "option"
613
- },
614
- "no-prompt": {
615
- "aliases": [
616
- "noprompt"
617
- ],
618
- "char": "p",
619
- "deprecateAliases": true,
620
- "name": "no-prompt",
621
- "summary": "Don't prompt for source tracking override confirmation.",
622
- "allowNo": false,
623
- "type": "boolean"
624
- }
625
- },
626
- "hasDynamicHelp": true,
627
- "hiddenAliases": [],
628
- "id": "project:delete:tracking",
629
- "pluginAlias": "@salesforce/plugin-deploy-retrieve",
630
- "pluginName": "@salesforce/plugin-deploy-retrieve",
631
- "pluginType": "core",
632
- "strict": true,
633
- "summary": "Delete all local source tracking information.",
634
- "enableJsonFlag": true,
635
- "SF_ENV": "SF_ENV",
636
- "requiresProject": true,
637
- "isESM": true,
638
- "relativePath": [
639
- "lib",
640
- "commands",
641
- "project",
642
- "delete",
643
- "tracking.js"
644
- ],
645
- "aliasPermutations": [
646
- "force:source:tracking:clear",
647
- "source:force:tracking:clear",
648
- "source:tracking:force:clear",
649
- "source:tracking:clear:force",
650
- "force:tracking:source:clear",
651
- "tracking:force:source:clear",
652
- "tracking:source:force:clear",
653
- "tracking:source:clear:force",
654
- "force:tracking:clear:source",
655
- "tracking:force:clear:source",
656
- "tracking:clear:force:source",
657
- "tracking:clear:source:force",
658
- "force:source:clear:tracking",
659
- "source:force:clear:tracking",
660
- "source:clear:force:tracking",
661
- "source:clear:tracking:force",
662
- "force:clear:source:tracking",
663
- "clear:force:source:tracking",
664
- "clear:source:force:tracking",
665
- "clear:source:tracking:force",
666
- "force:clear:tracking:source",
667
- "clear:force:tracking:source",
668
- "clear:tracking:force:source",
669
- "clear:tracking:source:force"
670
- ],
671
- "permutations": [
672
- "project:delete:tracking",
673
- "delete:project:tracking",
674
- "delete:tracking:project",
675
- "project:tracking:delete",
676
- "tracking:project:delete",
677
- "tracking:delete:project"
678
- ]
679
- },
680
- "project:deploy:cancel": {
681
- "aliases": [
682
- "deploy:metadata:cancel"
683
- ],
684
- "args": {},
685
- "deprecateAliases": true,
686
- "description": "Use this command to cancel a deploy operation that hasn't yet completed in the org. Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.\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.",
687
- "examples": [
688
- "Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
689
- "Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
690
- ],
691
- "flags": {
692
- "json": {
693
- "description": "Format output as json.",
694
- "helpGroup": "GLOBAL",
695
- "name": "json",
696
- "allowNo": false,
697
- "type": "boolean"
698
- },
699
- "async": {
700
- "description": "The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
701
- "exclusive": [
702
- "wait"
703
- ],
704
- "name": "async",
705
- "summary": "Run the command asynchronously.",
706
- "allowNo": false,
707
- "type": "boolean"
708
- },
709
- "job-id": {
710
- "char": "i",
711
- "description": "These commands return a job ID if they time out or you specified the --async flag:\n\n- <%= config.bin %> project deploy start\n- <%= config.bin %> project deploy validate\n- <%= config.bin %> project deploy quick\n- <%= config.bin %> project deploy cancel\n\nThe job ID is valid for 10 days from when you started the deploy operation.",
712
- "name": "job-id",
713
- "summary": "Job ID of the deploy operation you want to cancel.",
714
- "hasDynamicHelp": false,
715
- "multiple": false,
716
- "type": "option"
717
- },
718
- "use-most-recent": {
719
- "char": "r",
720
- "description": "For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less. If your most recent deploy operations was more than 3 days ago, this flag won't find a job ID.",
721
- "name": "use-most-recent",
722
- "summary": "Use the job ID of the most recent deploy operation.",
723
- "allowNo": false,
724
- "type": "boolean"
725
- },
726
- "wait": {
727
- "char": "w",
728
- "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the cancellation, run \"<%= config.bin %> project deploy resume\". To check the status of the cancellation, run \"<%= config.bin %> project deploy report\".",
729
- "exclusive": [
730
- "async"
731
- ],
732
- "name": "wait",
733
- "summary": "Number of minutes to wait for the command to complete and display results.",
734
- "hasDynamicHelp": false,
735
- "helpValue": "<minutes>",
736
- "multiple": false,
737
- "type": "option"
738
- }
739
- },
740
- "hasDynamicHelp": false,
741
- "hiddenAliases": [],
742
- "id": "project:deploy:cancel",
743
- "pluginAlias": "@salesforce/plugin-deploy-retrieve",
744
- "pluginName": "@salesforce/plugin-deploy-retrieve",
745
- "pluginType": "core",
746
- "strict": true,
747
- "summary": "Cancel a deploy operation.",
748
- "enableJsonFlag": true,
749
- "SF_ENV": "SF_ENV",
750
- "isESM": true,
751
- "relativePath": [
752
- "lib",
753
- "commands",
754
- "project",
755
- "deploy",
756
- "cancel.js"
757
- ],
758
- "aliasPermutations": [
759
- "deploy:metadata:cancel",
760
- "metadata:deploy:cancel",
761
- "metadata:cancel:deploy",
762
- "deploy:cancel:metadata",
763
- "cancel:deploy:metadata",
764
- "cancel:metadata:deploy"
765
- ],
766
- "permutations": [
767
- "project:deploy:cancel",
768
- "deploy:project:cancel",
769
- "deploy:cancel:project",
770
- "project:cancel:deploy",
771
- "cancel:project:deploy",
772
- "cancel:deploy:project"
773
- ]
774
- },
775
- "project:deploy:preview": {
776
- "aliases": [
777
- "deploy:metadata:preview"
778
- ],
779
- "args": {},
780
- "deprecateAliases": true,
781
- "description": "You must run this command from within a project.\n\nThe command outputs a table that describes what will happen if you run the \"<%= config.bin %> project deploy start\" command. The table lists the metadata components that will be deployed and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be deployed because they're included in your .forceignore file.\n\nIf your org allows source tracking, then this command displays potential conflicts between the org and your local project. Some orgs, such as production org, never allow source tracking. Source tracking is enabled by default on scratch and sandbox orgs; you can disable source tracking when you create the orgs by specifying the --no-track-source flag on the \"<%= config.bin %> org create scratch|sandbox\" commands.\n\nTo preview the deployment of multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir.",
782
- "examples": [
783
- "NOTE: The commands to preview a deployment and actually deploy it use similar flags. We provide a few preview examples here, but see the help for \"<%= config.bin %> project deploy start\" for more examples that you can adapt for previewing.",
784
- "Preview the deployment of source files in a directory, such as force-app, to your default org:\n<%= config.bin %> <%= command.id %> --source-dir force-app",
785
- "Preview the deployment of all Apex classes to an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch",
786
- "Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
787
- "Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
788
- ],
789
- "flags": {
790
- "json": {
791
- "description": "Format output as json.",
792
- "helpGroup": "GLOBAL",
793
- "name": "json",
794
- "allowNo": false,
795
- "type": "boolean"
796
- },
797
- "ignore-conflicts": {
798
- "char": "c",
799
- "description": "This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.",
800
- "name": "ignore-conflicts",
801
- "summary": "Don't display conflicts in preview of the deployment.",
802
- "allowNo": false,
803
- "type": "boolean"
804
- },
805
- "manifest": {
806
- "char": "x",
807
- "description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
808
- "exclusive": [
809
- "source-dir",
810
- "metadata"
811
- ],
812
- "name": "manifest",
813
- "summary": "Full file path for manifest (package.xml) of components to preview.",
475
+ "name": "manifest",
476
+ "summary": "Full file path for manifest (package.xml) of components to preview.",
814
477
  "hasDynamicHelp": false,
815
478
  "multiple": false,
816
479
  "type": "option"
@@ -2120,6 +1783,343 @@
2120
1783
  "validate:deploy:project"
2121
1784
  ]
2122
1785
  },
1786
+ "project:delete:source": {
1787
+ "aliases": [
1788
+ "force:source:delete"
1789
+ ],
1790
+ "args": {},
1791
+ "deprecateAliases": true,
1792
+ "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, \"<%= config.bin %> project deploy start\".\n\nWhen you run this command, both the local source file and the metadata component in the org are deleted.\n\nTo delete multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir.",
1793
+ "examples": [
1794
+ "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",
1795
+ "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",
1796
+ "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",
1797
+ "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"
1798
+ ],
1799
+ "flags": {
1800
+ "json": {
1801
+ "description": "Format output as json.",
1802
+ "helpGroup": "GLOBAL",
1803
+ "name": "json",
1804
+ "allowNo": false,
1805
+ "type": "boolean"
1806
+ },
1807
+ "api-version": {
1808
+ "aliases": [
1809
+ "apiversion"
1810
+ ],
1811
+ "deprecateAliases": true,
1812
+ "description": "Override the api version used for api requests made by this command",
1813
+ "name": "api-version",
1814
+ "hasDynamicHelp": false,
1815
+ "multiple": false,
1816
+ "type": "option"
1817
+ },
1818
+ "loglevel": {
1819
+ "deprecated": {
1820
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
1821
+ },
1822
+ "hidden": true,
1823
+ "name": "loglevel",
1824
+ "hasDynamicHelp": false,
1825
+ "multiple": false,
1826
+ "type": "option"
1827
+ },
1828
+ "target-org": {
1829
+ "aliases": [
1830
+ "targetusername",
1831
+ "u"
1832
+ ],
1833
+ "char": "o",
1834
+ "deprecateAliases": true,
1835
+ "name": "target-org",
1836
+ "noCacheDefault": true,
1837
+ "required": true,
1838
+ "summary": "Username or alias of the target org.",
1839
+ "hasDynamicHelp": true,
1840
+ "multiple": false,
1841
+ "type": "option"
1842
+ },
1843
+ "check-only": {
1844
+ "aliases": [
1845
+ "checkonly"
1846
+ ],
1847
+ "char": "c",
1848
+ "deprecateAliases": true,
1849
+ "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.",
1850
+ "name": "check-only",
1851
+ "summary": "Validate delete command but don't delete anything from the org or the local project.",
1852
+ "allowNo": false,
1853
+ "type": "boolean"
1854
+ },
1855
+ "wait": {
1856
+ "char": "w",
1857
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
1858
+ "name": "wait",
1859
+ "summary": "Number of minutes to wait for the command to finish.",
1860
+ "default": {
1861
+ "quantity": 33,
1862
+ "unit": 0
1863
+ },
1864
+ "hasDynamicHelp": false,
1865
+ "multiple": false,
1866
+ "type": "option"
1867
+ },
1868
+ "tests": {
1869
+ "description": "If a test name contains a space, enclose it in double quotes.\nFor multiple test names, use one of the following formats:\n\n- Repeat the flag for multiple test names: --tests Test1 --tests Test2 --tests \"Test With Space\"\n- Separate the test names with spaces: --tests Test1 Test2 \"Test With Space\"",
1870
+ "helpGroup": "Test",
1871
+ "name": "tests",
1872
+ "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
1873
+ "hasDynamicHelp": false,
1874
+ "multiple": true,
1875
+ "type": "option"
1876
+ },
1877
+ "test-level": {
1878
+ "aliases": [
1879
+ "testlevel"
1880
+ ],
1881
+ "char": "l",
1882
+ "deprecateAliases": true,
1883
+ "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 --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 and target org. For more information, see “Running Tests in a Deployment” in the Metadata API Developer Guide.",
1884
+ "helpGroup": "Test",
1885
+ "name": "test-level",
1886
+ "summary": "Deployment Apex testing level.",
1887
+ "hasDynamicHelp": false,
1888
+ "multiple": false,
1889
+ "options": [
1890
+ "NoTestRun",
1891
+ "RunSpecifiedTests",
1892
+ "RunLocalTests",
1893
+ "RunAllTestsInOrg"
1894
+ ],
1895
+ "type": "option"
1896
+ },
1897
+ "no-prompt": {
1898
+ "aliases": [
1899
+ "noprompt"
1900
+ ],
1901
+ "char": "r",
1902
+ "deprecateAliases": true,
1903
+ "name": "no-prompt",
1904
+ "summary": "Don't prompt for delete confirmation.",
1905
+ "allowNo": false,
1906
+ "type": "boolean"
1907
+ },
1908
+ "metadata": {
1909
+ "char": "m",
1910
+ "description": "If you specify this parameter, don’t specify --source-dir.",
1911
+ "name": "metadata",
1912
+ "summary": "Metadata components to delete.",
1913
+ "delimiter": ",",
1914
+ "hasDynamicHelp": false,
1915
+ "multiple": true,
1916
+ "type": "option"
1917
+ },
1918
+ "source-dir": {
1919
+ "aliases": [
1920
+ "sourcepath"
1921
+ ],
1922
+ "char": "p",
1923
+ "deprecateAliases": true,
1924
+ "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.",
1925
+ "name": "source-dir",
1926
+ "summary": "Source file paths to delete.",
1927
+ "delimiter": ",",
1928
+ "hasDynamicHelp": false,
1929
+ "multiple": true,
1930
+ "type": "option"
1931
+ },
1932
+ "track-source": {
1933
+ "aliases": [
1934
+ "tracksource"
1935
+ ],
1936
+ "char": "t",
1937
+ "deprecateAliases": true,
1938
+ "exclusive": [
1939
+ "check-only"
1940
+ ],
1941
+ "name": "track-source",
1942
+ "summary": "If the delete succeeds, update the source tracking information.",
1943
+ "allowNo": false,
1944
+ "type": "boolean"
1945
+ },
1946
+ "force-overwrite": {
1947
+ "aliases": [
1948
+ "forceoverwrite"
1949
+ ],
1950
+ "char": "f",
1951
+ "dependsOn": [
1952
+ "track-source"
1953
+ ],
1954
+ "deprecateAliases": true,
1955
+ "name": "force-overwrite",
1956
+ "summary": "Ignore conflict warnings and overwrite changes to the org.",
1957
+ "allowNo": false,
1958
+ "type": "boolean"
1959
+ },
1960
+ "verbose": {
1961
+ "name": "verbose",
1962
+ "summary": "Verbose output of the delete result.",
1963
+ "allowNo": false,
1964
+ "type": "boolean"
1965
+ }
1966
+ },
1967
+ "hasDynamicHelp": true,
1968
+ "hiddenAliases": [],
1969
+ "id": "project:delete:source",
1970
+ "pluginAlias": "@salesforce/plugin-deploy-retrieve",
1971
+ "pluginName": "@salesforce/plugin-deploy-retrieve",
1972
+ "pluginType": "core",
1973
+ "strict": true,
1974
+ "summary": "Delete source from your project and from a non-source-tracked org.",
1975
+ "enableJsonFlag": true,
1976
+ "SF_ENV": "SF_ENV",
1977
+ "requiresProject": true,
1978
+ "isESM": true,
1979
+ "relativePath": [
1980
+ "lib",
1981
+ "commands",
1982
+ "project",
1983
+ "delete",
1984
+ "source.js"
1985
+ ],
1986
+ "aliasPermutations": [
1987
+ "force:source:delete",
1988
+ "source:force:delete",
1989
+ "source:delete:force",
1990
+ "force:delete:source",
1991
+ "delete:force:source",
1992
+ "delete:source:force"
1993
+ ],
1994
+ "permutations": [
1995
+ "project:delete:source",
1996
+ "delete:project:source",
1997
+ "delete:source:project",
1998
+ "project:source:delete",
1999
+ "source:project:delete",
2000
+ "source:delete:project"
2001
+ ]
2002
+ },
2003
+ "project:delete:tracking": {
2004
+ "aliases": [
2005
+ "force:source:tracking:clear"
2006
+ ],
2007
+ "args": {},
2008
+ "deprecateAliases": true,
2009
+ "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.",
2010
+ "examples": [
2011
+ "Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
2012
+ ],
2013
+ "flags": {
2014
+ "json": {
2015
+ "description": "Format output as json.",
2016
+ "helpGroup": "GLOBAL",
2017
+ "name": "json",
2018
+ "allowNo": false,
2019
+ "type": "boolean"
2020
+ },
2021
+ "api-version": {
2022
+ "aliases": [
2023
+ "apiversion"
2024
+ ],
2025
+ "deprecateAliases": true,
2026
+ "description": "Override the api version used for api requests made by this command",
2027
+ "name": "api-version",
2028
+ "hasDynamicHelp": false,
2029
+ "multiple": false,
2030
+ "type": "option"
2031
+ },
2032
+ "loglevel": {
2033
+ "deprecated": {
2034
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
2035
+ },
2036
+ "hidden": true,
2037
+ "name": "loglevel",
2038
+ "hasDynamicHelp": false,
2039
+ "multiple": false,
2040
+ "type": "option"
2041
+ },
2042
+ "target-org": {
2043
+ "aliases": [
2044
+ "targetusername",
2045
+ "u"
2046
+ ],
2047
+ "char": "o",
2048
+ "deprecateAliases": true,
2049
+ "name": "target-org",
2050
+ "noCacheDefault": true,
2051
+ "required": true,
2052
+ "summary": "Username or alias of the target org.",
2053
+ "hasDynamicHelp": true,
2054
+ "multiple": false,
2055
+ "type": "option"
2056
+ },
2057
+ "no-prompt": {
2058
+ "aliases": [
2059
+ "noprompt"
2060
+ ],
2061
+ "char": "p",
2062
+ "deprecateAliases": true,
2063
+ "name": "no-prompt",
2064
+ "summary": "Don't prompt for source tracking override confirmation.",
2065
+ "allowNo": false,
2066
+ "type": "boolean"
2067
+ }
2068
+ },
2069
+ "hasDynamicHelp": true,
2070
+ "hiddenAliases": [],
2071
+ "id": "project:delete:tracking",
2072
+ "pluginAlias": "@salesforce/plugin-deploy-retrieve",
2073
+ "pluginName": "@salesforce/plugin-deploy-retrieve",
2074
+ "pluginType": "core",
2075
+ "strict": true,
2076
+ "summary": "Delete all local source tracking information.",
2077
+ "enableJsonFlag": true,
2078
+ "SF_ENV": "SF_ENV",
2079
+ "requiresProject": true,
2080
+ "isESM": true,
2081
+ "relativePath": [
2082
+ "lib",
2083
+ "commands",
2084
+ "project",
2085
+ "delete",
2086
+ "tracking.js"
2087
+ ],
2088
+ "aliasPermutations": [
2089
+ "force:source:tracking:clear",
2090
+ "source:force:tracking:clear",
2091
+ "source:tracking:force:clear",
2092
+ "source:tracking:clear:force",
2093
+ "force:tracking:source:clear",
2094
+ "tracking:force:source:clear",
2095
+ "tracking:source:force:clear",
2096
+ "tracking:source:clear:force",
2097
+ "force:tracking:clear:source",
2098
+ "tracking:force:clear:source",
2099
+ "tracking:clear:force:source",
2100
+ "tracking:clear:source:force",
2101
+ "force:source:clear:tracking",
2102
+ "source:force:clear:tracking",
2103
+ "source:clear:force:tracking",
2104
+ "source:clear:tracking:force",
2105
+ "force:clear:source:tracking",
2106
+ "clear:force:source:tracking",
2107
+ "clear:source:force:tracking",
2108
+ "clear:source:tracking:force",
2109
+ "force:clear:tracking:source",
2110
+ "clear:force:tracking:source",
2111
+ "clear:tracking:force:source",
2112
+ "clear:tracking:source:force"
2113
+ ],
2114
+ "permutations": [
2115
+ "project:delete:tracking",
2116
+ "delete:project:tracking",
2117
+ "delete:tracking:project",
2118
+ "project:tracking:delete",
2119
+ "tracking:project:delete",
2120
+ "tracking:delete:project"
2121
+ ]
2122
+ },
2123
2123
  "project:generate:manifest": {
2124
2124
  "aliases": [
2125
2125
  "force:source:manifest:create"
@@ -2862,5 +2862,5 @@
2862
2862
  ]
2863
2863
  }
2864
2864
  },
2865
- "version": "2.1.2"
2865
+ "version": "2.1.3"
2866
2866
  }
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": "2.1.2",
4
+ "version": "2.1.3",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -17,9 +17,9 @@
17
17
  "devDependencies": {
18
18
  "@oclif/plugin-command-snapshot": "^5.0.2",
19
19
  "@salesforce/cli-plugins-testkit": "^5.0.4",
20
- "@salesforce/dev-scripts": "^7.1.0",
20
+ "@salesforce/dev-scripts": "^7.1.1",
21
21
  "@salesforce/plugin-command-reference": "^3.0.46",
22
- "@salesforce/plugin-source": "^2.11.3",
22
+ "@salesforce/plugin-source": "^2.11.4",
23
23
  "@salesforce/source-testkit": "^2.1.65",
24
24
  "@salesforce/ts-sinon": "^1.4.19",
25
25
  "@salesforce/ts-types": "^2.0.9",
@@ -241,7 +241,7 @@
241
241
  "exports": "./lib/index.js",
242
242
  "type": "module",
243
243
  "sfdx": {
244
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/2.1.2.crt",
245
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/2.1.2.sig"
244
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/2.1.3.crt",
245
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/2.1.3.sig"
246
246
  }
247
247
  }