@forge/cli 6.11.1-next.0 → 6.12.0-next.13
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 +158 -0
- package/npm-shrinkwrap.json +283 -280
- package/out/command-line/command.d.ts +3 -1
- package/out/command-line/command.d.ts.map +1 -1
- package/out/command-line/command.js +10 -8
- package/out/command-line/controller/default-environment-controller.d.ts +28 -0
- package/out/command-line/controller/default-environment-controller.d.ts.map +1 -0
- package/out/command-line/controller/default-environment-controller.js +106 -0
- package/out/command-line/controller/deploy-controller.d.ts +7 -2
- package/out/command-line/controller/deploy-controller.d.ts.map +1 -1
- package/out/command-line/controller/deploy-controller.js +29 -4
- package/out/command-line/controller/settings-controller.d.ts +1 -0
- package/out/command-line/controller/settings-controller.d.ts.map +1 -1
- package/out/command-line/controller/settings-controller.js +3 -2
- package/out/command-line/dependency-injection.d.ts +4 -1
- package/out/command-line/dependency-injection.d.ts.map +1 -1
- package/out/command-line/dependency-injection.js +8 -3
- package/out/command-line/errors.d.ts +5 -0
- package/out/command-line/errors.d.ts.map +1 -1
- package/out/command-line/errors.js +11 -1
- package/out/command-line/register-lint-command.js +1 -1
- package/out/command-line/utils.d.ts +4 -0
- package/out/command-line/utils.d.ts.map +1 -0
- package/out/command-line/utils.js +30 -0
- package/out/command-line/view/deploy-view.d.ts +3 -0
- package/out/command-line/view/deploy-view.d.ts.map +1 -1
- package/out/command-line/view/deploy-view.js +14 -0
- package/package.json +12 -11
|
@@ -47,12 +47,26 @@ class DeployView {
|
|
|
47
47
|
displayMPACAppConnectKeyChangeError(mpacAppKey, connectKey) {
|
|
48
48
|
this.ui.info(cli_shared_1.Text.deploy.connectKeyChange.mpacAppConnectKeyChangeError(mpacAppKey, connectKey));
|
|
49
49
|
}
|
|
50
|
+
displayEnvironmentCreationWarning(environment) {
|
|
51
|
+
this.ui.emptyLine();
|
|
52
|
+
this.ui.warn(cli_shared_1.Text.env.warn.envWillBeCreated(environment));
|
|
53
|
+
this.ui.emptyLine();
|
|
54
|
+
}
|
|
55
|
+
displayEnvironmentCreationSuccessMessage(environment) {
|
|
56
|
+
this.ui.info(cli_shared_1.Text.createEnvironment.cmd.success(environment, cli_shared_1.AppEnvironmentType.Development, cli_shared_1.environmentToOption));
|
|
57
|
+
this.ui.emptyLine();
|
|
58
|
+
}
|
|
50
59
|
async promptToContinueDeletingConnectKey() {
|
|
51
60
|
return await this.ui.confirm(cli_shared_1.Text.deploy.connectKeyChange.continueDelete);
|
|
52
61
|
}
|
|
53
62
|
async promptToContinueChangingConnectKey() {
|
|
54
63
|
return await this.ui.confirm(cli_shared_1.Text.deploy.connectKeyChange.continueChange);
|
|
55
64
|
}
|
|
65
|
+
async promptToCreateEnvironment() {
|
|
66
|
+
const confirm = await this.ui.confirm(cli_shared_1.Text.env.confirm);
|
|
67
|
+
this.ui.emptyLine();
|
|
68
|
+
return confirm;
|
|
69
|
+
}
|
|
56
70
|
async reportDeploymentProgress({ appAri, name, environmentKey, environmentType }, showDistributionPageLink, deployCallback) {
|
|
57
71
|
const result = await this.ui.displayProgress(() => deployCallback(), cli_shared_1.Text.deploy.cmd.start2(name, environmentKey, environmentType, cli_shared_1.environmentToOption), cli_shared_1.Text.deploy.cmd.success);
|
|
58
72
|
this.ui.info(cli_shared_1.Text.deploy.cmd.successDetails(name, environmentKey, environmentType, cli_shared_1.environmentToOption));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.12.0-next.13",
|
|
4
4
|
"description": "A command line interface for managing Atlassian-hosted apps",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"postinstall": "node -e \"process.exitCode = fs.existsSync('./out/bin/postinstall.js')\" || node ./out/bin/postinstall.js"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@forge/bundler": "4.9.0-next.
|
|
22
|
-
"@forge/cli-shared": "3.
|
|
21
|
+
"@forge/bundler": "4.9.0-next.12",
|
|
22
|
+
"@forge/cli-shared": "3.13.0-next.9",
|
|
23
23
|
"@forge/egress": "1.2.1",
|
|
24
|
-
"@forge/lint": "3.5.
|
|
25
|
-
"@forge/manifest": "4.
|
|
26
|
-
"@forge/runtime": "4.4.
|
|
27
|
-
"@forge/tunnel": "3.5.1-next.
|
|
24
|
+
"@forge/lint": "3.5.1-next.9",
|
|
25
|
+
"@forge/manifest": "4.14.0-next.4",
|
|
26
|
+
"@forge/runtime": "4.4.1-next.2",
|
|
27
|
+
"@forge/tunnel": "3.5.1-next.12",
|
|
28
28
|
"@forge/util": "1.2.3",
|
|
29
29
|
"@sentry/node": "^7.29.0",
|
|
30
30
|
"ajv": "^6.12.6",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"latest-version": "^5.1.0",
|
|
46
46
|
"lodash": "^4.17.21",
|
|
47
47
|
"mkdirp": "^1.0.4",
|
|
48
|
-
"node-fetch": "2.6.
|
|
48
|
+
"node-fetch": "2.6.11",
|
|
49
49
|
"node-machine-id": "^1.1.12",
|
|
50
50
|
"omelette": "^0.4.17",
|
|
51
51
|
"ora": "^4.0.3",
|
|
@@ -69,15 +69,16 @@
|
|
|
69
69
|
"@types/js-yaml": "^3.12.2",
|
|
70
70
|
"@types/minimatch": "^3.0.5",
|
|
71
71
|
"@types/mkdirp": "^1.0.2",
|
|
72
|
-
"@types/node": "14.18.
|
|
73
|
-
"@types/node-fetch": "^2.
|
|
72
|
+
"@types/node": "14.18.48",
|
|
73
|
+
"@types/node-fetch": "^2.6.4",
|
|
74
74
|
"@types/omelette": "^0.4.2",
|
|
75
75
|
"@types/semver": "^6.0.1",
|
|
76
76
|
"@types/tmp": "^0.1.0",
|
|
77
|
-
"@types/unzipper": "^0.10.
|
|
77
|
+
"@types/unzipper": "^0.10.6",
|
|
78
78
|
"@types/uuid": "^3.4.10",
|
|
79
79
|
"jest": "^29.1.2",
|
|
80
80
|
"jest-fixtures": "^0.6.0",
|
|
81
|
+
"jest-matcher-specific-error": "^1.0.0",
|
|
81
82
|
"jest-when": "^3.5.2",
|
|
82
83
|
"memfs": "^3.4.1",
|
|
83
84
|
"sentry-testkit": "^5.0.5",
|