@salesforce/plugin-packaging 2.15.4 → 2.17.0

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
@@ -52,6 +52,7 @@ See [DEVELOPING.md](DEVELOPING.md)
52
52
  - [`sf package version list`](#sf-package-version-list)
53
53
  - [`sf package version promote`](#sf-package-version-promote)
54
54
  - [`sf package version report`](#sf-package-version-report)
55
+ - [`sf package version retrieve`](#sf-package-version-retrieve)
55
56
  - [`sf package version update`](#sf-package-version-update)
56
57
  - [`sf package1 version create`](#sf-package1-version-create)
57
58
  - [`sf package1 version create get`](#sf-package1-version-create-get)
@@ -65,10 +66,12 @@ Convert a managed-released first-generation managed package into a second-genera
65
66
  ```
66
67
  USAGE
67
68
  $ sf package convert -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-k <value>] [-f
68
- <value>] [-x] [-w <value>] [-m <value>] [--verbose] [-a <value>]
69
+ <value>] [-x] [-w <value>] [-m <value>] [--verbose] [-a <value>] [-c]
69
70
 
70
71
  FLAGS
71
72
  -a, --patch-version=<value> Specific released patch version to be converted.
73
+ -c, --code-coverage Calculate and store the code coverage percentage by running the packaged Apex tests
74
+ included in this package version.
72
75
  -f, --definition-file=<value> Path to a definition file that contains features and org preferences that the metadata
73
76
  of the package version depends on.
74
77
  -k, --installation-key=<value> Installation key for key-protected package.
@@ -99,6 +102,9 @@ DESCRIPTION
99
102
  To protect the contents of your package and to prevent unauthorized installation of your package, specify the
100
103
  --installation-key flag.
101
104
 
105
+ To promote a package version to released, you must use the --code-coverage parameter. The package must also meet the
106
+ code coverage requirements.
107
+
102
108
  To list package version creation requests in the org, run "sf package version create list".
103
109
 
104
110
  ALIASES
@@ -119,6 +125,14 @@ FLAG DESCRIPTIONS
119
125
 
120
126
  Specify a released patch version as major.minor.patch to convert to a second-generation managed package version.
121
127
 
128
+ -c, --code-coverage
129
+
130
+ Calculate and store the code coverage percentage by running the packaged Apex tests included in this package
131
+ version.
132
+
133
+ Before you can promote and release a managed package version, the Apex code must meet a minimum 75% code coverage
134
+ requirement.
135
+
122
136
  -f, --definition-file=<value>
123
137
 
124
138
  Path to a definition file that contains features and org preferences that the metadata of the package version
@@ -140,7 +154,7 @@ FLAG DESCRIPTIONS
140
154
  --installation-key-bypass flag is required.
141
155
  ```
142
156
 
143
- _See code: [src/commands/package/convert.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/convert.ts)_
157
+ _See code: [src/commands/package/convert.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/convert.ts)_
144
158
 
145
159
  ## `sf package create`
146
160
 
@@ -219,7 +233,7 @@ FLAG DESCRIPTIONS
219
233
  Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
220
234
  ```
221
235
 
222
- _See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/create.ts)_
236
+ _See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/create.ts)_
223
237
 
224
238
  ## `sf package delete`
225
239
 
@@ -261,7 +275,7 @@ EXAMPLES
261
275
  $ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
262
276
  ```
263
277
 
264
- _See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/delete.ts)_
278
+ _See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/delete.ts)_
265
279
 
266
280
  ## `sf package install`
267
281
 
@@ -360,7 +374,7 @@ FLAG DESCRIPTIONS
360
374
  - Delete: Delete all removed components that can be safely deleted, and deprecate the other components.
361
375
  ```
362
376
 
363
- _See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/install.ts)_
377
+ _See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/install.ts)_
364
378
 
365
379
  ## `sf package install report`
366
380
 
@@ -393,7 +407,7 @@ EXAMPLES
393
407
  $ sf package install report --request-id 0Hf... --target-org me@example.com
394
408
  ```
395
409
 
396
- _See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/install/report.ts)_
410
+ _See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/install/report.ts)_
397
411
 
398
412
  ## `sf package installed list`
399
413
 
@@ -425,7 +439,7 @@ EXAMPLES
425
439
  $ sf package installed list --target-org me@example.com
426
440
  ```
427
441
 
428
- _See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/installed/list.ts)_
442
+ _See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/installed/list.ts)_
429
443
 
430
444
  ## `sf package list`
431
445
 
@@ -463,7 +477,7 @@ EXAMPLES
463
477
  $ sf package list --target-dev-hub devhub@example.com --verbose
464
478
  ```
465
479
 
466
- _See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/list.ts)_
480
+ _See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/list.ts)_
467
481
 
468
482
  ## `sf package push-upgrade abort`
469
483
 
@@ -488,8 +502,7 @@ DESCRIPTION
488
502
  Abort a package push upgrade that has been scheduled. Only push upgrade requests with a status of Created or Pending
489
503
  can be aborted.
490
504
 
491
- Specify the request ID for which you want abort the request. If applicable, the command displays errors related to the
492
- request.
505
+ Specify the request ID that you want to abort. If applicable, the command displays errors related to the request.
493
506
 
494
507
  To show all requests in the org, run "sf package pushupgrade list --package 033...".
495
508
 
@@ -503,7 +516,7 @@ EXAMPLES
503
516
  $ sf package push-upgrade abort --push-request-id 0DV... --target-dev-hub devhub@example.com
504
517
  ```
505
518
 
506
- _See code: [src/commands/package/push-upgrade/abort.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/push-upgrade/abort.ts)_
519
+ _See code: [src/commands/package/push-upgrade/abort.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/push-upgrade/abort.ts)_
507
520
 
508
521
  ## `sf package push-upgrade list`
509
522
 
@@ -562,7 +575,7 @@ EXAMPLES
562
575
  $ sf package push-upgrade list --package 033xyz –-status Failed
563
576
  ```
564
577
 
565
- _See code: [src/commands/package/push-upgrade/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/push-upgrade/list.ts)_
578
+ _See code: [src/commands/package/push-upgrade/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/push-upgrade/list.ts)_
566
579
 
567
580
  ## `sf package push-upgrade report`
568
581
 
@@ -604,7 +617,7 @@ EXAMPLES
604
617
  $ sf package push-upgrade report --push-request-id 0DV... --target-dev-hub devhub@example.com
605
618
  ```
606
619
 
607
- _See code: [src/commands/package/push-upgrade/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/push-upgrade/report.ts)_
620
+ _See code: [src/commands/package/push-upgrade/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/push-upgrade/report.ts)_
608
621
 
609
622
  ## `sf package push-upgrade schedule`
610
623
 
@@ -616,13 +629,15 @@ USAGE
616
629
  <value> | -f <value>] [--migrate-to-2gp]
617
630
 
618
631
  FLAGS
619
- -f, --org-file=<value> Filename of the CSV file that contains the list of orgs that need the package upgrade.
620
- -l, --org-list=<value> Comma-separated list of subscriber org IDs that need the package upgrade.
632
+ -f, --org-file=<value> Filename of the CSV file that contains the list of subscriber org IDs that need the
633
+ package upgrade. Either --org-list or --org-file must be specified.
634
+ -l, --org-list=<value> Comma-separated list of subscriber org IDs that need the package upgrade. Either
635
+ --org-list or --org-file must be specified.
621
636
  -p, --package=<value> (required) ID (starts with 04t) of the package version that the package is being
622
637
  upgraded to. The package version must be an active, non-beta package version.
623
638
  -t, --start-time=<value> Date and time (UTC) when the push upgrade is processed. Set to the earliest time that
624
639
  you want Salesforce to attempt to start the upgrade.
625
- -v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org.
640
+ -v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org that owns the package.
626
641
  --api-version=<value> Override the api version used for api requests made by this command
627
642
  --migrate-to-2gp Upgrade from a first-generation managed package (1GP) to a second-generation managed
628
643
  package (2GP). Required when you’re pushing a 2GP package to orgs with the 1GP version
@@ -650,11 +665,11 @@ EXAMPLES
650
665
  Schedule a push upgrade that initiates at a specified time:
651
666
 
652
667
  $ sf package push-upgrade schedule --package 04txyz --start-time "2024-12-06T21:00:00" --org-file \
653
- upgrade-orgs.csv
668
+ upgrade-orgs.csv --target-dev-hub myHub
654
669
 
655
670
  Schedule a push upgrade that initiates as soon as possible:
656
671
 
657
- $ sf package push-upgrade schedule --package 04txyz --org-file upgrade-orgs.csv
672
+ $ sf package push-upgrade schedule --package 04txyz --org-file upgrade-orgs.csv --target-dev-hub myHub
658
673
 
659
674
  Schedule a push migration from a 1GP package to a 2GP package:
660
675
 
@@ -662,11 +677,14 @@ EXAMPLES
662
677
  --org-file upgrade-orgs.csv --target-dev-hub myHub
663
678
 
664
679
  FLAG DESCRIPTIONS
665
- -f, --org-file=<value> Filename of the CSV file that contains the list of orgs that need the package upgrade.
680
+ -f, --org-file=<value>
681
+
682
+ Filename of the CSV file that contains the list of subscriber org IDs that need the package upgrade. Either
683
+ --org-list or --org-file must be specified.
666
684
 
667
685
  The file must contain one org per line. The org ID must be the only value in each row.
668
686
  All listed orgs must have a package version installed in their org that is lower than the package version you
669
- specified for the --package-version flag.
687
+ specified for the --package flag.
670
688
 
671
689
  -t, --start-time=<value>
672
690
 
@@ -681,12 +699,12 @@ FLAG DESCRIPTIONS
681
699
  If you don't specify this flag, the push upgrade is scheduled to run as soon as resources are available on the
682
700
  Salesforce instance.
683
701
 
684
- -v, --target-dev-hub=<value> Username or alias of the Dev Hub org.
702
+ -v, --target-dev-hub=<value> Username or alias of the Dev Hub org that owns the package.
685
703
 
686
704
  Overrides the value of the target-dev-hub configuration variable, if set.
687
705
  ```
688
706
 
689
- _See code: [src/commands/package/push-upgrade/schedule.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/push-upgrade/schedule.ts)_
707
+ _See code: [src/commands/package/push-upgrade/schedule.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/push-upgrade/schedule.ts)_
690
708
 
691
709
  ## `sf package uninstall`
692
710
 
@@ -734,7 +752,7 @@ EXAMPLES
734
752
  $ sf package uninstall --package "Undesirable Package Alias"
735
753
  ```
736
754
 
737
- _See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/uninstall.ts)_
755
+ _See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/uninstall.ts)_
738
756
 
739
757
  ## `sf package uninstall report`
740
758
 
@@ -767,7 +785,7 @@ EXAMPLES
767
785
  $ sf package uninstall report --request-id 06y... --target-org me@example.com
768
786
  ```
769
787
 
770
- _See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/uninstall/report.ts)_
788
+ _See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/uninstall/report.ts)_
771
789
 
