@salesforce/plugin-packaging 2.20.6-preview.0 → 2.21.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 CHANGED
@@ -154,7 +154,7 @@ FLAG DESCRIPTIONS
154
154
  --installation-key-bypass flag is required.
155
155
  ```
156
156
 
157
- _See code: [src/commands/package/convert.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/convert.ts)_
157
+ _See code: [src/commands/package/convert.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/convert.ts)_
158
158
 
159
159
  ## `sf package create`
160
160
 
@@ -233,7 +233,7 @@ FLAG DESCRIPTIONS
233
233
  Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
234
234
  ```
235
235
 
236
- _See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/create.ts)_
236
+ _See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/create.ts)_
237
237
 
238
238
  ## `sf package delete`
239
239
 
@@ -275,7 +275,7 @@ EXAMPLES
275
275
  $ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
276
276
  ```
277
277
 
278
- _See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/delete.ts)_
278
+ _See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/delete.ts)_
279
279
 
280
280
  ## `sf package install`
281
281
 
@@ -374,7 +374,7 @@ FLAG DESCRIPTIONS
374
374
  - Delete: Delete removed components, except for custom objects and custom fields, that don't have dependencies.
375
375
  ```
376
376
 
377
- _See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/install.ts)_
377
+ _See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/install.ts)_
378
378
 
379
379
  ## `sf package install report`
380
380
 
@@ -407,7 +407,7 @@ EXAMPLES
407
407
  $ sf package install report --request-id 0Hf... --target-org me@example.com
408
408
  ```
409
409
 
410
- _See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/install/report.ts)_
410
+ _See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/install/report.ts)_
411
411
 
412
412
  ## `sf package installed list`
413
413
 
@@ -439,7 +439,7 @@ EXAMPLES
439
439
  $ sf package installed list --target-org me@example.com
440
440
  ```
441
441
 
442
- _See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/installed/list.ts)_
442
+ _See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/installed/list.ts)_
443
443
 
444
444
  ## `sf package list`
445
445
 
@@ -477,7 +477,7 @@ EXAMPLES
477
477
  $ sf package list --target-dev-hub devhub@example.com --verbose
478
478
  ```
479
479
 
480
- _See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/list.ts)_
480
+ _See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/list.ts)_
481
481
 
482
482
  ## `sf package push-upgrade abort`
483
483
 
@@ -516,7 +516,7 @@ EXAMPLES
516
516
  $ sf package push-upgrade abort --push-request-id 0DV... --target-dev-hub devhub@example.com
517
517
  ```
518
518
 
519
- _See code: [src/commands/package/push-upgrade/abort.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/push-upgrade/abort.ts)_
519
+ _See code: [src/commands/package/push-upgrade/abort.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/push-upgrade/abort.ts)_
520
520
 
521
521
  ## `sf package push-upgrade list`
522
522
 
@@ -575,7 +575,7 @@ EXAMPLES
575
575
  $ sf package push-upgrade list --package 033xyz –-status Failed
576
576
  ```
577
577
 
578
- _See code: [src/commands/package/push-upgrade/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/push-upgrade/list.ts)_
578
+ _See code: [src/commands/package/push-upgrade/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/push-upgrade/list.ts)_
579
579
 
580
580
  ## `sf package push-upgrade report`
581
581
 
@@ -617,7 +617,7 @@ EXAMPLES
617
617
  $ sf package push-upgrade report --push-request-id 0DV... --target-dev-hub devhub@example.com
618
618
  ```
619
619
 
620
- _See code: [src/commands/package/push-upgrade/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/push-upgrade/report.ts)_
620
+ _See code: [src/commands/package/push-upgrade/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/push-upgrade/report.ts)_
621
621
 
622
622
  ## `sf package push-upgrade schedule`
623
623
 
@@ -704,7 +704,7 @@ FLAG DESCRIPTIONS
704
704
  Overrides the value of the target-dev-hub configuration variable, if set.
705
705
  ```
706
706
 
707
- _See code: [src/commands/package/push-upgrade/schedule.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/push-upgrade/schedule.ts)_
707
+ _See code: [src/commands/package/push-upgrade/schedule.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/push-upgrade/schedule.ts)_
708
708
 
709
709
  ## `sf package uninstall`
710
710
 
@@ -752,7 +752,7 @@ EXAMPLES
752
752
  $ sf package uninstall --package "Undesirable Package Alias"
753
753
  ```
