@salesforce/plugin-packaging 2.13.6 → 2.15.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.
Files changed (28) hide show
  1. package/README.md +337 -22
  2. package/lib/commands/package/convert.d.ts +0 -1
  3. package/lib/commands/package/convert.js +0 -2
  4. package/lib/commands/package/convert.js.map +1 -1
  5. package/lib/commands/package/push-upgrade/abort.d.ts +15 -0
  6. package/lib/commands/package/push-upgrade/abort.js +38 -0
  7. package/lib/commands/package/push-upgrade/abort.js.map +1 -0
  8. package/lib/commands/package/push-upgrade/list.d.ts +18 -0
  9. package/lib/commands/package/push-upgrade/list.js +91 -0
  10. package/lib/commands/package/push-upgrade/list.js.map +1 -0
  11. package/lib/commands/package/push-upgrade/report.d.ts +18 -0
  12. package/lib/commands/package/push-upgrade/report.js +139 -0
  13. package/lib/commands/package/push-upgrade/report.js.map +1 -0
  14. package/lib/commands/package/push-upgrade/schedule.d.ts +17 -0
  15. package/lib/commands/package/push-upgrade/schedule.js +98 -0
  16. package/lib/commands/package/push-upgrade/schedule.js.map +1 -0
  17. package/lib/commands/package/version/list.js +8 -7
  18. package/lib/commands/package/version/list.js.map +1 -1
  19. package/messages/package_pushupgrade_abort.md +51 -0
  20. package/messages/package_pushupgrade_list.md +61 -0
  21. package/messages/package_pushupgrade_report.md +27 -0
  22. package/messages/package_pushupgrade_schedule.md +109 -0
  23. package/oclif.manifest.json +480 -3
  24. package/package.json +6 -6
  25. package/schemas/package-push__upgrade-abort.json +18 -0
  26. package/schemas/package-push__upgrade-list.json +77 -0
  27. package/schemas/package-push__upgrade-report.json +106 -0
  28. package/schemas/package-push__upgrade-schedule.json +25 -0
package/README.md CHANGED
@@ -30,12 +30,17 @@ See [DEVELOPING.md](DEVELOPING.md)
30
30
 
31
31
  <!-- commands -->
32
32
 
