@salesforce/plugin-deploy-retrieve 3.1.0 → 3.1.2

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
@@ -139,7 +139,7 @@ FLAG DESCRIPTIONS
139
139
  If you specify this parameter, don’t specify --metadata or --source-dir.
140
140
  ```
141
141
 
142
- _See code: [lib/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/convert/mdapi.ts)_
142
+ _See code: [lib/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/commands/project/convert/mdapi.ts)_
143
143
 
144
144
  ## `sf project convert source`
145
145
 
@@ -151,7 +151,7 @@ USAGE
151
151
  <value> | -m <value>]
152
152
 
153
153
  FLAGS
154
- -d, --output-dir=<value> [default: metadataPackage_1704751592978] Output directory to store the Metadata
154
+ -d, --output-dir=<value> [default: metadataPackage_1705135466115] Output directory to store the Metadata
155
155
  API–formatted files in.
156
156
  -m, --metadata=<value>... Metadata component names to convert.
157
157
  -n, --package-name=<value> Name of the package to associate with the metadata-formatted files.
@@ -211,7 +211,7 @@ FLAG DESCRIPTIONS
211
211
  Override the api version used for api requests made by this command
212
212
  ```
213
213
 
214
- _See code: [lib/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/convert/source.ts)_
214
+ _See code: [lib/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/commands/project/convert/source.ts)_
215
215
 
216
216
  ## `sf project delete source`
217
217
 
@@ -350,7 +350,7 @@ FLAG DESCRIPTIONS
350
350
  - Separate the test names with spaces: --tests Test1 Test2 "Test With Space"
351
351
  ```
352
352
 
353
- _See code: [lib/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/delete/source.ts)_
353
+ _See code: [lib/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/commands/project/delete/source.ts)_
354
354
 
355
355
  ## `sf project delete tracking`
356
356
 
@@ -386,7 +386,7 @@ EXAMPLES
386
386
  $ sf project delete tracking --target-org my-scratch
387
387
  ```
388
388
 