772
790
  ## `sf package update`
773
791
 
@@ -822,7 +840,7 @@ FLAG DESCRIPTIONS
822
840
  associated with your package.
823
841
  ```
824
842
 
825
- _See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/update.ts)_
843
+ _See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/update.ts)_
826
844
 
827
845
  ## `sf package version create`
828
846
 
@@ -997,7 +1015,7 @@ FLAG DESCRIPTIONS
997
1015
  periods of no output from commands.
998
1016
  ```
999
1017
 
1000
- _See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/create.ts)_
1018
+ _See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/version/create.ts)_
1001
1019
 
1002
1020
  ## `sf package version create list`
1003
1021
 
@@ -1058,7 +1076,7 @@ EXAMPLES
1058
1076
  $ sf package version create list --created-last-days 0 --status Success
1059
1077
  ```
1060
1078
 
1061
- _See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/create/list.ts)_
1079
+ _See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/version/create/list.ts)_
1062
1080
 
1063
1081
  ## `sf package version create report`
1064
1082
 
@@ -1101,7 +1119,7 @@ EXAMPLES
1101
1119
  $ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
1102
1120
  ```
1103
1121
 
1104
- _See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/create/report.ts)_
1122
+ _See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/version/create/report.ts)_
1105
1123
 
1106
1124
  ## `sf package version delete`
