@salesforce/plugin-packaging 2.15.3 → 2.15.4
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 -44
- package/messages/package_convert.md +10 -12
- package/oclif.manifest.json +8 -8
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ See [DEVELOPING.md](DEVELOPING.md)
|
|
|
60
60
|
|
|
61
61
|
## `sf package convert`
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
Convert a managed-released first-generation managed package into a second-generation managed package.
|
|
64
64
|
|
|
65
65
|
```
|
|
66
66
|
USAGE
|
|
@@ -68,12 +68,12 @@ USAGE
|
|
|
68
68
|
<value>] [-x] [-w <value>] [-m <value>] [--verbose] [-a <value>]
|
|
69
69
|
|
|
70
70
|
FLAGS
|
|
71
|
-
-a, --patch-version=<value> Specific released patch version to
|
|
71
|
+
-a, --patch-version=<value> Specific released patch version to be converted.
|
|
72
72
|
-f, --definition-file=<value> Path to a definition file that contains features and org preferences that the metadata
|
|
73
73
|
of the package version depends on.
|
|
74
74
|
-k, --installation-key=<value> Installation key for key-protected package.
|
|
75
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.
|
|
76
|
+
-p, --package=<value> (required) ID (starts with 033) of the first-generation managed package to convert.
|
|
77
77
|
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
|
|
78
78
|
configuration variable is already set.
|
|
79
79
|
-w, --wait=<value> Minutes to wait for the package version to be created.
|
|
@@ -86,21 +86,18 @@ GLOBAL FLAGS
|
|
|
86
86
|
--json Format output as json.
|
|
87
87
|
|
|
88
88
|
DESCRIPTION
|
|
89
|
-
|
|
89
|
+
Convert a managed-released first-generation managed package into a second-generation managed package.
|
|
90
90
|
|
|
91
|
-
The package
|
|
92
|
-
|
|
91
|
+
The package conversion command automatically selects the latest released major.minor first-generation managed package
|
|
92
|
+
version, and converts it into a second-generation managed package version.
|
|
93
93
|
|
|
94
|
-
|
|
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
|
|
94
|
+
Use --patch-version to specify a released patch version.
|
|
98
95
|
|
|
99
96
|
To retrieve details about a package version create request, including status and package version ID (04t), run "sf
|
|
100
97
|
package version create report -i 08c...".
|
|
101
98
|
|
|
102
|
-
|
|
103
|
-
installation
|
|
99
|
+
To protect the contents of your package and to prevent unauthorized installation of your package, specify the
|
|
100
|
+
--installation-key flag.
|
|
104
101
|
|
|
105
102
|
To list package version creation requests in the org, run "sf package version create list".
|
|
106
103
|
|
|
@@ -108,8 +105,8 @@ ALIASES
|
|
|
108
105
|
$ sf force package convert
|
|
109
106
|
|
|
110
107
|
EXAMPLES
|
|
111
|
-
Create a second-generation package version from the first-generation package with the specified ID
|
|
112
|
-
installation key "password123"; uses your default Dev Hub org:
|
|
108
|
+
Create a second-generation managed package version from the first-generation managed package with the specified ID
|
|
109
|
+
and give it the installation key "password123"; uses your default Dev Hub org:
|
|
113
110
|
|
|
114
111
|
$ sf package convert --package 033... --installation-key password123
|
|
115
112
|
|
|
@@ -118,9 +115,9 @@ EXAMPLES
|
|
|
118
115
|
$ sf package convert --package 033... --installation-key password123 --target-dev-hub devhuborg@example.com
|
|
119
116
|
|
|
120
117
|
FLAG DESCRIPTIONS
|
|
121
|
-
-a, --patch-version=<value> Specific released patch version to
|
|
118
|
+
-a, --patch-version=<value> Specific released patch version to be converted.
|
|
122
119
|
|
|
123
|
-
Specify a released patch version as major.minor.patch
|
|
120
|
+
Specify a released patch version as major.minor.patch to convert to a second-generation managed package version.
|
|
124
121
|
|
|
125
122
|
-f, --definition-file=<value>
|
|
126
123
|
|
|
@@ -135,7 +132,7 @@ FLAG DESCRIPTIONS
|
|
|
135
132
|
|
|
136
133
|
-m, --seed-metadata=<value> Directory containing metadata to be deployed prior to conversion.
|
|
137
134
|
|
|
138
|
-
The directory containing metadata that will be deployed on the build org prior to attempting conversion.
|
|
135
|
+
The directory containing metadata that will be deployed on the build org prior to attempting package conversion.
|
|
139
136
|
|
|
140
137
|
-x, --installation-key-bypass Bypass the installation key requirement.
|
|
141
138
|
|
|
@@ -143,7 +140,7 @@ FLAG DESCRIPTIONS
|
|
|
143
140
|
--installation-key-bypass flag is required.
|
|
144
141
|
```
|
|
145
142
|
|
|
146
|
-
_See code: [src/commands/package/convert.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
143
|
+
_See code: [src/commands/package/convert.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/convert.ts)_
|
|
147
144
|
|
|
148
145
|
## `sf package create`
|
|
149
146
|
|
|
@@ -222,7 +219,7 @@ FLAG DESCRIPTIONS
|
|
|
222
219
|
Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
|
|
223
220
|
```
|
|
224
221
|
|
|
225
|
-
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
222
|
+
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/create.ts)_
|
|
226
223
|
|
|
227
224
|
## `sf package delete`
|
|
228
225
|
|
|
@@ -264,7 +261,7 @@ EXAMPLES
|
|
|
264
261
|
$ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
|
|
265
262
|
```
|
|
266
263
|
|
|
267
|
-
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
264
|
+
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/delete.ts)_
|
|
268
265
|
|
|
269
266
|
## `sf package install`
|
|
270
267
|
|
|
@@ -363,7 +360,7 @@ FLAG DESCRIPTIONS
|
|
|
363
360
|
- Delete: Delete all removed components that can be safely deleted, and deprecate the other components.
|
|
364
361
|
```
|
|
365
362
|
|
|
366
|
-
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
363
|
+
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/install.ts)_
|
|
367
364
|
|
|
368
365
|
## `sf package install report`
|
|
369
366
|
|
|
@@ -396,7 +393,7 @@ EXAMPLES
|
|
|
396
393
|
$ sf package install report --request-id 0Hf... --target-org me@example.com
|
|
397
394
|
```
|
|
398
395
|
|
|
399
|
-
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
400
397
|
|
|
401
398
|
## `sf package installed list`
|
|
402
399
|
|
|
@@ -428,7 +425,7 @@ EXAMPLES
|
|
|
428
425
|
$ sf package installed list --target-org me@example.com
|
|
429
426
|
```
|
|
430
427
|
|
|
431
|
-
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
432
429
|
|
|
433
430
|
## `sf package list`
|
|
434
431
|
|
|
@@ -466,7 +463,7 @@ EXAMPLES
|
|
|
466
463
|
$ sf package list --target-dev-hub devhub@example.com --verbose
|
|
467
464
|
```
|
|
468
465
|
|
|
469
|
-
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
466
|
+
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/list.ts)_
|
|
470
467
|
|
|
471
468
|
## `sf package push-upgrade abort`
|
|
472
469
|
|
|
@@ -506,7 +503,7 @@ EXAMPLES
|
|
|
506
503
|
$ sf package push-upgrade abort --push-request-id 0DV... --target-dev-hub devhub@example.com
|
|
507
504
|
```
|
|
508
505
|
|
|
509
|
-
_See code: [src/commands/package/push-upgrade/abort.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
510
507
|
|
|
511
508
|
## `sf package push-upgrade list`
|
|
512
509
|
|
|
@@ -565,7 +562,7 @@ EXAMPLES
|
|
|
565
562
|
$ sf package push-upgrade list --package 033xyz –-status Failed
|
|
566
563
|
```
|
|
567
564
|
|
|
568
|
-
_See code: [src/commands/package/push-upgrade/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
569
566
|
|
|
570
567
|
## `sf package push-upgrade report`
|
|
571
568
|
|
|
@@ -607,7 +604,7 @@ EXAMPLES
|
|
|
607
604
|
$ sf package push-upgrade report --push-request-id 0DV... --target-dev-hub devhub@example.com
|
|
608
605
|
```
|
|
609
606
|
|
|
610
|
-
_See code: [src/commands/package/push-upgrade/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
611
608
|
|
|
612
609
|
## `sf package push-upgrade schedule`
|
|
613
610
|
|
|
@@ -689,7 +686,7 @@ FLAG DESCRIPTIONS
|
|
|
689
686
|
Overrides the value of the target-dev-hub configuration variable, if set.
|
|
690
687
|
```
|
|
691
688
|
|
|
692
|
-
_See code: [src/commands/package/push-upgrade/schedule.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
693
690
|
|
|
694
691
|
## `sf package uninstall`
|
|
695
692
|
|
|
@@ -737,7 +734,7 @@ EXAMPLES
|
|
|
737
734
|
$ sf package uninstall --package "Undesirable Package Alias"
|
|
738
735
|
```
|
|
739
736
|
|
|
740
|
-
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
737
|
+
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/uninstall.ts)_
|
|
741
738
|
|
|
742
739
|
## `sf package uninstall report`
|
|
743
740
|
|
|
@@ -770,7 +767,7 @@ EXAMPLES
|
|
|
770
767
|
$ sf package uninstall report --request-id 06y... --target-org me@example.com
|
|
771
768
|
```
|
|
772
769
|
|
|
773
|
-
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
774
771
|
|
|
775
772
|
## `sf package update`
|
|
776
773
|
|
|
@@ -825,7 +822,7 @@ FLAG DESCRIPTIONS
|
|
|
825
822
|
associated with your package.
|
|
826
823
|
```
|
|
827
824
|
|
|
828
|
-
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
825
|
+
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/update.ts)_
|
|
829
826
|
|
|
830
827
|
## `sf package version create`
|
|
831
828
|
|
|
@@ -1000,7 +997,7 @@ FLAG DESCRIPTIONS
|
|
|
1000
997
|
periods of no output from commands.
|
|
1001
998
|
```
|
|
1002
999
|
|
|
1003
|
-
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1004
1001
|
|
|
1005
1002
|
## `sf package version create list`
|
|
1006
1003
|
|
|
@@ -1061,7 +1058,7 @@ EXAMPLES
|
|
|
1061
1058
|
$ sf package version create list --created-last-days 0 --status Success
|
|
1062
1059
|
```
|
|
1063
1060
|
|
|
1064
|
-
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1065
1062
|
|
|
1066
1063
|
## `sf package version create report`
|
|
1067
1064
|
|
|
@@ -1104,7 +1101,7 @@ EXAMPLES
|
|
|
1104
1101
|
$ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
|
|
1105
1102
|
```
|
|
1106
1103
|
|
|
1107
|
-
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1108
1105
|
|
|
1109
1106
|
## `sf package version delete`
|
|
1110
1107
|
|
|
@@ -1145,7 +1142,7 @@ EXAMPLES
|
|
|
1145
1142
|
$ sf package version delete --package 04t... --target-org devhub@example.com
|
|
1146
1143
|
```
|
|
1147
1144
|
|
|
1148
|
-
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1149
1146
|
|
|
1150
1147
|
## `sf package version displayancestry`
|
|
1151
1148
|
|
|
@@ -1205,7 +1202,7 @@ FLAG DESCRIPTIONS
|
|
|
1205
1202
|
You can use the DOT code output in graph visualization software to create tree visualizations.
|
|
1206
1203
|
```
|
|
1207
1204
|
|
|
1208
|
-
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1209
1206
|
|
|
1210
1207
|
## `sf package version list`
|
|
1211
1208
|
|
|
@@ -1281,7 +1278,7 @@ EXAMPLES
|
|
|
1281
1278
|
$ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
|
|
1282
1279
|
```
|
|
1283
1280
|
|
|
1284
|
-
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1285
1282
|
|
|
1286
1283
|
## `sf package version promote`
|
|
1287
1284
|
|
|
@@ -1325,7 +1322,7 @@ EXAMPLES
|
|
|
1325
1322
|
$ sf package version promote --package "Awesome Package Alias"
|
|
1326
1323
|
```
|
|
1327
1324
|
|
|
1328
|
-
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1329
1326
|
|
|
1330
1327
|
## `sf package version report`
|
|
1331
1328
|
|
|
@@ -1365,7 +1362,7 @@ EXAMPLES
|
|
|
1365
1362
|
$ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
|
|
1366
1363
|
```
|
|
1367
1364
|
|
|
1368
|
-
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1369
1366
|
|
|
1370
1367
|
## `sf package version update`
|
|
1371
1368
|
|
|
@@ -1418,7 +1415,7 @@ EXAMPLES
|
|
|
1418
1415
|
$ sf package version update --package 04t... --version-description "New Package Version Description"
|
|
1419
1416
|
```
|
|
1420
1417
|
|
|
1421
|
-
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1422
1419
|
|
|
1423
1420
|
## `sf package1 version create`
|
|
1424
1421
|
|
|
@@ -1485,7 +1482,7 @@ FLAG DESCRIPTIONS
|
|
|
1485
1482
|
subscribers.
|
|
1486
1483
|
```
|
|
1487
1484
|
|
|
1488
|
-
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1489
1486
|
|
|
1490
1487
|
## `sf package1 version create get`
|
|
1491
1488
|
|
|
@@ -1518,7 +1515,7 @@ EXAMPLES
|
|
|
1518
1515
|
$ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
|
|
1519
1516
|
```
|
|
1520
1517
|
|
|
1521
|
-
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1522
1519
|
|
|
1523
1520
|
## `sf package1 version display`
|
|
1524
1521
|
|
|
@@ -1552,7 +1549,7 @@ EXAMPLES
|
|
|
1552
1549
|
$ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
|
|
1553
1550
|
```
|
|
1554
1551
|
|
|
1555
|
-
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1556
1553
|
|
|
1557
1554
|
## `sf package1 version list`
|
|
1558
1555
|
|
|
@@ -1590,6 +1587,6 @@ FLAG DESCRIPTIONS
|
|
|
1590
1587
|
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
|
|
1591
1588
|
```
|
|
1592
1589
|
|
|
1593
|
-
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.15.
|
|
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)_
|
|
1594
1591
|
|
|
1595
1592
|
<!-- commandsstop -->
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Convert a managed-released first-generation managed package into a second-generation managed package.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
The package
|
|
7
|
+
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.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
By default, the latest released non-patch version from the specified first-generation package will be converted. Use --patch-version to override the default. Read more about --patch-version option in help
|
|
9
|
+
Use --patch-version to specify a released patch version.
|
|
12
10
|
|
|
13
11
|
To retrieve details about a package version create request, including status and package version ID (04t), run "<%= config.bin %> package version create report -i 08c...".
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
To protect the contents of your package and to prevent unauthorized installation of your package, specify the --installation-key flag.
|
|
16
14
|
|
|
17
15
|
To list package version creation requests in the org, run "<%= config.bin %> package version create list".
|
|
18
16
|
|
|
19
17
|
# examples
|
|
20
18
|
|
|
21
|
-
- Create a second-generation package version from the first-generation package with the specified ID and give it the installation key "password123"; uses your default Dev Hub org:
|
|
19
|
+
- 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:
|
|
22
20
|
|
|
23
21
|
<%= config.bin %> <%= command.id %> --package 033... --installation-key password123
|
|
24
22
|
|
|
@@ -28,7 +26,7 @@ To list package version creation requests in the org, run "<%= config.bin %> pac
|
|
|
28
26
|
|
|
29
27
|
# flags.package.summary
|
|
30
28
|
|
|
31
|
-
ID (starts with 033) of the first-generation package to convert.
|
|
29
|
+
ID (starts with 033) of the first-generation managed package to convert.
|
|
32
30
|
|
|
33
31
|
# flags.installation-key.summary
|
|
34
32
|
|
|
@@ -68,7 +66,7 @@ Display verbose command output.
|
|
|
68
66
|
|
|
69
67
|
# in-progress
|
|
70
68
|
|
|
71
|
-
Request in progress. Will wait a total of %s more seconds before timing out. Current Status='%s'
|
|
69
|
+
Request in progress. Will wait a total of %s more seconds before timing out. Current Status='%s'.
|
|
72
70
|
|
|
73
71
|
# flags.seed-metadata.summary
|
|
74
72
|
|
|
@@ -76,12 +74,12 @@ Directory containing metadata to be deployed prior to conversion.
|
|
|
76
74
|
|
|
77
75
|
# flags.seed-metadata.description
|
|
78
76
|
|
|
79
|
-
The directory containing metadata that will be deployed on the build org prior to attempting conversion.
|
|
77
|
+
The directory containing metadata that will be deployed on the build org prior to attempting package conversion.
|
|
80
78
|
|
|
81
79
|
# flags.patch-version.summary
|
|
82
80
|
|
|
83
|
-
Specific released patch version to
|
|
81
|
+
Specific released patch version to be converted.
|
|
84
82
|
|
|
85
83
|
# flags.patch-version.description
|
|
86
84
|
|
|
87
|
-
Specify a released patch version as major.minor.patch
|
|
85
|
+
Specify a released patch version as major.minor.patch to convert to a second-generation managed package version.
|
package/oclif.manifest.json
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
],
|
|
7
7
|
"args": {},
|
|
8
8
|
"deprecateAliases": true,
|
|
9
|
-
"description": "The package
|
|
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\".",
|
|
10
10
|
"examples": [
|
|
11
|
-
"Create a second-generation package version from the first-generation 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",
|
|
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"
|
|
13
13
|
],
|
|
14
14
|
"flags": {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"char": "p",
|
|
68
68
|
"name": "package",
|
|
69
69
|
"required": true,
|
|
70
|
-
"summary": "ID (starts with 033) of the first-generation package to convert.",
|
|
70
|
+
"summary": "ID (starts with 033) of the first-generation managed package to convert.",
|
|
71
71
|
"hasDynamicHelp": false,
|
|
72
72
|
"multiple": false,
|
|
73
73
|
"type": "option"
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
},
|
|
134
134
|
"seed-metadata": {
|
|
135
135
|
"char": "m",
|
|
136
|
-
"description": "The directory containing metadata that will be deployed on the build org prior to attempting conversion.",
|
|
136
|
+
"description": "The directory containing metadata that will be deployed on the build org prior to attempting package conversion.",
|
|
137
137
|
"name": "seed-metadata",
|
|
138
138
|
"summary": "Directory containing metadata to be deployed prior to conversion.",
|
|
139
139
|
"hasDynamicHelp": false,
|
|
@@ -152,9 +152,9 @@
|
|
|
152
152
|
],
|
|
153
153
|
"char": "a",
|
|
154
154
|
"deprecateAliases": true,
|
|
155
|
-
"description": "Specify a released patch version as major.minor.patch
|
|
155
|
+
"description": "Specify a released patch version as major.minor.patch to convert to a second-generation managed package version.",
|
|
156
156
|
"name": "patch-version",
|
|
157
|
-
"summary": "Specific released patch version to
|
|
157
|
+
"summary": "Specific released patch version to be converted.",
|
|
158
158
|
"hasDynamicHelp": false,
|
|
159
159
|
"multiple": false,
|
|
160
160
|
"type": "option"
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"pluginName": "@salesforce/plugin-packaging",
|
|
168
168
|
"pluginType": "core",
|
|
169
169
|
"strict": true,
|
|
170
|
-
"summary": "
|
|
170
|
+
"summary": "Convert a managed-released first-generation managed package into a second-generation managed package.",
|
|
171
171
|
"enableJsonFlag": true,
|
|
172
172
|
"isESM": true,
|
|
173
173
|
"relativePath": [
|
|
@@ -4542,5 +4542,5 @@
|
|
|
4542
4542
|
]
|
|
4543
4543
|
}
|
|
4544
4544
|
},
|
|
4545
|
-
"version": "2.15.
|
|
4545
|
+
"version": "2.15.4"
|
|
4546
4546
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-packaging",
|
|
3
3
|
"description": "SF plugin that support Salesforce Packaging Platform",
|
|
4
|
-
"version": "2.15.
|
|
4
|
+
"version": "2.15.4",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -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.
|
|
251
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.15.
|
|
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"
|
|
252
252
|
}
|
|
253
253
|
}
|