33
+ - [`sf package convert`](#sf-package-convert)
33
34
  - [`sf package create`](#sf-package-create)
34
35
  - [`sf package delete`](#sf-package-delete)
35
36
  - [`sf package install`](#sf-package-install)
36
37
  - [`sf package install report`](#sf-package-install-report)
37
38
  - [`sf package installed list`](#sf-package-installed-list)
38
39
  - [`sf package list`](#sf-package-list)
40
+ - [`sf package push-upgrade abort`](#sf-package-push-upgrade-abort)
41
+ - [`sf package push-upgrade list`](#sf-package-push-upgrade-list)
42
+ - [`sf package push-upgrade report`](#sf-package-push-upgrade-report)
43
+ - [`sf package push-upgrade schedule`](#sf-package-push-upgrade-schedule)
39
44
  - [`sf package uninstall`](#sf-package-uninstall)
40
45
  - [`sf package uninstall report`](#sf-package-uninstall-report)
41
46
  - [`sf package update`](#sf-package-update)
@@ -53,6 +58,93 @@ See [DEVELOPING.md](DEVELOPING.md)
53
58
  - [`sf package1 version display`](#sf-package1-version-display)
54
59
  - [`sf package1 version list`](#sf-package1-version-list)
55
60
 
61
+ ## `sf package convert`
62
+
63
+ Create a second-generation package version from a first-generation package.
64
+
65
+ ```
66
+ USAGE
67
+ $ 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
+
70
+ FLAGS
71
+ -a, --patch-version=<value> Specific released patch version to convert
72
+ -f, --definition-file=<value> Path to a definition file that contains features and org preferences that the metadata
73
+ of the package version depends on.
74
+ -k, --installation-key=<value> Installation key for key-protected package.
75
+ -m, --seed-metadata=<value> Directory containing metadata to be deployed prior to conversion.
76
+ -p, --package=<value> (required) ID (starts with 033) of the first-generation package to convert.
77
+ -v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
78
+ configuration variable is already set.
79
+ -w, --wait=<value> Minutes to wait for the package version to be created.
80
+ -x, --installation-key-bypass Bypass the installation key requirement.
81
+ --api-version=<value> Override the api version used for api requests made by this command
82
+ --verbose Display verbose command output.
83
+
84
+ GLOBAL FLAGS
85
+ --flags-dir=<value> Import flag values from a directory.
86
+ --json Format output as json.
87
+
88
+ DESCRIPTION
89
+ Create a second-generation package version from a first-generation package.
90
+
91
+ The package convert creates a new package in the Dev Hub if one does not already exist for the specified
92
+ first-generation package.
93
+
94
+ It then creates a new package version in the Dev Hub with contents based on the specified first-generation package.
95
+
96
+ By default, the latest released non-patch version from the specified first-generation package will be converted. Use
97
+ --patch-version to override the default. Read more about --patch-version option in help
98
+
99
+ To retrieve details about a package version create request, including status and package version ID (04t), run "sf
100
+ package version create report -i 08c...".
101
+
102
+ We recommend specifying the --installation-key to protect the contents of your package and to prevent unauthorized
103
+ installation of your package.
104
+
105
+ To list package version creation requests in the org, run "sf package version create list".
106
+
107
+ ALIASES
108
+ $ sf force package convert
109
+
110
+ EXAMPLES
111
+ Create a second-generation package version from the first-generation package with the specified ID and give it the
112
+ installation key "password123"; uses your default Dev Hub org:
113
+
114
+ $ sf package convert --package 033... --installation-key password123
115
+
116
+ Similar to previous example, but uses the specified Dev Hub org:
117
+
118
+ $ sf package convert --package 033... --installation-key password123 --target-dev-hub devhuborg@example.com
119
+
120
+ FLAG DESCRIPTIONS
121
+ -a, --patch-version=<value> Specific released patch version to convert
122
+
123
+ Specify a released patch version as major.minor.patch.build to convert to second generation package version
124
+
125
+ -f, --definition-file=<value>
126
+
127
+ Path to a definition file that contains features and org preferences that the metadata of the package version
128
+ depends on.
129
+
130
+ This definition file is similar to the scratch org definition file.
131
+
132
+ -k, --installation-key=<value> Installation key for key-protected package.
133
+
134
+ Either an --installation-key value or the --installation-key-bypass flag is required.
135
+
136
+ -m, --seed-metadata=<value> Directory containing metadata to be deployed prior to conversion.
137
+
138
+ The directory containing metadata that will be deployed on the build org prior to attempting conversion.
139
+
140
+ -x, --installation-key-bypass Bypass the installation key requirement.
141
+
142
+ If you bypass this requirement, anyone can install your package. Either an --installation-key value or the
143
+ --installation-key-bypass flag is required.
144
+ ```
145
+
146
+ _See code: [src/commands/package/convert.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/convert.ts)_
147
+
56
148
  ## `sf package create`
57
149
 
58
150
  Create a package.
@@ -130,7 +222,7 @@ FLAG DESCRIPTIONS
130
222
  Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
131
223
  ```
132
224
 
133
- _See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/create.ts)_
225
+ _See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/create.ts)_
134
226
 
135
227
  ## `sf package delete`
136
228
 
@@ -172,7 +264,7 @@ EXAMPLES
172
264
  $ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
173
265
  ```
174
266
 
175
- _See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/delete.ts)_
267
+ _See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/delete.ts)_
176
268
 
177
269
  ## `sf package install`
178
270
 
@@ -271,7 +363,7 @@ FLAG DESCRIPTIONS
271
363
  - Delete: Delete all removed components that can be safely deleted, and deprecate the other components.
272
364
  ```
273
365
 
274
- _See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/install.ts)_
366
+ _See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/install.ts)_
275
367
 
276
368
  ## `sf package install report`
277
369
 
@@ -304,7 +396,7 @@ EXAMPLES
304
396
  $ sf package install report --request-id 0Hf... --target-org me@example.com
305
397
  ```
306
398
 
307
- _See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/install/report.ts)_
399
+ _See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/install/report.ts)_
308
400
 
309
401
  ## `sf package installed list`
310
402
 
@@ -336,7 +428,7 @@ EXAMPLES
336
428
  $ sf package installed list --target-org me@example.com
337
429
  ```
338
430
 
339
- _See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/installed/list.ts)_
431
+ _See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/installed/list.ts)_
340
432
 
341
433
  ## `sf package list`
342
434
 
@@ -374,7 +466,230 @@ EXAMPLES
374
466
  $ sf package list --target-dev-hub devhub@example.com --verbose
375
467
  ```
376
468
 
377
- _See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/list.ts)_
469
+ _See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/list.ts)_
470
+
471
+ ## `sf package push-upgrade abort`
472
+
473
+ Abort a package push upgrade that has been scheduled. Only push upgrade requests with a status of Created or Pending can be aborted.
474
+
475
+ ```
476
+ USAGE
477
+ $ sf package push-upgrade abort -v <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
478
+
479
+ FLAGS
480
+ -i, --push-request-id=<value> (required) ID of the package push request (starts with 0DV). This ID is returned after
481
+ the package push-upgrade schedule command completes successfully.
482
+ -v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
483
+ configuration variable is already set.
484
+ --api-version=<value> Override the api version used for api requests made by this command
485
+
486
+ GLOBAL FLAGS
487
+ --flags-dir=<value> Import flag values from a directory.
488
+ --json Format output as json.
489
+
490
+ DESCRIPTION
491
+ Abort a package push upgrade that has been scheduled. Only push upgrade requests with a status of Created or Pending
492
+ can be aborted.
493
+
494
+ Specify the request ID for which you want abort the request. If applicable, the command displays errors related to the
495
+ request.
496
+
497
+ To show all requests in the org, run "sf package pushupgrade list --package 033...".
498
+
499
+ EXAMPLES
500
+ Cancel the specified package push upgrade request with the specified ID; uses your default Dev Hub org:
501
+
502
+ $ sf package push-upgrade abort --push-request-id 0DV...
503
+
504
+ Cancel the specified package push upgrade request in the Dev Hub org with username devhub@example.com:
505
+
506
+ $ sf package push-upgrade abort --push-request-id 0DV... --target-dev-hub devhub@example.com
507
+ ```
508
+
509
+ _See code: [src/commands/package/push-upgrade/abort.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/push-upgrade/abort.ts)_
510
+
511
+ ## `sf package push-upgrade list`
512
+
513
+ Lists the status of push upgrade requests for a given package.
514
+
515
+ ```
516
+ USAGE
517
+ $ sf package push-upgrade list -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-l <value>] [-s
518
+ Created|Cancelled|Pending|In Progress|Failed|Succeeded] [--show-push-migrations-only]
519
+
520
+ FLAGS
521
+ -l, --scheduled-last-days=<value> Number of days in the past for which to display the list of push upgrade requests
522
+ that were scheduled. Used to filter the list output to only recently scheduled push
523
+ upgrades.
524
+ -p, --package=<value> (required) Package ID (starts with 033) of the package that you want push upgrade
525
+ information for.
526
+ -s, --status=<option> Status used to filter the list output Valid values are: Created, Canceled, Pending,
527
+ In Progress, Failed, or Succeeded
528
+ <options: Created|Cancelled|Pending|In Progress|Failed|Succeeded>
529
+ -v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the
530
+ `target-dev-hub` configuration variable is already set.
531
+ --api-version=<value> Override the api version used for api requests made by this command
532
+ --show-push-migrations-only Display only push upgrade requests for package migrations.
533
+
534
+ GLOBAL FLAGS
535
+ --flags-dir=<value> Import flag values from a directory.
536
+ --json Format output as json.
537
+
538
+ DESCRIPTION
539
+ Lists the status of push upgrade requests for a given package.
540
+
541
+ Shows the details of each request to create a push upgrade in the Dev Hub org.
542
+
543
+ All filter parameters are applied using the AND logical operator (not OR).
544
+
545
+ To get information about a specific request, run "sf package pushupgrade report" and supply the request ID.
546
+
547
+ ALIASES
548
+ $ sf force package push-upgrade list
549
+
550
+ EXAMPLES
551
+ List all package push upgrade requests in the specified Dev Hub org:
552
+
553
+ $ sf package push-upgrade list --package 033xyz --target-dev-hub myHub
554
+
555
+ List all package push upgrade requests in the specified Dev Hub org scheduled in the last 30 days:
556
+
557
+ $ sf package push-upgrade list --package 033xyz --scheduled-last-days 30 --target-dev-hub myHub
558
+
559
+ List all package push upgrade with a status Succeeded:
560
+
561
+ $ sf package push-upgrade list --package 033xyz –-status Succeeded
562
+
563
+ List all package push upgrade with a status Failed:
564
+
565
+ $ sf package push-upgrade list --package 033xyz –-status Failed
566
+ ```
567
+
568
+ _See code: [src/commands/package/push-upgrade/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/push-upgrade/list.ts)_
569
+
570
+ ## `sf package push-upgrade report`
571
+
572
+ Retrieve the status of a package push upgrade.
573
+
574
+ ```
575
+ USAGE
576
+ $ sf package push-upgrade report -v <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
577
+
578
+ FLAGS
579
+ -i, --push-request-id=<value> (required) ID of the package push request (starts with 0DV). This ID is returned after
580
+ the package push-upgrade schedule command completes successfully.
581
+ -v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
582
+ configuration variable is already set.
583
+ --api-version=<value> Override the api version used for api requests made by this command
584
+
585
+ GLOBAL FLAGS
586
+ --flags-dir=<value> Import flag values from a directory.
587
+ --json Format output as json.
588
+
589
+ DESCRIPTION
590
+ Retrieve the status of a package push upgrade.
591
+
592
+ Specify the request ID for which you want to view details. If applicable, the command displays errors related to the
593
+ request.
594
+
595
+ To show all requests in the org, run "sf package pushupgrade list".
596
+
597
+ ALIASES
598
+ $ sf force package push-upgrade report
599
+
600
+ EXAMPLES
601
+ Retrieve details about the package push upgrade with the specified ID; uses your default Dev Hub org:
602
+
603
+ $ sf package push-upgrade report --push-request-id 0DV...
604
+
605
+ Retrieve details about the specified package push request in the Dev Hub org with username devhub@example.com:
606
+
607
+ $ sf package push-upgrade report --push-request-id 0DV... --target-dev-hub devhub@example.com
608
+ ```
609
+
610
+ _See code: [src/commands/package/push-upgrade/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/push-upgrade/report.ts)_
611
+
612
+ ## `sf package push-upgrade schedule`
613
+
614
+ Schedule a package push upgrade.
615
+
616
+ ```
617
+ USAGE
618
+ $ sf package push-upgrade schedule -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-t <value>] [-l
619
+ <value> | -f <value>] [--migrate-to-2gp]
620
+
621
+ FLAGS
622
+ -f, --org-file=<value> Filename of the CSV file that contains the list of orgs that need the package upgrade.
623
+ -l, --org-list=<value> Comma-separated list of subscriber org IDs that need the package upgrade.
624
+ -p, --package=<value> (required) ID (starts with 04t) of the package version that the package is being
625
+ upgraded to. The package version must be an active, non-beta package version.
626
+ -t, --start-time=<value> Date and time (UTC) when the push upgrade is processed. Set to the earliest time that
627
+ you want Salesforce to attempt to start the upgrade.
628
+ -v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org.
629
+ --api-version=<value> Override the api version used for api requests made by this command
630
+ --migrate-to-2gp Upgrade from a first-generation managed package (1GP) to a second-generation managed
631
+ package (2GP). Required when you’re pushing a 2GP package to orgs with the 1GP version
632
+ installed.
633
+
634
+ GLOBAL FLAGS
635
+ --flags-dir=<value> Import flag values from a directory.
636
+ --json Format output as json.
637
+
638
+ DESCRIPTION
639
+ Schedule a package push upgrade.
640
+
641
+ Represents a push upgrade request for upgrading a package in one or many orgs from one version to another version.
642
+ To initiate a push upgrade for an unlocked or second-generation managed package, the Create and Update
643
+ Second-Generation Packages user permission is required.
644
+ For second-generation managed packages, the push upgrade feature is available only for packages that have passed
645
+ AppExchange security review. To enable push upgrades for your managed package, log a support case in the Salesforce
646
+ Partner Community.
647
+ For unlocked packages, push upgrades are enabled by default.
648
+
649
+ Use the -–migrate-to-2GP flag to indicate you’re installing a converted second-generation managed package into an org
650
+ that has the first-generation managed package version of that package installed.
651
+
652
+ EXAMPLES
653
+ Schedule a push upgrade that initiates at a specified time:
654
+
655
+ $ sf package push-upgrade schedule --package 04txyz --start-time "2024-12-06T21:00:00" --org-file \
656
+ upgrade-orgs.csv
657
+
658
+ Schedule a push upgrade that initiates as soon as possible:
659
+
660
+ $ sf package push-upgrade schedule --package 04txyz --org-file upgrade-orgs.csv
661
+
662
+ Schedule a push migration from a 1GP package to a 2GP package:
663
+
664
+ $ sf package push-upgrade schedule --migrate-to-2gp --package 04txyz --start-time "2024-12-06T21:00:00" \
665
+ --org-file upgrade-orgs.csv --target-dev-hub myHub
666
+
667
+ FLAG DESCRIPTIONS
668
+ -f, --org-file=<value> Filename of the CSV file that contains the list of orgs that need the package upgrade.
669
+
670
+ The file must contain one org per line. The org ID must be the only value in each row.
671
+ All listed orgs must have a package version installed in their org that is lower than the package version you
672
+ specified for the --package-version flag.
673
+
674
+ -t, --start-time=<value>
675
+
676
+ Date and time (UTC) when the push upgrade is processed. Set to the earliest time that you want Salesforce to attempt
677
+ to start the upgrade.
678
+
679
+ Scheduled push upgrades begin as soon as resources are available on the Salesforce instance, which is either at or
680
+ after the start time you specify. In certain scenarios, the push upgrade starts a few hours after the scheduled
681
+ start time.
682
+
683
+ As a best practice, schedule push upgrades at off-peak hours like 1:00 AM Saturday.
684
+ If you don't specify this flag, the push upgrade is scheduled to run as soon as resources are available on the
685
+ Salesforce instance.
686
+
687
+ -v, --target-dev-hub=<value> Username or alias of the Dev Hub org.
688
+
689
+ Overrides the value of the target-dev-hub configuration variable, if set.
690
+ ```
691
+
692
+ _See code: [src/commands/package/push-upgrade/schedule.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/push-upgrade/schedule.ts)_
378
693
 
379
694
  ## `sf package uninstall`
380
695
 
@@ -422,7 +737,7 @@ EXAMPLES
422
737
  $ sf package uninstall --package "Undesirable Package Alias"
423
738
  ```
424
739
 
425
- _See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/uninstall.ts)_
740
+ _See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/uninstall.ts)_
426
741
 
427
742
  ## `sf package uninstall report`
428
743
 
@@ -455,7 +770,7 @@ EXAMPLES
455
770
  $ sf package uninstall report --request-id 06y... --target-org me@example.com
456
771
  ```
457
772
 
458
- _See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/uninstall/report.ts)_
773
+ _See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/uninstall/report.ts)_
459
774
 
460
775
  ## `sf package update`
461
776
 
@@ -510,7 +825,7 @@ FLAG DESCRIPTIONS
510
825
  associated with your package.
511
826
  ```
512
827
 
513
- _See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/update.ts)_
828
+ _See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/update.ts)_
514
829
 
515
830
  ## `sf package version create`
516
831
 
@@ -685,7 +1000,7 @@ FLAG DESCRIPTIONS
685
1000
  periods of no output from commands.
686
1001
  ```
687
1002
 
688
- _See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/version/create.ts)_
1003
+ _See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/version/create.ts)_
689
1004
 
690
1005
  ## `sf package version create list`
691
1006
 
@@ -746,7 +1061,7 @@ EXAMPLES
746
1061
  $ sf package version create list --created-last-days 0 --status Success
747
1062
  ```
748
1063
 
749
- _See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/version/create/list.ts)_
1064
+ _See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/version/create/list.ts)_
750
1065
 
751
1066
  ## `sf package version create report`
752
1067
 
@@ -789,7 +1104,7 @@ EXAMPLES
789
1104
  $ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
790
1105
  ```
791
1106
 
792
- _See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/version/create/report.ts)_
1107
+ _See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/version/create/report.ts)_
793
1108
 
794
1109
  ## `sf package version delete`
795
1110
 
@@ -830,7 +1145,7 @@ EXAMPLES
830
1145
  $ sf package version delete --package 04t... --target-org devhub@example.com
831
1146
  ```
832
1147
 
833
- _See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/version/delete.ts)_
1148
+ _See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/version/delete.ts)_
834
1149
 
835
1150
  ## `sf package version displayancestry`
836
1151
 
@@ -890,7 +1205,7 @@ FLAG DESCRIPTIONS
890
1205
  You can use the DOT code output in graph visualization software to create tree visualizations.
891
1206
  ```
892
1207
 
893
- _See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/version/displayancestry.ts)_
1208
+ _See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/version/displayancestry.ts)_
894
1209
 
895
1210
  ## `sf package version list`
896
1211
 
@@ -966,7 +1281,7 @@ EXAMPLES
966
1281
  $ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
967
1282
  ```
968
1283
 
969
- _See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/version/list.ts)_
1284
+ _See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/version/list.ts)_
970
1285
 
971
1286
  ## `sf package version promote`
972
1287
 
@@ -1010,7 +1325,7 @@ EXAMPLES
1010
1325
  $ sf package version promote --package "Awesome Package Alias"
1011
1326
  ```
1012
1327
 
1013
- _See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/version/promote.ts)_
1328
+ _See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/version/promote.ts)_
1014
1329
 
