@salesforce/plugin-packaging 2.21.2 → 2.22.1

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.21.2/src/commands/package/convert.ts)_
157
+ _See code: [src/commands/package/convert.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/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.21.2/src/commands/package/create.ts)_
236
+ _See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/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.21.2/src/commands/package/delete.ts)_
278
+ _See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/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.21.2/src/commands/package/install.ts)_
377
+ _See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/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.21.2/src/commands/package/install/report.ts)_
410
+ _See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/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.21.2/src/commands/package/installed/list.ts)_
442
+ _See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/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.21.2/src/commands/package/list.ts)_
480
+ _See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/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.21.2/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.22.1/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.21.2/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.22.1/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.21.2/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.22.1/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.21.2/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.22.1/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.21.2/src/commands/package/uninstall.ts)_
755
+ _See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/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.21.2/src/commands/package/uninstall/report.ts)_
788
+ _See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/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] [-r <value>]
797
+ <value>] [-o <value>] [--enable-app-analytics] [-r <value>] [--skip-ancestor-check]
798
798
 
799
799
  FLAGS
800
800
  -d, --description=<value> New description of the package.
@@ -808,6 +808,7 @@ FLAGS
808
808
  --api-version=<value> Override the api version used for api requests made by this command
809
809
  --[no-]enable-app-analytics Enable AppExchange App Analytics usage data collection on this managed
810
810
  package and its components.
811
+ --skip-ancestor-check Bypass the ancestry check for setting a recommended version.
811
812
 
812
813
  GLOBAL FLAGS
813
814
  --flags-dir=<value> Import flag values from a directory.
@@ -847,7 +848,7 @@ FLAG DESCRIPTIONS
847
848
  notified to upgrade to the recommended version.
848
849
  ```
849
850
 
850
- _See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.21.2/src/commands/package/update.ts)_
851
+ _See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package/update.ts)_
851
852
 
852
853
  ## `sf package version create`
853
854
 
@@ -1022,7 +1023,7 @@ FLAG DESCRIPTIONS
1022
1023
  periods of no output from commands.
1023
1024
  ```
1024
1025
 
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)_
1026
+ _See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package/version/create.ts)_
1026
1027
 
1027
1028
  ## `sf package version create list`
1028
1029
 
@@ -1083,7 +1084,7 @@ EXAMPLES
1083
1084
  $ sf package version create list --created-last-days 0 --status Success
1084
1085
  ```
1085
1086
 
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)_
1087
+ _See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package/version/create/list.ts)_
1087
1088
 
1088
1089
  ## `sf package version create report`
1089
1090
 
@@ -1126,7 +1127,7 @@ EXAMPLES
1126
1127
  $ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
1127
1128
  ```
1128
1129
 
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)_
1130
+ _See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package/version/create/report.ts)_
1130
1131
 
1131
1132
  ## `sf package version delete`
1132
1133
 
@@ -1167,7 +1168,7 @@ EXAMPLES
1167
1168
  $ sf package version delete --package 04t... --target-org devhub@example.com
1168
1169
  ```
1169
1170
 
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)_
1171
+ _See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package/version/delete.ts)_
1171
1172
 
1172
1173
  ## `sf package version displayancestry`
1173
1174
 
@@ -1227,7 +1228,7 @@ FLAG DESCRIPTIONS
1227
1228
  You can use the DOT code output in graph visualization software to create tree visualizations.
1228
1229
  ```
1229
1230
 
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)_
1231
+ _See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package/version/displayancestry.ts)_
1231
1232
 
1232
1233
  ## `sf package version displaydependencies`
1233
1234
 
@@ -1289,7 +1290,7 @@ FLAG DESCRIPTIONS
1289
1290
  package, which must be installed last.
1290
1291
  ```
1291
1292
 
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)_
1293
+ _See code: [src/commands/package/version/displaydependencies.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package/version/displaydependencies.ts)_
1293
1294
 
1294
1295
  ## `sf package version list`
1295
1296
 
@@ -1365,7 +1366,7 @@ EXAMPLES
1365
1366
  $ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
1366
1367
  ```