754
754
 
755
- _See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/uninstall.ts)_
755
+ _See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/uninstall.ts)_
756
756
 
757
757
  ## `sf package uninstall report`
758
758
 
@@ -785,7 +785,7 @@ EXAMPLES
785
785
  $ sf package uninstall report --request-id 06y... --target-org me@example.com
786
786
  ```
787
787
 
788
- _See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/uninstall/report.ts)_
788
+ _See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/uninstall/report.ts)_
789
789
 
790
790
  ## `sf package update`
791
791
 
@@ -794,7 +794,7 @@ Update package details.
794
794
  ```
795
795
  USAGE
796
796
  $ sf package update -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-n <value>] [-d
797
- <value>] [-o <value>] [--enable-app-analytics]
797
+ <value>] [-o <value>] [--enable-app-analytics] [-r <value>]
798
798
 
799
799
  FLAGS
800
800
  -d, --description=<value> New description of the package.
@@ -802,6 +802,7 @@ FLAGS
802
802
  -o, --error-notification-username=<value> Active Dev Hub user designated to receive email notifications for package
803
803
  errors.
804
804
  -p, --package=<value> (required) ID (starts with 0Ho) or alias of the package to update.
805
+ -r, --recommended-version-id=<value> Package version ID that subscribers are notified to install or upgrade to.
805
806
  -v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the
806
807
  `target-dev-hub` configuration variable is already set.
807
808
  --api-version=<value> Override the api version used for api requests made by this command
@@ -838,9 +839,15 @@ FLAG DESCRIPTIONS
838
839
 
839
840
  Email notifications include information about unhandled Apex exceptions, and install, upgrade, or uninstall failures
840
841
  associated with your package.
842
+
843
+ -r, --recommended-version-id=<value> Package version ID that subscribers are notified to install or upgrade to.
844
+
845
+ Specify the recommended package version for subscribers to install. Subscribers are notified to install the package
846
+ version ID that you specify. If the subscribers have a different version of the same package installed, they're
847
+ notified to upgrade to the recommended version.
841
848
  ```
842
849
 
843
- _See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/update.ts)_
850
+ _See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/update.ts)_
844
851
 
845
852
  ## `sf package version create`
846
853
 
@@ -1015,7 +1022,7 @@ FLAG DESCRIPTIONS
1015
1022
  periods of no output from commands.
1016
1023
  ```
1017
1024
 
1018
- _See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/version/create.ts)_
1025
+ _See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/version/create.ts)_
1019
1026
 
1020
1027
  ## `sf package version create list`
1021
1028
 
@@ -1076,7 +1083,7 @@ EXAMPLES
1076
1083
  $ sf package version create list --created-last-days 0 --status Success
1077
1084
  ```
1078
1085
 
1079
- _See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/version/create/list.ts)_
1086
+ _See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/version/create/list.ts)_
1080
1087
 
1081
1088
  ## `sf package version create report`
1082
1089
 
@@ -1119,7 +1126,7 @@ EXAMPLES
1119
1126
  $ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
1120
1127
  ```
1121
1128
 
1122
- _See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/version/create/report.ts)_
1129
+ _See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/version/create/report.ts)_
1123
1130
 
1124
1131
  ## `sf package version delete`
1125
1132
 
@@ -1160,7 +1167,7 @@ EXAMPLES
1160
1167
  $ sf package version delete --package 04t... --target-org devhub@example.com
1161
1168
  ```
1162
1169
 
1163
- _See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/version/delete.ts)_
1170
+ _See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/version/delete.ts)_
1164
1171
 
1165
1172
  ## `sf package version displayancestry`
1166
1173
 
@@ -1220,7 +1227,7 @@ FLAG DESCRIPTIONS
1220
1227
  You can use the DOT code output in graph visualization software to create tree visualizations.
1221
1228
  ```
1222
1229
 
1223
- _See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/version/displayancestry.ts)_
1230
+ _See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/version/displayancestry.ts)_
1224
1231
 
1225
1232
  ## `sf package version displaydependencies`
1226
1233
 
@@ -1282,7 +1289,7 @@ FLAG DESCRIPTIONS
1282
1289
  package, which must be installed last.
