@salesforce/plugin-packaging 2.7.0 → 2.7.2
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 +55 -44
- package/lib/commands/package/version/create.js +1 -0
- package/lib/commands/package/version/create.js.map +1 -1
- package/lib/commands/package/version/list.js +11 -6
- package/lib/commands/package/version/list.js.map +1 -1
- package/messages/package_install.md +13 -9
- package/messages/package_version_create.md +6 -2
- package/messages/package_version_delete.md +1 -1
- package/oclif.manifest.json +11 -10
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ FLAG DESCRIPTIONS
|
|
|
130
130
|
Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
-
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
133
|
+
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/create.ts)_
|
|
134
134
|
|
|
135
135
|
## `sf package delete`
|
|
136
136
|
|
|
@@ -172,11 +172,11 @@ EXAMPLES
|
|
|
172
172
|
$ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
|
|
173
173
|
```
|
|
174
174
|
|
|
175
|
-
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
175
|
+
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/delete.ts)_
|
|
176
176
|
|
|
177
177
|
## `sf package install`
|
|
178
178
|
|
|
179
|
-
Install a version of a package in the target org.
|
|
179
|
+
Install or upgrade a version of a package in the target org.
|
|
180
180
|
|
|
181
181
|
```
|
|
182
182
|
USAGE
|
|
@@ -194,9 +194,8 @@ FLAGS
|
|
|
194
194
|
configuration variable is already set.
|
|
195
195
|
-p, --package=<value> (required) ID (starts with 04t) or alias of the package version to install.
|
|
196
196
|
-r, --no-prompt Don't prompt for confirmation.
|
|
197
|
-
-s, --security-type=<option> [default: AdminsOnly] Security access type for the installed package.
|
|
198
|
-
|
|
199
|
-
v47.0 or later.)
|
|
197
|
+
-s, --security-type=<option> [default: AdminsOnly] Security access type for the installed package. Available
|
|
198
|
+
options are AdminsOnly and AllUsers.
|
|
200
199
|
<options: AllUsers|AdminsOnly>
|
|
201
200
|
-t, --upgrade-type=<option> [default: Mixed] Upgrade type for the package installation; available only for
|
|
202
201
|
unlocked packages.
|
|
@@ -209,35 +208,36 @@ GLOBAL FLAGS
|
|
|
209
208
|
--json Format output as json.
|
|
210
209
|
|
|
211
210
|
DESCRIPTION
|
|
212
|
-
Install a version of a package in the target org.
|
|
211
|
+
Install or upgrade a version of a package in the target org.
|
|
213
212
|
|
|
214
|
-
To install a package, specify a specific version of the package using the 04t package ID. The package and
|
|
215
|
-
you specified installs in your default target org unless you supply the username for a different target
|
|
213
|
+
To install or upgrade a package, specify a specific version of the package using the 04t package ID. The package and
|
|
214
|
+
the version you specified installs in your default target org unless you supply the username for a different target
|
|
215
|
+
org.
|
|
216
216
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
Mixed (the default). To deprecate all removed components, specify --upgrade-type DeprecateOnly. To
|
|
220
|
-
components, except for custom objects and custom fields, that don't have dependencies, specify
|
|
221
|
-
(Note: This option can result in the loss of data that is associated with the deleted
|
|
222
|
-
|
|
217
|
+
When upgrading an unlocked package, include the --upgrade-type value to specify whether any removed components are
|
|
218
|
+
deprecated or deleted. To delete components that can be safely deleted and deprecate the others, specify
|
|
219
|
+
"--upgrade-type Mixed" (the default). To deprecate all removed components, specify "--upgrade-type DeprecateOnly". To
|
|
220
|
+
delete all removed components, except for custom objects and custom fields, that don't have dependencies, specify
|
|
221
|
+
"--upgrade-type Delete". (Note: This option can result in the loss of data that is associated with the deleted
|
|
222
|
+
components.)
|
|
223
223
|
|
|
224
224
|
ALIASES
|
|
225
225
|
$ sf force package install
|
|
226
226
|
|
|
227
227
|
EXAMPLES
|
|
228
|
-
Install a package version with the specified ID in the org with username "me@example.com":
|
|
228
|
+
Install or upgrade a package version with the specified ID in the org with username "me@example.com":
|
|
229
229
|
|
|
230
230
|
$ sf package install --package 04t... --target-org me@example.com
|
|
231
231
|
|
|
232
|
-
Install a package version with the specified alias into your default org:
|
|
232
|
+
Install or upgrade a package version with the specified alias into your default org:
|
|
233
233
|
|
|
234
234
|
$ sf package install --package awesome_package_alias
|
|
235
235
|
|
|
236
|
-
Install a package version with an alias that includes spaces into your default org:
|
|
236
|
+
Install or upgrade a package version with an alias that includes spaces into your default org:
|
|
237
237
|
|
|
238
238
|
$ sf package install --package "Awesome Package Alias"
|
|
239
239
|
|
|
240
|
-
|
|
240
|
+
Upgrade an unlocked package version with the specified ID and deprecate all removed components:
|
|
241
241
|
|
|
242
242
|
$ sf package install --package 04t... --upgrade-type DeprecateOnly
|
|
243
243
|
|
|
@@ -264,13 +264,14 @@ FLAG DESCRIPTIONS
|
|
|
264
264
|
|
|
265
265
|
Upgrade type for the package installation; available only for unlocked packages.
|
|
266
266
|
|
|
267
|
-
For package upgrades,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
267
|
+
For unlocked package upgrades, set this flag to one of these values:
|
|
268
|
+
|
|
269
|
+
- DeprecateOnly: Mark all removed components as deprecated.
|
|
270
|
+
- Mixed: Delete removed components, except for custom objects and custom fields, that don't have dependencies.
|
|
271
|
+
- Delete: Delete all removed components that can be safely deleted, and deprecate the other components.
|
|
271
272
|
```
|
|
272
273
|
|
|
273
|
-
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
274
|
+
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/install.ts)_
|
|
274
275
|
|
|
275
276
|
## `sf package install report`
|
|
276
277
|
|
|
@@ -303,7 +304,7 @@ EXAMPLES
|
|
|
303
304
|
$ sf package install report --request-id 0Hf... --target-org me@example.com
|
|
304
305
|
```
|
|
305
306
|
|
|
306
|
-
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
307
|
+
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/install/report.ts)_
|
|
307
308
|
|
|
308
309
|
## `sf package installed list`
|
|
309
310
|
|
|
@@ -335,7 +336,7 @@ EXAMPLES
|
|
|
335
336
|
$ sf package installed list --target-org me@example.com
|
|
336
337
|
```
|
|
337
338
|
|
|
338
|
-
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
339
|
+
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/installed/list.ts)_
|
|
339
340
|
|
|
340
341
|
## `sf package list`
|
|
341
342
|
|
|
@@ -373,7 +374,7 @@ EXAMPLES
|
|
|
373
374
|
$ sf package list --target-dev-hub devhub@example.com --verbose
|
|
374
375
|
```
|
|
375
376
|
|
|
376
|
-
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
377
|
+
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/list.ts)_
|
|
377
378
|
|
|
378
379
|
## `sf package uninstall`
|
|
379
380
|
|
|
@@ -421,7 +422,7 @@ EXAMPLES
|
|
|
421
422
|
$ sf package uninstall --package "Undesirable Package Alias"
|
|
422
423
|
```
|
|
423
424
|
|
|
424
|
-
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
425
|
+
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/uninstall.ts)_
|
|
425
426
|
|
|
426
427
|
## `sf package uninstall report`
|
|
427
428
|
|
|
@@ -454,7 +455,7 @@ EXAMPLES
|
|
|
454
455
|
$ sf package uninstall report --request-id 06y... --target-org me@example.com
|
|
455
456
|
```
|
|
456
457
|
|
|
457
|
-
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
458
|
+
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/uninstall/report.ts)_
|
|
458
459
|
|
|
459
460
|
## `sf package update`
|
|
460
461
|
|
|
@@ -509,7 +510,7 @@ FLAG DESCRIPTIONS
|
|
|
509
510
|
associated with your package.
|
|
510
511
|
```
|
|
511
512
|
|
|
512
|
-
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
513
|
+
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/update.ts)_
|
|
513
514
|
|
|
514
515
|
## `sf package version create`
|
|
515
516
|
|
|
@@ -618,6 +619,14 @@ FLAG DESCRIPTIONS
|
|
|
618
619
|
coverage requirement. We don’t calculate code coverage for org-dependent unlocked packages or for package versions
|
|
619
620
|
that specify --skip-validation.
|
|
620
621
|
|
|
622
|
+
-f, --definition-file=<value>
|
|
623
|
+
|
|
624
|
+
Path to a definition file similar to scratch org definition file that contains the list of features and org
|
|
625
|
+
preferences that the metadata of the package version depends on.
|
|
626
|
+
|
|
627
|
+
For a patch version, the features specified in this file are ignored, and instead the features specified for the
|
|
628
|
+
ancestor version are used.
|
|
629
|
+
|
|
621
630
|
-n, --version-number=<value>
|
|
622
631
|
|
|
623
632
|
Version number of the package version to be created; overrides the sfdx-project.json value.
|
|
@@ -676,7 +685,7 @@ FLAG DESCRIPTIONS
|
|
|
676
685
|
periods of no output from commands.
|
|
677
686
|
```
|
|
678
687
|
|
|
679
|
-
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
688
|
+
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/version/create.ts)_
|
|
680
689
|
|
|
681
690
|
## `sf package version create list`
|
|
682
691
|
|
|
@@ -737,7 +746,7 @@ EXAMPLES
|
|
|
737
746
|
$ sf package version create list --created-last-days 0 --status Success
|
|
738
747
|
```
|
|
739
748
|
|
|
740
|
-
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
749
|
+
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/version/create/list.ts)_
|
|
741
750
|
|
|
742
751
|
## `sf package version create report`
|
|
743
752
|
|
|
@@ -780,7 +789,7 @@ EXAMPLES
|
|
|
780
789
|
$ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
|
|
781
790
|
```
|
|
782
791
|
|
|
783
|
-
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
792
|
+
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/version/create/report.ts)_
|
|
784
793
|
|
|
785
794
|
## `sf package version delete`
|
|
786
795
|
|
|
@@ -804,7 +813,9 @@ GLOBAL FLAGS
|
|
|
804
813
|
DESCRIPTION
|
|
805
814
|
Delete a package version.
|
|
806
815
|
|
|
807
|
-
Specify the ID or alias of the package version you want to delete.
|
|
816
|
+
Specify the ID or alias of the package version you want to delete. In second-generation managed packaging, only beta
|
|
817
|
+
package versions can be deleted. Before deleting a package version, review the considerations outlined in
|
|
818
|
+
https://developer.salesforce.com/docs/atlas.en-us.pkg2_dev.meta/pkg2_dev/sfdx_dev_dev2gp_package_deletion.htm.
|
|
808
819
|
|
|
809
820
|
ALIASES
|
|
810
821
|
$ sf force package version delete
|
|
@@ -819,7 +830,7 @@ EXAMPLES
|
|
|
819
830
|
$ sf package version delete --package 04t... --target-org devhub@example.com
|
|
820
831
|
```
|
|
821
832
|
|
|
822
|
-
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
833
|
+
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/version/delete.ts)_
|
|
823
834
|
|
|
824
835
|
## `sf package version displayancestry`
|
|
825
836
|
|
|
@@ -879,7 +890,7 @@ FLAG DESCRIPTIONS
|
|
|
879
890
|
You can use the DOT code output in graph visualization software to create tree visualizations.
|
|
880
891
|
```
|
|
881
892
|
|
|
882
|
-
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
893
|
+
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/version/displayancestry.ts)_
|
|
883
894
|
|
|
884
895
|
## `sf package version list`
|
|
885
896
|
|
|
@@ -955,7 +966,7 @@ EXAMPLES
|
|
|
955
966
|
$ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
|
|
956
967
|
```
|
|
957
968
|
|
|
958
|
-
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
969
|
+
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/version/list.ts)_
|
|
959
970
|
|
|
960
971
|
## `sf package version promote`
|
|
961
972
|
|
|
@@ -999,7 +1010,7 @@ EXAMPLES
|
|
|
999
1010
|
$ sf package version promote --package "Awesome Package Alias"
|
|
1000
1011
|
```
|
|
1001
1012
|
|
|
1002
|
-
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
1013
|
+
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/version/promote.ts)_
|
|
1003
1014
|
|
|
1004
1015
|
## `sf package version report`
|
|
1005
1016
|
|
|
@@ -1039,7 +1050,7 @@ EXAMPLES
|
|
|
1039
1050
|
$ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
|
|
1040
1051
|
```
|
|
1041
1052
|
|
|
1042
|
-
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
1053
|
+
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/version/report.ts)_
|
|
1043
1054
|
|
|
1044
1055
|
## `sf package version update`
|
|
1045
1056
|
|
|
@@ -1092,7 +1103,7 @@ EXAMPLES
|
|
|
1092
1103
|
$ sf package version update --package 04t... --version-description "New Package Version Description"
|
|
1093
1104
|
```
|
|
1094
1105
|
|
|
1095
|
-
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
1106
|
+
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package/version/update.ts)_
|
|
1096
1107
|
|
|
1097
1108
|
## `sf package1 version create`
|
|
1098
1109
|
|
|
@@ -1159,7 +1170,7 @@ FLAG DESCRIPTIONS
|
|
|
1159
1170
|
subscribers.
|
|
1160
1171
|
```
|
|
1161
1172
|
|
|
1162
|
-
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
1173
|
+
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package1/version/create.ts)_
|
|
1163
1174
|
|
|
1164
1175
|
## `sf package1 version create get`
|
|
1165
1176
|
|
|
@@ -1192,7 +1203,7 @@ EXAMPLES
|
|
|
1192
1203
|
$ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
|
|
1193
1204
|
```
|
|
1194
1205
|
|
|
1195
|
-
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
1206
|
+
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package1/version/create/get.ts)_
|
|
1196
1207
|
|
|
1197
1208
|
## `sf package1 version display`
|
|
1198
1209
|
|
|
@@ -1226,7 +1237,7 @@ EXAMPLES
|
|
|
1226
1237
|
$ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
|
|
1227
1238
|
```
|
|
1228
1239
|
|
|
1229
|
-
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
1240
|
+
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package1/version/display.ts)_
|
|
1230
1241
|
|
|
1231
1242
|
## `sf package1 version list`
|
|
1232
1243
|
|
|
@@ -1264,6 +1275,6 @@ FLAG DESCRIPTIONS
|
|
|
1264
1275
|
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
|
|
1265
1276
|
```
|
|
1266
1277
|
|
|
1267
|
-
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.
|
|
1278
|
+
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.7.2/src/commands/package1/version/list.ts)_
|
|
1268
1279
|
|
|
1269
1280
|
<!-- commandsstop -->
|
|
@@ -50,6 +50,7 @@ export class PackageVersionCreateCommand extends SfCommand {
|
|
|
50
50
|
aliases: ['definitionfile'],
|
|
51
51
|
char: 'f',
|
|
52
52
|
summary: messages.getMessage('flags.definition-file.summary'),
|
|
53
|
+
description: messages.getMessage('flags.definition-file.description'),
|
|
53
54
|
}),
|
|
54
55
|
'installation-key': Flags.string({
|
|
55
56
|
deprecateAliases: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/package/version/create.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,iCAAiC,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC5G,OAAO,EAAE,o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CACN,QAAQ,CAAC,UAAU,CAAC,YAAY,EAAE,CAAC,oBAAoB,CAAC,MAAM,CAAC,MAAgB,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,CAC/G,CAAC;QACN,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC"}
|
|
@@ -102,11 +102,16 @@ export class PackageVersionListCommand extends SfCommand {
|
|
|
102
102
|
ancestorVersion = 'N/A';
|
|
103
103
|
record.AncestorId = 'N/A';
|
|
104
104
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
105
|
+
function getCodeCoverage() {
|
|
106
|
+
if (!flags.verbose) {
|
|
107
|
+
return 'use --verbose for code coverage';
|
|
108
|
+
}
|
|
109
|
+
return record.CodeCoverage?.apexCodeCoveragePercentage != null
|
|
110
|
+
? `${record.CodeCoverage.apexCodeCoveragePercentage.toString()}%`
|
|
111
|
+
: Boolean(record.Package2.IsOrgDependent) || record.ValidationSkipped
|
|
112
|
+
? 'N/A'
|
|
113
|
+
: '';
|
|
114
|
+
}
|
|
110
115
|
const hasPassedCodeCoverageCheck = record.Package2.IsOrgDependent === true || record.ValidationSkipped
|
|
111
116
|
? 'N/A'
|
|
112
117
|
: record.HasPassedCodeCoverageCheck;
|
|
@@ -138,7 +143,7 @@ export class PackageVersionListCommand extends SfCommand {
|
|
|
138
143
|
CreatedDate: new Date(record.CreatedDate).toISOString().replace('T', ' ').substring(0, 16),
|
|
139
144
|
LastModifiedDate: new Date(record.LastModifiedDate).toISOString().replace('T', ' ').substring(0, 16),
|
|
140
145
|
InstallUrl: INSTALL_URL_BASE.toString() + record.SubscriberPackageVersionId,
|
|
141
|
-
CodeCoverage:
|
|
146
|
+
CodeCoverage: getCodeCoverage(),
|
|
142
147
|
HasPassedCodeCoverageCheck: hasPassedCodeCoverageCheck,
|
|
143
148
|
ValidationSkipped: record.ValidationSkipped,
|
|
144
149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a version of a package in the target org.
|
|
3
|
+
Install or upgrade a version of a package in the target org.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
To install a package, specify a specific version of the package using the 04t package ID. The package and the version you specified installs in your default target org unless you supply the username for a different target org.
|
|
7
|
+
To install or upgrade a package, specify a specific version of the package using the 04t package ID. The package and the version you specified installs in your default target org unless you supply the username for a different target org.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
When upgrading an unlocked package, include the --upgrade-type value to specify whether any removed components are deprecated or deleted. To delete components that can be safely deleted and deprecate the others, specify "--upgrade-type Mixed" (the default). To deprecate all removed components, specify "--upgrade-type DeprecateOnly". To delete all removed components, except for custom objects and custom fields, that don't have dependencies, specify "--upgrade-type Delete". (Note: This option can result in the loss of data that is associated with the deleted components.)
|
|
10
10
|
|
|
11
11
|
# examples
|
|
12
12
|
|
|
13
|
-
- Install a package version with the specified ID in the org with username "me@example.com":
|
|
13
|
+
- Install or upgrade a package version with the specified ID in the org with username "me@example.com":
|
|
14
14
|
|
|
15
15
|
<%= config.bin %> <%= command.id %> --package 04t... --target-org me@example.com
|
|
16
16
|
|
|
17
|
-
- Install a package version with the specified alias into your default org:
|
|
17
|
+
- Install or upgrade a package version with the specified alias into your default org:
|
|
18
18
|
|
|
19
19
|
<%= config.bin %> <%= command.id %> --package awesome_package_alias
|
|
20
20
|
|
|
21
|
-
- Install a package version with an alias that includes spaces into your default org:
|
|
21
|
+
- Install or upgrade a package version with an alias that includes spaces into your default org:
|
|
22
22
|
|
|
23
23
|
<%= config.bin %> <%= command.id %> --package "Awesome Package Alias"
|
|
24
24
|
|
|
25
|
-
-
|
|
25
|
+
- Upgrade an unlocked package version with the specified ID and deprecate all removed components:
|
|
26
26
|
|
|
27
27
|
<%= config.bin %> <%= command.id %> --package 04t... --upgrade-type DeprecateOnly
|
|
28
28
|
|
|
@@ -62,7 +62,7 @@ ID (starts with 04t) or alias of the package version to install.
|
|
|
62
62
|
|
|
63
63
|
# flags.security-type.summary
|
|
64
64
|
|
|
65
|
-
Security access type for the installed package.
|
|
65
|
+
Security access type for the installed package. Available options are AdminsOnly and AllUsers.
|
|
66
66
|
|
|
67
67
|
# flags.skip-handlers.summary
|
|
68
68
|
|
|
@@ -78,7 +78,11 @@ Upgrade type for the package installation; available only for unlocked packages.
|
|
|
78
78
|
|
|
79
79
|
# flags.upgrade-type.description
|
|
80
80
|
|
|
81
|
-
For package upgrades,
|
|
81
|
+
For unlocked package upgrades, set this flag to one of these values:
|
|
82
|
+
|
|
83
|
+
- DeprecateOnly: Mark all removed components as deprecated.
|
|
84
|
+
- Mixed: Delete removed components, except for custom objects and custom fields, that don't have dependencies.
|
|
85
|
+
- Delete: Delete all removed components that can be safely deleted, and deprecate the other components.
|
|
82
86
|
|
|
83
87
|
# flags.apex-compile.summary
|
|
84
88
|
|
|
@@ -49,6 +49,10 @@ Path to the directory that contains the contents of the package.
|
|
|
49
49
|
|
|
50
50
|
Path to a definition file similar to scratch org definition file that contains the list of features and org preferences that the metadata of the package version depends on.
|
|
51
51
|
|
|
52
|
+
# flags.definition-file.description
|
|
53
|
+
|
|
54
|
+
For a patch version, the features specified in this file are ignored, and instead the features specified for the ancestor version are used.
|
|
55
|
+
|
|
52
56
|
# flags.branch.summary
|
|
53
57
|
|
|
54
58
|
Name of the branch in your source control system that the package version is based on.
|
|
@@ -214,8 +218,8 @@ Version create.
|
|
|
214
218
|
# packageVersionCreatePerformingValidations
|
|
215
219
|
|
|
216
220
|
The validations for this package version are in progress, but you can now begin testing this package version.
|
|
217
|
-
To determine whether all package validations
|
|
218
|
-
Async validated package versions can be promoted only if all validations
|
|
221
|
+
To determine whether all package validations complete successfully, run "sf package version create report --package-create-request-id 08cxx" and review the Status.
|
|
222
|
+
Async validated package versions can be promoted only if all validations complete successfully.
|
|
219
223
|
|
|
220
224
|
# packageVersionCreateFinalStatus
|
|
221
225
|
|
|
@@ -4,7 +4,7 @@ Delete a package version.
|
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
Specify the ID or alias of the package version you want to delete.
|
|
7
|
+
Specify the ID or alias of the package version you want to delete. In second-generation managed packaging, only beta package versions can be deleted. Before deleting a package version, review the considerations outlined in https://developer.salesforce.com/docs/atlas.en-us.pkg2_dev.meta/pkg2_dev/sfdx_dev_dev2gp_package_deletion.htm.
|
|
8
8
|
|
|
9
9
|
# examples
|
|
10
10
|
|
package/oclif.manifest.json
CHANGED
|
@@ -478,12 +478,12 @@
|
|
|
478
478
|
],
|
|
479
479
|
"args": {},
|
|
480
480
|
"deprecateAliases": true,
|
|
481
|
-
"description": "To install a package, specify a specific version of the package using the 04t package ID. The package and the version you specified installs in your default target org unless you supply the username for a different target org.\n\
|
|
481
|
+
"description": "To install or upgrade a package, specify a specific version of the package using the 04t package ID. The package and the version you specified installs in your default target org unless you supply the username for a different target org.\n\nWhen upgrading an unlocked package, include the --upgrade-type value to specify whether any removed components are deprecated or deleted. To delete components that can be safely deleted and deprecate the others, specify \"--upgrade-type Mixed\" (the default). To deprecate all removed components, specify \"--upgrade-type DeprecateOnly\". To delete all removed components, except for custom objects and custom fields, that don't have dependencies, specify \"--upgrade-type Delete\". (Note: This option can result in the loss of data that is associated with the deleted components.)",
|
|
482
482
|
"examples": [
|
|
483
|
-
"Install a package version with the specified ID in the org with username \"me@example.com\":\n<%= config.bin %> <%= command.id %> --package 04t... --target-org me@example.com",
|
|
484
|
-
"Install a package version with the specified alias into your default org:\n<%= config.bin %> <%= command.id %> --package awesome_package_alias",
|
|
485
|
-
"Install a package version with an alias that includes spaces into your default org:\n<%= config.bin %> <%= command.id %> --package \"Awesome Package Alias\"",
|
|
486
|
-
"
|
|
483
|
+
"Install or upgrade a package version with the specified ID in the org with username \"me@example.com\":\n<%= config.bin %> <%= command.id %> --package 04t... --target-org me@example.com",
|
|
484
|
+
"Install or upgrade a package version with the specified alias into your default org:\n<%= config.bin %> <%= command.id %> --package awesome_package_alias",
|
|
485
|
+
"Install or upgrade a package version with an alias that includes spaces into your default org:\n<%= config.bin %> <%= command.id %> --package \"Awesome Package Alias\"",
|
|
486
|
+
"Upgrade an unlocked package version with the specified ID and deprecate all removed components:\n<%= config.bin %> <%= command.id %> --package 04t... --upgrade-type DeprecateOnly"
|
|
487
487
|
],
|
|
488
488
|
"flags": {
|
|
489
489
|
"json": {
|
|
@@ -615,7 +615,7 @@
|
|
|
615
615
|
"char": "s",
|
|
616
616
|
"deprecateAliases": true,
|
|
617
617
|
"name": "security-type",
|
|
618
|
-
"summary": "Security access type for the installed package.
|
|
618
|
+
"summary": "Security access type for the installed package. Available options are AdminsOnly and AllUsers.",
|
|
619
619
|
"default": "AdminsOnly",
|
|
620
620
|
"hasDynamicHelp": false,
|
|
621
621
|
"multiple": false,
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
],
|
|
632
632
|
"char": "t",
|
|
633
633
|
"deprecateAliases": true,
|
|
634
|
-
"description": "For package upgrades,
|
|
634
|
+
"description": "For unlocked package upgrades, set this flag to one of these values:\n\n- DeprecateOnly: Mark all removed components as deprecated.\n- Mixed: Delete removed components, except for custom objects and custom fields, that don't have dependencies.\n- Delete: Delete all removed components that can be safely deleted, and deprecate the other components.",
|
|
635
635
|
"name": "upgrade-type",
|
|
636
636
|
"summary": "Upgrade type for the package installation; available only for unlocked packages.",
|
|
637
637
|
"default": "Mixed",
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
"pluginName": "@salesforce/plugin-packaging",
|
|
666
666
|
"pluginType": "core",
|
|
667
667
|
"strict": true,
|
|
668
|
-
"summary": "Install a version of a package in the target org.",
|
|
668
|
+
"summary": "Install or upgrade a version of a package in the target org.",
|
|
669
669
|
"enableJsonFlag": true,
|
|
670
670
|
"isESM": true,
|
|
671
671
|
"relativePath": [
|
|
@@ -1516,6 +1516,7 @@
|
|
|
1516
1516
|
],
|
|
1517
1517
|
"char": "f",
|
|
1518
1518
|
"deprecateAliases": true,
|
|
1519
|
+
"description": "For a patch version, the features specified in this file are ignored, and instead the features specified for the ancestor version are used.",
|
|
1519
1520
|
"name": "definition-file",
|
|
1520
1521
|
"summary": "Path to a definition file similar to scratch org definition file that contains the list of features and org preferences that the metadata of the package version depends on.",
|
|
1521
1522
|
"hasDynamicHelp": false,
|
|
@@ -1793,7 +1794,7 @@
|
|
|
1793
1794
|
],
|
|
1794
1795
|
"args": {},
|
|
1795
1796
|
"deprecateAliases": true,
|
|
1796
|
-
"description": "Specify the ID or alias of the package version you want to delete.",
|
|
1797
|
+
"description": "Specify the ID or alias of the package version you want to delete. In second-generation managed packaging, only beta package versions can be deleted. Before deleting a package version, review the considerations outlined in https://developer.salesforce.com/docs/atlas.en-us.pkg2_dev.meta/pkg2_dev/sfdx_dev_dev2gp_package_deletion.htm.",
|
|
1797
1798
|
"examples": [
|
|
1798
1799
|
"Delete a package version with the specified alias using your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --package \"Your Package Alias\"",
|
|
1799
1800
|
"Delete a package version with the specified ID using the Dev Hub org with username \"devhub@example.com\":\n<%= config.bin %> <%= command.id %> --package 04t... --target-org devhub@example.com"
|
|
@@ -4059,5 +4060,5 @@
|
|
|
4059
4060
|
]
|
|
4060
4061
|
}
|
|
4061
4062
|
},
|
|
4062
|
-
"version": "2.7.
|
|
4063
|
+
"version": "2.7.2"
|
|
4063
4064
|
}
|
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.7.
|
|
4
|
+
"version": "2.7.2",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"exports": "./lib/index.js",
|
|
247
247
|
"type": "module",
|
|
248
248
|
"sfdx": {
|
|
249
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.7.
|
|
250
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.7.
|
|
249
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.7.2.crt",
|
|
250
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.7.2.sig"
|
|
251
251
|
}
|
|
252
252
|
}
|