@salesforce/plugin-deploy-retrieve 3.6.12 → 3.6.14

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
@@ -140,7 +140,7 @@ FLAG DESCRIPTIONS
140
140
  If you specify this parameter, don’t specify --metadata or --source-dir.
141
141
  ```
142
142
 
143
- _See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/convert/mdapi.ts)_
143
+ _See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/convert/mdapi.ts)_
144
144
 
145
145
  ## `sf project convert source`
146
146
 
@@ -152,7 +152,7 @@ USAGE
152
152
  [-p <value> | -x <value> | -m <value>]
153
153
 
154
154
  FLAGS
155
- -d, --output-dir=<value> [default: metadataPackage_1715027845934] Output directory to store the Metadata
155
+ -d, --output-dir=<value> [default: metadataPackage_1715395449835] Output directory to store the Metadata
156
156
  API–formatted files in.
157
157
  -m, --metadata=<value>... Metadata component names to convert.
158
158
  -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/3.6.12/src/commands/project/convert/source.ts)_
216
+ _See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/convert/source.ts)_
217
217
 
218
218
  ## `sf project delete source`
219
219
 
@@ -353,7 +353,7 @@ FLAG DESCRIPTIONS
353
353
  - Separate the test names with spaces: --tests Test1 Test2 "Test With Space"
354
354
  ```
355
355
 
356
- _See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/delete/source.ts)_
356
+ _See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/delete/source.ts)_
357
357
 
358
358
  ## `sf project delete tracking`
359
359
 
@@ -390,7 +390,7 @@ EXAMPLES
390
390
  $ sf project delete tracking --target-org my-scratch
391
391
  ```
392
392
 
393
- _See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/delete/tracking.ts)_
393
+ _See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/delete/tracking.ts)_
394
394
 
395
395
  ## `sf project deploy cancel`
396
396
 
@@ -466,7 +466,7 @@ FLAG DESCRIPTIONS
466
466
  project deploy report".
467
467
  ```
468
468
 
469
- _See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/deploy/cancel.ts)_
469
+ _See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/deploy/cancel.ts)_
470
470
 
471
471
  ## `sf project deploy preview`
472
472
 
@@ -552,7 +552,7 @@ FLAG DESCRIPTIONS
552
552
  All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
553
553
  ```
554
554
 
555
- _See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/deploy/preview.ts)_
555
+ _See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/deploy/preview.ts)_
556
556
 
557
557
  ## `sf project deploy quick`
558
558
 
@@ -640,7 +640,7 @@ FLAG DESCRIPTIONS
640
640
  deploy report".
641
641
  ```
642
642
 
643
- _See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/deploy/quick.ts)_
643
+ _See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/deploy/quick.ts)_
644
644
 
645
645
  ## `sf project deploy report`
646
646
 
@@ -736,7 +736,7 @@ FLAG DESCRIPTIONS
736
736
  --coverage-formatters lcov --coverage-formatters clover
737
737
  ```
738
738
 
739
- _See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/deploy/report.ts)_
739
+ _See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/deploy/report.ts)_
740
740
 
741
741
  ## `sf project deploy resume`
742
742
 
@@ -821,7 +821,7 @@ FLAG DESCRIPTIONS
821
821
  --coverage-formatters lcov --coverage-formatters clover
822
822
  ```
823
823
 
824
- _See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/deploy/resume.ts)_
824
+ _See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/deploy/resume.ts)_
825
825
 
826
826
  ## `sf project deploy start`
827
827
 
@@ -1042,7 +1042,7 @@ FLAG DESCRIPTIONS
1042
1042
  --coverage-formatters lcov --coverage-formatters clover
1043
1043
  ```
1044
1044
 
1045
- _See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/deploy/start.ts)_
1045
+ _See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/deploy/start.ts)_
1046
1046
 
1047
1047
  ## `sf project deploy validate`
1048
1048
 
@@ -1217,7 +1217,7 @@ FLAG DESCRIPTIONS
1217
1217
  --coverage-formatters lcov --coverage-formatters clover
1218
1218
  ```
1219
1219
 
1220
- _See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/deploy/validate.ts)_
1220
+ _See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/deploy/validate.ts)_
1221
1221
 
1222
1222
  ## `sf project generate manifest`
1223
1223
 
@@ -1294,7 +1294,7 @@ EXAMPLES
1294
1294
  $ sf project generate manifest --from-org test@myorg.com --include-packages unlocked
1295
1295
  ```
1296
1296
 
1297
- _See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/generate/manifest.ts)_
1297
+ _See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/generate/manifest.ts)_
1298
1298
 
1299
1299
  ## `sf project list ignored`
1300
1300
 
@@ -1336,7 +1336,7 @@ EXAMPLES
1336
1336
  $ sf project list ignored --source-dir package.xml
1337
1337
  ```
1338
1338
 
1339
- _See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/list/ignored.ts)_
1339
+ _See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/list/ignored.ts)_
1340
1340
 
1341
1341
  ## `sf project reset tracking`
1342
1342
 
@@ -1385,7 +1385,7 @@ EXAMPLES
1385
1385
  $ sf project reset tracking --revision 30
1386
1386
  ```
1387
1387
 
1388
- _See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/reset/tracking.ts)_
1388
+ _See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/reset/tracking.ts)_
1389
1389
 
1390
1390
  ## `sf project retrieve preview`
1391
1391
 
@@ -1442,7 +1442,7 @@ FLAG DESCRIPTIONS
1442
1442
  Overrides your default org.
1443
1443
  ```
1444
1444
 
