@salesforce/plugin-packaging 2.15.4 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -65,10 +65,12 @@ Convert a managed-released first-generation managed package into a second-genera
|
|
|
65
65
|
```
|
|
66
66
|
USAGE
|
|
67
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>]
|
|
68
|
+
<value>] [-x] [-w <value>] [-m <value>] [--verbose] [-a <value>] [-c]
|
|
69
69
|
|
|
70
70
|
FLAGS
|
|
71
71
|
-a, --patch-version=<value> Specific released patch version to be converted.
|
|
72
|
+
-c, --code-coverage Calculate and store the code coverage percentage by running the packaged Apex tests
|
|
73
|
+
included in this package version.
|
|
72
74
|
-f, --definition-file=<value> Path to a definition file that contains features and org preferences that the metadata
|
|
73
75
|
of the package version depends on.
|
|
74
76
|
-k, --installation-key=<value> Installation key for key-protected package.
|
|
@@ -99,6 +101,9 @@ DESCRIPTION
|
|
|
99
101
|
To protect the contents of your package and to prevent unauthorized installation of your package, specify the
|
|
100
102
|
--installation-key flag.
|
|
101
103
|
|
|
104
|
+
To promote a package version to released, you must use the --code-coverage parameter. The package must also meet the
|
|
105
|
+
code coverage requirements.
|
|
106
|
+
|
|
102
107
|
To list package version creation requests in the org, run "sf package version create list".
|
|
103
108
|
|
|
104
109
|
ALIASES
|
|
@@ -119,6 +124,14 @@ FLAG DESCRIPTIONS
|
|
|
119
124
|
|
|
120
125
|
Specify a released patch version as major.minor.patch to convert to a second-generation managed package version.
|
|
121
126
|
|
|
127
|
+
-c, --code-coverage
|
|
128
|
+
|
|
129
|
+
Calculate and store the code coverage percentage by running the packaged Apex tests included in this package
|
|
130
|
+
version.
|
|
131
|
+
|
|
132
|
+
Before you can promote and release a managed package version, the Apex code must meet a minimum 75% code coverage
|
|
133
|
+
requirement.
|
|
134
|
+
|
|
122
135
|
-f, --definition-file=<value>
|
|
123
136
|
|
|
124
137
|
Path to a definition file that contains features and org preferences that the metadata of the package version
|
|
@@ -140,7 +153,7 @@ FLAG DESCRIPTIONS
|
|
|
140
153
|
--installation-key-bypass flag is required.
|
|
141
154
|
```
|
|
142
155
|
|
|
143
|
-
_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.16.0/src/commands/package/convert.ts)_
|
|
144
157
|
|
|
145
158
|
## `sf package create`
|
|
146
159
|
|
|
@@ -219,7 +232,7 @@ FLAG DESCRIPTIONS
|
|
|
219
232
|
Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
|
|
220
233
|
```
|
|
221
234
|
|
|
222
|
-
_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.16.0/src/commands/package/create.ts)_
|
|
223
236
|
|
|
224
237
|
## `sf package delete`
|
|
225
238
|
|
|
@@ -261,7 +274,7 @@ EXAMPLES
|
|
|
261
274
|
$ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
|
|
262
275
|
```
|
|
263
276
|
|
|
264
|
-
_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.16.0/src/commands/package/delete.ts)_
|
|
265
278
|
|
|
266
279
|
## `sf package install`
|
|
267
280
|
|
|
@@ -360,7 +373,7 @@ FLAG DESCRIPTIONS
|
|
|
360
373
|
- Delete: Delete all removed components that can be safely deleted, and deprecate the other components.
|
|
361
374
|
```
|
|
362
375
|
|
|
363
|
-
_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.16.0/src/commands/package/install.ts)_
|
|
364
377
|
|
|
365
378
|
## `sf package install report`
|
|
366
379
|
|
|
@@ -393,7 +406,7 @@ EXAMPLES
|
|
|
393
406
|
$ sf package install report --request-id 0Hf... --target-org me@example.com
|
|
394
407
|
```
|
|
395
408
|
|
|
396
|
-
_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.16.0/src/commands/package/install/report.ts)_
|
|
397
410
|
|
|
398
411
|
## `sf package installed list`
|
|
399
412
|
|
|
@@ -425,7 +438,7 @@ EXAMPLES
|
|
|
425
438
|
$ sf package installed list --target-org me@example.com
|
|
426
439
|
```
|
|
427
440
|
|
|
428
|
-
_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.16.0/src/commands/package/installed/list.ts)_
|
|
429
442
|
|
|
430
443
|
## `sf package list`
|
|
431
444
|
|
|
@@ -463,7 +476,7 @@ EXAMPLES
|
|
|
463
476
|
$ sf package list --target-dev-hub devhub@example.com --verbose
|
|
464
477
|
```
|
|
465
478
|
|
|
466
|
-
_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.16.0/src/commands/package/list.ts)_
|
|
467
480
|
|
|
468
481
|
## `sf package push-upgrade abort`
|
|
469
482
|
|
|
@@ -503,7 +516,7 @@ EXAMPLES
|
|
|
503
516
|
$ sf package push-upgrade abort --push-request-id 0DV... --target-dev-hub devhub@example.com
|
|
504
517
|
```
|
|
505
518
|
|
|
506
|
-
_See code: [src/commands/package/push-upgrade/abort.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
519
|
+
_See code: [src/commands/package/push-upgrade/abort.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/push-upgrade/abort.ts)_
|
|
507
520
|
|
|
508
521
|
## `sf package push-upgrade list`
|
|
509
522
|
|
|
@@ -562,7 +575,7 @@ EXAMPLES
|
|
|
562
575
|
$ sf package push-upgrade list --package 033xyz –-status Failed
|
|
563
576
|
```
|
|
564
577
|
|
|
565
|
-
_See code: [src/commands/package/push-upgrade/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
578
|
+
_See code: [src/commands/package/push-upgrade/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/push-upgrade/list.ts)_
|
|
566
579
|
|
|
567
580
|
## `sf package push-upgrade report`
|
|
568
581
|
|
|
@@ -604,7 +617,7 @@ EXAMPLES
|
|
|
604
617
|
$ sf package push-upgrade report --push-request-id 0DV... --target-dev-hub devhub@example.com
|
|
605
618
|
```
|
|
606
619
|
|
|
607
|
-
_See code: [src/commands/package/push-upgrade/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
620
|
+
_See code: [src/commands/package/push-upgrade/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/push-upgrade/report.ts)_
|
|
608
621
|
|
|
609
622
|
## `sf package push-upgrade schedule`
|
|
610
623
|
|
|
@@ -686,7 +699,7 @@ FLAG DESCRIPTIONS
|
|
|
686
699
|
Overrides the value of the target-dev-hub configuration variable, if set.
|
|
687
700
|
```
|
|
688
701
|
|
|
689
|
-
_See code: [src/commands/package/push-upgrade/schedule.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
702
|
+
_See code: [src/commands/package/push-upgrade/schedule.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/push-upgrade/schedule.ts)_
|
|
690
703
|
|
|
691
704
|
## `sf package uninstall`
|
|
692
705
|
|
|
@@ -734,7 +747,7 @@ EXAMPLES
|
|
|
734
747
|
$ sf package uninstall --package "Undesirable Package Alias"
|
|
735
748
|
```
|
|
736
749
|
|
|
737
|
-
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
750
|
+
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/uninstall.ts)_
|
|
738
751
|
|
|
739
752
|
## `sf package uninstall report`
|
|
740
753
|
|
|
@@ -767,7 +780,7 @@ EXAMPLES
|
|
|
767
780
|
$ sf package uninstall report --request-id 06y... --target-org me@example.com
|
|
768
781
|
```
|
|
769
782
|
|
|
770
|
-
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
783
|
+
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/uninstall/report.ts)_
|
|
771
784
|
|
|
772
785
|
## `sf package update`
|
|
773
786
|
|
|
@@ -822,7 +835,7 @@ FLAG DESCRIPTIONS
|
|
|
822
835
|
associated with your package.
|
|
823
836
|
```
|
|
824
837
|
|
|
825
|
-
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
838
|
+
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/update.ts)_
|
|
826
839
|
|
|
827
840
|
## `sf package version create`
|
|
828
841
|
|
|
@@ -997,7 +1010,7 @@ FLAG DESCRIPTIONS
|
|
|
997
1010
|
periods of no output from commands.
|
|
998
1011
|
```
|
|
999
1012
|
|
|
1000
|
-
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1013
|
+
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/create.ts)_
|
|
1001
1014
|
|
|
1002
1015
|
## `sf package version create list`
|
|
1003
1016
|
|
|
@@ -1058,7 +1071,7 @@ EXAMPLES
|
|
|
1058
1071
|
$ sf package version create list --created-last-days 0 --status Success
|
|
1059
1072
|
```
|
|
1060
1073
|
|
|
1061
|
-
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1074
|
+
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/create/list.ts)_
|
|
1062
1075
|
|
|
1063
1076
|
## `sf package version create report`
|
|
1064
1077
|
|
|
@@ -1101,7 +1114,7 @@ EXAMPLES
|
|
|
1101
1114
|
$ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
|
|
1102
1115
|
```
|
|
1103
1116
|
|
|
1104
|
-
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1117
|
+
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/create/report.ts)_
|
|
1105
1118
|
|
|
1106
1119
|
## `sf package version delete`
|
|
1107
1120
|
|
|
@@ -1142,7 +1155,7 @@ EXAMPLES
|
|
|
1142
1155
|
$ sf package version delete --package 04t... --target-org devhub@example.com
|
|
1143
1156
|
```
|
|
1144
1157
|
|
|
1145
|
-
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1158
|
+
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/delete.ts)_
|
|
1146
1159
|
|
|
1147
1160
|
## `sf package version displayancestry`
|
|
1148
1161
|
|
|
@@ -1202,7 +1215,7 @@ FLAG DESCRIPTIONS
|
|
|
1202
1215
|
You can use the DOT code output in graph visualization software to create tree visualizations.
|
|
1203
1216
|
```
|
|
1204
1217
|
|
|
1205
|
-
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1218
|
+
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/displayancestry.ts)_
|
|
1206
1219
|
|
|
1207
1220
|
## `sf package version list`
|
|
1208
1221
|
|
|
@@ -1278,7 +1291,7 @@ EXAMPLES
|
|
|
1278
1291
|
$ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
|
|
1279
1292
|
```
|
|
1280
1293
|
|
|
1281
|
-
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1294
|
+
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/list.ts)_
|
|
1282
1295
|
|
|
1283
1296
|
## `sf package version promote`
|
|
1284
1297
|
|
|
@@ -1322,7 +1335,7 @@ EXAMPLES
|
|
|
1322
1335
|
$ sf package version promote --package "Awesome Package Alias"
|
|
1323
1336
|
```
|
|
1324
1337
|
|
|
1325
|
-
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1338
|
+
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/promote.ts)_
|
|
1326
1339
|
|
|
1327
1340
|
## `sf package version report`
|
|
1328
1341
|
|
|
@@ -1362,7 +1375,7 @@ EXAMPLES
|
|
|
1362
1375
|
$ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
|
|
1363
1376
|
```
|
|
1364
1377
|
|
|
1365
|
-
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1378
|
+
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/report.ts)_
|
|
1366
1379
|
|
|
1367
1380
|
## `sf package version update`
|
|
1368
1381
|
|
|
@@ -1415,7 +1428,7 @@ EXAMPLES
|
|
|
1415
1428
|
$ sf package version update --package 04t... --version-description "New Package Version Description"
|
|
1416
1429
|
```
|
|
1417
1430
|
|
|
1418
|
-
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1431
|
+
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/update.ts)_
|
|
1419
1432
|
|
|
1420
1433
|
## `sf package1 version create`
|
|
1421
1434
|
|
|
@@ -1482,7 +1495,7 @@ FLAG DESCRIPTIONS
|
|
|
1482
1495
|
subscribers.
|
|
1483
1496
|
```
|
|
1484
1497
|
|
|
1485
|
-
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1498
|
+
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package1/version/create.ts)_
|
|
1486
1499
|
|
|
1487
1500
|
## `sf package1 version create get`
|
|
1488
1501
|
|
|
@@ -1515,7 +1528,7 @@ EXAMPLES
|
|
|
1515
1528
|
$ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
|
|
1516
1529
|
```
|
|
1517
1530
|
|
|
1518
|
-
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1531
|
+
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package1/version/create/get.ts)_
|
|
1519
1532
|
|
|
1520
1533
|
## `sf package1 version display`
|
|
1521
1534
|
|
|
@@ -1549,7 +1562,7 @@ EXAMPLES
|
|
|
1549
1562
|
$ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
|
|
1550
1563
|
```
|
|
1551
1564
|
|
|
1552
|
-
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1565
|
+
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package1/version/display.ts)_
|
|
1553
1566
|
|
|
1554
1567
|
## `sf package1 version list`
|
|
1555
1568
|
|
|
@@ -1587,6 +1600,6 @@ FLAG DESCRIPTIONS
|
|
|
1587
1600
|
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
|
|
1588
1601
|
```
|
|
1589
1602
|
|
|
1590
|
-
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1603
|
+
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package1/version/list.ts)_
|
|
1591
1604
|
|
|
1592
1605
|
<!-- commandsstop -->
|
|
@@ -20,6 +20,7 @@ export declare class PackageConvert extends SfCommand<PackageVersionCreateReques
|
|
|
20
20
|
'seed-metadata': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
21
21
|
verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
22
22
|
'patch-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
23
|
+
'code-coverage': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
23
24
|
};
|
|
24
25
|
run(): Promise<PackageVersionCreateRequestResult>;
|
|
25
26
|
private display;
|
|
@@ -80,6 +80,12 @@ export class PackageConvert extends SfCommand {
|
|
|
80
80
|
deprecateAliases: true,
|
|
81
81
|
aliases: ['patchversion'],
|
|
82
82
|
}),
|
|
83
|
+
'code-coverage': Flags.boolean({
|
|
84
|
+
char: 'c',
|
|
85
|
+
summary: messages.getMessage('flags.code-coverage.summary'),
|
|
86
|
+
description: messages.getMessage('flags.code-coverage.description'),
|
|
87
|
+
default: false,
|
|
88
|
+
}),
|
|
83
89
|
};
|
|
84
90
|
async run() {
|
|
85
91
|
const { flags } = await this.parse(PackageConvert);
|
|
@@ -117,6 +123,7 @@ export class PackageConvert extends SfCommand {
|
|
|
117
123
|
buildInstance: flags['build-instance'],
|
|
118
124
|
seedMetadata: flags['seed-metadata'],
|
|
119
125
|
patchversion: flags['patch-version'],
|
|
126
|
+
codecoverage: flags['code-coverage'],
|
|
120
127
|
}, project);
|
|
121
128
|
switch (result.Status) {
|
|
122
129
|
case PackagingSObjects['Package2VersionStatus'].error:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert.js","sourceRoot":"","sources":["../../../src/commands/package/convert.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,iCAAiC,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC5G,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EACL,gBAAgB,EAChB,OAAO,EACP,aAAa,EAGb,iBAAiB,GAClB,MAAM,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;IAC5D,MAAM,CAAU,gBAAgB,GAAG,IAAI,CAAC;IACxC,MAAM,CAAU,OAAO,GAAG,CAAC,uBA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AY,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"}
|
|
@@ -12,6 +12,8 @@ To retrieve details about a package version create request, including status and
|
|
|
12
12
|
|
|
13
13
|
To protect the contents of your package and to prevent unauthorized installation of your package, specify the --installation-key flag.
|
|
14
14
|
|
|
15
|
+
To promote a package version to released, you must use the --code-coverage parameter. The package must also meet the code coverage requirements.
|
|
16
|
+
|
|
15
17
|
To list package version creation requests in the org, run "<%= config.bin %> package version create list".
|
|
16
18
|
|
|
17
19
|
# examples
|
|
@@ -66,7 +68,7 @@ Display verbose command output.
|
|
|
66
68
|
|
|
67
69
|
# in-progress
|
|
68
70
|
|
|
69
|
-
Request in progress. Will wait a total of %s more seconds before timing out. Current Status='%s'.
|
|
71
|
+
Request in progress. Will wait a total of %s more seconds before timing out. Current Status='%s'.
|
|
70
72
|
|
|
71
73
|
# flags.seed-metadata.summary
|
|
72
74
|
|
|
@@ -83,3 +85,11 @@ Specific released patch version to be converted.
|
|
|
83
85
|
# flags.patch-version.description
|
|
84
86
|
|
|
85
87
|
Specify a released patch version as major.minor.patch to convert to a second-generation managed package version.
|
|
88
|
+
|
|
89
|
+
# flags.code-coverage.summary
|
|
90
|
+
|
|
91
|
+
Calculate and store the code coverage percentage by running the packaged Apex tests included in this package version.
|
|
92
|
+
|
|
93
|
+
# flags.code-coverage.description
|
|
94
|
+
|
|
95
|
+
Before you can promote and release a managed package version, the Apex code must meet a minimum 75% code coverage requirement.
|
package/oclif.manifest.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
],
|
|
7
7
|
"args": {},
|
|
8
8
|
"deprecateAliases": true,
|
|
9
|
-
"description": "The package conversion command automatically selects the latest released major.minor first-generation managed package version, and converts it into a second-generation managed package version.\n\nUse --patch-version to specify a released patch version.\n\nTo retrieve details about a package version create request, including status and package version ID (04t), run \"<%= config.bin %> package version create report -i 08c...\".\n\nTo protect the contents of your package and to prevent unauthorized installation of your package, specify the --installation-key flag.\n\nTo list package version creation requests in the org, run \"<%= config.bin %> package version create list\".",
|
|
9
|
+
"description": "The package conversion command automatically selects the latest released major.minor first-generation managed package version, and converts it into a second-generation managed package version.\n\nUse --patch-version to specify a released patch version.\n\nTo retrieve details about a package version create request, including status and package version ID (04t), run \"<%= config.bin %> package version create report -i 08c...\".\n\nTo protect the contents of your package and to prevent unauthorized installation of your package, specify the --installation-key flag.\n\nTo promote a package version to released, you must use the --code-coverage parameter. The package must also meet the code coverage requirements.\n\nTo list package version creation requests in the org, run \"<%= config.bin %> package version create list\".",
|
|
10
10
|
"examples": [
|
|
11
11
|
"Create a second-generation managed package version from the first-generation managed package with the specified ID and give it the installation key \"password123\"; uses your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 033... --installation-key password123",
|
|
12
12
|
"Similar to previous example, but uses the specified Dev Hub org:\n<%= config.bin %> <%= command.id %> --package 033... --installation-key password123 --target-dev-hub devhuborg@example.com"
|
|
@@ -158,6 +158,14 @@
|
|
|
158
158
|
"hasDynamicHelp": false,
|
|
159
159
|
"multiple": false,
|
|
160
160
|
"type": "option"
|
|
161
|
+
},
|
|
162
|
+
"code-coverage": {
|
|
163
|
+
"char": "c",
|
|
164
|
+
"description": "Before you can promote and release a managed package version, the Apex code must meet a minimum 75% code coverage requirement.",
|
|
165
|
+
"name": "code-coverage",
|
|
166
|
+
"summary": "Calculate and store the code coverage percentage by running the packaged Apex tests included in this package version.",
|
|
167
|
+
"allowNo": false,
|
|
168
|
+
"type": "boolean"
|
|
161
169
|
}
|
|
162
170
|
},
|
|
163
171
|
"hasDynamicHelp": true,
|
|
@@ -4542,5 +4550,5 @@
|
|
|
4542
4550
|
]
|
|
4543
4551
|
}
|
|
4544
4552
|
},
|
|
4545
|
-
"version": "2.
|
|
4553
|
+
"version": "2.16.0"
|
|
4546
4554
|
}
|
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.16.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@oclif/core": "^4",
|
|
9
9
|
"@salesforce/core": "^8.12.0",
|
|
10
10
|
"@salesforce/kit": "^3.2.3",
|
|
11
|
-
"@salesforce/packaging": "^4.
|
|
11
|
+
"@salesforce/packaging": "^4.7.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.16.0.crt",
|
|
251
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.16.0.sig"
|
|
252
252
|
}
|
|
253
253
|
}
|