1367
1368
 
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)_
1369
+ _See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package/version/list.ts)_
1369
1370
 
1370
1371
  ## `sf package version promote`
1371
1372
 
@@ -1409,7 +1410,7 @@ EXAMPLES
1409
1410
  $ sf package version promote --package "Awesome Package Alias"
1410
1411
  ```
1411
1412
 
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)_
1413
+ _See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package/version/promote.ts)_
1413
1414
 
1414
1415
  ## `sf package version report`
1415
1416
 
@@ -1449,7 +1450,7 @@ EXAMPLES
1449
1450
  $ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
1450
1451
  ```
1451
1452
 
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)_
1453
+ _See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package/version/report.ts)_
1453
1454
 
1454
1455
  ## `sf package version update`
1455
1456
 
@@ -1502,7 +1503,7 @@ EXAMPLES
1502
1503
  $ sf package version update --package 04t... --version-description "New Package Version Description"
1503
1504
  ```
1504
1505
 
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)_
1506
+ _See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package/version/update.ts)_
1506
1507
 
1507
1508
  ## `sf package1 version create`
1508
1509
 
@@ -1569,7 +1570,7 @@ FLAG DESCRIPTIONS
1569
1570
  subscribers.
1570
1571
  ```
1571
1572
 
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)_
1573
+ _See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package1/version/create.ts)_
1573
1574
 
1574
1575
  ## `sf package1 version create get`
1575
1576
 
@@ -1602,7 +1603,7 @@ EXAMPLES
1602
1603
  $ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
1603
1604
  ```
1604
1605
 
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)_
1606
+ _See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package1/version/create/get.ts)_
1606
1607
 
1607
1608
  ## `sf package1 version display`
1608
1609
 
@@ -1636,7 +1637,7 @@ EXAMPLES
1636
1637
  $ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
1637
1638
  ```
1638
1639
 
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)_
1640
+ _See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package1/version/display.ts)_
1640
1641
 
1641
1642
  ## `sf package1 version list`
1642
1643
 
@@ -1674,6 +1675,6 @@ FLAG DESCRIPTIONS
1674
1675
  If not specified, shows all versions for all packages (managed and unmanaged) in the org.
