@salesforce/plugin-packaging 2.1.11 → 2.2.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 +104 -82
- package/lib/commands/package/version/create.js +2 -2
- package/lib/commands/package/version/create.js.map +1 -1
- package/npm-shrinkwrap.json +17494 -0
- package/oclif.lock +213 -287
- package/oclif.manifest.json +199 -27
- package/package.json +11 -12
package/README.md
CHANGED
|
@@ -59,8 +59,8 @@ Create a first-generation package version in the release org.
|
|
|
59
59
|
|
|
60
60
|
```
|
|
61
61
|
USAGE
|
|
62
|
-
$ sf package1 version create -o <value> -i <value> -n <value> [--json] [--
|
|
63
|
-
[-m] [-r <value>] [-p <value>] [-k <value>] [-w <value>]
|
|
62
|
+
$ sf package1 version create -o <value> -i <value> -n <value> [--json] [--flags-dir <value>] [--api-version <value>] [-d
|
|
63
|
+
<value>] [-v <value>] [-m] [-r <value>] [-p <value>] [-k <value>] [-w <value>]
|
|
64
64
|
|
|
65
65
|
FLAGS
|
|
66
66
|
-d, --description=<value> Package version description.
|
|
@@ -78,7 +78,8 @@ FLAGS
|
|
|
78
78
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
79
79
|
|
|
80
80
|
GLOBAL FLAGS
|
|
81
|
-
--
|
|
81
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
82
|
+
--json Format output as json.
|
|
82
83
|
|
|
83
84
|
DESCRIPTION
|
|
84
85
|
Create a first-generation package version in the release org.
|
|
@@ -117,7 +118,7 @@ FLAG DESCRIPTIONS
|
|
|
117
118
|
subscribers.
|
|
118
119
|
```
|
|
119
120
|
|
|
120
|
-
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
121
|
+
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package1/version/create.ts)_
|
|
121
122
|
|
|
122
123
|
## `sf package1 version create get`
|
|
123
124
|
|
|
@@ -125,7 +126,7 @@ Retrieve the status of a package version creation request.
|
|
|
125
126
|
|
|
126
127
|
```
|
|
127
128
|
USAGE
|
|
128
|
-
$ sf package1 version create get -o <value> -i <value> [--json] [--api-version <value>]
|
|
129
|
+
$ sf package1 version create get -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
129
130
|
|
|
130
131
|
FLAGS
|
|
131
132
|
-i, --request-id=<value> (required) ID of the PackageUploadRequest (starts with 0HD).
|
|
@@ -134,7 +135,8 @@ FLAGS
|
|
|
134
135
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
135
136
|
|
|
136
137
|
GLOBAL FLAGS
|
|
137
|
-
--
|
|
138
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
139
|
+
--json Format output as json.
|
|
138
140
|
|
|
139
141
|
ALIASES
|
|
140
142
|
$ sf force package1 version create get
|
|
@@ -149,7 +151,7 @@ EXAMPLES
|
|
|
149
151
|
$ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
|
|
150
152
|
```
|
|
151
153
|
|
|
152
|
-
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
154
|
+
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package1/version/create/get.ts)_
|
|
153
155
|
|
|
154
156
|
## `sf package1 version display`
|
|
155
157
|
|
|
@@ -157,7 +159,7 @@ Display details about a first-generation package version.
|
|
|
157
159
|
|
|
158
160
|
```
|
|
159
161
|
USAGE
|
|
160
|
-
$ sf package1 version display -o <value> -i <value> [--json] [--api-version <value>]
|
|
162
|
+
$ sf package1 version display -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
161
163
|
|
|
162
164
|
FLAGS
|
|
163
165
|
-i, --package-version-id=<value> (required) ID (starts with 04t) of the metadata package version whose details you
|
|
@@ -167,7 +169,8 @@ FLAGS
|
|
|
167
169
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
168
170
|
|
|
169
171
|
GLOBAL FLAGS
|
|
170
|
-
--
|
|
172
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
173
|
+
--json Format output as json.
|
|
171
174
|
|
|
172
175
|
ALIASES
|
|
173
176
|
$ sf force package1 version display
|
|
@@ -182,7 +185,7 @@ EXAMPLES
|
|
|
182
185
|
$ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
|
|
183
186
|
```
|
|
184
187
|
|
|
185
|
-
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
188
|
+
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package1/version/display.ts)_
|
|
186
189
|
|
|
187
190
|
## `sf package1 version list`
|
|
188
191
|
|
|
@@ -190,7 +193,7 @@ List package versions for the specified first-generation package or for the org.
|
|
|
190
193
|
|
|
191
194
|
```
|
|
192
195
|
USAGE
|
|
193
|
-
$ sf package1 version list -o <value> [--json] [--api-version <value>] [-i <value>]
|
|
196
|
+
$ sf package1 version list -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-i <value>]
|
|
194
197
|
|
|
195
198
|
FLAGS
|
|
196
199
|
-i, --package-id=<value> Metadata package ID (starts with 033) whose package versions you want to list.
|
|
@@ -199,7 +202,8 @@ FLAGS
|
|
|
199
202
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
200
203
|
|
|
201
204
|
GLOBAL FLAGS
|
|
202
|
-
--
|
|
205
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
206
|
+
--json Format output as json.
|
|
203
207
|
|
|
204
208
|
ALIASES
|
|
205
209
|
$ sf force package1 version list
|
|
@@ -219,7 +223,7 @@ FLAG DESCRIPTIONS
|
|
|
219
223
|
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
|
|
220
224
|
```
|
|
221
225
|
|
|
222
|
-
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
226
|
+
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package1/version/list.ts)_
|
|
223
227
|
|
|
224
228
|
## `sf package create`
|
|
225
229
|
|
|
@@ -227,8 +231,8 @@ Create a package.
|
|
|
227
231
|
|
|
228
232
|
```
|
|
229
233
|
USAGE
|
|
230
|
-
$ sf package create -v <value> -n <value> -t Managed|Unlocked -r <value> [--json] [--
|
|
231
|
-
<value>] [-e] [--org-dependent] [-o <value>]
|
|
234
|
+
$ sf package create -v <value> -n <value> -t Managed|Unlocked -r <value> [--json] [--flags-dir <value>]
|
|
235
|
+
[--api-version <value>] [-d <value>] [-e] [--org-dependent] [-o <value>]
|
|
232
236
|
|
|
233
237
|
FLAGS
|
|
234
238
|
-d, --description=<value> Description of the package.
|
|
@@ -246,7 +250,8 @@ FLAGS
|
|
|
246
250
|
packages only.
|
|
247
251
|
|
|
248
252
|
GLOBAL FLAGS
|
|
249
|
-
--
|
|
253
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
254
|
+
--json Format output as json.
|
|
250
255
|
|
|
251
256
|
DESCRIPTION
|
|
252
257
|
Create a package.
|
|
@@ -297,7 +302,7 @@ FLAG DESCRIPTIONS
|
|
|
297
302
|
Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
|
|
298
303
|
```
|
|
299
304
|
|
|
300
|
-
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
305
|
+
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/create.ts)_
|
|
301
306
|
|
|
302
307
|
## `sf package delete`
|
|
303
308
|
|
|
@@ -305,7 +310,7 @@ Delete a package.
|
|
|
305
310
|
|
|
306
311
|
```
|
|
307
312
|
USAGE
|
|
308
|
-
$ sf package delete -v <value> -p <value> [--json] [--api-version <value>] [-n]
|
|
313
|
+
$ sf package delete -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n]
|
|
309
314
|
|
|
310
315
|
FLAGS
|
|
311
316
|
-n, --no-prompt Don’t prompt before deleting the package.
|
|
@@ -315,7 +320,8 @@ FLAGS
|
|
|
315
320
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
316
321
|
|
|
317
322
|
GLOBAL FLAGS
|
|
318
|
-
--
|
|
323
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
324
|
+
--json Format output as json.
|
|
319
325
|
|
|
320
326
|
DESCRIPTION
|
|
321
327
|
Delete a package.
|
|
@@ -338,7 +344,7 @@ EXAMPLES
|
|
|
338
344
|
$ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
|
|
339
345
|
```
|
|
340
346
|
|
|
341
|
-
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
347
|
+
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/delete.ts)_
|
|
342
348
|
|
|
343
349
|
## `sf package install`
|
|
344
350
|
|
|
@@ -346,15 +352,15 @@ Install a version of a package in the target org.
|
|
|
346
352
|
|
|
347
353
|
```
|
|
348
354
|
USAGE
|
|
349
|
-
$ sf package install -o <value> -p <value> [--json] [--
|
|
350
|
-
[-r] [-a all|package] [-s AllUsers|AdminsOnly] [-t DeprecateOnly|Mixed|Delete]
|
|
355
|
+
$ sf package install -o <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value>] [-k
|
|
356
|
+
<value>] [-b <value>] [-r] [-a all|package] [-s AllUsers|AdminsOnly] [-t DeprecateOnly|Mixed|Delete]
|
|
351
357
|
|
|
352
358
|
FLAGS
|
|
353
359
|
-a, --apex-compile=<option> [default: all] Compile all Apex in the org and package, or only Apex in the package;
|
|
354
360
|
unlocked packages only.
|
|
355
361
|
<options: all|package>
|
|
356
|
-
-b, --publish-wait=<value>
|
|
357
|
-
|
|
362
|
+
-b, --publish-wait=<value> Maximum number of minutes to wait for the Subscriber Package Version ID to become
|
|
363
|
+
available in the target org before canceling the install request.
|
|
358
364
|
-k, --installation-key=<value> Installation key for key-protected package (default: null).
|
|
359
365
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
360
366
|
configuration variable is already set.
|
|
@@ -367,11 +373,12 @@ FLAGS
|
|
|
367
373
|
-t, --upgrade-type=<option> [default: Mixed] Upgrade type for the package installation; available only for
|
|
368
374
|
unlocked packages.
|
|
369
375
|
<options: DeprecateOnly|Mixed|Delete>
|
|
370
|
-
-w, --wait=<value>
|
|
376
|
+
-w, --wait=<value> Number of minutes to wait for installation status.
|
|
371
377
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
372
378
|
|
|
373
379
|
GLOBAL FLAGS
|
|
374
|
-
--
|
|
380
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
381
|
+
--json Format output as json.
|
|
375
382
|
|
|
376
383
|
DESCRIPTION
|
|
377
384
|
Install a version of a package in the target org.
|
|
@@ -435,7 +442,7 @@ FLAG DESCRIPTIONS
|
|
|
435
442
|
specify DeprecateOnly or Delete only for unlocked package upgrades.
|
|
436
443
|
```
|
|
437
444
|
|
|
438
|
-
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
445
|
+
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/install.ts)_
|
|
439
446
|
|
|
440
447
|
## `sf package install report`
|
|
441
448
|
|
|
@@ -443,7 +450,7 @@ Retrieve the status of a package installation request.
|
|
|
443
450
|
|
|
444
451
|
```
|
|
445
452
|
USAGE
|
|
446
|
-
$ sf package install report -o <value> -i <value> [--json] [--api-version <value>]
|
|
453
|
+
$ sf package install report -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
447
454
|
|
|
448
455
|
FLAGS
|
|
449
456
|
-i, --request-id=<value> (required) ID of the package install request you want to check; starts with 0Hf.
|
|
@@ -452,7 +459,8 @@ FLAGS
|
|
|
452
459
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
453
460
|
|
|
454
461
|
GLOBAL FLAGS
|
|
455
|
-
--
|
|
462
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
463
|
+
--json Format output as json.
|
|
456
464
|
|
|
457
465
|
ALIASES
|
|
458
466
|
$ sf force package install report
|
|
@@ -467,7 +475,7 @@ EXAMPLES
|
|
|
467
475
|
$ sf package install report --request-id 0Hf... --target-org me@example.com
|
|
468
476
|
```
|
|
469
477
|
|
|
470
|
-
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
478
|
+
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/install/report.ts)_
|
|
471
479
|
|
|
472
480
|
## `sf package installed list`
|
|
473
481
|
|
|
@@ -475,7 +483,7 @@ List the org’s installed packages.
|
|
|
475
483
|
|
|
476
484
|
```
|
|
477
485
|
USAGE
|
|
478
|
-
$ sf package installed list -o <value> [--json] [--api-version <value>]
|
|
486
|
+
$ sf package installed list -o <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
479
487
|
|
|
480
488
|
FLAGS
|
|
481
489
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
@@ -483,7 +491,8 @@ FLAGS
|
|
|
483
491
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
484
492
|
|
|
485
493
|
GLOBAL FLAGS
|
|
486
|
-
--
|
|
494
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
495
|
+
--json Format output as json.
|
|
487
496
|
|
|
488
497
|
ALIASES
|
|
489
498
|
$ sf force package installed list
|
|
@@ -498,7 +507,7 @@ EXAMPLES
|
|
|
498
507
|
$ sf package installed list --target-org me@example.com
|
|
499
508
|
```
|
|
500
509
|
|
|
501
|
-
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
510
|
+
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/installed/list.ts)_
|
|
502
511
|
|
|
503
512
|
## `sf package list`
|
|
504
513
|
|
|
@@ -506,7 +515,7 @@ List all packages in the Dev Hub org.
|
|
|
506
515
|
|
|
507
516
|
```
|
|
508
517
|
USAGE
|
|
509
|
-
$ sf package list -v <value> [--json] [--api-version <value>] [--verbose]
|
|
518
|
+
$ sf package list -v <value> [--json] [--flags-dir <value>] [--api-version <value>] [--verbose]
|
|
510
519
|
|
|
511
520
|
FLAGS
|
|
512
521
|
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
|
|
@@ -515,7 +524,8 @@ FLAGS
|
|
|
515
524
|
--verbose Display extended package detail.
|
|
516
525
|
|
|
517
526
|
GLOBAL FLAGS
|
|
518
|
-
--
|
|
527
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
528
|
+
--json Format output as json.
|
|
519
529
|
|
|
520
530
|
DESCRIPTION
|
|
521
531
|
List all packages in the Dev Hub org.
|
|
@@ -535,7 +545,7 @@ EXAMPLES
|
|
|
535
545
|
$ sf package list --target-dev-hub devhub@example.com --verbose
|
|
536
546
|
```
|
|
537
547
|
|
|
538
|
-
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
548
|
+
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/list.ts)_
|
|
539
549
|
|
|
540
550
|
## `sf package uninstall`
|
|
541
551
|
|
|
@@ -543,17 +553,18 @@ Uninstall a second-generation package from the target org.
|
|
|
543
553
|
|
|
544
554
|
```
|
|
545
555
|
USAGE
|
|
546
|
-
$ sf package uninstall -o <value> -p <value> [--json] [--api-version <value>] [-w <value>]
|
|
556
|
+
$ sf package uninstall -o <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value>]
|
|
547
557
|
|
|
548
558
|
FLAGS
|
|
549
559
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
550
560
|
configuration variable is already set.
|
|
551
561
|
-p, --package=<value> (required) ID (starts with 04t) or alias of the package version to uninstall.
|
|
552
|
-
-w, --wait=<value>
|
|
562
|
+
-w, --wait=<value> Number of minutes to wait for uninstall status.
|
|
553
563
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
554
564
|
|
|
555
565
|
GLOBAL FLAGS
|
|
556
|
-
--
|
|
566
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
567
|
+
--json Format output as json.
|
|
557
568
|
|
|
558
569
|
DESCRIPTION
|
|
559
570
|
Uninstall a second-generation package from the target org.
|
|
@@ -582,7 +593,7 @@ EXAMPLES
|
|
|
582
593
|
$ sf package uninstall --package "Undesirable Package Alias"
|
|
583
594
|
```
|
|
584
595
|
|
|
585
|
-
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
596
|
+
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/uninstall.ts)_
|
|
586
597
|
|
|
587
598
|
## `sf package uninstall report`
|
|
588
599
|
|
|
@@ -590,7 +601,7 @@ Retrieve the status of a package uninstall request.
|
|
|
590
601
|
|
|
591
602
|
```
|
|
592
603
|
USAGE
|
|
593
|
-
$ sf package uninstall report -o <value> -i <value> [--json] [--api-version <value>]
|
|
604
|
+
$ sf package uninstall report -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
594
605
|
|
|
595
606
|
FLAGS
|
|
596
607
|
-i, --request-id=<value> (required) ID of the package uninstall request you want to check; starts with 06y.
|
|
@@ -599,7 +610,8 @@ FLAGS
|
|
|
599
610
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
600
611
|
|
|
601
612
|
GLOBAL FLAGS
|
|
602
|
-
--
|
|
613
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
614
|
+
--json Format output as json.
|
|
603
615
|
|
|
604
616
|
ALIASES
|
|
605
617
|
$ sf force package uninstall report
|
|
@@ -614,7 +626,7 @@ EXAMPLES
|
|
|
614
626
|
$ sf package uninstall report --request-id 06y... --target-org me@example.com
|
|
615
627
|
```
|
|
616
628
|
|
|
617
|
-
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
629
|
+
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/uninstall/report.ts)_
|
|
618
630
|
|
|
619
631
|
## `sf package update`
|
|
620
632
|
|
|
@@ -622,8 +634,8 @@ Update package details.
|
|
|
622
634
|
|
|
623
635
|
```
|
|
624
636
|
USAGE
|
|
625
|
-
$ sf package update -v <value> -p <value> [--json] [--
|
|
626
|
-
[--enable-app-analytics]
|
|
637
|
+
$ sf package update -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>] [-d
|
|
638
|
+
<value>] [-o <value>] [--enable-app-analytics]
|
|
627
639
|
|
|
628
640
|
FLAGS
|
|
629
641
|
-d, --description=<value> New description of the package.
|
|
@@ -638,7 +650,8 @@ FLAGS
|
|
|
638
650
|
package and its components.
|
|
639
651
|
|
|
640
652
|
GLOBAL FLAGS
|
|
641
|
-
--
|
|
653
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
654
|
+
--json Format output as json.
|
|
642
655
|
|
|
643
656
|
DESCRIPTION
|
|
644
657
|
Update package details.
|
|
@@ -668,7 +681,7 @@ FLAG DESCRIPTIONS
|
|
|
668
681
|
associated with your package.
|
|
669
682
|
```
|
|
670
683
|
|
|
671
|
-
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
684
|
+
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/update.ts)_
|
|
672
685
|
|
|
673
686
|
## `sf package version create`
|
|
674
687
|
|
|
@@ -676,10 +689,10 @@ Create a package version in the Dev Hub org.
|
|
|
676
689
|
|
|
677
690
|
```
|
|
678
691
|
USAGE
|
|
679
|
-
$ sf package version create -v <value> [--json] [--api-version <value>] [-b <value>] [-c |
|
|
680
|
-
[-k <value>] [-x] [-p <value>] [-d <value>] [--post-install-script <value>]
|
|
681
|
-
[--releasenotes-url <value>] [--skip-ancestor-check] [-t <value>] [--uninstall-script
|
|
682
|
-
<value>] [-n <value>] [-w <value>] [--language <value>] [--verbose]
|
|
692
|
+
$ sf package version create -v <value> [--json] [--flags-dir <value>] [--api-version <value>] [-b <value>] [-c |
|
|
693
|
+
--skip-validation] [-f <value>] [-k <value>] [-x] [-p <value>] [-d <value>] [--post-install-script <value>]
|
|
694
|
+
[--post-install-url <value>] [--releasenotes-url <value>] [--skip-ancestor-check] [-t <value>] [--uninstall-script
|
|
695
|
+
<value>] [-e <value>] [-a <value>] [-n <value>] [-w <value>] [--language <value>] [--verbose]
|
|
683
696
|
|
|
684
697
|
FLAGS
|
|
685
698
|
-a, --version-name=<value> Name of the package version to be created; overrides the sfdx-project.json value.
|
|
@@ -701,8 +714,7 @@ FLAGS
|
|
|
701
714
|
-t, --tag=<value> Package version’s tag.
|
|
702
715
|
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the
|
|
703
716
|
`target-dev-hub` configuration variable is already set.
|
|
704
|
-
-w, --wait=<value>
|
|
705
|
-
created.
|
|
717
|
+
-w, --wait=<value> Number of minutes to wait for the package version to be created.
|
|
706
718
|
-x, --installation-key-bypass Bypass the installation key requirement. (either --installation-key or
|
|
707
719
|
--installation-key-bypass is required)
|
|
708
720
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
@@ -718,7 +730,8 @@ FLAGS
|
|
|
718
730
|
--verbose Display verbose command output.
|
|
719
731
|
|
|
720
732
|
GLOBAL FLAGS
|
|
721
|
-
--
|
|
733
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
734
|
+
--json Format output as json.
|
|
722
735
|
|
|
723
736
|
DESCRIPTION
|
|
724
737
|
Create a package version in the Dev Hub org.
|
|
@@ -823,7 +836,7 @@ FLAG DESCRIPTIONS
|
|
|
823
836
|
periods of no output from commands.
|
|
824
837
|
```
|
|
825
838
|
|
|
826
|
-
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
839
|
+
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/version/create.ts)_
|
|
827
840
|
|
|
828
841
|
## `sf package version create list`
|
|
829
842
|
|
|
@@ -831,8 +844,8 @@ List package version creation requests.
|
|
|
831
844
|
|
|
832
845
|
```
|
|
833
846
|
USAGE
|
|
834
|
-
$ sf package version create list -v <value> [--json] [--api-version <value>] [-c <value>] [-s
|
|
835
|
-
[--show-conversions-only] [--verbose]
|
|
847
|
+
$ sf package version create list -v <value> [--json] [--flags-dir <value>] [--api-version <value>] [-c <value>] [-s
|
|
848
|
+
Queued|InProgress|Success|Error] [--show-conversions-only] [--verbose]
|
|
836
849
|
|
|
837
850
|
FLAGS
|
|
838
851
|
-c, --created-last-days=<value> Number of days since the request was created, starting at 00:00:00 of first day to
|
|
@@ -847,7 +860,8 @@ FLAGS
|
|
|
847
860
|
name and number for each package version create request.
|
|
848
861
|
|
|
849
862
|
GLOBAL FLAGS
|
|
850
|
-
--
|
|
863
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
864
|
+
--json Format output as json.
|
|
851
865
|
|
|
852
866
|
DESCRIPTION
|
|
853
867
|
List package version creation requests.
|
|
@@ -883,7 +897,7 @@ EXAMPLES
|
|
|
883
897
|
$ sf package version create list --created-last-days 0 --status Success
|
|
884
898
|
```
|
|
885
899
|
|
|
886
|
-
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
900
|
+
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/version/create/list.ts)_
|
|
887
901
|
|
|
888
902
|
## `sf package version create report`
|
|
889
903
|
|
|
@@ -891,7 +905,7 @@ Retrieve details about a package version creation request.
|
|
|
891
905
|
|
|
892
906
|
```
|
|
893
907
|
USAGE
|
|
894
|
-
$ sf package version create report -v <value> -i <value> [--json] [--api-version <value>]
|
|
908
|
+
$ sf package version create report -v <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
895
909
|
|
|
896
910
|
FLAGS
|
|
897
911
|
-i, --package-create-request-id=<value> (required) ID (starts with 08c) of the package version creation request you
|
|
@@ -901,7 +915,8 @@ FLAGS
|
|
|
901
915
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
902
916
|
|
|
903
917
|
GLOBAL FLAGS
|
|
904
|
-
--
|
|
918
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
919
|
+
--json Format output as json.
|
|
905
920
|
|
|
906
921
|
DESCRIPTION
|
|
907
922
|
Retrieve details about a package version creation request.
|
|
@@ -925,7 +940,7 @@ EXAMPLES
|
|
|
925
940
|
$ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
|
|
926
941
|
```
|
|
927
942
|
|
|
928
|
-
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
943
|
+
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/version/create/report.ts)_
|
|
929
944
|
|
|
930
945
|
## `sf package version delete`
|
|
931
946
|
|
|
@@ -933,7 +948,7 @@ Delete a package version.
|
|
|
933
948
|
|
|
934
949
|
```
|
|
935
950
|
USAGE
|
|
936
|
-
$ sf package version delete -v <value> -p <value> [--json] [--api-version <value>] [-n]
|
|
951
|
+
$ sf package version delete -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n]
|
|
937
952
|
|
|
938
953
|
FLAGS
|
|
939
954
|
-n, --no-prompt Don’t prompt before deleting the package version.
|
|
@@ -943,7 +958,8 @@ FLAGS
|
|
|
943
958
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
944
959
|
|
|
945
960
|
GLOBAL FLAGS
|
|
946
|
-
--
|
|
961
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
962
|
+
--json Format output as json.
|
|
947
963
|
|
|
948
964
|
DESCRIPTION
|
|
949
965
|
Delete a package version.
|
|
@@ -963,7 +979,7 @@ EXAMPLES
|
|
|
963
979
|
$ sf package version delete --package 04t... --target-org devhub@example.com
|
|
964
980
|
```
|
|
965
981
|
|
|
966
|
-
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
982
|
+
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/version/delete.ts)_
|
|
967
983
|
|
|
968
984
|
## `sf package version displayancestry`
|
|
969
985
|
|
|
@@ -971,7 +987,8 @@ Display the ancestry tree for a 2GP managed package version.
|
|
|
971
987
|
|
|
972
988
|
```
|
|
973
989
|
USAGE
|
|
974
|
-
$ sf package version displayancestry -v <value> -p <value> [--json] [--api-version <value>] [--dot-code]
|
|
990
|
+
$ sf package version displayancestry -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [--dot-code]
|
|
991
|
+
[--verbose]
|
|
975
992
|
|
|
976
993
|
FLAGS
|
|
977
994
|
-p, --package=<value> (required) ID or alias of the package (starts with 0Ho) or package version (starts with
|
|
@@ -984,7 +1001,8 @@ FLAGS
|
|
|
984
1001
|
(major.minor.patch.build) in the ancestry tree.
|
|
985
1002
|
|
|
986
1003
|
GLOBAL FLAGS
|
|
987
|
-
--
|
|
1004
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1005
|
+
--json Format output as json.
|
|
988
1006
|
|
|
989
1007
|
ALIASES
|
|
990
1008
|
$ sf force package version displayancestry
|
|
@@ -1021,7 +1039,7 @@ FLAG DESCRIPTIONS
|
|
|
1021
1039
|
You can use the DOT code output in graph visualization software to create tree visualizations.
|
|
1022
1040
|
```
|
|
1023
1041
|
|
|
1024
|
-
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1042
|
+
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/version/displayancestry.ts)_
|
|
1025
1043
|
|
|
1026
1044
|
## `sf package version list`
|
|
1027
1045
|
|
|
@@ -1029,8 +1047,8 @@ List all package versions in the Dev Hub org.
|
|
|
1029
1047
|
|
|
1030
1048
|
```
|
|
1031
1049
|
USAGE
|
|
1032
|
-
$ sf package version list -v <value> [--json] [--api-version <value>] [-c <value>] [--concise]
|
|
1033
|
-
[-m <value>] [-p <value>] [-r] [-o <value>] [--verbose]
|
|
1050
|
+
$ sf package version list -v <value> [--json] [--flags-dir <value>] [--api-version <value>] [-c <value>] [--concise]
|
|
1051
|
+
[--show-conversions-only] [-m <value>] [-p <value>] [-r] [-o <value>] [--verbose]
|
|
1034
1052
|
|
|
1035
1053
|
FLAGS
|
|
1036
1054
|
-c, --created-last-days=<value> Number of days since the request was created, starting at 00:00:00 of first day to
|
|
@@ -1048,7 +1066,8 @@ FLAGS
|
|
|
1048
1066
|
--verbose Display extended package version details.
|
|
1049
1067
|
|
|
1050
1068
|
GLOBAL FLAGS
|
|
1051
|
-
--
|
|
1069
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1070
|
+
--json Format output as json.
|
|
1052
1071
|
|
|
1053
1072
|
DESCRIPTION
|
|
1054
1073
|
List all package versions in the Dev Hub org.
|
|
@@ -1089,7 +1108,7 @@ EXAMPLES
|
|
|
1089
1108
|
$ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
|
|
1090
1109
|
```
|
|
1091
1110
|
|
|
1092
|
-
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1111
|
+
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/version/list.ts)_
|
|
1093
1112
|
|
|
1094
1113
|
## `sf package version promote`
|
|
1095
1114
|
|
|
@@ -1097,7 +1116,7 @@ Promote a package version to released.
|
|
|
1097
1116
|
|
|
1098
1117
|
```
|
|
1099
1118
|
USAGE
|
|
1100
|
-
$ sf package version promote -v <value> -p <value> [--json] [--api-version <value>] [-n]
|
|
1119
|
+
$ sf package version promote -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n]
|
|
1101
1120
|
|
|
1102
1121
|
FLAGS
|
|
1103
1122
|
-n, --no-prompt Don't prompt to confirm setting the package version as released.
|
|
@@ -1107,7 +1126,8 @@ FLAGS
|
|
|
1107
1126
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
1108
1127
|
|
|
1109
1128
|
GLOBAL FLAGS
|
|
1110
|
-
--
|
|
1129
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1130
|
+
--json Format output as json.
|
|
1111
1131
|
|
|
1112
1132
|
DESCRIPTION
|
|
1113
1133
|
Promote a package version to released.
|
|
@@ -1132,7 +1152,7 @@ EXAMPLES
|
|
|
1132
1152
|
$ sf package version promote --package "Awesome Package Alias"
|
|
1133
1153
|
```
|
|
1134
1154
|
|
|
1135
|
-
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1155
|
+
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/version/promote.ts)_
|
|
1136
1156
|
|
|
1137
1157
|
## `sf package version report`
|
|
1138
1158
|
|
|
@@ -1140,7 +1160,7 @@ Retrieve details about a package version in the Dev Hub org.
|
|
|
1140
1160
|
|
|
1141
1161
|
```
|
|
1142
1162
|
USAGE
|
|
1143
|
-
$ sf package version report -v <value> -p <value> [--json] [--api-version <value>] [--verbose]
|
|
1163
|
+
$ sf package version report -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [--verbose]
|
|
1144
1164
|
|
|
1145
1165
|
FLAGS
|
|
1146
1166
|
-p, --package=<value> (required) ID (starts with 04t) or alias of the package to retrieve details for.
|
|
@@ -1150,7 +1170,8 @@ FLAGS
|
|
|
1150
1170
|
--verbose Display extended package version details.
|
|
1151
1171
|
|
|
1152
1172
|
GLOBAL FLAGS
|
|
1153
|
-
--
|
|
1173
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1174
|
+
--json Format output as json.
|
|
1154
1175
|
|
|
1155
1176
|
DESCRIPTION
|
|
1156
1177
|
Retrieve details about a package version in the Dev Hub org.
|
|
@@ -1171,7 +1192,7 @@ EXAMPLES
|
|
|
1171
1192
|
$ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
|
|
1172
1193
|
```
|
|
1173
1194
|
|
|
1174
|
-
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1195
|
+
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/version/report.ts)_
|
|
1175
1196
|
|
|
1176
1197
|
## `sf package version update`
|
|
1177
1198
|
|
|
@@ -1179,8 +1200,8 @@ Update a package version.
|
|
|
1179
1200
|
|
|
1180
1201
|
```
|
|
1181
1202
|
USAGE
|
|
1182
|
-
$ sf package version update -v <value> -p <value> [--json] [--
|
|
1183
|
-
[-t <value>] [-k <value>]
|
|
1203
|
+
$ sf package version update -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-a <value>] [-e
|
|
1204
|
+
<value>] [-b <value>] [-t <value>] [-k <value>]
|
|
1184
1205
|
|
|
1185
1206
|
FLAGS
|
|
1186
1207
|
-a, --version-name=<value> New package version name.
|
|
@@ -1194,7 +1215,8 @@ FLAGS
|
|
|
1194
1215
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
1195
1216
|
|
|
1196
1217
|
GLOBAL FLAGS
|
|
1197
|
-
--
|
|
1218
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1219
|
+
--json Format output as json.
|
|
1198
1220
|
|
|
1199
1221
|
DESCRIPTION
|
|
1200
1222
|
Update a package version.
|
|
@@ -1223,6 +1245,6 @@ EXAMPLES
|
|
|
1223
1245
|
$ sf package version update --package 04t... --version-description "New Package Version Description"
|
|
1224
1246
|
```
|
|
1225
1247
|
|
|
1226
|
-
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.
|
|
1248
|
+
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.2.0/src/commands/package/version/update.ts)_
|
|
1227
1249
|
|
|
1228
1250
|
<!-- commandsstop -->
|
|
@@ -168,10 +168,10 @@ export class PackageVersionCreateCommand extends SfCommand {
|
|
|
168
168
|
this.warn('Starting in v59.0 or later, specifying both the --package and --path flag will no longer be supported. Only one is required.');
|
|
169
169
|
void Lifecycle.getInstance().emitTelemetry({ Name: 'PathAndPackageFlag' });
|
|
170
170
|
}
|
|
171
|
-
if (flags
|
|
171
|
+
if (flags['skip-validation']) {
|
|
172
172
|
this.warn(messages.getMessage('skip-validation-warning'));
|
|
173
173
|
}
|
|
174
|
-
const frequency = flags.wait && flags
|
|
174
|
+
const frequency = flags.wait && flags['skip-validation'] ? Duration.seconds(5) : Duration.seconds(30);
|
|
175
175
|
Lifecycle.getInstance().on(PackageVersionEvents.create.progress,
|
|
176
176
|
// no async methods
|
|
177
177
|
// eslint-disable-next-line @typescript-eslint/require-await
|