@forge/cli 11.1.0 → 11.2.0-next.17-experimental-02bb545
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 +231 -0
- package/npm-shrinkwrap.json +56 -157
- package/out/bin/cli.d.ts.map +1 -1
- package/out/bin/cli.js +8 -0
- package/out/command-line/command.d.ts +6 -5
- package/out/command-line/command.d.ts.map +1 -1
- package/out/command-line/command.js +24 -10
- package/out/command-line/controller/install-controller.d.ts.map +1 -1
- package/out/command-line/controller/install-controller.js +8 -3
- package/out/command-line/dependency-injection.d.ts +1 -2
- package/out/command-line/dependency-injection.d.ts.map +1 -1
- package/out/command-line/dependency-injection.js +3 -5
- package/out/command-line/register-app-commands.d.ts.map +1 -1
- package/out/command-line/register-app-commands.js +6 -9
- package/out/command-line/uninstall-command-helpers.d.ts +2 -2
- package/out/command-line/uninstall-command-helpers.d.ts.map +1 -1
- package/out/command-line/uninstall-command-helpers.js +8 -8
- package/out/deploy/deployer/deployer.d.ts +6 -1
- package/out/deploy/deployer/deployer.d.ts.map +1 -1
- package/out/deploy/deployer/deployer.js +21 -7
- package/out/deploy/deployer/trigger-deploy-graphql-client.d.ts +9 -2
- package/out/deploy/deployer/trigger-deploy-graphql-client.d.ts.map +1 -1
- package/out/deploy/deployer/trigger-deploy-graphql-client.js +1 -1
- package/out/deploy/packager/runtime-bundler.d.ts +3 -3
- package/out/deploy/packager/runtime-bundler.d.ts.map +1 -1
- package/out/deploy/packager/runtime-bundler.js +5 -4
- package/out/installations/installation-helper.d.ts.map +1 -1
- package/out/installations/installation-helper.js +3 -2
- package/package.json +10 -9
|
@@ -15,11 +15,12 @@ function validateInstallationId(installationId) {
|
|
|
15
15
|
}
|
|
16
16
|
exports.validateInstallationId = validateInstallationId;
|
|
17
17
|
async function selectSingleInstallation(ui, installations, installationTablePrompt, installationTableOverview) {
|
|
18
|
-
const
|
|
18
|
+
const hasSecondaryInstallations = installations.some(({ secondaryProducts }) => secondaryProducts?.length);
|
|
19
|
+
const installationIndex = await ui.promptForSingleChoiceTable(installationTablePrompt, installationTableOverview, ['Environment', 'Site', hasSecondaryInstallations ? 'Product(s)' : 'Product', 'Major Version'], installations.map(({ id, environmentKey, product, secondaryProducts, site, version }) => ({
|
|
19
20
|
names: [
|
|
20
21
|
(0, cli_shared_1.environmentToOption)(environmentKey),
|
|
21
22
|
site,
|
|
22
|
-
(0, cli_shared_1.
|
|
23
|
+
(0, cli_shared_1.productsDisplayName)(product, secondaryProducts),
|
|
23
24
|
`${(0, semver_1.major)(version.version).toString()} ${cli_shared_1.Text.install.booleanToScope(version.isLatest)}`
|
|
24
25
|
],
|
|
25
26
|
value: id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.2.0-next.17-experimental-02bb545",
|
|
4
4
|
"description": "A command line interface for managing Atlassian-hosted apps",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"postinstall": "node -e \"fs.existsSync('./out/bin/postinstall.js') && require('./out/bin/postinstall.js')\""
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@forge/bundler": "4.
|
|
22
|
-
"@forge/cli-shared": "6.
|
|
21
|
+
"@forge/bundler": "4.21.0-next.13-experimental-02bb545",
|
|
22
|
+
"@forge/cli-shared": "6.7.0-next.11-experimental-02bb545",
|
|
23
23
|
"@forge/egress": "1.4.0",
|
|
24
|
-
"@forge/lint": "5.7.
|
|
25
|
-
"@forge/manifest": "8.
|
|
26
|
-
"@forge/runtime": "5.10.
|
|
27
|
-
"@forge/tunnel": "5.
|
|
24
|
+
"@forge/lint": "5.7.2-next.11-experimental-02bb545",
|
|
25
|
+
"@forge/manifest": "8.8.0-next.5-experimental-02bb545",
|
|
26
|
+
"@forge/runtime": "5.10.7-next.0-experimental-02bb545",
|
|
27
|
+
"@forge/tunnel": "5.10.0-next.13-experimental-02bb545",
|
|
28
28
|
"@forge/util": "1.4.8",
|
|
29
29
|
"@sentry/node": "7.106.0",
|
|
30
30
|
"@forge/i18n": "0.0.4",
|
|
@@ -56,7 +56,8 @@
|
|
|
56
56
|
"semver": "^7.6.0",
|
|
57
57
|
"tmp": "^0.2.3",
|
|
58
58
|
"tslib": "^2.6.2",
|
|
59
|
-
"uuid": "^9.0.1"
|
|
59
|
+
"uuid": "^9.0.1",
|
|
60
|
+
"v8-compile-cache": "^2.4.0"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
63
|
"@types/archiver": "^6.0.2",
|
|
@@ -86,7 +87,7 @@
|
|
|
86
87
|
"type-fest": "4.10.2"
|
|
87
88
|
},
|
|
88
89
|
"engines": {
|
|
89
|
-
"node": ">=
|
|
90
|
+
"node": ">=18.20.7"
|
|
90
91
|
},
|
|
91
92
|
"publishConfig": {
|
|
92
93
|
"registry": "https://packages.atlassian.com/api/npm/npm-public/"
|