389
- _See code: [lib/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/delete/tracking.ts)_
389
+ _See code: [lib/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/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: [lib/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/deploy/cancel.ts)_
459
+ _See code: [lib/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/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: [lib/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/deploy/preview.ts)_
542
+ _See code: [lib/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/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: [lib/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/deploy/quick.ts)_
626
+ _See code: [lib/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/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: [lib/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/deploy/report.ts)_
721
+ _See code: [lib/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/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: [lib/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/deploy/resume.ts)_
805
+ _See code: [lib/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/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: [lib/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/deploy/start.ts)_
1017
+ _See code: [lib/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/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: [lib/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/deploy/validate.ts)_
1179
+ _See code: [lib/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/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: [lib/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/generate/manifest.ts)_
1254
+ _See code: [lib/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/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: [lib/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/list/ignored.ts)_
1295
+ _See code: [lib/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/commands/project/list/ignored.ts)_
1296
1296
 
1297
1297
  ## `sf project reset tracking`
1298
1298
 
@@ -1340,7 +1340,7 @@ EXAMPLES
1340
1340
  $ sf project reset tracking --revision 30
1341
1341
  ```
1342
1342
 
1343
- _See code: [lib/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/reset/tracking.ts)_
1343
+ _See code: [lib/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/commands/project/reset/tracking.ts)_
1344
1344
 
1345
1345
  ## `sf project retrieve preview`
1346
1346
 
@@ -1396,7 +1396,7 @@ FLAG DESCRIPTIONS
1396
1396
  Overrides your default org.
1397
1397
  ```
1398
1398
 
1399
- _See code: [lib/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/retrieve/preview.ts)_
1399
+ _See code: [lib/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/commands/project/retrieve/preview.ts)_
1400
1400
 
1401
1401
  ## `sf project retrieve start`
1402
1402
 
@@ -1542,6 +1542,6 @@ FLAG DESCRIPTIONS
1542
1542
  If you specify this parameter, don’t specify --metadata or --source-dir.
1543
1543
  ```
1544
1544
 
1545
- _See code: [lib/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/2.3.0/lib/commands/project/retrieve/start.ts)_
1545
+ _See code: [lib/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.1.2/lib/commands/project/retrieve/start.ts)_
1546
1546
 
1547
1547
  <!-- commandsstop -->
package/oclif.lock CHANGED
@@ -799,11 +799,12 @@
799
799
  read-package-json-fast "^3.0.0"
800
800
  which "^3.0.0"
801
801
 
802
- "@oclif/core@^3.10.8", "@oclif/core@^3.11.0", "@oclif/core@^3.15.0", "@oclif/core@^3.15.1", "@oclif/core@^3.16.0":
803
- version "3.16.0"
804
- resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.16.0.tgz#682657cb5e4a3262a47e26e0c8a7bf0343acaf76"
805
- integrity sha512-/PIz+udzb59XE8O/bQvqlCtXy6RByEHH0KsrAJNa/ZrqtdsLmeDNJcHdgygFHx+nz+PYMoUzsyzJMau++EDNoQ==
802
+ "@oclif/core@^3.10.8", "@oclif/core@^3.11.0", "@oclif/core@^3.15.0", "@oclif/core@^3.15.1", "@oclif/core@^3.16.0", "@oclif/core@^3.18.1":
803
+ version "3.18.1"
804
+ resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.18.1.tgz#a8c9ee3848ad663d5694bef6079116c70d32fc55"
805
+ integrity sha512-l0LsjzGcqjbUEdeSBX6bdZieVmEv82Q0W3StiyaDMEnPZ9KLH28HrLpcZg6d50mCYW9CUZNzmRo6qrCHWrgLKw==
806
806
  dependencies:
807
+ "@types/cli-progress" "^3.11.5"
807
808
  ansi-escapes "^4.3.2"
808
809
  ansi-styles "^4.3.0"
809
810
  cardinal "^2.1.1"
@@ -827,17 +828,16 @@
827
828
  strip-ansi "^6.0.1"
828
829
  supports-color "^8.1.1"
829
830
  supports-hyperlinks "^2.2.0"
830
- tsconfck "^3.0.0"
831
831
  widest-line "^3.1.0"
832
832
  wordwrap "^1.0.0"
833
833
  wrap-ansi "^7.0.0"
834
834
 
835
- "@oclif/plugin-command-snapshot@^5.0.5":
836
- version "5.0.5"
837
- resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.0.5.tgz#8594869b2e70c5703041d810b7c6515dcd179494"
838
- integrity sha512-rv+1DVDRJQhD6BXQ1rA7ZZRiXroqDEyfnuIdWLlELxmyENH5askz6q+PeY0GDIAGbIlGCsTv84B3rPk1qsMqRA==
835
+ "@oclif/plugin-command-snapshot@^5.0.6":
836
+ version "5.0.6"
837
+ resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.0.6.tgz#f32d0e7fedc588ef08bbab88db5c60d25eb3ca07"
838
+ integrity sha512-/DZsDPrUD/Wd4NMjMZ7gkLZIwH3tb1QWGP8m1JebvTi1Rntn/JG+YEz+iE5zKtu12gmSbjAEYPt92itXQLDbbg==
839
839
  dependencies:
840
- "@oclif/core" "^3.15.0"
840
+ "@oclif/core" "^3.16.0"
841
841
  "@types/lodash.difference" "^4.5.9"
842
842
  chalk "^5.3.0"
843
843
  just-diff "^5.2.0"
@@ -1025,10 +1025,10 @@
1025
1025
  strip-ansi "6.0.1"
1026
1026
  ts-retry-promise "^0.7.1"
1027
1027
 
1028
- "@salesforce/core@^6.1.0", "@salesforce/core@^6.1.3", "@salesforce/core@^6.4.0", "@salesforce/core@^6.4.1", "@salesforce/core@^6.4.2", "@salesforce/core@^6.4.4":
1029
- version "6.4.4"
1030
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.4.4.tgz#e96d2ef9cd05c3894578374d1054af80bfdca119"
1031
- integrity sha512-VegX3ChnJUOOztSP05QPiXCTOSioShB22NyhYjL7vVhf6yqSOH0VT2oQ3ywrMYbYCbjLSdsmFdTVLiQIFpK57g==
1028
+ "@salesforce/core@^6.1.0", "@salesforce/core@^6.1.3", "@salesforce/core@^6.4.0", "@salesforce/core@^6.4.1", "@salesforce/core@^6.4.2", "@salesforce/core@^6.4.4", "@salesforce/core@^6.4.6":
1029
+ version "6.4.7"
1030
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.4.7.tgz#f15538380aa5c75de697d3c95a2ddbdabae69dbb"
1031
+ integrity sha512-gebjw2xC8Z0gqS3lYRQWz7J+PuGZtybotrnnaJbnzzxdfpBFIp6PjW4nt/235BQW9UWFTLaQh+AwkFgmMTTSkA==
1032
1032
  dependencies:
1033
1033
  "@salesforce/kit" "^3.0.15"
1034
1034
  "@salesforce/schemas" "^1.6.1"
@@ -1042,7 +1042,7 @@
1042
1042
  jsforce "^2.0.0-beta.29"
1043
1043
  jsonwebtoken "9.0.2"
1044
1044
  jszip "3.10.1"
1045
- pino "^8.16.2"
1045
+ pino "^8.17.2"
1046
1046
  pino-abstract-transport "^1.1.0"
1047
1047
  pino-pretty "^10.3.1"
1048
1048
  proper-lockfile "^4.1.2"
@@ -1148,15 +1148,15 @@
1148
1148
  chalk "^4"
1149
1149
  inquirer "^8.2.5"
1150
1150
 
1151
- "@salesforce/sf-plugins-core@^7.0.0":
1152
- version "7.0.0"
1153
- resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-7.0.0.tgz#56cb4eaafcd04a183938d86c5e93323e037b15ab"
1154
- integrity sha512-vl53Ee0/eg9wgvtWro6kX82/943s28Hph/o3lTQk6URorfqMC+zH0RGKJj1X0VKeLhDSOCRYXqIu54jE8AZ/3g==
1151
+ "@salesforce/sf-plugins-core@^7.1.1":
1152
+ version "7.1.1"
1153
+ resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-7.1.1.tgz#195b14d8bbb5ee2123872775110892c54c08c791"
1154
+ integrity sha512-stVcdLNaroS8UbcTQicr0aVH7K3yfpMFcPpTpLn2Z7OL66iEhBg4Vtr9+v0qKBjA5ZW7S0M1zzrgjY3ZNRJSxw==
1155
1155
  dependencies:
1156
1156
  "@inquirer/confirm" "^2.0.15"
1157
1157
  "@inquirer/password" "^1.1.14"
1158
1158
  "@oclif/core" "^3.16.0"
1159
- "@salesforce/core" "^6.4.2"
1159
+ "@salesforce/core" "^6.4.6"
1160
1160
  "@salesforce/kit" "^3.0.15"
1161
1161
  "@salesforce/ts-types" "^2.0.9"
1162
1162
  chalk "^5.3.0"
@@ -1405,6 +1405,13 @@
1405
1405
  resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.3.11.tgz#e95050bf79a932cb7305dd130254ccdf9bde671c"
1406
1406
  integrity sha512-qQR1dr2rGIHYlJulmr8Ioq3De0Le9E4MJ5AiaeAETJJpndT1uUNHsGFK3L/UIu+rbkQSdj8J/w2bCsBZc/Y5fQ==
1407
1407
 
1408
+ "@types/cli-progress@^3.11.5":
1409
+ version "3.11.5"
1410
+ resolved "https://registry.yarnpkg.com/@types/cli-progress/-/cli-progress-3.11.5.tgz#9518c745e78557efda057e3f96a5990c717268c3"
1411
+ integrity sha512-D4PbNRbviKyppS5ivBGyFO29POlySLmA2HyUFE4p5QGazAMM3CwkKWcvTl8gvElSuxRh6FPKL8XmidX873ou4g==
1412
+ dependencies:
1413
+ "@types/node" "*"
1414
+
1408
1415
  "@types/expect@^1.20.4":
1409
1416
  version "1.20.4"
1410
1417
  resolved "https://registry.yarnpkg.com/@types/expect/-/expect-1.20.4.tgz#8288e51737bf7e3ab5d7c77bfa695883745264e5"
@@ -6739,17 +6746,17 @@ pino-std-serializers@^6.0.0:
6739
6746
  resolved "https://registry.yarnpkg.com/pino-std-serializers/-/pino-std-serializers-6.2.2.tgz#d9a9b5f2b9a402486a5fc4db0a737570a860aab3"
6740
6747
  integrity sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==
6741
6748
 
6742
- pino@^8.16.2:
6743
- version "8.16.2"
6744
- resolved "https://registry.yarnpkg.com/pino/-/pino-8.16.2.tgz#7a906f2d9a8c5b4c57412c9ca95d6820bd2090cd"
6745
- integrity sha512-2advCDGVEvkKu9TTVSa/kWW7Z3htI/sBKEZpqiHk6ive0i/7f5b1rsU8jn0aimxqfnSz5bj/nOYkwhBUn5xxvg==
6749
+ pino@^8.17.2:
6750
+ version "8.17.2"
6751
+ resolved "https://registry.yarnpkg.com/pino/-/pino-8.17.2.tgz#0ed20175623a69d31664a1e8a5f85476272224be"
6752
+ integrity sha512-LA6qKgeDMLr2ux2y/YiUt47EfgQ+S9LznBWOJdN3q1dx2sv0ziDLUBeVpyVv17TEcGCBuWf0zNtg3M5m1NhhWQ==
6746
6753
  dependencies:
6747
6754
  atomic-sleep "^1.0.0"
6748
6755
  fast-redact "^3.1.1"
6749
6756
  on-exit-leak-free "^2.1.0"
6750
6757
  pino-abstract-transport v1.1.0
6751
6758
  pino-std-serializers "^6.0.0"
6752
- process-warning "^2.0.0"
6759
+ process-warning "^3.0.0"
6753
6760
  quick-format-unescaped "^4.0.3"
6754
6761
  real-require "^0.2.0"
6755
6762
  safe-stable-stringify "^2.3.1"
@@ -6827,10 +6834,10 @@ process-on-spawn@^1.0.0:
6827
6834
  dependencies:
6828
6835
  fromentries "^1.2.0"
6829
6836
 
6830
- process-warning@^2.0.0:
6831
- version "2.2.0"
6832
- resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-2.2.0.tgz#008ec76b579820a8e5c35d81960525ca64feb626"
6833
- integrity sha512-/1WZ8+VQjR6avWOgHeEPd7SDQmFQ1B5mC1eRXsCm5TarlNmx/wCsa5GEaxGm05BORRtyG/Ex/3xq3TuRvq57qg==
6837
+ process-warning@^3.0.0:
6838
+ version "3.0.0"
6839
+ resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-3.0.0.tgz#96e5b88884187a1dce6f5c3166d611132058710b"
6840
+ integrity sha512-mqn0kFRl0EoqhnL0GQ0veqFHyIN1yig9RHh/InzORTUiZHFRAur+aMtRkELNwGs9aNwKS6tg/An4NYBPGwvtzQ==
6834
6841
 
6835
6842
  process@^0.11.10:
6836
6843
  version "0.11.10"
@@ -8009,11 +8016,6 @@ ts-retry-promise@^0.7.0, ts-retry-promise@^0.7.1:
8009
8016
  resolved "https://registry.yarnpkg.com/ts-retry-promise/-/ts-retry-promise-0.7.1.tgz#176d6eee6415f07b6c7c286d3657355e284a6906"
8010
8017
  integrity sha512-NhHOCZ2AQORvH42hOPO5UZxShlcuiRtm7P2jIq2L2RY3PBxw2mLnUsEdHrIslVBFya1v5aZmrR55lWkzo13LrQ==
8011
8018
 
8012
- tsconfck@^3.0.0:
8013
- version "3.0.0"
8014
- resolved "https://registry.yarnpkg.com/tsconfck/-/tsconfck-3.0.0.tgz#b469f1ced12973bbec3209a55ed8de3bb04223c9"
8015
- integrity sha512-w3wnsIrJNi7avf4Zb0VjOoodoO0woEqGgZGQm+LHH9przdUI+XDKsWAXwxHA1DaRTjeuZNcregSzr7RaA8zG9A==
8016
-
8017
8019
  tsconfig-paths@^3.14.2:
8018
8020
  version "3.14.2"
8019
8021
  resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088"
@@ -202,7 +202,7 @@
202
202
  "deprecateAliases": true,
203
203
  "name": "output-dir",
204
204
  "summary": "Output directory to store the Metadata API–formatted files in.",
205
- "default": "metadataPackage_1704751753996",
205
+ "default": "metadataPackage_1705135635178",
206
206
  "hasDynamicHelp": false,
207
207
  "multiple": false,
208
208
  "type": "option"
@@ -295,18 +295,16 @@
295
295
  "source:convert:project"
296
296
  ]
297
297
  },
298
- "project:delete:source": {
298
+ "project:deploy:cancel": {
299
299
  "aliases": [
300
- "force:source:delete"
300
+ "deploy:metadata:cancel"
301
301
  ],
302
302
  "args": {},
303
303
  "deprecateAliases": true,
304
- "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.",
304
+ "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.",
305
305
  "examples": [
306
- "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",
307
- "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",
308
- "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",
309
- "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"
306
+ "Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
307
+ "Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
310
308
  ],
311
309
  "flags": {
312
310
  "json": {
@@ -316,210 +314,94 @@
316
314
  "allowNo": false,
317
315
  "type": "boolean"
318
316
  },
319
- "api-version": {
320
- "aliases": [
321
- "apiversion"
322
- ],
323
- "deprecateAliases": true,
324
- "description": "Override the api version used for api requests made by this command",
325
- "name": "api-version",
326
- "hasDynamicHelp": false,
327
- "multiple": false,
328
- "type": "option"
329
- },
330
- "loglevel": {
331
- "deprecated": {
332
- "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."
333
- },
334
- "hidden": true,
335
- "name": "loglevel",
336
- "hasDynamicHelp": false,
337
- "multiple": false,
338
- "type": "option"
339
- },
340
- "target-org": {
341
- "aliases": [
342
- "targetusername",
343
- "u"
344
- ],
345
- "char": "o",
346
- "deprecateAliases": true,
347
- "name": "target-org",
348
- "noCacheDefault": true,
349
- "required": true,
350
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
351
- "hasDynamicHelp": true,
352
- "multiple": false,
353
- "type": "option"
354
- },
355
- "check-only": {
356
- "aliases": [
357
- "checkonly"
317
+ "async": {
318
+ "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\".",
319
+ "exclusive": [
320
+ "wait"
358
321
  ],
359
- "char": "c",
360
- "deprecateAliases": true,
361
- "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.",
362
- "name": "check-only",
363
- "summary": "Validate delete command but don't delete anything from the org or the local project.",
322
+ "name": "async",
323
+ "summary": "Run the command asynchronously.",
364
324
  "allowNo": false,
365
325
  "type": "boolean"
366
326
  },
367
- "wait": {
368
- "char": "w",
369
- "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
370
- "name": "wait",
371
- "summary": "Number of minutes to wait for the command to finish.",
372
- "default": {
373
- "quantity": 33,
374
- "unit": 0
375
- },
376
- "hasDynamicHelp": false,
377
- "multiple": false,
378
- "type": "option"
379
- },
380
- "tests": {
381
- "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\"",
382
- "helpGroup": "Test",
383
- "name": "tests",
384
- "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
385
- "hasDynamicHelp": false,
386
- "multiple": true,
387
- "type": "option"
388
- },
389
- "test-level": {
390
- "aliases": [
391
- "testlevel"
392
- ],
393
- "char": "l",
394
- "deprecateAliases": true,
395
- "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.",
396
- "helpGroup": "Test",
397
- "name": "test-level",
398
- "summary": "Deployment Apex testing level.",
327
+ "job-id": {
328
+ "char": "i",
329
+ "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.",
330
+ "name": "job-id",
331
+ "summary": "Job ID of the deploy operation you want to cancel.",
399
332
  "hasDynamicHelp": false,
400
333
  "multiple": false,
401
- "options": [
402
- "NoTestRun",
403
- "RunSpecifiedTests",
404
- "RunLocalTests",
405
- "RunAllTestsInOrg"
406
- ],
407
334
  "type": "option"
408
335
  },
409
- "no-prompt": {
410
- "aliases": [
411
- "noprompt"
412
- ],
336
+ "use-most-recent": {
413
337
  "char": "r",
414
- "deprecateAliases": true,
415
- "name": "no-prompt",
416
- "summary": "Don't prompt for delete confirmation.",
338
+ "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.",
339
+ "name": "use-most-recent",
340
+ "summary": "Use the job ID of the most recent deploy operation.",
417
341
  "allowNo": false,
418
342
  "type": "boolean"
419
343
  },
420
- "metadata": {
421
- "char": "m",
422
- "description": "If you specify this parameter, don’t specify --source-dir.",
423
- "name": "metadata",
424
- "summary": "Metadata components to delete.",
425
- "delimiter": ",",
426
- "hasDynamicHelp": false,
427
- "multiple": true,
428
- "type": "option"
429
- },
430
- "source-dir": {
431
- "aliases": [
432
- "sourcepath"
344
+ "wait": {
345
+ "char": "w",
346
+ "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\".",
347
+ "exclusive": [
348
+ "async"
433
349
  ],
434
- "char": "p",
435
- "deprecateAliases": true,
436
- "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.",
437
- "name": "source-dir",
438
- "summary": "Source file paths to delete.",
439
- "delimiter": ",",
350
+ "name": "wait",
351
+ "summary": "Number of minutes to wait for the command to complete and display results.",
440
352
  "hasDynamicHelp": false,
441
- "multiple": true,
353
+ "helpValue": "<minutes>",
354
+ "multiple": false,
442
355
  "type": "option"
443
- },
444
- "track-source": {
445
- "aliases": [
446
- "tracksource"
447
- ],
448
- "char": "t",
449
- "deprecateAliases": true,
450
- "exclusive": [
451
- "check-only"
452
- ],
453
- "name": "track-source",
454
- "summary": "If the delete succeeds, update the source tracking information.",
455
- "allowNo": false,
456
- "type": "boolean"
457
- },
458
- "force-overwrite": {
459
- "aliases": [
460
- "forceoverwrite"
461
- ],
462
- "char": "f",
463
- "dependsOn": [
464
- "track-source"
465
- ],
466
- "deprecateAliases": true,
467
- "name": "force-overwrite",
468
- "summary": "Ignore conflict warnings and overwrite changes to the org.",
469
- "allowNo": false,
470
- "type": "boolean"
471
- },
472
- "verbose": {
473
- "name": "verbose",
474
- "summary": "Verbose output of the delete result.",
475
- "allowNo": false,
476
- "type": "boolean"
477
356
  }
478
357
  },
479
- "hasDynamicHelp": true,
358
+ "hasDynamicHelp": false,
480
359
  "hiddenAliases": [],
481
- "id": "project:delete:source",
360
+ "id": "project:deploy:cancel",
482
361
  "pluginAlias": "@salesforce/plugin-deploy-retrieve",
483
362
  "pluginName": "@salesforce/plugin-deploy-retrieve",
484
363
  "pluginType": "core",
485
364
  "strict": true,
486
- "summary": "Delete source from your project and from a non-source-tracked org.",
365
+ "summary": "Cancel a deploy operation.",
487
366
  "enableJsonFlag": true,
488
- "requiresProject": true,
489
367
  "isESM": true,
490
368
  "relativePath": [
491
369
  "lib",
492
370
  "commands",
493
371
  "project",
494
- "delete",
495
- "source.js"
372
+ "deploy",
373
+ "cancel.js"
496
374
  ],
497
375
  "aliasPermutations": [
498
- "force:source:delete",
499
- "source:force:delete",
500
- "source:delete:force",
501
- "force:delete:source",
502
- "delete:force:source",
503
- "delete:source:force"
376
+ "deploy:metadata:cancel",
377
+ "metadata:deploy:cancel",
378
+ "metadata:cancel:deploy",
379
+ "deploy:cancel:metadata",
380
+ "cancel:deploy:metadata",
381
+ "cancel:metadata:deploy"
504
382
  ],
505
383
  "permutations": [
506
- "project:delete:source",
507
- "delete:project:source",
508
- "delete:source:project",
509
- "project:source:delete",
510
- "source:project:delete",
511
- "source:delete:project"
384
+ "project:deploy:cancel",
385
+ "deploy:project:cancel",
386
+ "deploy:cancel:project",
387
+ "project:cancel:deploy",
388
+ "cancel:project:deploy",
389
+ "cancel:deploy:project"
512
390
  ]
513
391
  },
514
- "project:delete:tracking": {
392
+ "project:deploy:preview": {
515
393
  "aliases": [
516
- "force:source:tracking:clear"
394
+ "deploy:metadata:preview"
517
395
  ],
518
396
  "args": {},
519
397
  "deprecateAliases": true,
520
- "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.",
398
+ "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.",
521
399
  "examples": [
522
- "Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
400
+ "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.",
401
+ "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",
402
+ "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",
403
+ "Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
404
+ "Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
523
405
  ],
524
406
  "flags": {
525
407
  "json": {
@@ -529,240 +411,23 @@
529
411
  "allowNo": false,
530
412
  "type": "boolean"
531
413
  },
532
- "api-version": {
533
- "aliases": [
534
- "apiversion"
414
+ "ignore-conflicts": {
415
+ "char": "c",
416
+ "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.",
417
+ "name": "ignore-conflicts",
418
+ "summary": "Don't display conflicts in preview of the deployment.",
419
+ "allowNo": false,
420
+ "type": "boolean"
421
+ },
422
+ "manifest": {
423
+ "char": "x",
424
+ "description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
425
+ "exclusive": [
426
+ "source-dir",
427
+ "metadata"
535
428
  ],
536
- "deprecateAliases": true,
537
- "description": "Override the api version used for api requests made by this command",
538
- "name": "api-version",
539
- "hasDynamicHelp": false,
540
- "multiple": false,
541
- "type": "option"
542
- },
543
- "loglevel": {
544
- "deprecated": {
545
- "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."
546
- },
547
- "hidden": true,
548
- "name": "loglevel",
549
- "hasDynamicHelp": false,
550
- "multiple": false,
551
- "type": "option"
552
- },
553
- "target-org": {
554
- "aliases": [
555
- "targetusername",
556
- "u"
557
- ],
558
- "char": "o",
559
- "deprecateAliases": true,
560
- "name": "target-org",
561
- "noCacheDefault": true,
562
- "required": true,
563
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
564
- "hasDynamicHelp": true,
565
- "multiple": false,
566
- "type": "option"
567
- },
568
- "no-prompt": {
569
- "aliases": [
570
- "noprompt"
571
- ],
572
- "char": "p",
573
- "deprecateAliases": true,
574
- "name": "no-prompt",
575
- "summary": "Don't prompt for source tracking override confirmation.",
576
- "allowNo": false,
577
- "type": "boolean"
578
- }
579
- },
580
- "hasDynamicHelp": true,
581
- "hiddenAliases": [],
582
- "id": "project:delete:tracking",
583
- "pluginAlias": "@salesforce/plugin-deploy-retrieve",
584
- "pluginName": "@salesforce/plugin-deploy-retrieve",
585
- "pluginType": "core",
586
- "strict": true,
587
- "summary": "Delete all local source tracking information.",
588
- "enableJsonFlag": true,
589
- "requiresProject": true,
590
- "isESM": true,
591
- "relativePath": [
592
- "lib",
593
- "commands",
594
- "project",
595
- "delete",
596
- "tracking.js"
597
- ],
598
- "aliasPermutations": [
599
- "force:source:tracking:clear",
600
- "source:force:tracking:clear",
601
- "source:tracking:force:clear",
602
- "source:tracking:clear:force",
603
- "force:tracking:source:clear",
604
- "tracking:force:source:clear",
605
- "tracking:source:force:clear",
606
- "tracking:source:clear:force",
607
- "force:tracking:clear:source",
608
- "tracking:force:clear:source",
609
- "tracking:clear:force:source",
610
- "tracking:clear:source:force",
611
- "force:source:clear:tracking",
612
- "source:force:clear:tracking",
613
- "source:clear:force:tracking",
614
- "source:clear:tracking:force",
615
- "force:clear:source:tracking",
616
- "clear:force:source:tracking",
617
- "clear:source:force:tracking",
618
- "clear:source:tracking:force",
619
- "force:clear:tracking:source",
620
- "clear:force:tracking:source",
621
- "clear:tracking:force:source",
622
- "clear:tracking:source:force"
623
- ],
624
- "permutations": [
625
- "project:delete:tracking",
626
- "delete:project:tracking",
627
- "delete:tracking:project",
628
- "project:tracking:delete",
629
- "tracking:project:delete",
630
- "tracking:delete:project"
631
- ]
632
- },
633
- "project:deploy:cancel": {
634
- "aliases": [
635
- "deploy:metadata:cancel"
636
- ],
637
- "args": {},
638
- "deprecateAliases": true,
639
- "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.",
640
- "examples": [
641
- "Cancel a deploy operation using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2",
642
- "Cancel the most recent deploy operation:\n<%= config.bin %> <%= command.id %> --use-most-recent"
643
- ],
644
- "flags": {
645
- "json": {
646
- "description": "Format output as json.",
647
- "helpGroup": "GLOBAL",
648
- "name": "json",
649
- "allowNo": false,
650
- "type": "boolean"
651
- },
652
- "async": {
653
- "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\".",
654
- "exclusive": [
655
- "wait"
656
- ],
657
- "name": "async",
658
- "summary": "Run the command asynchronously.",
659
- "allowNo": false,
660
- "type": "boolean"
661
- },
662
- "job-id": {
663
- "char": "i",
664
- "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.",
665
- "name": "job-id",
666
- "summary": "Job ID of the deploy operation you want to cancel.",
667
- "hasDynamicHelp": false,
668
- "multiple": false,
669
- "type": "option"
670
- },
671
- "use-most-recent": {
672
- "char": "r",
673
- "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.",
674
- "name": "use-most-recent",
675
- "summary": "Use the job ID of the most recent deploy operation.",
676
- "allowNo": false,
677
- "type": "boolean"
678
- },
679
- "wait": {
680
- "char": "w",
681
- "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\".",
682
- "exclusive": [
683
- "async"
684
- ],
685
- "name": "wait",
686
- "summary": "Number of minutes to wait for the command to complete and display results.",
687
- "hasDynamicHelp": false,
688
- "helpValue": "<minutes>",
689
- "multiple": false,
690
- "type": "option"
691
- }
692
- },
693
- "hasDynamicHelp": false,
694
- "hiddenAliases": [],
695
- "id": "project:deploy:cancel",
696
- "pluginAlias": "@salesforce/plugin-deploy-retrieve",
697
- "pluginName": "@salesforce/plugin-deploy-retrieve",
698
- "pluginType": "core",
699
- "strict": true,
700
- "summary": "Cancel a deploy operation.",
701
- "enableJsonFlag": true,
702
- "isESM": true,
703
- "relativePath": [
704
- "lib",
705
- "commands",
706
- "project",
707
- "deploy",
708
- "cancel.js"
709
- ],
710
- "aliasPermutations": [
711
- "deploy:metadata:cancel",
712
- "metadata:deploy:cancel",
713
- "metadata:cancel:deploy",
714
- "deploy:cancel:metadata",
715
- "cancel:deploy:metadata",
716
- "cancel:metadata:deploy"
717
- ],
718
- "permutations": [
719
- "project:deploy:cancel",
720
- "deploy:project:cancel",
721
- "deploy:cancel:project",
722
- "project:cancel:deploy",
723
- "cancel:project:deploy",
724
- "cancel:deploy:project"
725
- ]
726
- },
727
- "project:deploy:preview": {
728
- "aliases": [
729
- "deploy:metadata:preview"
730
- ],
731
- "args": {},
732
- "deprecateAliases": true,
733
- "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.",
734
- "examples": [
735
- "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.",
736
- "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",
737
- "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",
738
- "Preview deployment of a specific Apex class:\n<%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass",
739
- "Preview deployment of all components listed in a manifest:\n<%= config.bin %> <%= command.id %> --manifest path/to/package.xml"
740
- ],
741
- "flags": {
742
- "json": {
743
- "description": "Format output as json.",
744
- "helpGroup": "GLOBAL",
745
- "name": "json",
746
- "allowNo": false,
747
- "type": "boolean"
748
- },
749
- "ignore-conflicts": {
750
- "char": "c",
751
- "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.",
752
- "name": "ignore-conflicts",
753
- "summary": "Don't display conflicts in preview of the deployment.",
754
- "allowNo": false,
755
- "type": "boolean"
756
- },
757
- "manifest": {
758
- "char": "x",
759
- "description": "All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.",
760
- "exclusive": [
761
- "source-dir",
762
- "metadata"
763
- ],
764
- "name": "manifest",
765
- "summary": "Full file path for manifest (package.xml) of components to preview.",
429
+ "name": "manifest",
430
+ "summary": "Full file path for manifest (package.xml) of components to preview.",
766
431
  "hasDynamicHelp": false,
767
432
  "multiple": false,
768
433
  "type": "option"
@@ -2066,6 +1731,341 @@
2066
1731
  "validate:deploy:project"
2067
1732
  ]
2068
1733
  },
1734
+ "project:delete:source": {
1735
+ "aliases": [
1736
+ "force:source:delete"
1737
+ ],
1738
+ "args": {},
1739
+ "deprecateAliases": true,
1740
+ "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.",
1741
+ "examples": [
1742
+ "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",
1743
+ "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",
1744
+ "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",
1745
+ "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"
1746
+ ],
1747
+ "flags": {
1748
+ "json": {
1749
+ "description": "Format output as json.",
1750
+ "helpGroup": "GLOBAL",
1751
+ "name": "json",
1752
+ "allowNo": false,
1753
+ "type": "boolean"
1754
+ },
1755
+ "api-version": {
1756
+ "aliases": [
1757
+ "apiversion"
1758
+ ],
1759
+ "deprecateAliases": true,
1760
+ "description": "Override the api version used for api requests made by this command",
1761
+ "name": "api-version",
1762
+ "hasDynamicHelp": false,
1763
+ "multiple": false,
1764
+ "type": "option"
1765
+ },
1766
+ "loglevel": {
1767
+ "deprecated": {
1768
+ "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."
1769
+ },
1770
+ "hidden": true,
1771
+ "name": "loglevel",
1772
+ "hasDynamicHelp": false,
1773
+ "multiple": false,
1774
+ "type": "option"
1775
+ },
1776
+ "target-org": {
1777
+ "aliases": [
1778
+ "targetusername",
1779
+ "u"
1780
+ ],
1781
+ "char": "o",
1782
+ "deprecateAliases": true,
1783
+ "name": "target-org",
1784
+ "noCacheDefault": true,
1785
+ "required": true,
1786
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1787
+ "hasDynamicHelp": true,
1788
+ "multiple": false,
1789
+ "type": "option"
1790
+ },
1791
+ "check-only": {
1792
+ "aliases": [
1793
+ "checkonly"
1794
+ ],
1795
+ "char": "c",
1796
+ "deprecateAliases": true,
1797
+ "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.",
1798
+ "name": "check-only",
1799
+ "summary": "Validate delete command but don't delete anything from the org or the local project.",
1800
+ "allowNo": false,
1801
+ "type": "boolean"
1802
+ },
1803
+ "wait": {
1804
+ "char": "w",
1805
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you.",
1806
+ "name": "wait",
1807
+ "summary": "Number of minutes to wait for the command to finish.",
1808
+ "default": {
1809
+ "quantity": 33,
1810
+ "unit": 0
1811
+ },
1812
+ "hasDynamicHelp": false,
1813
+ "multiple": false,
1814
+ "type": "option"
1815
+ },
1816
+ "tests": {
1817
+ "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\"",
1818
+ "helpGroup": "Test",
1819
+ "name": "tests",
1820
+ "summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
1821
+ "hasDynamicHelp": false,
1822
+ "multiple": true,
1823
+ "type": "option"
1824
+ },
1825
+ "test-level": {
1826
+ "aliases": [
1827
+ "testlevel"
1828
+ ],
1829
+ "char": "l",
1830
+ "deprecateAliases": true,
1831
+ "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.",
1832
+ "helpGroup": "Test",
1833
+ "name": "test-level",
1834
+ "summary": "Deployment Apex testing level.",
1835
+ "hasDynamicHelp": false,
1836
+ "multiple": false,
1837
+ "options": [
1838
+ "NoTestRun",
1839
+ "RunSpecifiedTests",
1840
+ "RunLocalTests",
1841
+ "RunAllTestsInOrg"
1842
+ ],
1843
+ "type": "option"
1844
+ },
1845
+ "no-prompt": {
1846
+ "aliases": [
1847
+ "noprompt"
1848
+ ],
1849
+ "char": "r",
1850
+ "deprecateAliases": true,
1851
+ "name": "no-prompt",
1852
+ "summary": "Don't prompt for delete confirmation.",
1853
+ "allowNo": false,
1854
+ "type": "boolean"
1855
+ },
1856
+ "metadata": {
1857
+ "char": "m",
1858
+ "description": "If you specify this parameter, don’t specify --source-dir.",
1859
+ "name": "metadata",
1860
+ "summary": "Metadata components to delete.",
1861
+ "delimiter": ",",
1862
+ "hasDynamicHelp": false,
1863
+ "multiple": true,
1864
+ "type": "option"
1865
+ },
1866
+ "source-dir": {
1867
+ "aliases": [
1868
+ "sourcepath"
1869
+ ],
1870
+ "char": "p",
1871
+ "deprecateAliases": true,
1872
+ "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.",
1873
+ "name": "source-dir",
1874
+ "summary": "Source file paths to delete.",
1875
+ "delimiter": ",",
1876
+ "hasDynamicHelp": false,
1877
+ "multiple": true,
1878
+ "type": "option"
1879
+ },
1880
+ "track-source": {
1881
+ "aliases": [
1882
+ "tracksource"
1883
+ ],
1884
+ "char": "t",
1885
+ "deprecateAliases": true,
1886
+ "exclusive": [
1887
+ "check-only"
1888
+ ],
1889
+ "name": "track-source",
1890
+ "summary": "If the delete succeeds, update the source tracking information.",
1891
+ "allowNo": false,
1892
+ "type": "boolean"
1893
+ },
1894
+ "force-overwrite": {
1895
+ "aliases": [
1896
+ "forceoverwrite"
1897
+ ],
1898
+ "char": "f",
1899
+ "dependsOn": [
1900
+ "track-source"
1901
+ ],
1902
+ "deprecateAliases": true,
1903
+ "name": "force-overwrite",
1904
+ "summary": "Ignore conflict warnings and overwrite changes to the org.",
1905
+ "allowNo": false,
1906
+ "type": "boolean"
1907
+ },
1908
+ "verbose": {
1909
+ "name": "verbose",
1910
+ "summary": "Verbose output of the delete result.",
1911
+ "allowNo": false,
1912
+ "type": "boolean"
1913
+ }
1914
+ },
1915
+ "hasDynamicHelp": true,
1916
+ "hiddenAliases": [],
1917
+ "id": "project:delete:source",
1918
+ "pluginAlias": "@salesforce/plugin-deploy-retrieve",
1919
+ "pluginName": "@salesforce/plugin-deploy-retrieve",
1920
+ "pluginType": "core",
1921
+ "strict": true,
1922
+ "summary": "Delete source from your project and from a non-source-tracked org.",
1923
+ "enableJsonFlag": true,
1924
+ "requiresProject": true,
1925
+ "isESM": true,
1926
+ "relativePath": [
1927
+ "lib",
1928
+ "commands",
1929
+ "project",
1930
+ "delete",
1931
+ "source.js"
1932
+ ],
1933
+ "aliasPermutations": [
1934
+ "force:source:delete",
1935
+ "source:force:delete",
1936
+ "source:delete:force",
1937
+ "force:delete:source",
1938
+ "delete:force:source",
1939
+ "delete:source:force"
1940
+ ],
1941
+ "permutations": [
1942
+ "project:delete:source",
1943
+ "delete:project:source",
1944
+ "delete:source:project",
1945
+ "project:source:delete",
1946
+ "source:project:delete",
1947
+ "source:delete:project"
1948
+ ]
1949
+ },
1950
+ "project:delete:tracking": {
1951
+ "aliases": [
1952
+ "force:source:tracking:clear"
1953
+ ],
1954
+ "args": {},
1955
+ "deprecateAliases": true,
1956
+ "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.",
1957
+ "examples": [
1958
+ "Delete local source tracking for the org with alias \"my-scratch\":\n$ <%= config.bin %> <%= command.id %> --target-org my-scratch"
1959
+ ],
1960
+ "flags": {
1961
+ "json": {
1962
+ "description": "Format output as json.",
1963
+ "helpGroup": "GLOBAL",
1964
+ "name": "json",
1965
+ "allowNo": false,
1966
+ "type": "boolean"
1967
+ },
1968
+ "api-version": {
1969
+ "aliases": [
1970
+ "apiversion"
1971
+ ],
1972
+ "deprecateAliases": true,
1973
+ "description": "Override the api version used for api requests made by this command",
1974
+ "name": "api-version",
1975
+ "hasDynamicHelp": false,
1976
+ "multiple": false,
1977
+ "type": "option"
1978
+ },
1979
+ "loglevel": {
1980
+ "deprecated": {
1981
+ "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."
1982
+ },
1983
+ "hidden": true,
1984
+ "name": "loglevel",
1985
+ "hasDynamicHelp": false,
1986
+ "multiple": false,
1987
+ "type": "option"
1988
+ },
1989
+ "target-org": {
1990
+ "aliases": [
1991
+ "targetusername",
1992
+ "u"
1993
+ ],
1994
+ "char": "o",
1995
+ "deprecateAliases": true,
1996
+ "name": "target-org",
1997
+ "noCacheDefault": true,
1998
+ "required": true,
1999
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2000
+ "hasDynamicHelp": true,
2001
+ "multiple": false,
2002
+ "type": "option"
2003
+ },
2004
+ "no-prompt": {
2005
+ "aliases": [
2006
+ "noprompt"
2007
+ ],
2008
+ "char": "p",
2009
+ "deprecateAliases": true,
2010
+ "name": "no-prompt",
2011
+ "summary": "Don't prompt for source tracking override confirmation.",
2012
+ "allowNo": false,
2013
+ "type": "boolean"
2014
+ }
2015
+ },
2016
+ "hasDynamicHelp": true,
2017
+ "hiddenAliases": [],
2018
+ "id": "project:delete:tracking",
2019
+ "pluginAlias": "@salesforce/plugin-deploy-retrieve",
2020
+ "pluginName": "@salesforce/plugin-deploy-retrieve",
2021
+ "pluginType": "core",
2022
+ "strict": true,
2023
+ "summary": "Delete all local source tracking information.",
2024
+ "enableJsonFlag": true,
2025
+ "requiresProject": true,
2026
+ "isESM": true,
2027
+ "relativePath": [
2028
+ "lib",
2029
+ "commands",
2030
+ "project",
2031
+ "delete",
2032
+ "tracking.js"
2033
+ ],
2034
+ "aliasPermutations": [
2035
+ "force:source:tracking:clear",
2036
+ "source:force:tracking:clear",
2037
+ "source:tracking:force:clear",
2038
+ "source:tracking:clear:force",
2039
+ "force:tracking:source:clear",
2040
+ "tracking:force:source:clear",
2041
+ "tracking:source:force:clear",
2042
+ "tracking:source:clear:force",
2043
+ "force:tracking:clear:source",
2044
+ "tracking:force:clear:source",
2045
+ "tracking:clear:force:source",
2046
+ "tracking:clear:source:force",
2047
+ "force:source:clear:tracking",
2048
+ "source:force:clear:tracking",
2049
+ "source:clear:force:tracking",
2050
+ "source:clear:tracking:force",
2051
+ "force:clear:source:tracking",
2052
+ "clear:force:source:tracking",
2053
+ "clear:source:force:tracking",
2054
+ "clear:source:tracking:force",
2055
+ "force:clear:tracking:source",
2056
+ "clear:force:tracking:source",
2057
+ "clear:tracking:force:source",
2058
+ "clear:tracking:source:force"
2059
+ ],
2060
+ "permutations": [
2061
+ "project:delete:tracking",
2062
+ "delete:project:tracking",
2063
+ "delete:tracking:project",
2064
+ "project:tracking:delete",
2065
+ "tracking:project:delete",
2066
+ "tracking:delete:project"
2067
+ ]
2068
+ },
2069
2069
  "project:generate:manifest": {
2070
2070
  "aliases": [
2071
2071
  "force:source:manifest:create"
@@ -2809,5 +2809,5 @@
2809
2809
  ]
2810
2810
  }
2811
2811
  },
2812
- "version": "3.1.0"
2812
+ "version": "3.1.2"
2813
2813
  }
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-deploy-retrieve",
3
3
  "description": "deploy and retrieve commands for sf",
4
- "version": "3.1.0",
4
+ "version": "3.1.2",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
- "@oclif/core": "^3.16.0",
8
+ "@oclif/core": "^3.18.1",
9
9
  "@salesforce/apex-node": "^3.0.1",
10
10
  "@salesforce/core": "^6.4.4",
11
11
  "@salesforce/kit": "^3.0.15",
12
- "@salesforce/sf-plugins-core": "^7.0.0",
12
+ "@salesforce/sf-plugins-core": "^7.1.1",
13
13
  "@salesforce/source-deploy-retrieve": "^10.2.6",
14
14
  "@salesforce/source-tracking": "^5.1.3",
15
15
  "@salesforce/ts-types": "^2.0.9",
16
16
  "chalk": "^5.3.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@oclif/plugin-command-snapshot": "^5.0.5",
19
+ "@oclif/plugin-command-snapshot": "^5.0.6",
20
20
  "@salesforce/cli-plugins-testkit": "^5.1.3",
21
21
  "@salesforce/dev-scripts": "^8.2.0",
22
22
  "@salesforce/plugin-command-reference": "^3.0.59",
@@ -249,7 +249,7 @@
249
249
  "exports": "./lib/index.js",
250
250
  "type": "module",
251
251
  "sfdx": {
252
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.1.0.crt",
253
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.1.0.sig"
252
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.1.2.crt",
253
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.1.2.sig"
254
254
  }
255
255
  }