1283
1290
  ```
1284
1291
 
1285
- _See code: [src/commands/package/version/displaydependencies.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/version/displaydependencies.ts)_
1292
+ _See code: [src/commands/package/version/displaydependencies.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/version/displaydependencies.ts)_
1286
1293
 
1287
1294
  ## `sf package version list`
1288
1295
 
@@ -1358,7 +1365,7 @@ EXAMPLES
1358
1365
  $ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
1359
1366
  ```
1360
1367
 
1361
- _See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/version/list.ts)_
1368
+ _See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/version/list.ts)_
1362
1369
 
1363
1370
  ## `sf package version promote`
1364
1371
 
@@ -1402,7 +1409,7 @@ EXAMPLES
1402
1409
  $ sf package version promote --package "Awesome Package Alias"
1403
1410
  ```
1404
1411
 
1405
- _See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/version/promote.ts)_
1412
+ _See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/version/promote.ts)_
1406
1413
 
1407
1414
  ## `sf package version report`
1408
1415
 
@@ -1442,7 +1449,7 @@ EXAMPLES
1442
1449
  $ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
1443
1450
  ```
1444
1451
 
1445
- _See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/version/report.ts)_
1452
+ _See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/version/report.ts)_
1446
1453
 
1447
1454
  ## `sf package version update`
1448
1455
 
@@ -1495,7 +1502,7 @@ EXAMPLES
1495
1502
  $ sf package version update --package 04t... --version-description "New Package Version Description"
1496
1503
  ```
1497
1504
 
1498
- _See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package/version/update.ts)_
1505
+ _See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/version/update.ts)_
1499
1506
 
1500
1507
  ## `sf package1 version create`
1501
1508
 
@@ -1562,7 +1569,7 @@ FLAG DESCRIPTIONS
1562
1569
  subscribers.
1563
1570
  ```
1564
1571
 
1565
- _See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package1/version/create.ts)_
1572
+ _See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package1/version/create.ts)_
1566
1573
 
1567
1574
  ## `sf package1 version create get`
1568
1575
 
@@ -1595,7 +1602,7 @@ EXAMPLES
1595
1602
  $ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
1596
1603
  ```
1597
1604
 
1598
- _See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package1/version/create/get.ts)_
1605
+ _See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package1/version/create/get.ts)_
1599
1606
 
1600
1607
  ## `sf package1 version display`
1601
1608
 
@@ -1629,7 +1636,7 @@ EXAMPLES
1629
1636
  $ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
1630
1637
  ```
1631
1638
 
1632
- _See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package1/version/display.ts)_
1639
+ _See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package1/version/display.ts)_
1633
1640
 
1634
1641
  ## `sf package1 version list`
1635
1642
 
@@ -1667,6 +1674,6 @@ FLAG DESCRIPTIONS
1667
1674
  If not specified, shows all versions for all packages (managed and unmanaged) in the org.