1107
1125
 
@@ -1142,7 +1160,7 @@ EXAMPLES
1142
1160
  $ sf package version delete --package 04t... --target-org devhub@example.com
1143
1161
  ```
1144
1162
 
1145
- _See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/delete.ts)_
1163
+ _See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/version/delete.ts)_
1146
1164
 
1147
1165
  ## `sf package version displayancestry`
1148
1166
 
@@ -1202,7 +1220,7 @@ FLAG DESCRIPTIONS
1202
1220
  You can use the DOT code output in graph visualization software to create tree visualizations.
1203
1221
  ```
1204
1222
 
1205
- _See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/displayancestry.ts)_
1223
+ _See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/version/displayancestry.ts)_
1206
1224
 
1207
1225
  ## `sf package version list`
1208
1226
 
@@ -1278,7 +1296,7 @@ EXAMPLES
1278
1296
  $ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
1279
1297
  ```
1280
1298
 
1281
- _See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/list.ts)_
1299
+ _See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/version/list.ts)_
1282
1300
 
1283
1301
  ## `sf package version promote`
1284
1302
 
@@ -1322,7 +1340,7 @@ EXAMPLES
1322
1340
  $ sf package version promote --package "Awesome Package Alias"
1323
1341
  ```
1324
1342
 
1325
- _See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/promote.ts)_
1343
+ _See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/version/promote.ts)_
1326
1344
 
1327
1345
  ## `sf package version report`
1328
1346
 
@@ -1362,7 +1380,46 @@ EXAMPLES
1362
1380
  $ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
1363
1381
  ```
1364
1382
 
1365
- _See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/report.ts)_
1383
+ _See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/version/report.ts)_
1384
+
1385
+ ## `sf package version retrieve`
1386
+
1387
+ Retrieve package metadata for a specified package version. Package metadata can be retrieved for converted second-generation managed package versions only.
1388
+
1389
+ ```
1390
+ USAGE
1391
+ $ sf package version retrieve -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-d
1392
+ <value>]
1393
+
1394
+ FLAGS
1395
+ -d, --output-dir=<value> [default: force-app] Path within your Salesforce DX project directory in which to
1396
+ download the metadata. This directory must be empty.
1397
+ -p, --package=<value> (required) Subscriber package version ID (starts with 04t).
1398
+ -v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
1399
+ configuration variable is already set.
1400
+ --api-version=<value> Override the api version used for api requests made by this command
1401
+
1402
+ GLOBAL FLAGS
1403
+ --flags-dir=<value> Import flag values from a directory.
1404
+ --json Format output as json.
1405
+
1406
+ DESCRIPTION
1407
+ Retrieve package metadata for a specified package version. Package metadata can be retrieved for converted
1408
+ second-generation managed package versions only.
1409
+
1410
+ Retrieving a package version downloads the metadata into the directory you specify.
1411
+
1412
+ Specify the subscriber package version ID (starts with 04t) and the path to an empty directory when you run this
1413
+ command.
1414
+
1415
+ EXAMPLES
1416
+ Retrieve package metadata for a converted subscriber package version ID (starts with 04t) into my-folder/ within
1417
+ your Salesforce DX project directory:
1418
+
1419
+ $ sf package version retrieve --package 04t... --output-dir my-folder –-target-dev-hub my-devhub
1420
+ ```
1421
+
1422
+ _See code: [src/commands/package/version/retrieve.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/version/retrieve.ts)_
1366
1423
 
1367
1424
  ## `sf package version update`
1368
1425
 
@@ -1415,7 +1472,7 @@ EXAMPLES
1415
1472
  $ sf package version update --package 04t... --version-description "New Package Version Description"
1416
1473
  ```
1417
1474
 
1418
- _See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/update.ts)_
1475
+ _See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package/version/update.ts)_
1419
1476
 
1420
1477
  ## `sf package1 version create`
1421
1478
 
@@ -1482,7 +1539,7 @@ FLAG DESCRIPTIONS
1482
1539
  subscribers.
