@salesforce/plugin-packaging 2.16.0 → 2.18.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 +41 -37
- package/lib/commands/package/version/report.d.ts +1 -1
- package/lib/commands/package/version/report.js +7 -1
- package/lib/commands/package/version/report.js.map +1 -1
- package/lib/commands/package/version/retrieve.d.ts +1 -1
- package/lib/commands/package/version/retrieve.js +3 -3
- package/lib/commands/package/version/retrieve.js.map +1 -1
- package/messages/package_pushupgrade_abort.md +1 -1
- package/messages/package_pushupgrade_schedule.md +7 -7
- package/messages/package_version_retrieve.md +3 -7
- package/oclif.manifest.json +16 -17
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -153,7 +153,7 @@ FLAG DESCRIPTIONS
|
|
|
153
153
|
--installation-key-bypass flag is required.
|
|
154
154
|
```
|
|
155
155
|
|
|
156
|
-
_See code: [src/commands/package/convert.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
156
|
+
_See code: [src/commands/package/convert.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/convert.ts)_
|
|
157
157
|
|
|
158
158
|
## `sf package create`
|
|
159
159
|
|
|
@@ -232,7 +232,7 @@ FLAG DESCRIPTIONS
|
|
|
232
232
|
Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
|
|
233
233
|
```
|
|
234
234
|
|
|
235
|
-
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
235
|
+
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/create.ts)_
|
|
236
236
|
|
|
237
237
|
## `sf package delete`
|
|
238
238
|
|
|
@@ -274,7 +274,7 @@ EXAMPLES
|
|
|
274
274
|
$ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
|
|
275
275
|
```
|
|
276
276
|
|
|
277
|
-
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
277
|
+
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/delete.ts)_
|
|
278
278
|
|
|
279
279
|
## `sf package install`
|
|
280
280
|
|
|
@@ -373,7 +373,7 @@ FLAG DESCRIPTIONS
|
|
|
373
373
|
- Delete: Delete all removed components that can be safely deleted, and deprecate the other components.
|
|
374
374
|
```
|
|
375
375
|
|
|
376
|
-
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
376
|
+
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/install.ts)_
|
|
377
377
|
|
|
378
378
|
## `sf package install report`
|
|
379
379
|
|
|
@@ -406,7 +406,7 @@ EXAMPLES
|
|
|
406
406
|
$ sf package install report --request-id 0Hf... --target-org me@example.com
|
|
407
407
|
```
|
|
408
408
|
|
|
409
|
-
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
409
|
+
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/install/report.ts)_
|
|
410
410
|
|
|
411
411
|
## `sf package installed list`
|
|
412
412
|
|
|
@@ -438,7 +438,7 @@ EXAMPLES
|
|
|
438
438
|
$ sf package installed list --target-org me@example.com
|
|
439
439
|
```
|
|
440
440
|
|
|
441
|
-
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
441
|
+
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/installed/list.ts)_
|
|
442
442
|
|
|
443
443
|
## `sf package list`
|
|
444
444
|
|
|
@@ -476,7 +476,7 @@ EXAMPLES
|
|
|
476
476
|
$ sf package list --target-dev-hub devhub@example.com --verbose
|
|
477
477
|
```
|
|
478
478
|
|
|
479
|
-
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
479
|
+
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/list.ts)_
|
|
480
480
|
|
|
481
481
|
## `sf package push-upgrade abort`
|
|
482
482
|
|
|
@@ -501,8 +501,7 @@ DESCRIPTION
|
|
|
501
501
|
Abort a package push upgrade that has been scheduled. Only push upgrade requests with a status of Created or Pending
|
|
502
502
|
can be aborted.
|
|
503
503
|
|
|
504
|
-
Specify the request ID
|
|
505
|
-
request.
|
|
504
|
+
Specify the request ID that you want to abort. If applicable, the command displays errors related to the request.
|
|
506
505
|
|
|
507
506
|
To show all requests in the org, run "sf package pushupgrade list --package 033...".
|
|
508
507
|
|
|
@@ -516,7 +515,7 @@ EXAMPLES
|
|
|
516
515
|
$ sf package push-upgrade abort --push-request-id 0DV... --target-dev-hub devhub@example.com
|
|
517
516
|
```
|
|
518
517
|
|
|
519
|
-
_See code: [src/commands/package/push-upgrade/abort.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
518
|
+
_See code: [src/commands/package/push-upgrade/abort.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/push-upgrade/abort.ts)_
|
|
520
519
|
|
|
521
520
|
## `sf package push-upgrade list`
|
|
522
521
|
|
|
@@ -575,7 +574,7 @@ EXAMPLES
|
|
|
575
574
|
$ sf package push-upgrade list --package 033xyz –-status Failed
|
|
576
575
|
```
|
|
577
576
|
|
|
578
|
-
_See code: [src/commands/package/push-upgrade/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
577
|
+
_See code: [src/commands/package/push-upgrade/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/push-upgrade/list.ts)_
|
|
579
578
|
|
|
580
579
|
## `sf package push-upgrade report`
|
|
581
580
|
|
|
@@ -617,7 +616,7 @@ EXAMPLES
|
|
|
617
616
|
$ sf package push-upgrade report --push-request-id 0DV... --target-dev-hub devhub@example.com
|
|
618
617
|
```
|
|
619
618
|
|
|
620
|
-
_See code: [src/commands/package/push-upgrade/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
619
|
+
_See code: [src/commands/package/push-upgrade/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/push-upgrade/report.ts)_
|
|
621
620
|
|
|
622
621
|
## `sf package push-upgrade schedule`
|
|
623
622
|
|
|
@@ -629,13 +628,15 @@ USAGE
|
|
|
629
628
|
<value> | -f <value>] [--migrate-to-2gp]
|
|
630
629
|
|
|
631
630
|
FLAGS
|
|
632
|
-
-f, --org-file=<value> Filename of the CSV file that contains the list of
|
|
633
|
-
|
|
631
|
+
-f, --org-file=<value> Filename of the CSV file that contains the list of subscriber org IDs that need the
|
|
632
|
+
package upgrade. Either --org-list or --org-file must be specified.
|
|
633
|
+
-l, --org-list=<value> Comma-separated list of subscriber org IDs that need the package upgrade. Either
|
|
634
|
+
--org-list or --org-file must be specified.
|
|
634
635
|
-p, --package=<value> (required) ID (starts with 04t) of the package version that the package is being
|
|
635
636
|
upgraded to. The package version must be an active, non-beta package version.
|
|
636
637
|
-t, --start-time=<value> Date and time (UTC) when the push upgrade is processed. Set to the earliest time that
|
|
637
638
|
you want Salesforce to attempt to start the upgrade.
|
|
638
|
-
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org.
|
|
639
|
+
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org that owns the package.
|
|
639
640
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
640
641
|
--migrate-to-2gp Upgrade from a first-generation managed package (1GP) to a second-generation managed
|
|
641
642
|
package (2GP). Required when you’re pushing a 2GP package to orgs with the 1GP version
|
|
@@ -663,11 +664,11 @@ EXAMPLES
|
|
|
663
664
|
Schedule a push upgrade that initiates at a specified time:
|
|
664
665
|
|
|
665
666
|
$ sf package push-upgrade schedule --package 04txyz --start-time "2024-12-06T21:00:00" --org-file \
|
|
666
|
-
upgrade-orgs.csv
|
|
667
|
+
upgrade-orgs.csv --target-dev-hub myHub
|
|
667
668
|
|
|
668
669
|
Schedule a push upgrade that initiates as soon as possible:
|
|
669
670
|
|
|
670
|
-
$ sf package push-upgrade schedule --package 04txyz --org-file upgrade-orgs.csv
|
|
671
|
+
$ sf package push-upgrade schedule --package 04txyz --org-file upgrade-orgs.csv --target-dev-hub myHub
|
|
671
672
|
|
|
672
673
|
Schedule a push migration from a 1GP package to a 2GP package:
|
|
673
674
|
|
|
@@ -675,11 +676,14 @@ EXAMPLES
|
|
|
675
676
|
--org-file upgrade-orgs.csv --target-dev-hub myHub
|
|
676
677
|
|
|
677
678
|
FLAG DESCRIPTIONS
|
|
678
|
-
-f, --org-file=<value>
|
|
679
|
+
-f, --org-file=<value>
|
|
680
|
+
|
|
681
|
+
Filename of the CSV file that contains the list of subscriber org IDs that need the package upgrade. Either
|
|
682
|
+
--org-list or --org-file must be specified.
|
|
679
683
|
|
|
680
684
|
The file must contain one org per line. The org ID must be the only value in each row.
|
|
681
685
|
All listed orgs must have a package version installed in their org that is lower than the package version you
|
|
682
|
-
specified for the --package
|
|
686
|
+
specified for the --package flag.
|
|
683
687
|
|
|
684
688
|
-t, --start-time=<value>
|
|
685
689
|
|
|
@@ -694,12 +698,12 @@ FLAG DESCRIPTIONS
|
|
|
694
698
|
If you don't specify this flag, the push upgrade is scheduled to run as soon as resources are available on the
|
|
695
699
|
Salesforce instance.
|
|
696
700
|
|
|
697
|
-
-v, --target-dev-hub=<value> Username or alias of the Dev Hub org.
|
|
701
|
+
-v, --target-dev-hub=<value> Username or alias of the Dev Hub org that owns the package.
|
|
698
702
|
|
|
699
703
|
Overrides the value of the target-dev-hub configuration variable, if set.
|
|
700
704
|
```
|
|
701
705
|
|
|
702
|
-
_See code: [src/commands/package/push-upgrade/schedule.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
706
|
+
_See code: [src/commands/package/push-upgrade/schedule.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/push-upgrade/schedule.ts)_
|
|
703
707
|
|
|
704
708
|
## `sf package uninstall`
|
|
705
709
|
|
|
@@ -747,7 +751,7 @@ EXAMPLES
|
|
|
747
751
|
$ sf package uninstall --package "Undesirable Package Alias"
|
|
748
752
|
```
|
|
749
753
|
|
|
750
|
-
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
754
|
+
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/uninstall.ts)_
|
|
751
755
|
|
|
752
756
|
## `sf package uninstall report`
|
|
753
757
|
|
|
@@ -780,7 +784,7 @@ EXAMPLES
|
|
|
780
784
|
$ sf package uninstall report --request-id 06y... --target-org me@example.com
|
|
781
785
|
```
|
|
782
786
|
|
|
783
|
-
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
787
|
+
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/uninstall/report.ts)_
|
|
784
788
|
|
|
785
789
|
## `sf package update`
|
|
786
790
|
|
|
@@ -835,7 +839,7 @@ FLAG DESCRIPTIONS
|
|
|
835
839
|
associated with your package.
|
|
836
840
|
```
|
|
837
841
|
|
|
838
|
-
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
842
|
+
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/update.ts)_
|
|
839
843
|
|
|
840
844
|
## `sf package version create`
|
|
841
845
|
|
|
@@ -1010,7 +1014,7 @@ FLAG DESCRIPTIONS
|
|
|
1010
1014
|
periods of no output from commands.
|
|
1011
1015
|
```
|
|
1012
1016
|
|
|
1013
|
-
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1017
|
+
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/version/create.ts)_
|
|
1014
1018
|
|
|
1015
1019
|
## `sf package version create list`
|
|
1016
1020
|
|
|
@@ -1071,7 +1075,7 @@ EXAMPLES
|
|
|
1071
1075
|
$ sf package version create list --created-last-days 0 --status Success
|
|
1072
1076
|
```
|
|
1073
1077
|
|
|
1074
|
-
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1078
|
+
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/version/create/list.ts)_
|
|
1075
1079
|
|
|
1076
1080
|
## `sf package version create report`
|
|
1077
1081
|
|
|
@@ -1114,7 +1118,7 @@ EXAMPLES
|
|
|
1114
1118
|
$ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
|
|
1115
1119
|
```
|
|
1116
1120
|
|
|
1117
|
-
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1121
|
+
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/version/create/report.ts)_
|
|
1118
1122
|
|
|
1119
1123
|
## `sf package version delete`
|
|
1120
1124
|
|
|
@@ -1155,7 +1159,7 @@ EXAMPLES
|
|
|
1155
1159
|
$ sf package version delete --package 04t... --target-org devhub@example.com
|
|
1156
1160
|
```
|
|
1157
1161
|
|
|
1158
|
-
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1162
|
+
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/version/delete.ts)_
|
|
1159
1163
|
|
|
1160
1164
|
## `sf package version displayancestry`
|
|
1161
1165
|
|
|
@@ -1215,7 +1219,7 @@ FLAG DESCRIPTIONS
|
|
|
1215
1219
|
You can use the DOT code output in graph visualization software to create tree visualizations.
|
|
1216
1220
|
```
|
|
1217
1221
|
|
|
1218
|
-
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1222
|
+
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/version/displayancestry.ts)_
|
|
1219
1223
|
|
|
1220
1224
|
## `sf package version list`
|
|
1221
1225
|
|
|
@@ -1291,7 +1295,7 @@ EXAMPLES
|
|
|
1291
1295
|
$ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
|
|
1292
1296
|
```
|
|
1293
1297
|
|
|
1294
|
-
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1298
|
+
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/version/list.ts)_
|
|
1295
1299
|
|
|
1296
1300
|
## `sf package version promote`
|
|
1297
1301
|
|
|
@@ -1335,7 +1339,7 @@ EXAMPLES
|
|
|
1335
1339
|
$ sf package version promote --package "Awesome Package Alias"
|
|
1336
1340
|
```
|
|
1337
1341
|
|
|
1338
|
-
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1342
|
+
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/version/promote.ts)_
|
|
1339
1343
|
|
|
1340
1344
|
## `sf package version report`
|
|
1341
1345
|
|
|
@@ -1375,7 +1379,7 @@ EXAMPLES
|
|
|
1375
1379
|
$ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
|
|
1376
1380
|
```
|
|
1377
1381
|
|
|
1378
|
-
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1382
|
+
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/version/report.ts)_
|
|
1379
1383
|
|
|
1380
1384
|
## `sf package version update`
|
|
1381
1385
|
|
|
@@ -1428,7 +1432,7 @@ EXAMPLES
|
|
|
1428
1432
|
$ sf package version update --package 04t... --version-description "New Package Version Description"
|
|
1429
1433
|
```
|
|
1430
1434
|
|
|
1431
|
-
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1435
|
+
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package/version/update.ts)_
|
|
1432
1436
|
|
|
1433
1437
|
## `sf package1 version create`
|
|
1434
1438
|
|
|
@@ -1495,7 +1499,7 @@ FLAG DESCRIPTIONS
|
|
|
1495
1499
|
subscribers.
|
|
1496
1500
|
```
|
|
1497
1501
|
|
|
1498
|
-
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1502
|
+
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package1/version/create.ts)_
|
|
1499
1503
|
|
|
1500
1504
|
## `sf package1 version create get`
|
|
1501
1505
|
|
|
@@ -1528,7 +1532,7 @@ EXAMPLES
|
|
|
1528
1532
|
$ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
|
|
1529
1533
|
```
|
|
1530
1534
|
|
|
1531
|
-
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1535
|
+
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package1/version/create/get.ts)_
|
|
1532
1536
|
|
|
1533
1537
|
## `sf package1 version display`
|
|
1534
1538
|
|
|
@@ -1562,7 +1566,7 @@ EXAMPLES
|
|
|
1562
1566
|
$ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
|
|
1563
1567
|
```
|
|
1564
1568
|
|
|
1565
|
-
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1569
|
+
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package1/version/display.ts)_
|
|
1566
1570
|
|
|
1567
1571
|
## `sf package1 version list`
|
|
1568
1572
|
|
|
@@ -1600,6 +1604,6 @@ FLAG DESCRIPTIONS
|
|
|
1600
1604
|
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
|
|
1601
1605
|
```
|
|
1602
1606
|
|
|
1603
|
-
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1607
|
+
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.18.0/src/commands/package1/version/list.ts)_
|
|
1604
1608
|
|
|
1605
1609
|
<!-- commandsstop -->
|
|
@@ -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 = [
|
|
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;AAEH,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,iCAAiC,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC5G,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAEL,cAAc,GAIf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,wBAAwB,CAAC,CAAC;AACjG,MAAM,WAAW,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,sBAAsB,CAAC,CAAC;AAClG,MAAM,UAAU,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,cAAc,CAAC,CAAC;AAEzF,MAAM,SAAS,GAAG,
|
|
1
|
+
{"version":3,"file":"report.js","sourceRoot":"","sources":["../../../../src/commands/package/version/report.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,iCAAiC,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC5G,OAAO,EAAE,QAAQ,EAAE,MAAM,2BA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K,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"}
|
|
@@ -14,7 +14,7 @@ export declare class PackageVersionRetrieveCommand extends SfCommand<PackageVers
|
|
|
14
14
|
static readonly flags: {
|
|
15
15
|
loglevel: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
16
|
'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
|
-
'target-
|
|
17
|
+
'target-dev-hub': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
18
|
package: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
19
19
|
'output-dir': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
20
20
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
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,
|
|
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);
|
|
@@ -19,7 +19,7 @@ export class PackageVersionRetrieveCommand extends SfCommand {
|
|
|
19
19
|
static flags = {
|
|
20
20
|
loglevel,
|
|
21
21
|
'api-version': orgApiVersionFlagWithDeprecations,
|
|
22
|
-
'target-
|
|
22
|
+
'target-dev-hub': requiredHubFlagWithDeprecations,
|
|
23
23
|
package: Flags.string({
|
|
24
24
|
char: 'p',
|
|
25
25
|
summary: messages.getMessage('flags.package.summary'),
|
|
@@ -33,7 +33,7 @@ export class PackageVersionRetrieveCommand extends SfCommand {
|
|
|
33
33
|
};
|
|
34
34
|
async run() {
|
|
35
35
|
const { flags } = await this.parse(PackageVersionRetrieveCommand);
|
|
36
|
-
const connection = flags['target-
|
|
36
|
+
const connection = flags['target-dev-hub'].getConnection(flags['api-version']);
|
|
37
37
|
const options = {
|
|
38
38
|
subscriberPackageVersionId: flags.package ?? '',
|
|
39
39
|
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,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AAC,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"}
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1299,7 +1299,7 @@
|
|
|
1299
1299
|
"package:push-upgrade:abort": {
|
|
1300
1300
|
"aliases": [],
|
|
1301
1301
|
"args": {},
|
|
1302
|
-
"description": "Specify the request ID
|
|
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...\".",
|
|
1303
1303
|
"examples": [
|
|
1304
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...",
|
|
1305
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"
|
|
@@ -1658,8 +1658,8 @@
|
|
|
1658
1658
|
"args": {},
|
|
1659
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.",
|
|
1660
1660
|
"examples": [
|
|
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",
|
|
1662
|
-
"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",
|
|
1663
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"
|
|
1664
1664
|
],
|
|
1665
1665
|
"flags": {
|
|
@@ -1684,7 +1684,7 @@
|
|
|
1684
1684
|
"name": "target-dev-hub",
|
|
1685
1685
|
"noCacheDefault": true,
|
|
1686
1686
|
"required": true,
|
|
1687
|
-
"summary": "Username or alias of the Dev Hub org.",
|
|
1687
|
+
"summary": "Username or alias of the Dev Hub org that owns the package.",
|
|
1688
1688
|
"hasDynamicHelp": true,
|
|
1689
1689
|
"multiple": false,
|
|
1690
1690
|
"type": "option"
|
|
@@ -1724,19 +1724,19 @@
|
|
|
1724
1724
|
"org-file"
|
|
1725
1725
|
],
|
|
1726
1726
|
"name": "org-list",
|
|
1727
|
-
"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.",
|
|
1728
1728
|
"hasDynamicHelp": false,
|
|
1729
1729
|
"multiple": false,
|
|
1730
1730
|
"type": "option"
|
|
1731
1731
|
},
|
|
1732
1732
|
"org-file": {
|
|
1733
1733
|
"char": "f",
|
|
1734
|
-
"description": "The file must contain one org per line. The org ID must be the only value in each row
|
|
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.",
|
|
1735
1735
|
"exclusive": [
|
|
1736
1736
|
"org-list"
|
|
1737
1737
|
],
|
|
1738
1738
|
"name": "org-file",
|
|
1739
|
-
"summary": "Filename of the CSV file that contains the list of
|
|
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.",
|
|
1740
1740
|
"hasDynamicHelp": false,
|
|
1741
1741
|
"multiple": false,
|
|
1742
1742
|
"type": "option"
|
|
@@ -3039,9 +3039,9 @@
|
|
|
3039
3039
|
"package:version:retrieve": {
|
|
3040
3040
|
"aliases": [],
|
|
3041
3041
|
"args": {},
|
|
3042
|
-
"description": "Retrieving a package version downloads the metadata into the directory you specify.\n\
|
|
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.",
|
|
3043
3043
|
"examples": [
|
|
3044
|
-
"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-
|
|
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"
|
|
3045
3045
|
],
|
|
3046
3046
|
"flags": {
|
|
3047
3047
|
"json": {
|
|
@@ -3080,17 +3080,16 @@
|
|
|
3080
3080
|
"multiple": false,
|
|
3081
3081
|
"type": "option"
|
|
3082
3082
|
},
|
|
3083
|
-
"target-
|
|
3083
|
+
"target-dev-hub": {
|
|
3084
3084
|
"aliases": [
|
|
3085
|
-
"
|
|
3086
|
-
"u"
|
|
3085
|
+
"targetdevhubusername"
|
|
3087
3086
|
],
|
|
3088
|
-
"char": "
|
|
3087
|
+
"char": "v",
|
|
3089
3088
|
"deprecateAliases": true,
|
|
3090
|
-
"name": "target-
|
|
3089
|
+
"name": "target-dev-hub",
|
|
3091
3090
|
"noCacheDefault": true,
|
|
3092
3091
|
"required": true,
|
|
3093
|
-
"summary": "Username or alias of the
|
|
3092
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
3094
3093
|
"hasDynamicHelp": true,
|
|
3095
3094
|
"multiple": false,
|
|
3096
3095
|
"type": "option"
|
|
@@ -3122,7 +3121,7 @@
|
|
|
3122
3121
|
"pluginName": "@salesforce/plugin-packaging",
|
|
3123
3122
|
"pluginType": "core",
|
|
3124
3123
|
"strict": true,
|
|
3125
|
-
"summary": "Retrieve package metadata for a specified package version.",
|
|
3124
|
+
"summary": "Retrieve package metadata for a specified package version. Package metadata can be retrieved for converted second-generation managed package versions only.",
|
|
3126
3125
|
"enableJsonFlag": true,
|
|
3127
3126
|
"requiresProject": true,
|
|
3128
3127
|
"isESM": true,
|
|
@@ -4550,5 +4549,5 @@
|
|
|
4550
4549
|
]
|
|
4551
4550
|
}
|
|
4552
4551
|
},
|
|
4553
|
-
"version": "2.
|
|
4552
|
+
"version": "2.18.0"
|
|
4554
4553
|
}
|
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.
|
|
4
|
+
"version": "2.18.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.
|
|
9
|
+
"@salesforce/core": "^8.15.0",
|
|
10
10
|
"@salesforce/kit": "^3.2.3",
|
|
11
|
-
"@salesforce/packaging": "^4.
|
|
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.
|
|
251
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.
|
|
250
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.18.0.crt",
|
|
251
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.18.0.sig"
|
|
252
252
|
}
|
|
253
253
|
}
|