1445
- _See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/retrieve/preview.ts)_
1445
+ _See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/retrieve/preview.ts)_
1446
1446
 
1447
1447
  ## `sf project retrieve start`
1448
1448
 
@@ -1593,6 +1593,6 @@ FLAG DESCRIPTIONS
1593
1593
  If you specify this parameter, don’t specify --metadata or --source-dir.
1594
1594
  ```
1595
1595
 
1596
- _See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.12/src/commands/project/retrieve/start.ts)_
1596
+ _See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.6.14/src/commands/project/retrieve/start.ts)_
1597
1597
 
1598
1598
  <!-- commandsstop -->
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-deploy-retrieve",
3
- "version": "3.6.12",
3
+ "version": "3.6.14",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-deploy-retrieve",
9
- "version": "3.6.12",
9
+ "version": "3.6.14",
10
10
  "license": "BSD-3-Clause",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^3.26.5",
@@ -15,7 +15,7 @@
15
15
  "@salesforce/kit": "^3.1.1",
16
16
  "@salesforce/plugin-info": "^3.2.7",
17
17
  "@salesforce/sf-plugins-core": "^9.0.7",
18
- "@salesforce/source-deploy-retrieve": "^11.4.0",
18
+ "@salesforce/source-deploy-retrieve": "^11.4.3",
19
19
  "@salesforce/source-tracking": "^6.0.4",
20
20
  "@salesforce/ts-types": "^2.0.9",
21
21
  "chalk": "^5.3.0"
@@ -3386,12 +3386,12 @@
3386
3386
  }
3387
3387
  },
3388
3388
  "node_modules/@salesforce/source-deploy-retrieve": {
3389
- "version": "11.4.0",
3390
- "resolved": "https://registry.npmjs.org/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-11.4.0.tgz",
3391
- "integrity": "sha512-9r6eb2N1i3n1Sr4SWzDje8a8blD3k49kMSRLX1rPTpEtmcvFTs76JlVn1IJeIyK3hXtvNyb6UA/6+EClsr853A==",
3389
+ "version": "11.4.3",
3390
+ "resolved": "https://registry.npmjs.org/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-11.4.3.tgz",
3391
+ "integrity": "sha512-/WFSqf+yTO3kNM41r/duVEHGH2Eq18lavX/o/yA0hJEmxAYBV7Olv6JIMnbly8hZQo7LoX/nE0LnNK3JYphZQQ==",
3392
3392
  "license": "BSD-3-Clause",
3393
3393
  "dependencies": {
3394
- "@salesforce/core": "^7.3.1",
3394
+ "@salesforce/core": "^7.3.5",
3395
3395
  "@salesforce/kit": "^3.1.1",
3396
3396
  "@salesforce/ts-types": "^2.0.9",
3397
3397
  "fast-levenshtein": "^3.0.0",
package/oclif.lock CHANGED
@@ -1537,12 +1537,12 @@
1537
1537
  "@salesforce/ts-types" "^2.0.9"
1538
1538
  chalk "^5.3.0"
1539
1539
 
1540
- "@salesforce/source-deploy-retrieve@^11.0.1", "@salesforce/source-deploy-retrieve@^11.3.0", "@salesforce/source-deploy-retrieve@^11.4.0":
1541
- version "11.4.0"
1542
- resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-11.4.0.tgz#b174f168d41ec3a15a3454732da09e8d7672a576"
1543
- integrity sha512-9r6eb2N1i3n1Sr4SWzDje8a8blD3k49kMSRLX1rPTpEtmcvFTs76JlVn1IJeIyK3hXtvNyb6UA/6+EClsr853A==
1540
+ "@salesforce/source-deploy-retrieve@^11.0.1", "@salesforce/source-deploy-retrieve@^11.3.0", "@salesforce/source-deploy-retrieve@^11.4.3":
1541
+ version "11.4.3"
1542
+ resolved "https://registry.yarnpkg.com/@salesforce/source-deploy-retrieve/-/source-deploy-retrieve-11.4.3.tgz#57ff91f5f0021804b268002362a695489f34ac5a"
1543
+ integrity sha512-/WFSqf+yTO3kNM41r/duVEHGH2Eq18lavX/o/yA0hJEmxAYBV7Olv6JIMnbly8hZQo7LoX/nE0LnNK3JYphZQQ==
1544
1544
  dependencies:
1545
- "@salesforce/core" "^7.3.1"
1545
+ "@salesforce/core" "^7.3.5"
1546
1546
  "@salesforce/kit" "^3.1.1"
1547
1547
  "@salesforce/ts-types" "^2.0.9"
1548
1548
  fast-levenshtein "^3.0.0"
@@ -7158,7 +7158,16 @@ srcset@^5.0.0:
7158
7158
  resolved "https://registry.yarnpkg.com/srcset/-/srcset-5.0.0.tgz#9df6c3961b5b44a02532ce6ae4544832609e2e3f"
7159
7159
  integrity sha512-SqEZaAEhe0A6ETEa9O1IhSPC7MdvehZtCnTR0AftXk3QhY2UNgb+NApFOUPZILXk/YTDfFxMTNJOBpzrJsEdIA==
7160
7160
 
7161
- "string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
7161
+ "string-width-cjs@npm:string-width@^4.2.0":
7162
+ version "4.2.3"
7163
+ resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
7164
+ integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
7165
+ dependencies:
7166
+ emoji-regex "^8.0.0"
7167
+ is-fullwidth-code-point "^3.0.0"
7168
+ strip-ansi "^6.0.1"
7169
+
7170
+ string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
7162
7171
  version "4.2.3"
7163
7172
  resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
7164
7173
  integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -7217,7 +7226,14 @@ string_decoder@~1.1.1:
7217
7226
  dependencies:
7218
7227
  safe-buffer "~5.1.0"
7219
7228
 
7220
- "strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
7229
+ "strip-ansi-cjs@npm:strip-ansi@^6.0.1":
7230
+ version "6.0.1"
7231
+ resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
7232
+ integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
7233
+ dependencies:
7234
+ ansi-regex "^5.0.1"
7235
+
7236
+ strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
7221
7237
  version "6.0.1"
7222
7238
  resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
7223
7239
  integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -7755,7 +7771,7 @@ workerpool@6.2.1:
7755
7771
  resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343"
7756
7772
  integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==
7757
7773
 
7758
- "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
7774
+ "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
7759
7775
  version "7.0.0"
7760
7776
  resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
7761
7777
  integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -7773,6 +7789,15 @@ wrap-ansi@^6.2.0:
7773
7789
  string-width "^4.1.0"
7774
7790
  strip-ansi "^6.0.0"
7775
7791
 
7792
+ wrap-ansi@^7.0.0:
7793
+ version "7.0.0"
7794
+ resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
7795
+ integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
7796
+ dependencies:
7797
+ ansi-styles "^4.0.0"
7798
+ string-width "^4.1.0"
7799
+ strip-ansi "^6.0.0"
7800
+
7776
7801
  wrap-ansi@^8.1.0:
7777
7802
  version "8.1.0"
7778
7803
  resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"
@@ -218,7 +218,7 @@
218
218
  "deprecateAliases": true,
219
219
  "name": "output-dir",
220
220
  "summary": "Output directory to store the Metadata API–formatted files in.",
221
- "default": "metadataPackage_1715028059123",
221
+ "default": "metadataPackage_1715395651550",
222
222
  "hasDynamicHelp": false,
223
223
  "multiple": false,
224
224
  "type": "option"
@@ -311,18 +311,16 @@
311
311
  "source:convert:project"
312
312
  ]
313
313
  },
314
- "project:delete:source": {
314
+ "project:deploy:cancel": {
315
315
  "aliases": [
316
- "force:source:delete"
316
+ "deploy:metadata:cancel"
317
317
  ],
318
318
  "args": {},
319
319
  "deprecateAliases": true,
320
- "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.",
320
+ "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.",
321
321
  "examples": [
322
- "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",
323
- "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",
324
- "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",
325
- "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"
322
+ "Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
323
+ "Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
326
324
  ],
327
325
  "flags": {
328
326
  "json": {
@@ -340,206 +338,104 @@
340
338
  "multiple": false,
341
339
  "type": "option"
342
340
  },
343
- "api-version": {
344
- "aliases": [
345
- "apiversion"
346
- ],
347
- "deprecateAliases": true,
348
- "description": "Override the api version used for api requests made by this command",
349
- "name": "api-version",
350
- "hasDynamicHelp": false,
351
- "multiple": false,
352
- "type": "option"
353
- },
354
- "loglevel": {
355
- "deprecated": {
356
- "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."
357
- },
358
- "hidden": true,
359
- "name": "loglevel",
360
- "hasDynamicHelp": false,
361
- "multiple": false,
362
- "type": "option"
363
- },
364
341
  "target-org": {
365
- "aliases": [
366
- "targetusername",
367
- "u"
368
- ],
369
342
  "char": "o",
370
- "deprecateAliases": true,
343
+ "description": "Overrides your default org.",
371
344
  "name": "target-org",
372
345
  "noCacheDefault": true,
373
- "required": true,
374
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
346
+ "summary": "Login username or alias for the target org.",
375
347
  "hasDynamicHelp": true,
376
348
  "multiple": false,
377
349
  "type": "option"
378
350
  },
379
- "check-only": {
380
- "aliases": [
381
- "checkonly"
351
+ "async": {
352
+ "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\".",
353
+ "exclusive": [
354
+ "wait"
382
355
  ],
383
- "char": "c",
384
- "deprecateAliases": true,
385
- "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.",
386
- "name": "check-only",
387
- "summary": "Validate delete command but don't delete anything from the org or the local project.",
356
+ "name": "async",
357
+ "summary": "Run the command asynchronously.",
388
358
  "allowNo": false,
389
359
  "type": "boolean"
390
360
  },
391
- "wait": {
392
- "char": "w",
393
- "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
394
- "name": "wait",
395
- "summary": "Number of minutes to wait for the command to finish.",
396
- "hasDynamicHelp": true,
397
- "multiple": false,
398
- "type": "option"
399
- },
400
- "tests": {
401
- "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\"",
402
- "helpGroup": "Test",
403
- "name": "tests",
404
- "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
405
- "hasDynamicHelp": false,
406
- "multiple": true,
407
- "type": "option"
408
- },
409
- "test-level": {
410
- "aliases": [
411
- "testlevel"
412
- ],
413
- "char": "l",
414
- "deprecateAliases": true,
415
- "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.",
416
- "helpGroup": "Test",
417
- "name": "test-level",
418
- "summary": "Deployment Apex testing level.",
361
+ "job-id": {
362
+ "char": "i",
363
+ "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.",
364
+ "name": "job-id",
365
+ "summary": "Job ID of the deploy operation you want to cancel.",
419
366
  "hasDynamicHelp": false,
420
367
  "multiple": false,
421
- "options": [
422
- "NoTestRun",
423
- "RunSpecifiedTests",
424
- "RunLocalTests",
425
- "RunAllTestsInOrg"
426
- ],
427
368
  "type": "option"
428
369
  },
429
- "no-prompt": {
430
- "aliases": [
431
- "noprompt"
432
- ],
370
+ "use-most-recent": {
433
371
  "char": "r",
434
- "deprecateAliases": true,
435
- "name": "no-prompt",
436
- "summary": "Don't prompt for delete confirmation.",
372
+ "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.",
373
+ "name": "use-most-recent",
374
+ "summary": "Use the job ID of the most recent deploy operation.",
437
375
  "allowNo": false,
438
376
  "type": "boolean"
439
377
  },
440
- "metadata": {
441
- "char": "m",
442
- "description": "If you specify this parameter, don’t specify --source-dir.",
443
- "name": "metadata",
444
- "summary": "Metadata components to delete.",
445
- "delimiter": ",",
446
- "hasDynamicHelp": false,
447
- "multiple": true,
448
- "type": "option"
449
- },
450
- "source-dir": {
451
- "aliases": [
452
- "sourcepath"
453
- ],
454
- "char": "p",
455
- "deprecateAliases": true,
456
- "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.",
457
- "name": "source-dir",
458
- "summary": "Source file paths to delete.",
459
- "delimiter": ",",
460
- "hasDynamicHelp": false,
461
- "multiple": true,
462
- "type": "option"
463
- },
464
- "track-source": {
465
- "aliases": [
466
- "tracksource"
467
- ],
468
- "char": "t",
469
- "deprecateAliases": true,
378
+ "wait": {
379
+ "char": "w",
380
+ "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\".",
470
381
  "exclusive": [
471
- "check-only"
472
- ],
473
- "name": "track-source",
474
- "summary": "If the delete succeeds, update the source tracking information.",
475
- "allowNo": false,
476
- "type": "boolean"
477
- },
478
- "force-overwrite": {
479
- "aliases": [
480
- "forceoverwrite"
481
- ],
482
- "char": "f",
483
- "dependsOn": [
484
- "track-source"
382
+ "async"
485
383
  ],
486
- "deprecateAliases": true,
487
- "name": "force-overwrite",
488
- "summary": "Ignore conflict warnings and overwrite changes to the org.",
489
- "allowNo": false,
490
- "type": "boolean"
491
- },
492
- "verbose": {
493
- "name": "verbose",
494
- "summary": "Verbose output of the delete result.",
495
- "allowNo": false,
496
- "type": "boolean"
384
+ "name": "wait",
385
+ "summary": "Number of minutes to wait for the command to complete and display results.",
386
+ "hasDynamicHelp": true,
387
+ "helpValue": "<minutes>",
388
+ "multiple": false,
389
+ "type": "option"
497
390
  }
498
391
  },
499
392
  "hasDynamicHelp": true,
500
393
  "hiddenAliases": [],
501
- "id": "project:delete:source",
394
+ "id": "project:deploy:cancel",
502
395
  "pluginAlias": "@salesforce/plugin-deploy-retrieve",
503
396
  "pluginName": "@salesforce/plugin-deploy-retrieve",
504
397
  "pluginType": "core",
505
398
  "strict": true,
506
- "summary": "Delete source from your project and from a non-source-tracked org.",
399
+ "summary": "Cancel a deploy operation.",
507
400
  "enableJsonFlag": true,
508
- "requiresProject": true,
509
401
  "isESM": true,
510
402
  "relativePath": [
511
403
  "lib",
512
404
  "commands",
513
405
  "project",
514
- "delete",
515
- "source.js"
406
+ "deploy",
407
+ "cancel.js"
516
408
  ],
517
409
  "aliasPermutations": [
518
- "force:source:delete",
519
- "source:force:delete",
520
- "source:delete:force",
521
- "force:delete:source",
522
- "delete:force:source",
523
- "delete:source:force"
410
+ "deploy:metadata:cancel",
411
+ "metadata:deploy:cancel",
412
+ "metadata:cancel:deploy",
413
+ "deploy:cancel:metadata",
414
+ "cancel:deploy:metadata",
415
+ "cancel:metadata:deploy"
524
416
  ],
525
417
  "permutations": [
526
- "project:delete:source",
527
- "delete:project:source",
528
- "delete:source:project",
529
- "project:source:delete",
530
- "source:project:delete",
531
- "source:delete:project"
418
+ "project:deploy:cancel",
419
+ "deploy:project:cancel",
420
+ "deploy:cancel:project",
421
+ "project:cancel:deploy",
422
+ "cancel:project:deploy",
423
+ "cancel:deploy:project"
532
424
  ]
533
425
  },
534
- "project:delete:tracking": {
426
+ "project:deploy:preview": {
535
427
  "aliases": [
536
- "force:source:tracking:clear"
428
+ "deploy:metadata:preview"
537
429
  ],
538
430
  "args": {},
539
431
  "deprecateAliases": true,
540
- "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.",
432
+ "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.",
541
433
  "examples": [
542
- "Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
434
+ "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.",
435
+ "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",
436
+ "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",
437
+ "Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
438
+ "Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
543
439
  ],
544
440
  "flags": {
545
441
  "json": {
@@ -557,280 +453,37 @@
557
453
  "multiple": false,
558
454
  "type": "option"
559
455
  },
560
- "api-version": {
561
- "aliases": [
562
- "apiversion"
456
+ "ignore-conflicts": {
457
+ "char": "c",
458
+ "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.",
459
+ "name": "ignore-conflicts",
460
+ "summary": "Don't display conflicts in preview of the deployment.",
461
+ "allowNo": false,
462
+ "type": "boolean"
463
+ },
464
+ "manifest": {
465
+ "char": "x",
466
+ "description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
467
+ "exclusive": [
468
+ "source-dir",
469
+ "metadata"
563
470
  ],
564
- "deprecateAliases": true,
565
- "description": "Override the api version used for api requests made by this command",
566
- "name": "api-version",
471
+ "name": "manifest",
472
+ "summary": "Full file path for manifest (package.xml) of components to preview.",
567
473
  "hasDynamicHelp": false,
568
474
  "multiple": false,
569
475
  "type": "option"
570
476
  },
571
- "loglevel": {
572
- "deprecated": {
573
- "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."
574
- },
575
- "hidden": true,
576
- "name": "loglevel",
477
+ "metadata": {
478
+ "char": "m",
479
+ "exclusive": [
480
+ "manifest",
481
+ "source-dir"
482
+ ],
483
+ "name": "metadata",
484
+ "summary": "Metadata component names to preview.",
577
485
  "hasDynamicHelp": false,
578
- "multiple": false,
579
- "type": "option"
580
- },
581
- "target-org": {
582
- "aliases": [
583
- "targetusername",
584
- "u"
585
- ],
586
- "char": "o",
587
- "deprecateAliases": true,
588
- "name": "target-org",
589
- "noCacheDefault": true,
590
- "required": true,
591
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
592
- "hasDynamicHelp": true,
593
- "multiple": false,
594
- "type": "option"
595
- },
596
- "no-prompt": {
597
- "aliases": [
598
- "noprompt"
599
- ],
600
- "char": "p",
601
- "deprecateAliases": true,
602
- "name": "no-prompt",
603
- "summary": "Don't prompt for source tracking override confirmation.",
604
- "allowNo": false,
605
- "type": "boolean"
606
- }
607
- },
608
- "hasDynamicHelp": true,
609
- "hiddenAliases": [],
610
- "id": "project:delete:tracking",
611
- "pluginAlias": "@salesforce/plugin-deploy-retrieve",
612
- "pluginName": "@salesforce/plugin-deploy-retrieve",
613
- "pluginType": "core",
614
- "strict": true,
615
- "summary": "Delete all local source tracking information.",
616
- "enableJsonFlag": true,
617
- "requiresProject": true,
618
- "isESM": true,
619
- "relativePath": [
620
- "lib",
621
- "commands",
622
- "project",
623
- "delete",
624
- "tracking.js"
625
- ],
626
- "aliasPermutations": [
627
- "force:source:tracking:clear",
628
- "source:force:tracking:clear",
629
- "source:tracking:force:clear",
630
- "source:tracking:clear:force",
631
- "force:tracking:source:clear",
632
- "tracking:force:source:clear",
633
- "tracking:source:force:clear",
634
- "tracking:source:clear:force",
635
- "force:tracking:clear:source",
636
- "tracking:force:clear:source",
637
- "tracking:clear:force:source",
638
- "tracking:clear:source:force",
639
- "force:source:clear:tracking",
640
- "source:force:clear:tracking",
641
- "source:clear:force:tracking",
642
- "source:clear:tracking:force",
643
- "force:clear:source:tracking",
644
- "clear:force:source:tracking",
645
- "clear:source:force:tracking",
646
- "clear:source:tracking:force",
647
- "force:clear:tracking:source",
648
- "clear:force:tracking:source",
649
- "clear:tracking:force:source",
650
- "clear:tracking:source:force"
651
- ],
652
- "permutations": [
653
- "project:delete:tracking",
654
- "delete:project:tracking",
655
- "delete:tracking:project",
656
- "project:tracking:delete",
657
- "tracking:project:delete",
658
- "tracking:delete:project"
659
- ]
660
- },
661
- "project:deploy:cancel": {
662
- "aliases": [
663
- "deploy:metadata:cancel"
664
- ],
665
- "args": {},
666
- "deprecateAliases": true,
667
- "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.",
668
- "examples": [
669
- "Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
670
- "Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
671
- ],
672
- "flags": {
673
- "json": {
674
- "description": "Format output as json.",
675
- "helpGroup": "GLOBAL",
676
- "name": "json",
677
- "allowNo": false,
678
- "type": "boolean"
679
- },
680
- "flags-dir": {
681
- "helpGroup": "GLOBAL",
682
- "name": "flags-dir",
683
- "summary": "Import flag values from a directory.",
684
- "hasDynamicHelp": false,
685
- "multiple": false,
686
- "type": "option"
687
- },
688
- "target-org": {
689
- "char": "o",
690
- "description": "Overrides your default org.",
691
- "name": "target-org",
692
- "noCacheDefault": true,
693
- "summary": "Login username or alias for the target org.",
694
- "hasDynamicHelp": true,
695
- "multiple": false,
696
- "type": "option"
697
- },
698
- "async": {
699
- "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\".",
700
- "exclusive": [
701
- "wait"
702
- ],
703
- "name": "async",
704
- "summary": "Run the command asynchronously.",
705
- "allowNo": false,
706
- "type": "boolean"
707
- },
708
- "job-id": {
709
- "char": "i",
710
- "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.",
711
- "name": "job-id",
712
- "summary": "Job ID of the deploy operation you want to cancel.",
713
- "hasDynamicHelp": false,
714
- "multiple": false,
715
- "type": "option"
716
- },
717
- "use-most-recent": {
718
- "char": "r",
719
- "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.",
720
- "name": "use-most-recent",
721
- "summary": "Use the job ID of the most recent deploy operation.",
722
- "allowNo": false,
723
- "type": "boolean"
724
- },
725
- "wait": {
726
- "char": "w",
727
- "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\".",
728
- "exclusive": [
729
- "async"
730
- ],
731
- "name": "wait",
732
- "summary": "Number of minutes to wait for the command to complete and display results.",
733
- "hasDynamicHelp": true,
734
- "helpValue": "<minutes>",
735
- "multiple": false,
736
- "type": "option"
737
- }
738
- },
739
- "hasDynamicHelp": true,
740
- "hiddenAliases": [],
741
- "id": "project:deploy:cancel",
742
- "pluginAlias": "@salesforce/plugin-deploy-retrieve",
743
- "pluginName": "@salesforce/plugin-deploy-retrieve",
744
- "pluginType": "core",
745
- "strict": true,
746
- "summary": "Cancel a deploy operation.",
747
- "enableJsonFlag": true,
748
- "isESM": true,
749
- "relativePath": [
750
- "lib",
751
- "commands",
752
- "project",
753
- "deploy",
754
- "cancel.js"
755
- ],
756
- "aliasPermutations": [
757
- "deploy:metadata:cancel",
758
- "metadata:deploy:cancel",
759
- "metadata:cancel:deploy",
760
- "deploy:cancel:metadata",
761
- "cancel:deploy:metadata",
762
- "cancel:metadata:deploy"
763
- ],
764
- "permutations": [
765
- "project:deploy:cancel",
766
- "deploy:project:cancel",
767
- "deploy:cancel:project",
768
- "project:cancel:deploy",
769
- "cancel:project:deploy",
770
- "cancel:deploy:project"
771
- ]
772
- },
773
- "project:deploy:preview": {
774
- "aliases": [
775
- "deploy:metadata:preview"
776
- ],
777
- "args": {},
778
- "deprecateAliases": true,
779
- "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.",
780
- "examples": [
781
- "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.",
782
- "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",
783
- "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",
784
- "Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
785
- "Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
786
- ],
787
- "flags": {
788
- "json": {
789
- "description": "Format output as json.",
790
- "helpGroup": "GLOBAL",
791
- "name": "json",
792
- "allowNo": false,
793
- "type": "boolean"
794
- },
795
- "flags-dir": {
796
- "helpGroup": "GLOBAL",
797
- "name": "flags-dir",
798
- "summary": "Import flag values from a directory.",
799
- "hasDynamicHelp": false,
800
- "multiple": false,
801
- "type": "option"
802
- },
803
- "ignore-conflicts": {
804
- "char": "c",
805
- "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.",
806
- "name": "ignore-conflicts",
807
- "summary": "Don't display conflicts in preview of the deployment.",
808
- "allowNo": false,
809
- "type": "boolean"
810
- },
811
- "manifest": {
812
- "char": "x",
813
- "description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
814
- "exclusive": [
815
- "source-dir",
816
- "metadata"
817
- ],
818
- "name": "manifest",
819
- "summary": "Full file path for manifest (package.xml) of components to preview.",
820
- "hasDynamicHelp": false,
821
- "multiple": false,
822
- "type": "option"
823
- },
824
- "metadata": {
825
- "char": "m",
826
- "exclusive": [
827
- "manifest",
828
- "source-dir"
829
- ],
830
- "name": "metadata",
831
- "summary": "Metadata component names to preview.",
832
- "hasDynamicHelp": false,
833
- "multiple": true,
486
+ "multiple": true,
834
487
  "type": "option"
835
488
  },
836
489
  "source-dir": {
@@ -2156,6 +1809,353 @@
2156
1809
  "validate:deploy:project"
2157
1810
  ]
2158
1811
  },
1812
+ "project:delete:source": {
1813
+ "aliases": [
1814
+ "force:source:delete"
1815
+ ],
1816
+ "args": {},
1817
+ "deprecateAliases": true,
1818
+ "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.",
1819
+ "examples": [
1820
+ "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",
1821
+ "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",
1822
+ "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",
1823
+ "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"
1824
+ ],
1825
+ "flags": {
1826
+ "json": {
1827
+ "description": "Format output as json.",
1828
+ "helpGroup": "GLOBAL",
1829
+ "name": "json",
1830
+ "allowNo": false,
1831
+ "type": "boolean"
1832
+ },
1833
+ "flags-dir": {
1834
+ "helpGroup": "GLOBAL",
1835
+ "name": "flags-dir",
1836
+ "summary": "Import flag values from a directory.",
1837
+ "hasDynamicHelp": false,
1838
+ "multiple": false,
1839
+ "type": "option"
1840
+ },
1841
+ "api-version": {
1842
+ "aliases": [
1843
+ "apiversion"
1844
+ ],
1845
+ "deprecateAliases": true,
1846
+ "description": "Override the api version used for api requests made by this command",
1847
+ "name": "api-version",
1848
+ "hasDynamicHelp": false,
1849
+ "multiple": false,
1850
+ "type": "option"
1851
+ },
1852
+ "loglevel": {
1853
+ "deprecated": {
1854
+ "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."
1855
+ },
1856
+ "hidden": true,
1857
+ "name": "loglevel",
1858
+ "hasDynamicHelp": false,
1859
+ "multiple": false,
1860
+ "type": "option"
1861
+ },
1862
+ "target-org": {
1863
+ "aliases": [
1864
+ "targetusername",
1865
+ "u"
1866
+ ],
1867
+ "char": "o",
1868
+ "deprecateAliases": true,
1869
+ "name": "target-org",
1870
+ "noCacheDefault": true,
1871
+ "required": true,
1872
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1873
+ "hasDynamicHelp": true,
1874
+ "multiple": false,
1875
+ "type": "option"
1876
+ },
1877
+ "check-only": {
1878
+ "aliases": [
1879
+ "checkonly"
1880
+ ],
1881
+ "char": "c",
1882
+ "deprecateAliases": true,
1883
+ "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.",
1884
+ "name": "check-only",
1885
+ "summary": "Validate delete command but don't delete anything from the org or the local project.",
1886
+ "allowNo": false,
1887
+ "type": "boolean"
1888
+ },
1889
+ "wait": {
1890
+ "char": "w",
1891
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
1892
+ "name": "wait",
1893
+ "summary": "Number of minutes to wait for the command to finish.",
1894
+ "hasDynamicHelp": true,
1895
+ "multiple": false,
1896
+ "type": "option"
1897
+ },
1898
+ "tests": {
1899
+ "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\"",
1900
+ "helpGroup": "Test",
1901
+ "name": "tests",
1902
+ "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
1903
+ "hasDynamicHelp": false,
1904
+ "multiple": true,
1905
+ "type": "option"
1906
+ },
1907
+ "test-level": {
1908
+ "aliases": [
1909
+ "testlevel"
1910
+ ],
1911
+ "char": "l",
1912
+ "deprecateAliases": true,
1913
+ "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.",
1914
+ "helpGroup": "Test",
1915
+ "name": "test-level",
1916
+ "summary": "Deployment Apex testing level.",
1917
+ "hasDynamicHelp": false,
1918
+ "multiple": false,
1919
+ "options": [
1920
+ "NoTestRun",
1921
+ "RunSpecifiedTests",
1922
+ "RunLocalTests",
1923
+ "RunAllTestsInOrg"
1924
+ ],
1925
+ "type": "option"
1926
+ },
1927
+ "no-prompt": {
1928
+ "aliases": [
1929
+ "noprompt"
1930
+ ],
1931
+ "char": "r",
1932
+ "deprecateAliases": true,
1933
+ "name": "no-prompt",
1934
+ "summary": "Don't prompt for delete confirmation.",
1935
+ "allowNo": false,
1936
+ "type": "boolean"
1937
+ },
1938
+ "metadata": {
1939
+ "char": "m",
1940
+ "description": "If you specify this parameter, don’t specify --source-dir.",
1941
+ "name": "metadata",
1942
+ "summary": "Metadata components to delete.",
1943
+ "delimiter": ",",
1944
+ "hasDynamicHelp": false,
1945
+ "multiple": true,
1946
+ "type": "option"
1947
+ },
1948
+ "source-dir": {
1949
+ "aliases": [
1950
+ "sourcepath"
1951
+ ],
1952
+ "char": "p",
1953
+ "deprecateAliases": true,
1954
+ "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.",
1955
+ "name": "source-dir",
1956
+ "summary": "Source file paths to delete.",
1957
+ "delimiter": ",",
1958
+ "hasDynamicHelp": false,
1959
+ "multiple": true,
1960
+ "type": "option"
1961
+ },
1962
+ "track-source": {
1963
+ "aliases": [
1964
+ "tracksource"
1965
+ ],
1966
+ "char": "t",
1967
+ "deprecateAliases": true,
1968
+ "exclusive": [
1969
+ "check-only"
1970
+ ],
1971
+ "name": "track-source",
1972
+ "summary": "If the delete succeeds, update the source tracking information.",
1973
+ "allowNo": false,
1974
+ "type": "boolean"
1975
+ },
1976
+ "force-overwrite": {
1977
+ "aliases": [
1978
+ "forceoverwrite"
1979
+ ],
1980
+ "char": "f",
1981
+ "dependsOn": [
1982
+ "track-source"
1983
+ ],
1984
+ "deprecateAliases": true,
1985
+ "name": "force-overwrite",
1986
+ "summary": "Ignore conflict warnings and overwrite changes to the org.",
1987
+ "allowNo": false,
1988
+ "type": "boolean"
1989
+ },
1990
+ "verbose": {
1991
+ "name": "verbose",
1992
+ "summary": "Verbose output of the delete result.",
1993
+ "allowNo": false,
1994
+ "type": "boolean"
1995
+ }
1996
+ },
1997
+ "hasDynamicHelp": true,
1998
+ "hiddenAliases": [],
1999
+ "id": "project:delete:source",
2000
+ "pluginAlias": "@salesforce/plugin-deploy-retrieve",
2001
+ "pluginName": "@salesforce/plugin-deploy-retrieve",
2002
+ "pluginType": "core",
2003
+ "strict": true,
2004
+ "summary": "Delete source from your project and from a non-source-tracked org.",
2005
+ "enableJsonFlag": true,
2006
+ "requiresProject": true,
2007
+ "isESM": true,
2008
+ "relativePath": [
2009
+ "lib",
2010
+ "commands",
2011
+ "project",
2012
+ "delete",
2013
+ "source.js"
2014
+ ],
2015
+ "aliasPermutations": [
2016
+ "force:source:delete",
2017
+ "source:force:delete",
2018
+ "source:delete:force",
2019
+ "force:delete:source",
2020
+ "delete:force:source",
2021
+ "delete:source:force"
2022
+ ],
2023
+ "permutations": [
2024
+ "project:delete:source",
2025
+ "delete:project:source",
2026
+ "delete:source:project",
2027
+ "project:source:delete",
2028
+ "source:project:delete",
2029
+ "source:delete:project"
2030
+ ]
2031
+ },
2032
+ "project:delete:tracking": {
2033
+ "aliases": [
2034
+ "force:source:tracking:clear"
2035
+ ],
2036
+ "args": {},
2037
+ "deprecateAliases": true,
2038
+ "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.",
2039
+ "examples": [
2040
+ "Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
2041
+ ],
2042
+ "flags": {
2043
+ "json": {
2044
+ "description": "Format output as json.",
2045
+ "helpGroup": "GLOBAL",
2046
+ "name": "json",
2047
+ "allowNo": false,
2048
+ "type": "boolean"
2049
+ },
2050
+ "flags-dir": {
2051
+ "helpGroup": "GLOBAL",
2052
+ "name": "flags-dir",
2053
+ "summary": "Import flag values from a directory.",
2054
+ "hasDynamicHelp": false,
2055
+ "multiple": false,
2056
+ "type": "option"
2057
+ },
2058
+ "api-version": {
2059
+ "aliases": [
2060
+ "apiversion"
2061
+ ],
2062
+ "deprecateAliases": true,
2063
+ "description": "Override the api version used for api requests made by this command",
2064
+ "name": "api-version",
2065
+ "hasDynamicHelp": false,
2066
+ "multiple": false,
2067
+ "type": "option"
2068
+ },
2069
+ "loglevel": {
2070
+ "deprecated": {
2071
+ "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."
2072
+ },
2073
+ "hidden": true,
2074
+ "name": "loglevel",
2075
+ "hasDynamicHelp": false,
2076
+ "multiple": false,
2077
+ "type": "option"
2078
+ },
2079
+ "target-org": {
2080
+ "aliases": [
2081
+ "targetusername",
2082
+ "u"
2083
+ ],
2084
+ "char": "o",
2085
+ "deprecateAliases": true,
2086
+ "name": "target-org",
2087
+ "noCacheDefault": true,
2088
+ "required": true,
2089
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2090
+ "hasDynamicHelp": true,
2091
+ "multiple": false,
2092
+ "type": "option"
2093
+ },
2094
+ "no-prompt": {
2095
+ "aliases": [
2096
+ "noprompt"
2097
+ ],
2098
+ "char": "p",
2099
+ "deprecateAliases": true,
2100
+ "name": "no-prompt",
2101
+ "summary": "Don't prompt for source tracking override confirmation.",
2102
+ "allowNo": false,
2103
+ "type": "boolean"
2104
+ }
2105
+ },
2106
+ "hasDynamicHelp": true,
2107
+ "hiddenAliases": [],
2108
+ "id": "project:delete:tracking",
2109
+ "pluginAlias": "@salesforce/plugin-deploy-retrieve",
2110
+ "pluginName": "@salesforce/plugin-deploy-retrieve",
2111
+ "pluginType": "core",
2112
+ "strict": true,
2113
+ "summary": "Delete all local source tracking information.",
2114
+ "enableJsonFlag": true,
2115
+ "requiresProject": true,
2116
+ "isESM": true,
2117
+ "relativePath": [
2118
+ "lib",
2119
+ "commands",
2120
+ "project",
2121
+ "delete",
2122
+ "tracking.js"
2123
+ ],
2124
+ "aliasPermutations": [
2125
+ "force:source:tracking:clear",
2126
+ "source:force:tracking:clear",
2127
+ "source:tracking:force:clear",
2128
+ "source:tracking:clear:force",
2129
+ "force:tracking:source:clear",
2130
+ "tracking:force:source:clear",
2131
+ "tracking:source:force:clear",
2132
+ "tracking:source:clear:force",
2133
+ "force:tracking:clear:source",
2134
+ "tracking:force:clear:source",
2135
+ "tracking:clear:force:source",
2136
+ "tracking:clear:source:force",
2137
+ "force:source:clear:tracking",
2138
+ "source:force:clear:tracking",
2139
+ "source:clear:force:tracking",
2140
+ "source:clear:tracking:force",
2141
+ "force:clear:source:tracking",
2142
+ "clear:force:source:tracking",
2143
+ "clear:source:force:tracking",
2144
+ "clear:source:tracking:force",
2145
+ "force:clear:tracking:source",
2146
+ "clear:force:tracking:source",
2147
+ "clear:tracking:force:source",
2148
+ "clear:tracking:source:force"
2149
+ ],
2150
+ "permutations": [
2151
+ "project:delete:tracking",
2152
+ "delete:project:tracking",
2153
+ "delete:tracking:project",
2154
+ "project:tracking:delete",
2155
+ "tracking:project:delete",
2156
+ "tracking:delete:project"
2157
+ ]
2158
+ },
2159
2159
  "project:generate:manifest": {
2160
2160
  "aliases": [
2161
2161
  "force:source:manifest:create"
@@ -2936,5 +2936,5 @@
2936
2936
  ]
2937
2937
  }
2938
2938
  },
2939
- "version": "3.6.12"
2939
+ "version": "3.6.14"
2940
2940
  }
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": "3.6.12",
4
+ "version": "3.6.14",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -11,7 +11,7 @@
11
11
  "@salesforce/kit": "^3.1.1",
12
12
  "@salesforce/plugin-info": "^3.2.7",
13
13
  "@salesforce/sf-plugins-core": "^9.0.7",
14
- "@salesforce/source-deploy-retrieve": "^11.4.0",
14
+ "@salesforce/source-deploy-retrieve": "^11.4.3",
15
15
  "@salesforce/source-tracking": "^6.0.4",
16
16
  "@salesforce/ts-types": "^2.0.9",
17
17
  "chalk": "^5.3.0"
@@ -251,7 +251,7 @@
251
251
  "exports": "./lib/index.js",
252
252
  "type": "module",
253
253
  "sfdx": {
254
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.6.12.crt",
255
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.6.12.sig"
254
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.6.14.crt",
255
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.6.14.sig"
256
256
  }
257
257
  }