1483
1540
  ```
1484
1541
 
1485
- _See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package1/version/create.ts)_
1542
+ _See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package1/version/create.ts)_
1486
1543
 
1487
1544
  ## `sf package1 version create get`
1488
1545
 
@@ -1515,7 +1572,7 @@ EXAMPLES
1515
1572
  $ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
1516
1573
  ```
1517
1574
 
1518
- _See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package1/version/create/get.ts)_
1575
+ _See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package1/version/create/get.ts)_
1519
1576
 
1520
1577
  ## `sf package1 version display`
1521
1578
 
@@ -1549,7 +1606,7 @@ EXAMPLES
1549
1606
  $ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
1550
1607
  ```
1551
1608
 
1552
- _See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package1/version/display.ts)_
1609
+ _See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package1/version/display.ts)_
1553
1610
 
1554
1611
  ## `sf package1 version list`
1555
1612
 
@@ -1587,6 +1644,6 @@ FLAG DESCRIPTIONS
1587
1644
  If not specified, shows all versions for all packages (managed and unmanaged) in the org.
1588
1645
  ```
1589
1646
 
1590
- _See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package1/version/list.ts)_
1647
+ _See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.17.0/src/commands/package1/version/list.ts)_
1591
1648
 
1592
1649
  <!-- commandsstop -->
@@ -20,6 +20,7 @@ export declare class PackageConvert extends SfCommand<PackageVersionCreateReques
20
20
  'seed-metadata': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
21
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
22
22
  'patch-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
+ 'code-coverage': import("@oclif/core/interfaces").BooleanFlag<boolean>;
23
24
  };
24
25
  run(): Promise<PackageVersionCreateRequestResult>;
25
26
  private display;
@@ -80,6 +80,12 @@ export class PackageConvert extends SfCommand {
80
80
  deprecateAliases: true,
81
81
  aliases: ['patchversion'],
82
82
  }),
83
+ 'code-coverage': Flags.boolean({
84
+ char: 'c',
85
+ summary: messages.getMessage('flags.code-coverage.summary'),
86
+ description: messages.getMessage('flags.code-coverage.description'),
87
+ default: false,
88
+ }),
83
89
  };
84
90
  async run() {
85
91
  const { flags } = await this.parse(PackageConvert);
@@ -117,6 +123,7 @@ export class PackageConvert extends SfCommand {
117
123
  buildInstance: flags['build-instance'],
118
124
  seedMetadata: flags['seed-metadata'],
119
125
  patchversion: flags['patch-version'],
126
+ codecoverage: flags['code-coverage'],
120
127
  }, project);
