@forge/cli 11.3.0-next.22 → 11.3.0-next.23

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @forge/cli
2
2
 
3
+ ## 11.3.0-next.23
4
+
5
+ ### Patch Changes
6
+
7
+ - b865468: Fix crash when installing an XPA app
8
+
3
9
  ## 11.3.0-next.22
4
10
 
5
11
  ### Patch Changes
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@forge/cli",
3
- "version": "11.3.0-next.22",
3
+ "version": "11.3.0-next.23",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@forge/cli",
9
- "version": "11.3.0-next.22",
9
+ "version": "11.3.0-next.23",
10
10
  "hasInstallScript": true,
11
11
  "license": "SEE LICENSE IN LICENSE.txt",
12
12
  "dependencies": {
@@ -83,8 +83,7 @@ class InstallController {
83
83
  ];
84
84
  }
85
85
  async promptForSite(products) {
86
- const displayName = (0, cli_shared_1.productDisplayName)(products[0]);
87
- const isWorkspaceBased = products.length > 0 && this.supportedProductsService.isWorkspaceProduct(displayName);
86
+ const isWorkspaceBased = products.length > 0 && this.supportedProductsService.isWorkspaceProduct((0, cli_shared_1.productDisplayName)(products[0]));
88
87
  const overviewText = isWorkspaceBased
89
88
  ? cli_shared_1.Text.installationContext.overviewWorkspace
90
89
  : cli_shared_1.Text.installationContext.overviewSite;
@@ -97,7 +96,7 @@ class InstallController {
97
96
  if (!trySite) {
98
97
  throw new cli_shared_1.ValidationError(invalidText);
99
98
  }
100
- return this.supportedProductsService.validateSite(trySite, displayName);
99
+ return this.supportedProductsService.validateSite(trySite, products[0] && (0, cli_shared_1.productDisplayName)(products[0]));
101
100
  }
102
101
  async getAppInstallations(siteOption, productOption, environmentOption) {
103
102
  const { installations } = await this.installationService.listNonTechnicalAppInstallations({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/cli",
3
- "version": "11.3.0-next.22",
3
+ "version": "11.3.0-next.23",
4
4
  "description": "A command line interface for managing Atlassian-hosted apps",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",