1015
1330
  ## `sf package version report`
1016
1331
 
@@ -1050,7 +1365,7 @@ EXAMPLES
1050
1365
  $ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
1051
1366
  ```
1052
1367
 
1053
- _See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/version/report.ts)_
1368
+ _See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/version/report.ts)_
1054
1369
 
1055
1370
  ## `sf package version update`
1056
1371
 
@@ -1103,7 +1418,7 @@ EXAMPLES
1103
1418
  $ sf package version update --package 04t... --version-description "New Package Version Description"
1104
1419
  ```
1105
1420
 
1106
- _See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package/version/update.ts)_
1421
+ _See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package/version/update.ts)_
1107
1422
 
1108
1423
  ## `sf package1 version create`
1109
1424
 
@@ -1170,7 +1485,7 @@ FLAG DESCRIPTIONS
1170
1485
  subscribers.
1171
1486
  ```
1172
1487
 
1173
- _See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package1/version/create.ts)_
1488
+ _See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package1/version/create.ts)_
1174
1489
 
1175
1490
  ## `sf package1 version create get`
1176
1491
 
@@ -1203,7 +1518,7 @@ EXAMPLES
1203
1518
  $ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
1204
1519
  ```
1205
1520
 
1206
- _See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package1/version/create/get.ts)_
1521
+ _See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package1/version/create/get.ts)_
1207
1522
 