1675
1676
  ```
1676
1677
 
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)_
1678
+ _See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.1/src/commands/package1/version/list.ts)_
1678
1679
 
1679
1680
  <!-- commandsstop -->
@@ -16,6 +16,7 @@ export declare class PackageUpdateCommand extends SfCommand<PackageSaveResult> {
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
18
  'recommended-version-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
19
+ 'skip-ancestor-check': import("@oclif/core/interfaces").BooleanFlag<boolean>;
19
20
  };
20
21
  run(): Promise<PackageSaveResult>;
21
22
  }
@@ -61,6 +61,9 @@ export class PackageUpdateCommand extends SfCommand {
61
61
  summary: messages.getMessage('flags.recommended-version-id.summary'),
62
62
  description: messages.getMessage('flags.recommended-version-id.description'),
63
63
  }),
64
+ 'skip-ancestor-check': Flags.boolean({
65
+ summary: messages.getMessage('flags.skip-ancestor-check.summary'),
66
+ }),
64
67
  };
65
68
  async run() {
66
69
  const { flags } = await this.parse(PackageUpdateCommand);
@@ -76,7 +79,7 @@ export class PackageUpdateCommand extends SfCommand {
76
79
  PackageErrorUsername: flags['error-notification-username'],
77
80
  AppAnalyticsEnabled: flags['enable-app-analytics'],
78
81
  RecommendedVersionId: flags['recommended-version-id'],
79
- });
82
+ }, flags['skip-ancestor-check']);
80
83
  this.logSuccess(messages.getMessage('success', [pkg.getId()]));
81
84
  return result;
82
85
  }
@@ -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,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,sBAAsB,CAAC,CAAC;IACnD,MAAM,CAAU,KAAK,GAAG;QAC7B,QAAQ;QACR,gBAAgB,EAAE,eAAe;QACjC,aAAa,EAAE,iCAAiC;QAChD,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC;YACpB,IAAI,EAA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,CAAC"}
@@ -45,3 +45,7 @@ Package version ID that subscribers are notified to install or upgrade to.
45
45
  # flags.recommended-version-id.description
46
46
 
47
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.
48
+
49
+ # flags.skip-ancestor-check.summary
50
+
51
+ Bypass the ancestry check for setting a recommended version.
@@ -1031,6 +1031,12 @@
1031
1031
  "hasDynamicHelp": false,
1032
1032
  "multiple": false,
1033
1033
  "type": "option"
1034
+ },
1035
+ "skip-ancestor-check": {
1036
+ "name": "skip-ancestor-check",
1037
+ "summary": "Bypass the ancestry check for setting a recommended version.",
1038
+ "allowNo": false,
1039
+ "type": "boolean"
1034
1040
  }
1035
1041
  },
1036
1042
  "hasDynamicHelp": true,
@@ -1738,6 +1744,134 @@
1738
1744
  "list:installed:package"
1739
1745
  ]
1740
1746
  },
1747
+ "package:uninstall:report": {
1748
+ "aliases": [
1749
+ "force:package:uninstall:report"
1750
+ ],
1751
+ "args": {},
1752
+ "deprecateAliases": true,
1753
+ "examples": [
1754
+ "Retrieve the status of a package uninstall in your default org using the specified request ID:\n<%= config.bin %> <%= command.id %> --request-id 06y...",
1755
+ "Similar to previous example, but use the org with username me@example.com:\n<%= config.bin %> <%= command.id %> --request-id 06y... --target-org me@example.com"
1756
+ ],
1757
+ "flags": {
1758
+ "json": {
1759
+ "description": "Format output as json.",
1760
+ "helpGroup": "GLOBAL",
1761
+ "name": "json",
1762
+ "allowNo": false,
1763
+ "type": "boolean"
1764
+ },
1765
+ "flags-dir": {
1766
+ "helpGroup": "GLOBAL",
1767
+ "name": "flags-dir",
1768
+ "summary": "Import flag values from a directory.",
1769
+ "hasDynamicHelp": false,
1770
+ "multiple": false,
1771
+ "type": "option"
1772
+ },
1773
+ "loglevel": {
1774
+ "deprecated": {
1775
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
1776
+ },
1777
+ "hidden": true,
1778
+ "name": "loglevel",
1779
+ "hasDynamicHelp": false,
1780
+ "multiple": false,
1781
+ "type": "option"
1782
+ },
1783
+ "target-org": {
1784
+ "aliases": [
1785
+ "targetusername",
1786
+ "u"
1787
+ ],
1788
+ "char": "o",
1789
+ "deprecateAliases": true,
1790
+ "name": "target-org",
1791
+ "noCacheDefault": true,
1792
+ "required": true,
1793
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1794
+ "hasDynamicHelp": true,
1795
+ "multiple": false,
1796
+ "type": "option"
1797
+ },
1798
+ "api-version": {
1799
+ "aliases": [
1800
+ "apiversion"
1801
+ ],
1802
+ "deprecateAliases": true,
1803
+ "description": "Override the api version used for api requests made by this command",
1804
+ "name": "api-version",
1805
+ "hasDynamicHelp": false,
1806
+ "multiple": false,
1807
+ "type": "option"
1808
+ },
1809
+ "request-id": {
1810
+ "aliases": [
1811
+ "requestid"
1812
+ ],
1813
+ "char": "i",
1814
+ "deprecateAliases": true,
1815
+ "name": "request-id",
1816
+ "required": true,
1817
+ "summary": "ID of the package uninstall request you want to check; starts with 06y.",
1818
+ "hasDynamicHelp": false,
1819
+ "multiple": false,
1820
+ "type": "option"
1821
+ }
1822
+ },
1823
+ "hasDynamicHelp": true,
1824
+ "hiddenAliases": [],
1825
+ "id": "package:uninstall:report",
1826
+ "pluginAlias": "@salesforce/plugin-packaging",
1827
+ "pluginName": "@salesforce/plugin-packaging",
1828
+ "pluginType": "core",
1829
+ "strict": true,
1830
+ "summary": "Retrieve the status of a package uninstall request.",
1831
+ "enableJsonFlag": true,
1832
+ "isESM": true,
1833
+ "relativePath": [
1834
+ "lib",
1835
+ "commands",
1836
+ "package",
1837
+ "uninstall",
1838
+ "report.js"
1839
+ ],
1840
+ "aliasPermutations": [
1841
+ "force:package:uninstall:report",
1842
+ "package:force:uninstall:report",
1843
+ "package:uninstall:force:report",
1844
+ "package:uninstall:report:force",
1845
+ "force:uninstall:package:report",
1846
+ "uninstall:force:package:report",
1847
+ "uninstall:package:force:report",
1848
+ "uninstall:package:report:force",
1849
+ "force:uninstall:report:package",
1850
+ "uninstall:force:report:package",
1851
+ "uninstall:report:force:package",
1852
+ "uninstall:report:package:force",
1853
+ "force:package:report:uninstall",
1854
+ "package:force:report:uninstall",
1855
+ "package:report:force:uninstall",
1856
+ "package:report:uninstall:force",
1857
+ "force:report:package:uninstall",
1858
+ "report:force:package:uninstall",
1859
+ "report:package:force:uninstall",
1860
+ "report:package:uninstall:force",
1861
+ "force:report:uninstall:package",
1862
+ "report:force:uninstall:package",
1863
+ "report:uninstall:force:package",
1864
+ "report:uninstall:package:force"
1865
+ ],
1866
+ "permutations": [
1867
+ "package:uninstall:report",
1868
+ "uninstall:package:report",
1869
+ "uninstall:report:package",
1870
+ "package:report:uninstall",
1871
+ "report:package:uninstall",
1872
+ "report:uninstall:package"
1873
+ ]
1874
+ },
1741
1875
  "package:push-upgrade:abort": {
1742
1876
  "aliases": [],
1743
1877
  "args": {},
@@ -2217,134 +2351,6 @@
2217
2351
  "schedule:push-upgrade:package"
2218
2352
  ]
2219
2353
  },
2220
- "package:uninstall:report": {
2221
- "aliases": [
2222
- "force:package:uninstall:report"
2223
- ],
2224
- "args": {},
2225
- "deprecateAliases": true,
2226
- "examples": [
2227
- "Retrieve the status of a package uninstall in your default org using the specified request ID:\n<%= config.bin %> <%= command.id %> --request-id 06y...",
2228
- "Similar to previous example, but use the org with username me@example.com:\n<%= config.bin %> <%= command.id %> --request-id 06y... --target-org me@example.com"
2229
- ],
2230
- "flags": {
2231
- "json": {
2232
- "description": "Format output as json.",
2233
- "helpGroup": "GLOBAL",
2234
- "name": "json",
2235
- "allowNo": false,
2236
- "type": "boolean"
2237
- },
2238
- "flags-dir": {
2239
- "helpGroup": "GLOBAL",
2240
- "name": "flags-dir",
2241
- "summary": "Import flag values from a directory.",
2242
- "hasDynamicHelp": false,
2243
- "multiple": false,
2244
- "type": "option"
2245
- },
2246
- "loglevel": {
2247
- "deprecated": {
2248
- "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
2249
- },
2250
- "hidden": true,
2251
- "name": "loglevel",
2252
- "hasDynamicHelp": false,
2253
- "multiple": false,
2254
- "type": "option"
2255
- },
2256
- "target-org": {
2257
- "aliases": [
2258
- "targetusername",
2259
- "u"
2260
- ],
2261
- "char": "o",
2262
- "deprecateAliases": true,
2263
- "name": "target-org",
2264
- "noCacheDefault": true,
2265
- "required": true,
2266
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2267
- "hasDynamicHelp": true,
2268
- "multiple": false,
2269
- "type": "option"
2270
- },
2271
- "api-version": {
2272
- "aliases": [
2273
- "apiversion"
2274
- ],
2275
- "deprecateAliases": true,
2276
- "description": "Override the api version used for api requests made by this command",
2277
- "name": "api-version",
2278
- "hasDynamicHelp": false,
2279
- "multiple": false,
2280
- "type": "option"
2281
- },
2282
- "request-id": {
2283
- "aliases": [
2284
- "requestid"
2285
- ],
2286
- "char": "i",
2287
- "deprecateAliases": true,
2288
- "name": "request-id",
2289
- "required": true,
2290
- "summary": "ID of the package uninstall request you want to check; starts with 06y.",
2291
- "hasDynamicHelp": false,
2292
- "multiple": false,
2293
- "type": "option"
2294
- }
2295
- },
2296
- "hasDynamicHelp": true,
2297
- "hiddenAliases": [],
2298
- "id": "package:uninstall:report",
2299
- "pluginAlias": "@salesforce/plugin-packaging",
2300
- "pluginName": "@salesforce/plugin-packaging",
2301
- "pluginType": "core",
2302
- "strict": true,
2303
- "summary": "Retrieve the status of a package uninstall request.",
2304
- "enableJsonFlag": true,
2305
- "isESM": true,
2306
- "relativePath": [
2307
- "lib",
2308
- "commands",
2309
- "package",
2310
- "uninstall",
2311
- "report.js"
2312
- ],
2313
- "aliasPermutations": [
2314
- "force:package:uninstall:report",
2315
- "package:force:uninstall:report",
2316
- "package:uninstall:force:report",
2317
- "package:uninstall:report:force",
2318
- "force:uninstall:package:report",
2319
- "uninstall:force:package:report",
2320
- "uninstall:package:force:report",
2321
- "uninstall:package:report:force",
2322
- "force:uninstall:report:package",
2323
- "uninstall:force:report:package",
2324
- "uninstall:report:force:package",
2325
- "uninstall:report:package:force",
2326
- "force:package:report:uninstall",
2327
- "package:force:report:uninstall",
2328
- "package:report:force:uninstall",
2329
- "package:report:uninstall:force",
2330
- "force:report:package:uninstall",
2331
- "report:force:package:uninstall",
2332
- "report:package:force:uninstall",
2333
- "report:package:uninstall:force",
2334
- "force:report:uninstall:package",
2335
- "report:force:uninstall:package",
2336
- "report:uninstall:force:package",
2337
- "report:uninstall:package:force"
2338
- ],
2339
- "permutations": [
2340
- "package:uninstall:report",
2341
- "uninstall:package:report",
2342
- "uninstall:report:package",
2343
- "package:report:uninstall",
2344
- "report:package:uninstall",
2345
- "report:uninstall:package"
2346
- ]
2347
- },
2348
2354
  "package:version:create": {
2349
2355
  "aliases": [
2350
2356
  "force:package:version:create"
@@ -6226,5 +6232,5 @@
6226
6232
  ]
6227
6233
  }
6228
6234
  },
6229
- "version": "2.21.2"
6235
+ "version": "2.22.1"
6230
6236
  }
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.21.2",
4
+ "version": "2.22.1",
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.23.2",
10
10
  "@salesforce/kit": "^3.2.4",
11
- "@salesforce/packaging": "^4.16.0",
11
+ "@salesforce/packaging": "^4.17.0",
12
12
  "@salesforce/sf-plugins-core": "^12.2.4",
13
13
  "chalk": "^5.6.2"
14
14
  },
@@ -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.21.2.crt",
252
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.21.2.sig"
251
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.22.1.crt",
252
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.22.1.sig"
253
253
  }
254
254
  }