121
128
  switch (result.Status) {
122
129
  case PackagingSObjects['Package2VersionStatus'].error:
@@ -1 +1 @@
1
- {"version":3,"file":"convert.js","sourceRoot":"","sources":["../../../src/commands/package/convert.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,iCAAiC,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC5G,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EACL,gBAAgB,EAChB,OAAO,EACP,aAAa,EAGb,iBAAiB,GAClB,MAAM,u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AAO,MAAM,CAAC;IAChB,CAAC;IAEO,OAAO,CAAC,OAAe,EAAE,OAAgB;QAC/C,IAAI,OAAO,EAAE,CAAC;YACZ,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACpB,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC;QAChC,CAAC;IACH,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { SfCommand } from '@salesforce/sf-plugins-core';
2
2
  import { CodeCoverage, PackageType, PackageVersionReportResult, PackagingSObjects } from '@salesforce/packaging';
3
- declare const omissions: readonly ["CodeCoverage", "HasPassedCodeCoverageCheck", "Package2", "HasMetadataRemoved"];
3
+ declare const omissions: readonly ["CodeCoverage", "HasPassedCodeCoverageCheck", "Package2", "HasMetadataRemoved", "DeveloperUsePkgZip"];
4
4
  type Omission = (typeof omissions)[number];
5
5
  export type PackageVersionReportResultModified = Omit<PackageVersionReportResult, Omission> & {
6
6
  CodeCoverage: CodeCoverage | string | undefined;
@@ -14,7 +14,13 @@ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
14
14
  const messages = Messages.loadMessages('@salesforce/plugin-packaging', 'package_version_report');
15
15
  const pvlMessages = Messages.loadMessages('@salesforce/plugin-packaging', 'package_version_list');
16
16
  const plMessages = Messages.loadMessages('@salesforce/plugin-packaging', 'package_list');
17
- const omissions = ['CodeCoverage', 'HasPassedCodeCoverageCheck', 'Package2', 'HasMetadataRemoved'];
17
+ const omissions = [
18
+ 'CodeCoverage',
19
+ 'HasPassedCodeCoverageCheck',
20
+ 'Package2',
21
+ 'HasMetadataRemoved',
22
+ 'DeveloperUsePkgZip',
23
+ ];
18
24
  export class PackageVersionReportCommand extends SfCommand {
19
25
  static summary = messages.getMessage('summary');
20
26
  static description = messages.getMessage('description');
@@ -1 +1 @@
1
- {"version":3,"file":"report.js","sourceRoot":"","sources":["../../../../src/commands/package/version/report.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;A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QAED,IAAI,OAAO,CAAC,QAAQ,CAAC,cAAc,KAAK,IAAI,IAAI,OAAO,CAAC,iBAAiB,KAAK,IAAI,EAAE,CAAC;YACnF,MAAM,CAAC,YAAY,GAAG,KAAK,CAAC;QAC9B,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QAC7C,CAAC;QAED,MAAM,CAAC,0BAA0B;YAC/B,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,OAAO,CAAC,iBAAiB;gBACnE,CAAC,CAAC,KAAK;gBACP,CAAC,CAAC,OAAO,CAAC,0BAA0B,IAAI,SAAS,CAAC;QAEtD,MAAM,CAAC,QAAQ,GAAG,EAAE,CAAC;QACrB,MAAM,CAAC,QAAQ,CAAC,cAAc;YAC5B,OAAO,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,cAAc,KAAK,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;QAEtG,6FAA6F;QAC7F,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;QAElH,MAAM,CAAC,sBAAsB,KAAK,GAAG,CAAC;QAEtC,OAAO,MAAM,CAAC;IAChB,CAAC"}
@@ -6,7 +6,6 @@ export type FileDownloadEntry = {
6
6
  };
7
7
  export type PackageVersionRetrieveCommandResult = FileDownloadEntry[];
8
8
  export declare class PackageVersionRetrieveCommand extends SfCommand<PackageVersionRetrieveCommandResult> {
9
- static readonly hidden = true;
10
9
  static readonly summary: string;
11
10
  static readonly description: string;
12
11
  static readonly examples: string[];
@@ -14,7 +13,7 @@ export declare class PackageVersionRetrieveCommand extends SfCommand<PackageVers
14
13
  static readonly flags: {
15
14
  loglevel: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
16
15
  'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
17
- 'target-org': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
16
+ 'target-dev-hub': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
18
17
  package: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
19
18
  'output-dir': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
20
19
  };
@@ -5,13 +5,12 @@
5
5
  * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
6
6
  */
7
7
  import path from 'node:path';
8
- import { Flags, loglevel, orgApiVersionFlagWithDeprecations, requiredOrgFlagWithDeprecations, SfCommand, } from '@salesforce/sf-plugins-core';
8
+ import { Flags, loglevel, orgApiVersionFlagWithDeprecations, requiredHubFlagWithDeprecations, SfCommand, } from '@salesforce/sf-plugins-core';
9
9
  import { Messages } from '@salesforce/core/messages';
10
10
  import { Package } from '@salesforce/packaging';
11
11
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
12
12
  const messages = Messages.loadMessages('@salesforce/plugin-packaging', 'package_version_retrieve');
13
13
  export class PackageVersionRetrieveCommand extends SfCommand {
14
- static hidden = true;
15
14
  static summary = messages.getMessage('summary');
16
15
  static description = messages.getMessage('description');
17
16
  static examples = messages.getMessages('examples');
@@ -19,7 +18,7 @@ export class PackageVersionRetrieveCommand extends SfCommand {
19
18
  static flags = {
20
19
  loglevel,
21
20
  'api-version': orgApiVersionFlagWithDeprecations,
22
- 'target-org': requiredOrgFlagWithDeprecations,
21
+ 'target-dev-hub': requiredHubFlagWithDeprecations,
23
22
  package: Flags.string({
24
23
  char: 'p',
25
24
  summary: messages.getMessage('flags.package.summary'),
@@ -33,7 +32,7 @@ export class PackageVersionRetrieveCommand extends SfCommand {
33
32
  };
34
33
  async run() {
35
34
  const { flags } = await this.parse(PackageVersionRetrieveCommand);
36
- const connection = flags['target-org'].getConnection(flags['api-version']);
35
+ const connection = flags['target-dev-hub'].getConnection(flags['api-version']);
37
36
  const options = {
38
37
  subscriberPackageVersionId: flags.package ?? '',
39
38
  destinationFolder: flags['output-dir'],
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve.js","sourceRoot":"","sources":["../../../../src/commands/package/version/retrieve.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,KAAK,EACL,QAAQ,EACR,iCAAiC,EACjC,+BAA+B,EAC/B,SAAS,GACV,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,OAAO,EAAwC,MAAM,uBAAuB,CAAC;AAEtF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,0BAA0B,CAAC,CAAC;AAUnG,MAAM,OAAO,6BAA8B,SAAQ,SAA8C;IACxF,MAAM,CAAU,MAAM,GAAG,IAAI,CAAC;IAC9B,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC5D,MAAM,CAAU,eAAe,GAAG,IAAI,CAAC;IACvC,MAAM,CAAU,KAAK,GAAG;QAC7B,QAAQ;QACR,aAAa,EAA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AAO,CAAC,CAAC,SAAS,EAAE,EAAE;YACtC,IAAI,SAAS,CAAC,GAAG,EAAE,CAAC;gBAClB,OAAO,CAAC,IAAI,CAAC;oBACX,QAAQ,EAAE,SAAS,CAAC,QAAQ;oBAC5B,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI;oBACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC;iBAC5C,CAAC,CAAC;YACL,CAAC;YACD,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;gBACtB,OAAO,CAAC,IAAI,CAAC;oBACX,QAAQ,EAAE,SAAS,CAAC,QAAQ;oBAC5B,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI;oBACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAC,OAAO,CAAC;iBAChD,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,KAAK,CAAC;YACT,IAAI,EAAE,OAAO;YACb,OAAO,EAAE;gBACP,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,kBAAkB,CAAC,EAAE;gBAClE,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE;gBAC1D,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,kBAAkB,CAAC,EAAE;aACnE;YACD,QAAQ,EAAE,MAAM;SACjB,CAAC,CAAC;QAEH,OAAO,OAAO,CAAC;IACjB,CAAC"}
@@ -12,6 +12,8 @@ To retrieve details about a package version create request, including status and
12
12
 
13
13
  To protect the contents of your package and to prevent unauthorized installation of your package, specify the --installation-key flag.
14
14
 
15
+ To promote a package version to released, you must use the --code-coverage parameter. The package must also meet the code coverage requirements.
16
+
15
17
  To list package version creation requests in the org, run "<%= config.bin %> package version create list".
16
18
 
17
19
  # examples
@@ -66,7 +68,7 @@ Display verbose command output.
66
68
 
67
69
  # in-progress
68
70
 
69
- Request in progress. Will wait a total of %s more seconds before timing out. Current Status='%s'.
71
+ Request in progress. Will wait a total of %s more seconds before timing out. Current Status='%s'.
70
72
 
71
73
  # flags.seed-metadata.summary
72
74
 
@@ -83,3 +85,11 @@ Specific released patch version to be converted.
83
85
  # flags.patch-version.description
84
86
 
85
87
  Specify a released patch version as major.minor.patch to convert to a second-generation managed package version.
88
+
89
+ # flags.code-coverage.summary
90
+
91
+ Calculate and store the code coverage percentage by running the packaged Apex tests included in this package version.
92
+
93
+ # flags.code-coverage.description
94
+
95
+ Before you can promote and release a managed package version, the Apex code must meet a minimum 75% code coverage requirement.
@@ -4,7 +4,7 @@ Abort a package push upgrade that has been scheduled. Only push upgrade requests
4
4
 
5
5
  # description
6
6
 
7
- Specify the request ID for which you want abort the request. If applicable, the command displays errors related to the request.
7
+ Specify the request ID that you want to abort. If applicable, the command displays errors related to the request.
8
8
 
9
9
  To show all requests in the org, run "<%= config.bin %> package pushupgrade list --package 033...".
10
10
 
@@ -13,7 +13,7 @@ Use the -–migrate-to-2GP flag to indicate you’re installing a converted seco
13
13
 
14
14
  # flags.target-dev-hub.summary
15
15
 
16
- Username or alias of the Dev Hub org.
16
+ Username or alias of the Dev Hub org that owns the package.
17
17
 
18
18
  # flags.target-dev-hub.description
19
19
 
@@ -36,16 +36,16 @@ If you don't specify this flag, the push upgrade is scheduled to run as soon as
36
36
 
37
37
  # flags.org-file.summary
38
38
 
39
- Filename of the CSV file that contains the list of orgs that need the package upgrade.
39
+ Filename of the CSV file that contains the list of subscriber org IDs that need the package upgrade. Either --org-list or --org-file must be specified.
40
40
 
41
41
  # flags.org-file.description
42
42
 
43
- The file must contain one org per line. The org ID must be the only value in each row.
44
- All listed orgs must have a package version installed in their org that is lower than the package version you specified for the --package-version flag.
43
+ The file must contain one org per line. The org ID must be the only value in each row.
44
+ All listed orgs must have a package version installed in their org that is lower than the package version you specified for the --package flag.
45
45
 
46
46
  # flags.org-list.summary
47
47
 
48
- Comma-separated list of subscriber org IDs that need the package upgrade.
48
+ Comma-separated list of subscriber org IDs that need the package upgrade. Either --org-list or --org-file must be specified.
49
49
 
50
50
  # flags.migrate-to-2gp.summary
51
51
 
@@ -79,10 +79,10 @@ Can’t schedule the package push upgrade. You must specify either a list of org
79
79
  # examples
80
80
 
81
81
  - Schedule a push upgrade that initiates at a specified time:
82
- <%= config.bin %> <%= command.id %> --package 04txyz --start-time "2024-12-06T21:00:00" --org-file upgrade-orgs.csv
82
+ <%= config.bin %> <%= command.id %> --package 04txyz --start-time "2024-12-06T21:00:00" --org-file upgrade-orgs.csv --target-dev-hub myHub
83
83
 
84
84
  - Schedule a push upgrade that initiates as soon as possible:
85
- <%= config.bin %> <%= command.id %> --package 04txyz --org-file upgrade-orgs.csv
85
+ <%= config.bin %> <%= command.id %> --package 04txyz --org-file upgrade-orgs.csv --target-dev-hub myHub
86
86
 
87
87
  - Schedule a push migration from a 1GP package to a 2GP package:
88
88
  <%= config.bin %> <%= command.id %> --migrate-to-2gp --package 04txyz --start-time "2024-12-06T21:00:00" --org-file upgrade-orgs.csv --target-dev-hub myHub
@@ -1,22 +1,18 @@
1
1
  # summary
2
2
 
3
- Retrieve package metadata for a specified package version.
3
+ Retrieve package metadata for a specified package version. Package metadata can be retrieved for converted second-generation managed package versions only.
4
4
 
5
5
  # description
6
6
 
7
7
  Retrieving a package version downloads the metadata into the directory you specify.
8
8
 
9
- You can retrieve metadata for a second- or first-generation managed package, or an unlocked package.
10
-
11
9
  Specify the subscriber package version ID (starts with 04t) and the path to an empty directory when you run this command.
12
10
 
13
11
  # examples
14
12
 
15
- - Retrieve package metadata for a subscriber package version ID (starts with 04t) into my-folder/ within your Salesforce DX project directory:
16
-
17
- <%= config.bin %> <%= command.id %> --package 04t... --output-dir my-folder –-target-org my-scratch
13
+ - Retrieve package metadata for a converted subscriber package version ID (starts with 04t) into my-folder/ within your Salesforce DX project directory:
18
14
 
19
- If you omit --target-org, this command runs against your default org.
15
+ <%= config.bin %> <%= command.id %> --package 04t... --output-dir my-folder –-target-dev-hub my-devhub
20
16
 
21
17
  # flags.package.summary
22
18
 
@@ -6,7 +6,7 @@
6
6
  ],
7
7
  "args": {},
8
8
  "deprecateAliases": true,
9
- "description": "The package conversion command automatically selects the latest released major.minor first-generation managed package version, and converts it into a second-generation managed package version.\n\nUse --patch-version to specify a released patch version.\n\nTo retrieve details about a package version create request, including status and package version ID (04t), run \"<%= config.bin %> package version create report -i 08c...\".\n\nTo protect the contents of your package and to prevent unauthorized installation of your package, specify the --installation-key flag.\n\nTo list package version creation requests in the org, run \"<%= config.bin %> package version create list\".",
9
+ "description": "The package conversion command automatically selects the latest released major.minor first-generation managed package version, and converts it into a second-generation managed package version.\n\nUse --patch-version to specify a released patch version.\n\nTo retrieve details about a package version create request, including status and package version ID (04t), run \"<%= config.bin %> package version create report -i 08c...\".\n\nTo protect the contents of your package and to prevent unauthorized installation of your package, specify the --installation-key flag.\n\nTo promote a package version to released, you must use the --code-coverage parameter. The package must also meet the code coverage requirements.\n\nTo list package version creation requests in the org, run \"<%= config.bin %> package version create list\".",
10
10
  "examples": [
11
11
  "Create a second-generation managed package version from the first-generation managed package with the specified ID and give it the installation key \"password123\"; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 033... --installation-key password123",
12
12
  "Similar to previous example, but uses the specified Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 033... --installation-key password123 --target-dev-hub devhuborg@example.com"
@@ -158,6 +158,14 @@
158
158
  "hasDynamicHelp": false,
159
159
  "multiple": false,
160
160
  "type": "option"
161
+ },
162
+ "code-coverage": {
163
+ "char": "c",
164
+ "description": "Before you can promote and release a managed package version, the Apex code must meet a minimum 75% code coverage requirement.",
165
+ "name": "code-coverage",
166
+ "summary": "Calculate and store the code coverage percentage by running the packaged Apex tests included in this package version.",
167
+ "allowNo": false,
168
+ "type": "boolean"
161
169
  }
162
170
  },
163
171
  "hasDynamicHelp": true,
@@ -1291,7 +1299,7 @@
1291
1299
  "package:push-upgrade:abort": {
1292
1300
  "aliases": [],
1293
1301
  "args": {},
1294
- "description": "Specify the request ID for which you want abort the request. If applicable, the command displays errors related to the request.\n\nTo show all requests in the org, run \"<%= config.bin %> package pushupgrade list --package 033...\".",
1302
+ "description": "Specify the request ID that you want to abort. If applicable, the command displays errors related to the request.\n\nTo show all requests in the org, run \"<%= config.bin %> package pushupgrade list --package 033...\".",
1295
1303
  "examples": [
1296
1304
  "Cancel the specified package push upgrade request with the specified ID; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --push-request-id 0DV...",
1297
1305
  "Cancel the specified package push upgrade request in the Dev Hub org with username devhub@example.com:\n<%= config.bin %> <%= command.id %> --push-request-id 0DV... --target-dev-hub devhub@example.com"
@@ -1650,8 +1658,8 @@
1650
1658
  "args": {},
1651
1659
  "description": "Represents a push upgrade request for upgrading a package in one or many orgs from one version to another version.\nTo initiate a push upgrade for an unlocked or second-generation managed package, the Create and Update Second-Generation Packages user permission is required.\nFor second-generation managed packages, the push upgrade feature is available only for packages that have passed AppExchange security review. To enable push upgrades for your managed package, log a support case in the Salesforce Partner Community.\nFor unlocked packages, push upgrades are enabled by default.\n\nUse the -–migrate-to-2GP flag to indicate you’re installing a converted second-generation managed package into an org that has the first-generation managed package version of that package installed.",
1652
1660
  "examples": [
1653
- "Schedule a push upgrade that initiates at a specified time:\n<%= config.bin %> <%= command.id %> --package 04txyz --start-time \"2024-12-06T21:00:00\" --org-file upgrade-orgs.csv",
1654
- "Schedule a push upgrade that initiates as soon as possible:\n<%= config.bin %> <%= command.id %> --package 04txyz --org-file upgrade-orgs.csv",
1661
+ "Schedule a push upgrade that initiates at a specified time:\n<%= config.bin %> <%= command.id %> --package 04txyz --start-time \"2024-12-06T21:00:00\" --org-file upgrade-orgs.csv --target-dev-hub myHub",
1662
+ "Schedule a push upgrade that initiates as soon as possible:\n<%= config.bin %> <%= command.id %> --package 04txyz --org-file upgrade-orgs.csv --target-dev-hub myHub",
1655
1663
  "Schedule a push migration from a 1GP package to a 2GP package:\n<%= config.bin %> <%= command.id %> --migrate-to-2gp --package 04txyz --start-time \"2024-12-06T21:00:00\" --org-file upgrade-orgs.csv --target-dev-hub myHub"
1656
1664
  ],
1657
1665
  "flags": {
@@ -1676,7 +1684,7 @@
1676
1684
  "name": "target-dev-hub",
1677
1685
  "noCacheDefault": true,
1678
1686
  "required": true,
1679
- "summary": "Username or alias of the Dev Hub org.",
1687
+ "summary": "Username or alias of the Dev Hub org that owns the package.",
1680
1688
  "hasDynamicHelp": true,
1681
1689
  "multiple": false,
1682
1690
  "type": "option"
@@ -1716,19 +1724,19 @@
1716
1724
  "org-file"
1717
1725
  ],
1718
1726
  "name": "org-list",
1719
- "summary": "Comma-separated list of subscriber org IDs that need the package upgrade.",
1727
+ "summary": "Comma-separated list of subscriber org IDs that need the package upgrade. Either --org-list or --org-file must be specified.",
1720
1728
  "hasDynamicHelp": false,
1721
1729
  "multiple": false,
1722
1730
  "type": "option"
1723
1731
  },
1724
1732
  "org-file": {
1725
1733
  "char": "f",
1726
- "description": "The file must contain one org per line. The org ID must be the only value in each row. \nAll listed orgs must have a package version installed in their org that is lower than the package version you specified for the --package-version flag.",
1734
+ "description": "The file must contain one org per line. The org ID must be the only value in each row.\nAll listed orgs must have a package version installed in their org that is lower than the package version you specified for the --package flag.",
1727
1735
  "exclusive": [
1728
1736
  "org-list"
1729
1737
  ],
1730
1738
  "name": "org-file",
1731
- "summary": "Filename of the CSV file that contains the list of orgs that need the package upgrade.",
1739
+ "summary": "Filename of the CSV file that contains the list of subscriber org IDs that need the package upgrade. Either --org-list or --org-file must be specified.",
1732
1740
  "hasDynamicHelp": false,
1733
1741
  "multiple": false,
1734
1742
  "type": "option"
@@ -3031,9 +3039,9 @@
3031
3039
  "package:version:retrieve": {
3032
3040
  "aliases": [],
3033
3041
  "args": {},
3034
- "description": "Retrieving a package version downloads the metadata into the directory you specify.\n\nYou can retrieve metadata for a second- or first-generation managed package, or an unlocked package.\n\nSpecify the subscriber package version ID (starts with 04t) and the path to an empty directory when you run this command.",
3042
+ "description": "Retrieving a package version downloads the metadata into the directory you specify.\n\nSpecify the subscriber package version ID (starts with 04t) and the path to an empty directory when you run this command.",
3035
3043
  "examples": [
3036
- "Retrieve package metadata for a subscriber package version ID (starts with 04t) into my-folder/ within your Salesforce DX project directory:\n<%= config.bin %> <%= command.id %> --package 04t... --output-dir my-folder –-target-org my-scratch\nIf you omit --target-org, this command runs against your default org."
3044
+ "Retrieve package metadata for a converted subscriber package version ID (starts with 04t) into my-folder/ within your Salesforce DX project directory:\n<%= config.bin %> <%= command.id %> --package 04t... --output-dir my-folder –-target-dev-hub my-devhub"
3037
3045
  ],
3038
3046
  "flags": {
3039
3047
  "json": {
@@ -3072,17 +3080,16 @@
3072
3080
  "multiple": false,
3073
3081
  "type": "option"
3074
3082
  },
3075
- "target-org": {
3083
+ "target-dev-hub": {
3076
3084
  "aliases": [
3077
- "targetusername",
3078
- "u"
3085
+ "targetdevhubusername"
3079
3086
  ],
3080
- "char": "o",
3087
+ "char": "v",
3081
3088
  "deprecateAliases": true,
3082
- "name": "target-org",
3089
+ "name": "target-dev-hub",
3083
3090
  "noCacheDefault": true,
3084
3091
  "required": true,
3085
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
3092
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
3086
3093
  "hasDynamicHelp": true,
3087
3094
  "multiple": false,
3088
3095
  "type": "option"
@@ -3107,14 +3114,13 @@
3107
3114
  }
3108
3115
  },
3109
3116
  "hasDynamicHelp": true,
3110
- "hidden": true,
3111
3117
  "hiddenAliases": [],
3112
3118
  "id": "package:version:retrieve",
3113
3119
  "pluginAlias": "@salesforce/plugin-packaging",
3114
3120
  "pluginName": "@salesforce/plugin-packaging",
3115
3121
  "pluginType": "core",
3116
3122
  "strict": true,
3117
- "summary": "Retrieve package metadata for a specified package version.",
3123
+ "summary": "Retrieve package metadata for a specified package version. Package metadata can be retrieved for converted second-generation managed package versions only.",
3118
3124
  "enableJsonFlag": true,
3119
3125
  "requiresProject": true,
3120
3126
  "isESM": true,
@@ -4542,5 +4548,5 @@
4542
4548
  ]
4543
4549
  }
4544
4550
  },
4545
- "version": "2.15.4"
4551
+ "version": "2.17.0"
4546
4552
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-packaging",
3
3
  "description": "SF plugin that support Salesforce Packaging Platform",
4
- "version": "2.15.4",
4
+ "version": "2.17.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^4",
9
- "@salesforce/core": "^8.12.0",
9
+ "@salesforce/core": "^8.15.0",
10
10
  "@salesforce/kit": "^3.2.3",
11
- "@salesforce/packaging": "^4.6.0",
11
+ "@salesforce/packaging": "^4.9.0",
12
12
  "@salesforce/sf-plugins-core": "^12.2.2",
13
13
  "chalk": "^5.4.1"
14
14
  },
@@ -247,7 +247,7 @@
247
247
  "exports": "./lib/index.js",
248
248
  "type": "module",
249
249
  "sfdx": {
250
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.15.4.crt",
251
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.15.4.sig"
250
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.17.0.crt",
251
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.17.0.sig"
252
252
  }
253
253
  }