1668
1675
  ```
1669
1676
 
1670
- _See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.20.6-preview.0/src/commands/package1/version/list.ts)_
1677
+ _See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package1/version/list.ts)_
1671
1678
 
1672
1679
  <!-- commandsstop -->
@@ -15,6 +15,7 @@ export declare class PackageUpdateCommand extends SfCommand<PackageSaveResult> {
15
15
  description: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
16
16
  'error-notification-username': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
17
17
  'enable-app-analytics': import("@oclif/core/interfaces").BooleanFlag<boolean>;
18
+ 'recommended-version-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
18
19
  };
19
20
  run(): Promise<PackageSaveResult>;
20
21
  }
@@ -56,6 +56,11 @@ export class PackageUpdateCommand extends SfCommand {
56
56
  summary: messages.getMessage('flags.enable-app-analytics.summary'),
57
57
  allowNo: true,
58
58
  }),
59
+ 'recommended-version-id': Flags.string({
60
+ char: 'r',
61
+ summary: messages.getMessage('flags.recommended-version-id.summary'),
62
+ description: messages.getMessage('flags.recommended-version-id.description'),
63
+ }),
59
64
  };
60
65
  async run() {
61
66
  const { flags } = await this.parse(PackageUpdateCommand);
@@ -70,6 +75,7 @@ export class PackageUpdateCommand extends SfCommand {
70
75
  Description: flags.description,
71
76
  PackageErrorUsername: flags['error-notification-username'],
72
77
  AppAnalyticsEnabled: flags['enable-app-analytics'],
78
+ RecommendedVersionId: flags['recommended-version-id'],
73
79
  });
74
80
  this.logSuccess(messages.getMessage('success', [pkg.getId()]));
75
81
  return result;
@@ -1 +1 @@
1
- {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../src/commands/package/update.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,iCAAiC,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC5G,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,OAAO,EAAqB,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,gBAAgB,CAAC,CAAC;AACzF,MAAM,aAAa,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,gBAAgB,CAAC,CAAC;AAE9F,MAAM,OAAO,oBAAqB,SAAQ,SAA4B;IAC7D,MAAM,CAAU,O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CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;QAE/D,OAAO,MAAM,CAAC;IAChB,CAAC"}
@@ -37,3 +37,11 @@ Enable AppExchange App Analytics usage data collection on this managed package a
37
37
  # success
38
38
 
39
39
  Successfully updated the package. %s
40
+
41
+ # flags.recommended-version-id.summary
42
+
43
+ Package version ID that subscribers are notified to install or upgrade to.
44
+
45
+ # flags.recommended-version-id.description
46
+
47
+ Specify the recommended package version for subscribers to install. Subscribers are notified to install the package version ID that you specify. If the subscribers have a different version of the same package installed, they're notified to upgrade to the recommended version.
@@ -1022,6 +1022,15 @@
1022
1022
  "summary": "Enable AppExchange App Analytics usage data collection on this managed package and its components.",
1023
1023
  "allowNo": true,
1024
1024
  "type": "boolean"
1025
+ },
1026
+ "recommended-version-id": {
1027
+ "char": "r",
1028
+ "description": "Specify the recommended package version for subscribers to install. Subscribers are notified to install the package version ID that you specify. If the subscribers have a different version of the same package installed, they're notified to upgrade to the recommended version.",
1029
+ "name": "recommended-version-id",
1030
+ "summary": "Package version ID that subscribers are notified to install or upgrade to.",
1031
+ "hasDynamicHelp": false,
1032
+ "multiple": false,
1033
+ "type": "option"
1025
1034
  }
1026
1035
  },
1027
1036
  "hasDynamicHelp": true,
@@ -6217,5 +6226,5 @@
6217
6226
  ]
6218
6227
  }
6219
6228
  },
6220
- "version": "2.20.6-preview.0"
6229
+ "version": "2.21.2"
6221
6230
  }
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-packaging",
3
3
  "description": "SF plugin that support Salesforce Packaging Platform",
4
- "version": "2.20.6-preview.0",
4
+ "version": "2.21.2",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^4",
9
- "@salesforce/core": "^8.23.1",
9
+ "@salesforce/core": "^8.23.2",
10
10
  "@salesforce/kit": "^3.2.4",
11
- "@salesforce/packaging": "^4.15.1",
11
+ "@salesforce/packaging": "^4.16.0",
12
12
  "@salesforce/sf-plugins-core": "^12.2.4",
13
13
  "chalk": "^5.6.2"
14
14
  },
15
15
  "devDependencies": {
16
- "@oclif/plugin-command-snapshot": "^5.3.5",
16
+ "@oclif/plugin-command-snapshot": "^5.3.7",
17
17
  "@salesforce/cli-plugins-testkit": "^5.3.41",
18
18
  "@salesforce/dev-scripts": "^11.0.4",
19
- "@salesforce/plugin-command-reference": "^3.1.68",
19
+ "@salesforce/plugin-command-reference": "^3.1.74",
20
20
  "eslint-plugin-sf-plugin": "^1.20.32",
21
21
  "minimatch": "^10.0.3",
22
- "oclif": "^4.22.27",
22
+ "oclif": "^4.22.32",
23
23
  "ts-node": "^10.9.2",
24
24
  "typescript": "^5.9.3"
25
25
  },
@@ -248,7 +248,7 @@
248
248
  "exports": "./lib/index.js",
249
249
  "type": "module",
250
250
  "sfdx": {
251
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.20.6-preview.0.crt",
252
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.20.6-preview.0.sig"
251
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.21.2.crt",
252
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.21.2.sig"
253
253
  }
254
254
  }
@@ -78,6 +78,9 @@
78
78
  },
79
79
  "IsOrgDependent": {
80
80
  "type": "string"
81
+ },
82
+ "RecommendedVersionId": {
83
+ "type": "string"
81
84
  }
82
85
  },
83
86
  "additionalProperties": false