1208
1523
  ## `sf package1 version display`
1209
1524
 
@@ -1237,7 +1552,7 @@ EXAMPLES
1237
1552
  $ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
1238
1553
  ```
1239
1554
 
1240
- _See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package1/version/display.ts)_
1555
+ _See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package1/version/display.ts)_
1241
1556
 
1242
1557
  ## `sf package1 version list`
1243
1558
 
@@ -1275,6 +1590,6 @@ FLAG DESCRIPTIONS
1275
1590
  If not specified, shows all versions for all packages (managed and unmanaged) in the org.
1276
1591
  ```
1277
1592
 
1278
- _See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.13.6/src/commands/package1/version/list.ts)_
1593
+ _See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.0/src/commands/package1/version/list.ts)_
1279
1594
 
1280
1595
  <!-- commandsstop -->
@@ -7,7 +7,6 @@ export declare class PackageConvert extends SfCommand<PackageVersionCreateReques
7
7
  static readonly examples: string[];
8
8
  static readonly deprecateAliases = true;
9
9
  static readonly aliases: string[];
10
- static readonly hidden = true;
11
10
  static readonly flags: {
12
11
  loglevel: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
12
  'target-dev-hub': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
@@ -18,7 +18,6 @@ export class PackageConvert extends SfCommand {
18
18
  static examples = messages.getMessages('examples');
19
19
  static deprecateAliases = true;
20
20
  static aliases = ['force:package:convert'];
21
- static hidden = true;
22
21
  static flags = {
23
22
  loglevel,
24
23
  'target-dev-hub': requiredHubFlag,
@@ -80,7 +79,6 @@ export class PackageConvert extends SfCommand {
80
79
  char: 'a',
81
80
  deprecateAliases: true,
82
81
  aliases: ['patchversion'],
83
- hidden: true,
84
82
  }),
85
83
  };
86
84
  async run() {
@@ -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,uBAAuB,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,iBAAiB,CAAC,CAAC;AAC1F,MAAM,WAAW,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,wBAAwB,CAAC,CAAC;AAEpG,MAAM,OAAO,cAAe,SAAQ,SAA4C;IACvE,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;IA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C;gBACD,MAAM;YACR,CAAC;YACD,OAAO,CAAC,CAAC,CAAC;gBACR,MAAM,iBAAiB,GAAG,WAAW,CAAC,UAAU,CAAC,YAAY,EAAE;oBAC7D,IAAI,CAAC,MAAM,CAAC,GAAG;oBACf,oBAAoB,CAAC,MAAM,CAAC,MAAM,CAAC;oBACnC,MAAM,CAAC,EAAE;iBACV,CAAC,CAAC;gBACH,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;YACjD,CAAC;QACH,CAAC;QAED,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QACpB,OAAO,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"}
@@ -0,0 +1,15 @@
1
+ import { SfCommand } from '@salesforce/sf-plugins-core';
2
+ export type PackagePushUpgradeAbortResult = {
3
+ success: boolean;
4
+ };
5
+ export declare class PackagePushUpgradeAbortCommand extends SfCommand<PackagePushUpgradeAbortResult> {
6
+ static readonly summary: string;
7
+ static readonly description: string;
8
+ static readonly examples: string[];
9
+ static readonly flags: {
10
+ 'target-dev-hub': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
11
+ 'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
+ 'push-request-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
13
+ };
14
+ run(): Promise<PackagePushUpgradeAbortResult>;
15
+ }
@@ -0,0 +1,38 @@
1
+ /*
2
+ * Copyright (c) 2024, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * Licensed under the BSD 3-Clause license.
5
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
6
+ */
7
+ import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
8
+ import { Messages } from '@salesforce/core';
9
+ import { PackagePushUpgrade } from '@salesforce/packaging';
10
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
11
+ const messages = Messages.loadMessages('@salesforce/plugin-packaging', 'package_pushupgrade_abort');
12
+ export class PackagePushUpgradeAbortCommand extends SfCommand {
13
+ static summary = messages.getMessage('summary');
14
+ static description = messages.getMessage('description');
15
+ static examples = messages.getMessages('examples');
16
+ static flags = {
17
+ 'target-dev-hub': Flags.requiredHub(),
18
+ 'api-version': Flags.orgApiVersion(),
19
+ 'push-request-id': Flags.salesforceId({
20
+ length: 'both',
21
+ char: 'i',
22
+ summary: messages.getMessage('flags.push-request-id.summary'),
23
+ required: true,
24
+ startsWith: '0DV',
25
+ }),
26
+ };
27
+ async run() {
28
+ const { flags } = await this.parse(PackagePushUpgradeAbortCommand);
29
+ const connection = flags['target-dev-hub'].getConnection(flags['api-version']);
30
+ const packagePushRequestOptions = { packagePushRequestId: flags['push-request-id'] };
31
+ const result = await PackagePushUpgrade.abort(connection, packagePushRequestOptions);
32
+ if (result) {
33
+ this.log(messages.getMessage('output', [flags['push-request-id']]));
34
+ }
35
+ return { success: result };
36
+ }
37
+ }
38
+ //# sourceMappingURL=abort.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abort.js","sourceRoot":"","sources":["../../../../src/commands/package/push-upgrade/abort.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,C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