@forge/cli 6.12.0-next.14 → 6.13.0-next.7
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 +137 -0
- package/npm-shrinkwrap.json +82 -82
- package/out/command-line/controller/default-environment-controller.d.ts.map +1 -1
- package/out/command-line/controller/default-environment-controller.js +2 -2
- package/out/command-line/controller/deploy-controller.d.ts +5 -2
- package/out/command-line/controller/deploy-controller.d.ts.map +1 -1
- package/out/command-line/controller/deploy-controller.js +22 -5
- package/out/command-line/controller/install-controller.d.ts.map +1 -1
- package/out/command-line/controller/install-controller.js +5 -5
- package/out/command-line/controller/settings-controller.d.ts.map +1 -1
- package/out/command-line/controller/settings-controller.js +7 -4
- package/out/command-line/controller/tunnel-controller.d.ts +3 -3
- package/out/command-line/controller/tunnel-controller.d.ts.map +1 -1
- package/out/command-line/controller/tunnel-controller.js +3 -3
- package/out/command-line/dependency-injection.d.ts +5 -2
- package/out/command-line/dependency-injection.d.ts.map +1 -1
- package/out/command-line/dependency-injection.js +17 -11
- package/out/command-line/environment.d.ts.map +1 -1
- package/out/command-line/environment.js +1 -1
- package/out/command-line/register-app-commands.d.ts.map +1 -1
- package/out/command-line/register-app-commands.js +23 -24
- package/out/command-line/register-environment-commands.d.ts.map +1 -1
- package/out/command-line/register-environment-commands.js +2 -2
- package/out/command-line/register-environment-variables-commands.d.ts.map +1 -1
- package/out/command-line/register-environment-variables-commands.js +4 -4
- package/out/command-line/register-installation-commands.d.ts.map +1 -1
- package/out/command-line/register-installation-commands.js +2 -2
- package/out/command-line/register-providers-commands.d.ts.map +1 -1
- package/out/command-line/register-providers-commands.js +1 -2
- package/out/command-line/register-storage-commands.d.ts.map +1 -1
- package/out/command-line/register-storage-commands.js +4 -2
- package/out/command-line/view/deploy-view.d.ts +4 -2
- package/out/command-line/view/deploy-view.d.ts.map +1 -1
- package/out/command-line/view/deploy-view.js +13 -5
- package/out/command-line/view/install-view.js +1 -1
- package/out/command-line/view/settings-view.d.ts +1 -0
- package/out/command-line/view/settings-view.d.ts.map +1 -1
- package/out/command-line/view/settings-view.js +5 -0
- package/out/command-line/view/tunnel-view.d.ts.map +1 -1
- package/out/command-line/view/tunnel-view.js +1 -1
- package/out/entities/graphql-client.d.ts +1 -1
- package/out/entities/graphql-client.d.ts.map +1 -1
- package/out/entities/graphql-client.js +5 -7
- package/out/entities/list-indexes.d.ts +7 -7
- package/out/entities/list-indexes.d.ts.map +1 -1
- package/out/entities/list-indexes.js +4 -48
- package/out/environment/graphql-client.d.ts.map +1 -1
- package/out/environment/graphql-client.js +1 -1
- package/out/installations/graphql-client.d.ts.map +1 -1
- package/out/installations/graphql-client.js +1 -1
- package/out/service/custom-entities-service.d.ts +12 -0
- package/out/service/custom-entities-service.d.ts.map +1 -0
- package/out/service/custom-entities-service.js +76 -0
- package/out/service/tunnel-service.d.ts.map +1 -1
- package/out/service/tunnel-service.js +1 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,142 @@
|
|
|
1
1
|
# @forge/cli
|
|
2
2
|
|
|
3
|
+
## 6.13.0-next.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [7cab7f9c]
|
|
8
|
+
- @forge/bundler@4.10.0-next.6
|
|
9
|
+
- @forge/tunnel@3.5.2-next.6
|
|
10
|
+
|
|
11
|
+
## 6.13.0-next.6
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 0b2835ad: Run E2E tests in parallel
|
|
16
|
+
|
|
17
|
+
## 6.13.0-next.5
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- f00b749: Show additional message when using forge settings set
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [f00b749]
|
|
26
|
+
- @forge/cli-shared@3.14.0-next.5
|
|
27
|
+
- @forge/bundler@4.9.1-next.5
|
|
28
|
+
- @forge/lint@3.5.2-next.5
|
|
29
|
+
- @forge/tunnel@3.5.2-next.5
|
|
30
|
+
|
|
31
|
+
## 6.13.0-next.4
|
|
32
|
+
|
|
33
|
+
### Minor Changes
|
|
34
|
+
|
|
35
|
+
- 85bf4a8: Refactor and cleanup usages of environmentToOption
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Updated dependencies [85bf4a8]
|
|
40
|
+
- @forge/cli-shared@3.14.0-next.4
|
|
41
|
+
- @forge/bundler@4.9.1-next.4
|
|
42
|
+
- @forge/lint@3.5.2-next.4
|
|
43
|
+
- @forge/tunnel@3.5.2-next.4
|
|
44
|
+
|
|
45
|
+
## 6.13.0-next.3
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- Updated dependencies [91b77cb7]
|
|
50
|
+
- @forge/bundler@4.9.1-next.3
|
|
51
|
+
- @forge/cli-shared@3.14.0-next.3
|
|
52
|
+
- @forge/lint@3.5.2-next.3
|
|
53
|
+
- @forge/tunnel@3.5.2-next.3
|
|
54
|
+
|
|
55
|
+
## 6.13.0-next.2
|
|
56
|
+
|
|
57
|
+
### Minor Changes
|
|
58
|
+
|
|
59
|
+
- 2c219665: Added pre deployment prompt and post deployment message if custom entities reindexing is in progress, improved storage index command and increased index limit from 5 to 7
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- Updated dependencies [2c219665]
|
|
64
|
+
- @forge/cli-shared@3.14.0-next.2
|
|
65
|
+
- @forge/manifest@4.15.0-next.0
|
|
66
|
+
- @forge/bundler@4.9.1-next.2
|
|
67
|
+
- @forge/lint@3.5.2-next.2
|
|
68
|
+
- @forge/tunnel@3.5.2-next.2
|
|
69
|
+
|
|
70
|
+
## 6.13.0-next.1
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- Updated dependencies [2517649d]
|
|
75
|
+
- @forge/cli-shared@3.14.0-next.1
|
|
76
|
+
- @forge/bundler@4.9.1-next.1
|
|
77
|
+
- @forge/lint@3.5.2-next.1
|
|
78
|
+
- @forge/tunnel@3.5.2-next.1
|
|
79
|
+
|
|
80
|
+
## 6.13.0-next.0
|
|
81
|
+
|
|
82
|
+
### Minor Changes
|
|
83
|
+
|
|
84
|
+
- fb00b34f: CLI selects bundler based on runtime type specified in manifest
|
|
85
|
+
|
|
86
|
+
### Patch Changes
|
|
87
|
+
|
|
88
|
+
- Updated dependencies [fb00b34f]
|
|
89
|
+
- @forge/cli-shared@3.14.0-next.0
|
|
90
|
+
- @forge/bundler@4.9.1-next.0
|
|
91
|
+
- @forge/lint@3.5.2-next.0
|
|
92
|
+
- @forge/tunnel@3.5.2-next.0
|
|
93
|
+
|
|
94
|
+
## 6.12.0
|
|
95
|
+
|
|
96
|
+
### Minor Changes
|
|
97
|
+
|
|
98
|
+
- fed677b5: Enable non interactive option for deploy
|
|
99
|
+
- 8ee1a0dc: Create environment on deploy
|
|
100
|
+
- e49e46d0: Use default environment from forge settings
|
|
101
|
+
|
|
102
|
+
### Patch Changes
|
|
103
|
+
|
|
104
|
+
- cf453494: Bumping dependencies via Renovate:
|
|
105
|
+
|
|
106
|
+
- node-fetch
|
|
107
|
+
- @types/node-fetch
|
|
108
|
+
|
|
109
|
+
- bb7b824d: Bumping dependencies via Renovate:
|
|
110
|
+
|
|
111
|
+
- @types/node
|
|
112
|
+
|
|
113
|
+
- 710816a9: Bumping dependencies via Renovate:
|
|
114
|
+
|
|
115
|
+
- unzipper
|
|
116
|
+
- @types/unzipper
|
|
117
|
+
|
|
118
|
+
- Updated dependencies [5d8a7a49]
|
|
119
|
+
- Updated dependencies [e4aed817]
|
|
120
|
+
- Updated dependencies [3edb8a19]
|
|
121
|
+
- Updated dependencies [44042371]
|
|
122
|
+
- Updated dependencies [9477f538]
|
|
123
|
+
- Updated dependencies [cf453494]
|
|
124
|
+
- Updated dependencies [efc1b01c]
|
|
125
|
+
- Updated dependencies [bb7b824d]
|
|
126
|
+
- Updated dependencies [8ee1a0dc]
|
|
127
|
+
- Updated dependencies [5b6fcd16]
|
|
128
|
+
- Updated dependencies [13af085d]
|
|
129
|
+
- Updated dependencies [710816a9]
|
|
130
|
+
- Updated dependencies [00f194a9]
|
|
131
|
+
- Updated dependencies [e49e46d0]
|
|
132
|
+
- Updated dependencies [313ddf91]
|
|
133
|
+
- @forge/manifest@4.14.0
|
|
134
|
+
- @forge/bundler@4.9.0
|
|
135
|
+
- @forge/cli-shared@3.13.0
|
|
136
|
+
- @forge/lint@3.5.1
|
|
137
|
+
- @forge/runtime@4.4.1
|
|
138
|
+
- @forge/tunnel@3.5.1
|
|
139
|
+
|
|
3
140
|
## 6.12.0-next.14
|
|
4
141
|
|
|
5
142
|
### Patch Changes
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.13.0-next.7",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@forge/cli",
|
|
9
|
-
"version": "6.
|
|
9
|
+
"version": "6.13.0-next.7",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "UNLICENSED",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@forge/bundler": "4.
|
|
14
|
-
"@forge/cli-shared": "3.
|
|
13
|
+
"@forge/bundler": "4.10.0-next.6",
|
|
14
|
+
"@forge/cli-shared": "3.14.0-next.5",
|
|
15
15
|
"@forge/egress": "1.2.1",
|
|
16
|
-
"@forge/lint": "3.5.
|
|
17
|
-
"@forge/manifest": "4.
|
|
18
|
-
"@forge/runtime": "4.4.1
|
|
19
|
-
"@forge/tunnel": "3.5.
|
|
16
|
+
"@forge/lint": "3.5.2-next.5",
|
|
17
|
+
"@forge/manifest": "4.15.0-next.0",
|
|
18
|
+
"@forge/runtime": "4.4.1",
|
|
19
|
+
"@forge/tunnel": "3.5.2-next.6",
|
|
20
20
|
"@forge/util": "1.2.3",
|
|
21
21
|
"@sentry/node": "^7.29.0",
|
|
22
22
|
"ajv": "^6.12.6",
|
|
@@ -670,9 +670,9 @@
|
|
|
670
670
|
"integrity": "sha512-n2eXc/shPwx0ahD3NNfsmeiFoBCukeglt2htePaNnJBDt0VpC6R4Njsjc/wnL5OMgrGl5/GXzN+mymngXrw9qQ=="
|
|
671
671
|
},
|
|
672
672
|
"node_modules/@forge/bundler": {
|
|
673
|
-
"version": "4.
|
|
674
|
-
"resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-4.
|
|
675
|
-
"integrity": "sha512-
|
|
673
|
+
"version": "4.10.0-next.6",
|
|
674
|
+
"resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-4.10.0-next.6.tgz",
|
|
675
|
+
"integrity": "sha512-rBYI0p4Td/+pbNVMgVZHEZ5WuLS6VlWxexyru10HR6/qjxIi08B4kaodL3qqtppBijSjC8Ajq1scsTBdKwMu/g==",
|
|
676
676
|
"dependencies": {
|
|
677
677
|
"@babel/core": "^7.16.7",
|
|
678
678
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
@@ -680,11 +680,11 @@
|
|
|
680
680
|
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
|
681
681
|
"@babel/plugin-transform-react-jsx": "^7.16.7",
|
|
682
682
|
"@babel/preset-typescript": "^7.16.7",
|
|
683
|
-
"@forge/api": "2.
|
|
683
|
+
"@forge/api": "2.18.0-next.0",
|
|
684
684
|
"@forge/babel-plugin-transform-ui": "1.1.2",
|
|
685
|
-
"@forge/cli-shared": "3.
|
|
686
|
-
"@forge/lint": "3.5.
|
|
687
|
-
"@forge/runtime": "4.4.1
|
|
685
|
+
"@forge/cli-shared": "3.14.0-next.5",
|
|
686
|
+
"@forge/lint": "3.5.2-next.5",
|
|
687
|
+
"@forge/runtime": "4.4.1",
|
|
688
688
|
"@forge/util": "1.2.3",
|
|
689
689
|
"assert": "^1.1.1",
|
|
690
690
|
"babel-loader": "^8.2.3",
|
|
@@ -720,28 +720,23 @@
|
|
|
720
720
|
}
|
|
721
721
|
},
|
|
722
722
|
"node_modules/@forge/bundler/node_modules/@forge/api": {
|
|
723
|
-
"version": "2.
|
|
724
|
-
"resolved": "https://registry.npmjs.org/@forge/api/-/api-2.
|
|
725
|
-
"integrity": "sha512-
|
|
723
|
+
"version": "2.18.0-next.0",
|
|
724
|
+
"resolved": "https://registry.npmjs.org/@forge/api/-/api-2.18.0-next.0.tgz",
|
|
725
|
+
"integrity": "sha512-4XoQG/QoZxr4XF+8NAvjFTpwxAIb6DQXfphzdEpRS7gxgvp6kDOtFDMqYQaax1POfSE1aqh9rRmdZRTVgeL30Q==",
|
|
726
726
|
"dependencies": {
|
|
727
727
|
"@forge/auth": "0.0.1",
|
|
728
728
|
"@forge/egress": "1.2.1",
|
|
729
|
-
"@forge/storage": "1.5.3
|
|
729
|
+
"@forge/storage": "1.5.3",
|
|
730
730
|
"@types/node-fetch": "^2.6.4",
|
|
731
731
|
"node-fetch": "2.6.11"
|
|
732
732
|
}
|
|
733
733
|
},
|
|
734
|
-
"node_modules/@forge/bundler/node_modules/@forge/storage": {
|
|
735
|
-
"version": "1.5.3-next.1",
|
|
736
|
-
"resolved": "https://registry.npmjs.org/@forge/storage/-/storage-1.5.3-next.1.tgz",
|
|
737
|
-
"integrity": "sha512-srIp02RkIQEfAqWwMUS9/Yhkq7vbwjORJTMIr+aLkCx4HbdSKJJu056NxxN0w8id7bR7LshBJfMWdxuQW6ymGQ=="
|
|
738
|
-
},
|
|
739
734
|
"node_modules/@forge/cli-shared": {
|
|
740
|
-
"version": "3.
|
|
741
|
-
"resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-3.
|
|
742
|
-
"integrity": "sha512-
|
|
735
|
+
"version": "3.14.0-next.5",
|
|
736
|
+
"resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-3.14.0-next.5.tgz",
|
|
737
|
+
"integrity": "sha512-Z/WFEUm/qRGF2ANWZEwzCIgWdlS4wgjt1szOvm1wkw0XR0Gp1O6vi0l9bOxZ6u2fr6+C9qB8gui9PklcWzY7iw==",
|
|
743
738
|
"dependencies": {
|
|
744
|
-
"@forge/manifest": "4.
|
|
739
|
+
"@forge/manifest": "4.15.0-next.0",
|
|
745
740
|
"@forge/util": "1.2.3",
|
|
746
741
|
"@sentry/node": "^7.29.0",
|
|
747
742
|
"array.prototype.flatmap": "^1.2.3",
|
|
@@ -792,13 +787,13 @@
|
|
|
792
787
|
}
|
|
793
788
|
},
|
|
794
789
|
"node_modules/@forge/lint": {
|
|
795
|
-
"version": "3.5.
|
|
796
|
-
"resolved": "https://registry.npmjs.org/@forge/lint/-/lint-3.5.
|
|
797
|
-
"integrity": "sha512-
|
|
790
|
+
"version": "3.5.2-next.5",
|
|
791
|
+
"resolved": "https://registry.npmjs.org/@forge/lint/-/lint-3.5.2-next.5.tgz",
|
|
792
|
+
"integrity": "sha512-YpsM67WZpIYCB3K5/7X1ohmBSdwVTcC5uSc9ErMUlG5OTbwbO3LioD83v3zkp+h17rBPZljV/N1dl+4YV7Ja3w==",
|
|
798
793
|
"dependencies": {
|
|
799
|
-
"@forge/cli-shared": "3.
|
|
794
|
+
"@forge/cli-shared": "3.14.0-next.5",
|
|
800
795
|
"@forge/egress": "1.2.1",
|
|
801
|
-
"@forge/manifest": "4.
|
|
796
|
+
"@forge/manifest": "4.15.0-next.0",
|
|
802
797
|
"@typescript-eslint/typescript-estree": "^5.40.0",
|
|
803
798
|
"array.prototype.flatmap": "^1.2.3",
|
|
804
799
|
"atlassian-openapi": "^1.0.17",
|
|
@@ -807,9 +802,9 @@
|
|
|
807
802
|
}
|
|
808
803
|
},
|
|
809
804
|
"node_modules/@forge/manifest": {
|
|
810
|
-
"version": "4.
|
|
811
|
-
"resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-4.
|
|
812
|
-
"integrity": "sha512-
|
|
805
|
+
"version": "4.15.0-next.0",
|
|
806
|
+
"resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-4.15.0-next.0.tgz",
|
|
807
|
+
"integrity": "sha512-DZCi5aMdZkPO3Ebb+2pGfr81q9UC1ozKqUv9wHuw35uVKKNmNwrNvzXeGFaZJTLxBjD3mNWQE5OhgHqIps55sQ==",
|
|
813
808
|
"dependencies": {
|
|
814
809
|
"@forge/util": "1.2.3",
|
|
815
810
|
"ajv": "^6.12.6",
|
|
@@ -822,9 +817,9 @@
|
|
|
822
817
|
}
|
|
823
818
|
},
|
|
824
819
|
"node_modules/@forge/runtime": {
|
|
825
|
-
"version": "4.4.1
|
|
826
|
-
"resolved": "https://registry.npmjs.org/@forge/runtime/-/runtime-4.4.1
|
|
827
|
-
"integrity": "sha512-
|
|
820
|
+
"version": "4.4.1",
|
|
821
|
+
"resolved": "https://registry.npmjs.org/@forge/runtime/-/runtime-4.4.1.tgz",
|
|
822
|
+
"integrity": "sha512-8BCJ/8JRfK5Qc/Fp1qoFhVFHsZJLyriw4TL7U3jFKPzwsRKdm7mTLkDizV8xJTL6C+32p9Pf+HVuQVML0bhRfg==",
|
|
828
823
|
"dependencies": {
|
|
829
824
|
"@forge/util": "1.2.3",
|
|
830
825
|
"fp-ts": "^2.0.1",
|
|
@@ -840,15 +835,20 @@
|
|
|
840
835
|
"node": "^14 || ^16 || ^18"
|
|
841
836
|
}
|
|
842
837
|
},
|
|
838
|
+
"node_modules/@forge/storage": {
|
|
839
|
+
"version": "1.5.3",
|
|
840
|
+
"resolved": "https://registry.npmjs.org/@forge/storage/-/storage-1.5.3.tgz",
|
|
841
|
+
"integrity": "sha512-RyLf1GI0r+56oRk0bLNR9kUhBc3uH3zi4NRo2w5YfBvOjUqWe6/pi/a1bBsNz6z9gP8eyb+Y0VVxpgYiV895+A=="
|
|
842
|
+
},
|
|
843
843
|
"node_modules/@forge/tunnel": {
|
|
844
|
-
"version": "3.5.
|
|
845
|
-
"resolved": "https://registry.npmjs.org/@forge/tunnel/-/tunnel-3.5.
|
|
846
|
-
"integrity": "sha512-
|
|
844
|
+
"version": "3.5.2-next.6",
|
|
845
|
+
"resolved": "https://registry.npmjs.org/@forge/tunnel/-/tunnel-3.5.2-next.6.tgz",
|
|
846
|
+
"integrity": "sha512-pFtY/imo+Idj5iQDm1IJHZIc3BA0lGEE3QlvZforT/4BdyLODdbufhr/XsMFGSqA7UBP5hL8FU/D0+t8pv2Y4Q==",
|
|
847
847
|
"dependencies": {
|
|
848
|
-
"@forge/bundler": "4.
|
|
849
|
-
"@forge/cli-shared": "3.
|
|
848
|
+
"@forge/bundler": "4.10.0-next.6",
|
|
849
|
+
"@forge/cli-shared": "3.14.0-next.5",
|
|
850
850
|
"@forge/csp": "2.1.3",
|
|
851
|
-
"@forge/runtime": "4.4.1
|
|
851
|
+
"@forge/runtime": "4.4.1",
|
|
852
852
|
"express": "^4.17.1",
|
|
853
853
|
"express-intercept": "^0.8.10",
|
|
854
854
|
"http-proxy-middleware": "^1.0.6",
|
|
@@ -10094,9 +10094,9 @@
|
|
|
10094
10094
|
"integrity": "sha512-n2eXc/shPwx0ahD3NNfsmeiFoBCukeglt2htePaNnJBDt0VpC6R4Njsjc/wnL5OMgrGl5/GXzN+mymngXrw9qQ=="
|
|
10095
10095
|
},
|
|
10096
10096
|
"@forge/bundler": {
|
|
10097
|
-
"version": "4.
|
|
10098
|
-
"resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-4.
|
|
10099
|
-
"integrity": "sha512-
|
|
10097
|
+
"version": "4.10.0-next.6",
|
|
10098
|
+
"resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-4.10.0-next.6.tgz",
|
|
10099
|
+
"integrity": "sha512-rBYI0p4Td/+pbNVMgVZHEZ5WuLS6VlWxexyru10HR6/qjxIi08B4kaodL3qqtppBijSjC8Ajq1scsTBdKwMu/g==",
|
|
10100
10100
|
"requires": {
|
|
10101
10101
|
"@babel/core": "^7.16.7",
|
|
10102
10102
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
@@ -10104,11 +10104,11 @@
|
|
|
10104
10104
|
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
|
10105
10105
|
"@babel/plugin-transform-react-jsx": "^7.16.7",
|
|
10106
10106
|
"@babel/preset-typescript": "^7.16.7",
|
|
10107
|
-
"@forge/api": "2.
|
|
10107
|
+
"@forge/api": "2.18.0-next.0",
|
|
10108
10108
|
"@forge/babel-plugin-transform-ui": "1.1.2",
|
|
10109
|
-
"@forge/cli-shared": "3.
|
|
10110
|
-
"@forge/lint": "3.5.
|
|
10111
|
-
"@forge/runtime": "4.4.1
|
|
10109
|
+
"@forge/cli-shared": "3.14.0-next.5",
|
|
10110
|
+
"@forge/lint": "3.5.2-next.5",
|
|
10111
|
+
"@forge/runtime": "4.4.1",
|
|
10112
10112
|
"@forge/util": "1.2.3",
|
|
10113
10113
|
"assert": "^1.1.1",
|
|
10114
10114
|
"babel-loader": "^8.2.3",
|
|
@@ -10141,30 +10141,25 @@
|
|
|
10141
10141
|
},
|
|
10142
10142
|
"dependencies": {
|
|
10143
10143
|
"@forge/api": {
|
|
10144
|
-
"version": "2.
|
|
10145
|
-
"resolved": "https://registry.npmjs.org/@forge/api/-/api-2.
|
|
10146
|
-
"integrity": "sha512-
|
|
10144
|
+
"version": "2.18.0-next.0",
|
|
10145
|
+
"resolved": "https://registry.npmjs.org/@forge/api/-/api-2.18.0-next.0.tgz",
|
|
10146
|
+
"integrity": "sha512-4XoQG/QoZxr4XF+8NAvjFTpwxAIb6DQXfphzdEpRS7gxgvp6kDOtFDMqYQaax1POfSE1aqh9rRmdZRTVgeL30Q==",
|
|
10147
10147
|
"requires": {
|
|
10148
10148
|
"@forge/auth": "0.0.1",
|
|
10149
10149
|
"@forge/egress": "1.2.1",
|
|
10150
|
-
"@forge/storage": "1.5.3
|
|
10150
|
+
"@forge/storage": "1.5.3",
|
|
10151
10151
|
"@types/node-fetch": "^2.6.4",
|
|
10152
10152
|
"node-fetch": "2.6.11"
|
|
10153
10153
|
}
|
|
10154
|
-
},
|
|
10155
|
-
"@forge/storage": {
|
|
10156
|
-
"version": "1.5.3-next.1",
|
|
10157
|
-
"resolved": "https://registry.npmjs.org/@forge/storage/-/storage-1.5.3-next.1.tgz",
|
|
10158
|
-
"integrity": "sha512-srIp02RkIQEfAqWwMUS9/Yhkq7vbwjORJTMIr+aLkCx4HbdSKJJu056NxxN0w8id7bR7LshBJfMWdxuQW6ymGQ=="
|
|
10159
10154
|
}
|
|
10160
10155
|
}
|
|
10161
10156
|
},
|
|
10162
10157
|
"@forge/cli-shared": {
|
|
10163
|
-
"version": "3.
|
|
10164
|
-
"resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-3.
|
|
10165
|
-
"integrity": "sha512-
|
|
10158
|
+
"version": "3.14.0-next.5",
|
|
10159
|
+
"resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-3.14.0-next.5.tgz",
|
|
10160
|
+
"integrity": "sha512-Z/WFEUm/qRGF2ANWZEwzCIgWdlS4wgjt1szOvm1wkw0XR0Gp1O6vi0l9bOxZ6u2fr6+C9qB8gui9PklcWzY7iw==",
|
|
10166
10161
|
"requires": {
|
|
10167
|
-
"@forge/manifest": "4.
|
|
10162
|
+
"@forge/manifest": "4.15.0-next.0",
|
|
10168
10163
|
"@forge/util": "1.2.3",
|
|
10169
10164
|
"@sentry/node": "^7.29.0",
|
|
10170
10165
|
"array.prototype.flatmap": "^1.2.3",
|
|
@@ -10215,13 +10210,13 @@
|
|
|
10215
10210
|
}
|
|
10216
10211
|
},
|
|
10217
10212
|
"@forge/lint": {
|
|
10218
|
-
"version": "3.5.
|
|
10219
|
-
"resolved": "https://registry.npmjs.org/@forge/lint/-/lint-3.5.
|
|
10220
|
-
"integrity": "sha512-
|
|
10213
|
+
"version": "3.5.2-next.5",
|
|
10214
|
+
"resolved": "https://registry.npmjs.org/@forge/lint/-/lint-3.5.2-next.5.tgz",
|
|
10215
|
+
"integrity": "sha512-YpsM67WZpIYCB3K5/7X1ohmBSdwVTcC5uSc9ErMUlG5OTbwbO3LioD83v3zkp+h17rBPZljV/N1dl+4YV7Ja3w==",
|
|
10221
10216
|
"requires": {
|
|
10222
|
-
"@forge/cli-shared": "3.
|
|
10217
|
+
"@forge/cli-shared": "3.14.0-next.5",
|
|
10223
10218
|
"@forge/egress": "1.2.1",
|
|
10224
|
-
"@forge/manifest": "4.
|
|
10219
|
+
"@forge/manifest": "4.15.0-next.0",
|
|
10225
10220
|
"@typescript-eslint/typescript-estree": "^5.40.0",
|
|
10226
10221
|
"array.prototype.flatmap": "^1.2.3",
|
|
10227
10222
|
"atlassian-openapi": "^1.0.17",
|
|
@@ -10230,9 +10225,9 @@
|
|
|
10230
10225
|
}
|
|
10231
10226
|
},
|
|
10232
10227
|
"@forge/manifest": {
|
|
10233
|
-
"version": "4.
|
|
10234
|
-
"resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-4.
|
|
10235
|
-
"integrity": "sha512-
|
|
10228
|
+
"version": "4.15.0-next.0",
|
|
10229
|
+
"resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-4.15.0-next.0.tgz",
|
|
10230
|
+
"integrity": "sha512-DZCi5aMdZkPO3Ebb+2pGfr81q9UC1ozKqUv9wHuw35uVKKNmNwrNvzXeGFaZJTLxBjD3mNWQE5OhgHqIps55sQ==",
|
|
10236
10231
|
"requires": {
|
|
10237
10232
|
"@forge/util": "1.2.3",
|
|
10238
10233
|
"ajv": "^6.12.6",
|
|
@@ -10245,9 +10240,9 @@
|
|
|
10245
10240
|
}
|
|
10246
10241
|
},
|
|
10247
10242
|
"@forge/runtime": {
|
|
10248
|
-
"version": "4.4.1
|
|
10249
|
-
"resolved": "https://registry.npmjs.org/@forge/runtime/-/runtime-4.4.1
|
|
10250
|
-
"integrity": "sha512-
|
|
10243
|
+
"version": "4.4.1",
|
|
10244
|
+
"resolved": "https://registry.npmjs.org/@forge/runtime/-/runtime-4.4.1.tgz",
|
|
10245
|
+
"integrity": "sha512-8BCJ/8JRfK5Qc/Fp1qoFhVFHsZJLyriw4TL7U3jFKPzwsRKdm7mTLkDizV8xJTL6C+32p9Pf+HVuQVML0bhRfg==",
|
|
10251
10246
|
"requires": {
|
|
10252
10247
|
"@forge/util": "1.2.3",
|
|
10253
10248
|
"fp-ts": "^2.0.1",
|
|
@@ -10260,15 +10255,20 @@
|
|
|
10260
10255
|
"ws": "^7.1.0"
|
|
10261
10256
|
}
|
|
10262
10257
|
},
|
|
10258
|
+
"@forge/storage": {
|
|
10259
|
+
"version": "1.5.3",
|
|
10260
|
+
"resolved": "https://registry.npmjs.org/@forge/storage/-/storage-1.5.3.tgz",
|
|
10261
|
+
"integrity": "sha512-RyLf1GI0r+56oRk0bLNR9kUhBc3uH3zi4NRo2w5YfBvOjUqWe6/pi/a1bBsNz6z9gP8eyb+Y0VVxpgYiV895+A=="
|
|
10262
|
+
},
|
|
10263
10263
|
"@forge/tunnel": {
|
|
10264
|
-
"version": "3.5.
|
|
10265
|
-
"resolved": "https://registry.npmjs.org/@forge/tunnel/-/tunnel-3.5.
|
|
10266
|
-
"integrity": "sha512-
|
|
10264
|
+
"version": "3.5.2-next.6",
|
|
10265
|
+
"resolved": "https://registry.npmjs.org/@forge/tunnel/-/tunnel-3.5.2-next.6.tgz",
|
|
10266
|
+
"integrity": "sha512-pFtY/imo+Idj5iQDm1IJHZIc3BA0lGEE3QlvZforT/4BdyLODdbufhr/XsMFGSqA7UBP5hL8FU/D0+t8pv2Y4Q==",
|
|
10267
10267
|
"requires": {
|
|
10268
|
-
"@forge/bundler": "4.
|
|
10269
|
-
"@forge/cli-shared": "3.
|
|
10268
|
+
"@forge/bundler": "4.10.0-next.6",
|
|
10269
|
+
"@forge/cli-shared": "3.14.0-next.5",
|
|
10270
10270
|
"@forge/csp": "2.1.3",
|
|
10271
|
-
"@forge/runtime": "4.4.1
|
|
10271
|
+
"@forge/runtime": "4.4.1",
|
|
10272
10272
|
"express": "^4.17.1",
|
|
10273
10273
|
"express-intercept": "^0.8.10",
|
|
10274
10274
|
"http-proxy-middleware": "^1.0.6",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-environment-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line/controller/default-environment-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAEjB,eAAe,EAEf,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EAEZ,EAAE,
|
|
1
|
+
{"version":3,"file":"default-environment-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line/controller/default-environment-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAEjB,eAAe,EAEf,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EAEZ,EAAE,EAEH,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAE5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAI1E,qBAAa,6BAA8B,SAAQ,KAAK;;CAIvD;AAED,qBAAa,4BAA4B;IAErC,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IACzC,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IACvC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBARzB,EAAE,EAAE,EAAE,EACG,eAAe,EAAE,eAAe,EAChC,kBAAkB,EAAE,kBAAkB,EACtC,mBAAmB,EAAE,mBAAmB,EACxC,YAAY,EAAE,iBAAiB,EAC/B,YAAY,EAAE,YAAY,EAC1B,wBAAwB,EAAE,wBAAwB,EAClD,sBAAsB,EAAE,sBAAsB,EAC9C,gBAAgB,EAAE,gBAAgB;IAGxC,GAAG,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;IAyB9C,qBAAqB,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;YAgBnD,4CAA4C;YAO5C,8BAA8B;YAgB9B,iBAAiB;YAKjB,+BAA+B;YAoB/B,8BAA8B;YAU9B,qBAAqB;CAKpC"}
|
|
@@ -84,7 +84,7 @@ class DefaultEnvironmentController {
|
|
|
84
84
|
this.ui.emptyLine();
|
|
85
85
|
if (confirm) {
|
|
86
86
|
await this.setDefaultEnvironment(environmentKey);
|
|
87
|
-
this.ui.info(cli_shared_1.Text.defaultEnv.setSuccess(environmentKey, cli_shared_1.AppEnvironmentType.Development
|
|
87
|
+
this.ui.info(cli_shared_1.Text.defaultEnv.setSuccess(environmentKey, cli_shared_1.AppEnvironmentType.Development));
|
|
88
88
|
this.ui.emptyLine();
|
|
89
89
|
return environmentKey;
|
|
90
90
|
}
|
|
@@ -93,7 +93,7 @@ class DefaultEnvironmentController {
|
|
|
93
93
|
async createAndSetDefaultEnvironment(environmentKey) {
|
|
94
94
|
await this.createEnvironmentCommand.execute({ environmentKey });
|
|
95
95
|
await this.setDefaultEnvironment(environmentKey);
|
|
96
|
-
this.ui.info(cli_shared_1.Text.defaultEnv.createAndSetSuccess(environmentKey, cli_shared_1.AppEnvironmentType.Development
|
|
96
|
+
this.ui.info(cli_shared_1.Text.defaultEnv.createAndSetSuccess(environmentKey, cli_shared_1.AppEnvironmentType.Development));
|
|
97
97
|
this.ui.emptyLine();
|
|
98
98
|
return environmentKey;
|
|
99
99
|
}
|
|
@@ -6,6 +6,7 @@ import { MigrationKeysService } from '../../service/migration-keys-service';
|
|
|
6
6
|
import { PackageUploadDeployCommand } from '../../deploy';
|
|
7
7
|
import { DeploymentResult } from '../register-deployment-commands';
|
|
8
8
|
import { CreateEnvironmentCommand } from '../../environment/create-environment';
|
|
9
|
+
import { CustomEntitiesService } from '../../service/custom-entities-service';
|
|
9
10
|
interface DeployOptions {
|
|
10
11
|
environment: string;
|
|
11
12
|
verify: boolean;
|
|
@@ -29,11 +30,13 @@ export declare class DeployController {
|
|
|
29
30
|
private readonly lintService;
|
|
30
31
|
private readonly installationsService;
|
|
31
32
|
private readonly migrationKeysService;
|
|
33
|
+
private readonly customEntitiesService;
|
|
32
34
|
private readonly appEnvironmentClient;
|
|
33
35
|
private readonly deployView;
|
|
34
|
-
private readonly
|
|
36
|
+
private readonly sandboxPackageUploadDeployCommand;
|
|
37
|
+
private readonly nodePackageUploadDeployCommand;
|
|
35
38
|
private readonly createEnvironmentCommand;
|
|
36
|
-
constructor(appConfigProvider: AppConfigProvider, configFile: ConfigFile, lintService: LintService, installationsService: InstallationService, migrationKeysService: MigrationKeysService, appEnvironmentClient: AppEnvironmentClient, deployView: DeployView,
|
|
39
|
+
constructor(appConfigProvider: AppConfigProvider, configFile: ConfigFile, lintService: LintService, installationsService: InstallationService, migrationKeysService: MigrationKeysService, customEntitiesService: CustomEntitiesService, appEnvironmentClient: AppEnvironmentClient, deployView: DeployView, sandboxPackageUploadDeployCommand: PackageUploadDeployCommand, nodePackageUploadDeployCommand: PackageUploadDeployCommand, createEnvironmentCommand: CreateEnvironmentCommand);
|
|
37
40
|
private isMpacProductionApp;
|
|
38
41
|
private connectKeyDeleted;
|
|
39
42
|
private connectKeyChanged;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line/controller/deploy-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EAEpB,UAAU,
|
|
1
|
+
{"version":3,"file":"deploy-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line/controller/deploy-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EAEpB,UAAU,EACV,WAAW,EAIZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAA+B,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACzG,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,UAAU,aAAa;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,qBAAa,sBAAuB,SAAQ,WAAW;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM,EAAE;IAItC,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAMpC,WAAW,IAAI,OAAO;CAG9B;AAED,qBAAa,sBAAuB,SAAQ,WAAW;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM;IAGpC,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAMvC,WAAW,IAAI,OAAO;CAG9B;AAED,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,iCAAiC;IAClD,OAAO,CAAC,QAAQ,CAAC,8BAA8B;IAC/C,OAAO,CAAC,QAAQ,CAAC,wBAAwB;gBAVxB,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,oBAAoB,EAAE,mBAAmB,EACzC,oBAAoB,EAAE,oBAAoB,EAC1C,qBAAqB,EAAE,qBAAqB,EAC5C,oBAAoB,EAAE,oBAAoB,EAC1C,UAAU,EAAE,UAAU,EACtB,iCAAiC,EAAE,0BAA0B,EAC7D,8BAA8B,EAAE,0BAA0B,EAC1D,wBAAwB,EAAE,wBAAwB;IAGrE,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,iBAAiB;YAGX,wBAAwB;YAwBxB,mBAAmB;YA2BnB,oBAAoB;YAgBpB,2BAA2B;YAe3B,wBAAwB;IAkBzB,GAAG,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,aAAa,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;CA4D3G"}
|
|
@@ -30,15 +30,17 @@ class InvalidConnectKeyError extends cli_shared_1.HiddenError {
|
|
|
30
30
|
}
|
|
31
31
|
exports.InvalidConnectKeyError = InvalidConnectKeyError;
|
|
32
32
|
class DeployController {
|
|
33
|
-
constructor(appConfigProvider, configFile, lintService, installationsService, migrationKeysService, appEnvironmentClient, deployView,
|
|
33
|
+
constructor(appConfigProvider, configFile, lintService, installationsService, migrationKeysService, customEntitiesService, appEnvironmentClient, deployView, sandboxPackageUploadDeployCommand, nodePackageUploadDeployCommand, createEnvironmentCommand) {
|
|
34
34
|
this.appConfigProvider = appConfigProvider;
|
|
35
35
|
this.configFile = configFile;
|
|
36
36
|
this.lintService = lintService;
|
|
37
37
|
this.installationsService = installationsService;
|
|
38
38
|
this.migrationKeysService = migrationKeysService;
|
|
39
|
+
this.customEntitiesService = customEntitiesService;
|
|
39
40
|
this.appEnvironmentClient = appEnvironmentClient;
|
|
40
41
|
this.deployView = deployView;
|
|
41
|
-
this.
|
|
42
|
+
this.sandboxPackageUploadDeployCommand = sandboxPackageUploadDeployCommand;
|
|
43
|
+
this.nodePackageUploadDeployCommand = nodePackageUploadDeployCommand;
|
|
42
44
|
this.createEnvironmentCommand = createEnvironmentCommand;
|
|
43
45
|
}
|
|
44
46
|
isMpacProductionApp(mpacAppKey, environment) {
|
|
@@ -72,6 +74,7 @@ class DeployController {
|
|
|
72
74
|
return { proceed: true, connectKeyChanged: false, connectKeyDeleted: false };
|
|
73
75
|
}
|
|
74
76
|
async verifyPreDeployment(environment) {
|
|
77
|
+
var _a, _b;
|
|
75
78
|
this.deployView.displayLintRunning();
|
|
76
79
|
const { lintResults } = await this.lintService.run(environment, { fix: false }, this.deployView.getLogger());
|
|
77
80
|
const problemCount = this.lintService.problemCount(lintResults);
|
|
@@ -86,6 +89,14 @@ class DeployController {
|
|
|
86
89
|
else {
|
|
87
90
|
this.deployView.displayNoLintProblems();
|
|
88
91
|
}
|
|
92
|
+
const manifest = await this.configFile.readConfig();
|
|
93
|
+
if ((_b = (_a = manifest === null || manifest === void 0 ? void 0 : manifest.app) === null || _a === void 0 ? void 0 : _a.storage) === null || _b === void 0 ? void 0 : _b.entities) {
|
|
94
|
+
if (await this.customEntitiesService.isReindexingInProgress(environment)) {
|
|
95
|
+
if (!(await this.deployView.promptToContinueDeploymentWhileReindexing())) {
|
|
96
|
+
throw new errors_1.UserAbortError();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
89
100
|
}
|
|
90
101
|
async verifyPostDeployment(environment) {
|
|
91
102
|
var _a, _b;
|
|
@@ -95,7 +106,10 @@ class DeployController {
|
|
|
95
106
|
}
|
|
96
107
|
const manifest = await this.configFile.readConfig();
|
|
97
108
|
if ((_b = (_a = manifest === null || manifest === void 0 ? void 0 : manifest.app) === null || _a === void 0 ? void 0 : _a.storage) === null || _b === void 0 ? void 0 : _b.entities) {
|
|
98
|
-
this.
|
|
109
|
+
if (await this.customEntitiesService.isReindexingInProgress(environment)) {
|
|
110
|
+
this.deployView.displaySuccessfulDeploymentWhileReindexing();
|
|
111
|
+
}
|
|
112
|
+
this.deployView.displayIndexingCommand(environment);
|
|
99
113
|
}
|
|
100
114
|
}
|
|
101
115
|
async confirmAndCreateEnvironment(environment, nonInteractive) {
|
|
@@ -124,7 +138,7 @@ class DeployController {
|
|
|
124
138
|
async run({ environment, verify, nonInteractive }) {
|
|
125
139
|
const { id } = await this.appConfigProvider();
|
|
126
140
|
const appDetails = await this.getAppEnvironmentDetails(id, environment, nonInteractive);
|
|
127
|
-
this.deployView.displayStart(environment);
|
|
141
|
+
this.deployView.displayStart(environment, appDetails.environmentType);
|
|
128
142
|
let hasConnectKeyChanged = false;
|
|
129
143
|
let hasConnectKeyDeleted = false;
|
|
130
144
|
if (verify) {
|
|
@@ -152,7 +166,10 @@ class DeployController {
|
|
|
152
166
|
throw err;
|
|
153
167
|
}
|
|
154
168
|
}
|
|
155
|
-
const
|
|
169
|
+
const deployCommand = (await this.configFile.runtimeType()) === cli_shared_1.RuntimeType.nodejs
|
|
170
|
+
? this.nodePackageUploadDeployCommand
|
|
171
|
+
: this.sandboxPackageUploadDeployCommand;
|
|
172
|
+
const analytics = await this.deployView.reportDeploymentProgress(appDetails, hasProdInstallations, () => deployCommand.execute({ handlers, resources, environmentKey: environment }));
|
|
156
173
|
if (verify) {
|
|
157
174
|
await this.verifyPostDeployment(environment);
|
|
158
175
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line/controller/install-controller.ts"],"names":[],"mappings":";AAAA,OAAO,EAEL,iBAAiB,EAEjB,UAAU,EAEV,EAAE,
|
|
1
|
+
{"version":3,"file":"install-controller.d.ts","sourceRoot":"","sources":["../../../src/command-line/controller/install-controller.ts"],"names":[],"mappings":";AAAA,OAAO,EAEL,iBAAiB,EAEjB,UAAU,EAEV,EAAE,EASF,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAA6B,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,UAAU,gBAAgB;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;CACxB;AAYD,qBAAa,iBAAkB,SAAQ,KAAK;gBAC9B,WAAW,EAAE,MAAM;CAGhC;AASD,qBAAa,iBAAiB;IAE1B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBANZ,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,EAAE,EAAE,EAAE,EACN,qBAAqB,EAAE,qBAAqB,EAC5C,mBAAmB,EAAE,mBAAmB,EACxC,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,iBAAiB;YAGpC,cAAc;YAmBd,gBAAgB;YAuChB,gBAAgB;YAKhB,aAAa;YAeb,gBAAgB;IAqB9B,OAAO,CAAC,uCAAuC;IAalC,GAAG,CAAC,EACf,WAAW,EACX,IAAI,EACJ,OAAO,EACP,OAAO,EACP,aAAa,EACb,cAAc,EACf,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;YA6GrB,kBAAkB;CAYjC"}
|
|
@@ -5,7 +5,7 @@ const cli_shared_1 = require("@forge/cli-shared");
|
|
|
5
5
|
const manifest_1 = require("@forge/manifest");
|
|
6
6
|
class NoDeploymentError extends Error {
|
|
7
7
|
constructor(environment) {
|
|
8
|
-
super(cli_shared_1.Text.install.error.noDeploymentFound(
|
|
8
|
+
super(cli_shared_1.Text.install.error.noDeploymentFound(environment));
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
exports.NoDeploymentError = NoDeploymentError;
|
|
@@ -49,7 +49,7 @@ class InstallController {
|
|
|
49
49
|
});
|
|
50
50
|
return false;
|
|
51
51
|
}
|
|
52
|
-
}, text.cmd.start(environment, environmentType
|
|
52
|
+
}, text.cmd.start(environment, environmentType), (alreadyUpdated) => {
|
|
53
53
|
if (alreadyUpdated) {
|
|
54
54
|
return cli_shared_1.Text.upgrade.alreadyUpdated.spinner;
|
|
55
55
|
}
|
|
@@ -143,11 +143,11 @@ class InstallController {
|
|
|
143
143
|
return;
|
|
144
144
|
const isAlreadyUpdated = await this.installOrUpgrade(upgrade, environment, environmentType, site, product, id, text);
|
|
145
145
|
if (isAlreadyUpdated) {
|
|
146
|
-
this.ui.info(cli_shared_1.Text.upgrade.alreadyUpdated.banner(environment,
|
|
146
|
+
this.ui.info(cli_shared_1.Text.upgrade.alreadyUpdated.banner(environment, product, site.host));
|
|
147
147
|
}
|
|
148
148
|
else {
|
|
149
149
|
this.ui.emptyLine();
|
|
150
|
-
this.ui.info(text.success.banner(environment, environmentType,
|
|
150
|
+
this.ui.info(text.success.banner(environment, environmentType, product, site.host));
|
|
151
151
|
const uniqueProductsFromScopes = this.getUniqueInstallationProductsFromScopes(environmentScopes);
|
|
152
152
|
if (!uniqueProductsFromScopes || uniqueProductsFromScopes.length <= 1)
|
|
153
153
|
return;
|
|
@@ -162,7 +162,7 @@ class InstallController {
|
|
|
162
162
|
const productsToInstall = uniqueProductsFromScopes.filter((product) => !installedProducts.includes(product));
|
|
163
163
|
if (productsToInstall.length === 0 && productsToUpgrade.length === 0)
|
|
164
164
|
return;
|
|
165
|
-
this.ui.warn(cli_shared_1.Text.install.multiProductScopesDetected(productsToInstall, productsToUpgrade, site.host, environment
|
|
165
|
+
this.ui.warn(cli_shared_1.Text.install.multiProductScopesDetected(productsToInstall, productsToUpgrade, site.host, environment));
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
async extractAddedScopes({ addedScopes }) {
|