@forge/cli-shared 0.0.0-experimental-e05f7a2 → 0.0.0-experimental-d18f8dd
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 +266 -2
- package/out/app-logs/graphql-client.js +2 -2
- package/out/apps/create-app-graphql-client.js +1 -1
- package/out/auth/personal/me-graphql-client.d.ts.map +1 -1
- package/out/auth/personal/me-graphql-client.js +10 -1
- package/out/config/config-file.d.ts +1 -0
- package/out/config/config-file.d.ts.map +1 -1
- package/out/config/config-file.js +8 -1
- package/out/graphql/app-environment-graphql-client.js +1 -1
- package/out/graphql/graphql-types.d.ts +3184 -217
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +195 -4
- package/out/graphql/minimal-graphql-runner.d.ts +5 -0
- package/out/graphql/minimal-graphql-runner.d.ts.map +1 -1
- package/out/graphql/minimal-graphql-runner.js +15 -1
- package/out/graphql/mutation-aware-graphql-client.d.ts +1 -1
- package/out/shared/product.d.ts.map +1 -1
- package/out/shared/product.js +1 -1
- package/out/ui/text.d.ts +21 -4
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +37 -13
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,179 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
-
## 0.0.0-experimental-
|
|
3
|
+
## 0.0.0-experimental-d18f8dd
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d18f8dd: Force bump
|
|
8
|
+
- Updated dependencies [d18f8dd]
|
|
9
|
+
- Updated dependencies [ef3664d]
|
|
10
|
+
- Updated dependencies [ef3664d]
|
|
11
|
+
- Updated dependencies [ef3664d]
|
|
12
|
+
- Updated dependencies [ef3664d]
|
|
13
|
+
- @forge/manifest@0.0.0-experimental-d18f8dd
|
|
14
|
+
- @forge/util@0.0.0-experimental-d18f8dd
|
|
15
|
+
|
|
16
|
+
## 2.1.2-next.0
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [2809af6]
|
|
21
|
+
- @forge/manifest@2.2.1-next.0
|
|
22
|
+
|
|
23
|
+
## 2.1.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- 4b41a80: Added egress messaging to install prompts
|
|
28
|
+
- ae076c2: Make tunnel preamble friendlier
|
|
29
|
+
- Updated dependencies [a98977f]
|
|
30
|
+
- Updated dependencies [3e56133]
|
|
31
|
+
- Updated dependencies [4acce41]
|
|
32
|
+
- Updated dependencies [0d25702]
|
|
33
|
+
- Updated dependencies [cc9264b]
|
|
34
|
+
- Updated dependencies [f7402cd]
|
|
35
|
+
- Updated dependencies [7650b85]
|
|
36
|
+
- Updated dependencies [22e7ed8]
|
|
37
|
+
- Updated dependencies [0e18c6b]
|
|
38
|
+
- Updated dependencies [edaa58e]
|
|
39
|
+
- Updated dependencies [69007db]
|
|
40
|
+
- @forge/manifest@2.2.0
|
|
41
|
+
|
|
42
|
+
## 2.1.1-next.7
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- Updated dependencies [f7402cd]
|
|
47
|
+
- @forge/manifest@2.2.0-next.5
|
|
48
|
+
|
|
49
|
+
## 2.1.1-next.6
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- Updated dependencies [22e7ed8]
|
|
54
|
+
- @forge/manifest@2.2.0-next.4
|
|
55
|
+
|
|
56
|
+
## 2.1.1-next.5
|
|
57
|
+
|
|
58
|
+
### Patch Changes
|
|
59
|
+
|
|
60
|
+
- Updated dependencies [3e56133]
|
|
61
|
+
- Updated dependencies [cc9264b]
|
|
62
|
+
- Updated dependencies [edaa58e]
|
|
63
|
+
- @forge/manifest@2.2.0-next.3
|
|
64
|
+
|
|
65
|
+
## 2.1.1-next.4
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- 4b41a80: Added egress messaging to install prompts
|
|
70
|
+
|
|
71
|
+
## 2.1.1-next.3
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- Updated dependencies [4acce41]
|
|
76
|
+
- Updated dependencies [0e18c6b]
|
|
77
|
+
- Updated dependencies [69007db]
|
|
78
|
+
- @forge/manifest@2.2.0-next.2
|
|
79
|
+
|
|
80
|
+
## 2.1.1-next.2
|
|
81
|
+
|
|
82
|
+
### Patch Changes
|
|
83
|
+
|
|
84
|
+
- ae076c2: Make tunnel preamble friendlier
|
|
85
|
+
|
|
86
|
+
## 2.1.1-next.1
|
|
87
|
+
|
|
88
|
+
### Patch Changes
|
|
89
|
+
|
|
90
|
+
- Updated dependencies [9a10349]
|
|
91
|
+
- Updated dependencies [0d25702]
|
|
92
|
+
- Updated dependencies [7650b85]
|
|
93
|
+
- @forge/manifest@2.2.0-next.1
|
|
94
|
+
|
|
95
|
+
## 2.1.1-next.0
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- Updated dependencies [a98977f]
|
|
100
|
+
- @forge/manifest@2.1.1-next.0
|
|
101
|
+
|
|
102
|
+
## 2.1.0
|
|
103
|
+
|
|
104
|
+
### Minor Changes
|
|
105
|
+
|
|
106
|
+
- a5797b3: Added compass as a supported product on the CLI
|
|
107
|
+
|
|
108
|
+
### Patch Changes
|
|
109
|
+
|
|
110
|
+
- 9ff0508: change install upgrade messaging to be clearer about egress
|
|
111
|
+
- Updated dependencies [61ee941]
|
|
112
|
+
- Updated dependencies [7058989]
|
|
113
|
+
- Updated dependencies [a5797b3]
|
|
114
|
+
- Updated dependencies [0ecb62b]
|
|
115
|
+
- Updated dependencies [8ca3512]
|
|
116
|
+
- Updated dependencies [bb69754]
|
|
117
|
+
- Updated dependencies [f3c58fb]
|
|
118
|
+
- Updated dependencies [35d4e6e]
|
|
119
|
+
- Updated dependencies [fcfbc09]
|
|
120
|
+
- @forge/manifest@2.1.0
|
|
121
|
+
|
|
122
|
+
## 2.1.0-next.6
|
|
123
|
+
|
|
124
|
+
### Patch Changes
|
|
125
|
+
|
|
126
|
+
- Updated dependencies [bb69754]
|
|
127
|
+
- @forge/manifest@2.1.0-next.5
|
|
128
|
+
|
|
129
|
+
## 2.1.0-next.5
|
|
130
|
+
|
|
131
|
+
### Patch Changes
|
|
132
|
+
|
|
133
|
+
- Updated dependencies [7058989]
|
|
134
|
+
- Updated dependencies [35d4e6e]
|
|
135
|
+
- Updated dependencies [fcfbc09]
|
|
136
|
+
- @forge/manifest@2.1.0-next.4
|
|
137
|
+
|
|
138
|
+
## 2.1.0-next.4
|
|
139
|
+
|
|
140
|
+
### Patch Changes
|
|
141
|
+
|
|
142
|
+
- Updated dependencies [61ee941]
|
|
143
|
+
- @forge/manifest@2.1.0-next.3
|
|
144
|
+
|
|
145
|
+
## 2.1.0-next.3
|
|
146
|
+
|
|
147
|
+
### Patch Changes
|
|
148
|
+
|
|
149
|
+
- 9ff0508: change install upgrade messaging to be clearer about egress
|
|
150
|
+
|
|
151
|
+
## 2.1.0-next.2
|
|
152
|
+
|
|
153
|
+
### Patch Changes
|
|
154
|
+
|
|
155
|
+
- Updated dependencies [8ca3512]
|
|
156
|
+
- @forge/manifest@2.1.0-next.2
|
|
157
|
+
|
|
158
|
+
## 2.1.0-next.1
|
|
159
|
+
|
|
160
|
+
### Minor Changes
|
|
161
|
+
|
|
162
|
+
- a5797b3: Added compass as a supported product on the CLI
|
|
163
|
+
|
|
164
|
+
### Patch Changes
|
|
165
|
+
|
|
166
|
+
- Updated dependencies [a5797b3]
|
|
167
|
+
- @forge/manifest@2.1.0-next.1
|
|
168
|
+
|
|
169
|
+
## 2.0.1-next.0
|
|
170
|
+
|
|
171
|
+
### Patch Changes
|
|
172
|
+
|
|
173
|
+
- Updated dependencies [f3c58fb]
|
|
174
|
+
- @forge/manifest@2.0.1-next.0
|
|
175
|
+
|
|
176
|
+
## 2.0.0
|
|
4
177
|
|
|
5
178
|
### Major Changes
|
|
6
179
|
|
|
@@ -8,17 +181,108 @@
|
|
|
8
181
|
|
|
9
182
|
### Minor Changes
|
|
10
183
|
|
|
184
|
+
- 9d9c302: Forge deploy command handles warnings and errors for app.connect.key changes
|
|
11
185
|
- 1a759c3: Remove name from the @forge/cli manifest and register/create commands
|
|
186
|
+
- 0aeac8c: Migrate legacy commands to new format
|
|
187
|
+
- 3c47373: Add deprecation hint to old commands and rename install remove back to uninstall
|
|
12
188
|
|
|
13
189
|
### Patch Changes
|
|
14
190
|
|
|
191
|
+
- c0b25b5: Fix client headers
|
|
192
|
+
- 0700578: Fix GraphQL query naming convention
|
|
15
193
|
- Updated dependencies [ed3cb06]
|
|
194
|
+
- Updated dependencies [117d2fd]
|
|
16
195
|
- Updated dependencies [88ee5f0]
|
|
196
|
+
- Updated dependencies [71ce55a]
|
|
197
|
+
- Updated dependencies [b0097a5]
|
|
198
|
+
- Updated dependencies [3b12caf]
|
|
199
|
+
- Updated dependencies [89d91a8]
|
|
200
|
+
- Updated dependencies [527e29c]
|
|
17
201
|
- Updated dependencies [5082937]
|
|
18
202
|
- Updated dependencies [71d16dc]
|
|
203
|
+
- Updated dependencies [ee74076]
|
|
204
|
+
- Updated dependencies [e9bcadd]
|
|
19
205
|
- Updated dependencies [8acb251]
|
|
206
|
+
- Updated dependencies [75f66a8]
|
|
20
207
|
- Updated dependencies [be1b2be]
|
|
21
|
-
- @forge/manifest@
|
|
208
|
+
- @forge/manifest@2.0.0
|
|
209
|
+
|
|
210
|
+
## 2.0.0-next.16
|
|
211
|
+
|
|
212
|
+
### Minor Changes
|
|
213
|
+
|
|
214
|
+
- 3c47373: Add deprecation hint to old commands and rename install remove back to uninstall
|
|
215
|
+
|
|
216
|
+
## 2.0.0-next.15
|
|
217
|
+
|
|
218
|
+
### Patch Changes
|
|
219
|
+
|
|
220
|
+
- Updated dependencies [e9bcadd]
|
|
221
|
+
- @forge/manifest@2.0.0-next.10
|
|
222
|
+
|
|
223
|
+
## 2.0.0-next.14
|
|
224
|
+
|
|
225
|
+
### Patch Changes
|
|
226
|
+
|
|
227
|
+
- Updated dependencies [117d2fd]
|
|
228
|
+
- @forge/manifest@2.0.0-next.9
|
|
229
|
+
|
|
230
|
+
## 2.0.0-next.13
|
|
231
|
+
|
|
232
|
+
### Minor Changes
|
|
233
|
+
|
|
234
|
+
- 9d9c302: Forge deploy command handles warnings and errors for app.connect.key changes
|
|
235
|
+
|
|
236
|
+
## 2.0.0-next.12
|
|
237
|
+
|
|
238
|
+
### Patch Changes
|
|
239
|
+
|
|
240
|
+
- c0b25b5: Fix client headers
|
|
241
|
+
- Updated dependencies [3b12caf]
|
|
242
|
+
- @forge/manifest@2.0.0-next.8
|
|
243
|
+
|
|
244
|
+
## 2.0.0-next.11
|
|
245
|
+
|
|
246
|
+
### Minor Changes
|
|
247
|
+
|
|
248
|
+
- 0aeac8c: Migrate legacy commands to new format
|
|
249
|
+
|
|
250
|
+
## 2.0.0-next.10
|
|
251
|
+
|
|
252
|
+
### Patch Changes
|
|
253
|
+
|
|
254
|
+
- 0700578: Fix GraphQL query naming convention
|
|
255
|
+
|
|
256
|
+
## 2.0.0-next.9
|
|
257
|
+
|
|
258
|
+
### Patch Changes
|
|
259
|
+
|
|
260
|
+
- Updated dependencies [71ce55a]
|
|
261
|
+
- @forge/manifest@1.6.0-next.7
|
|
262
|
+
|
|
263
|
+
## 2.0.0-next.8
|
|
264
|
+
|
|
265
|
+
### Patch Changes
|
|
266
|
+
|
|
267
|
+
- Updated dependencies [527e29c]
|
|
268
|
+
- Updated dependencies [ee74076]
|
|
269
|
+
- @forge/manifest@1.6.0-next.6
|
|
270
|
+
|
|
271
|
+
## 2.0.0-next.7
|
|
272
|
+
|
|
273
|
+
### Patch Changes
|
|
274
|
+
|
|
275
|
+
- Updated dependencies [b0097a5]
|
|
276
|
+
- Updated dependencies [75f66a8]
|
|
277
|
+
- @forge/manifest@1.6.0-next.5
|
|
278
|
+
|
|
279
|
+
## 2.0.0-next.6
|
|
280
|
+
|
|
281
|
+
### Patch Changes
|
|
282
|
+
|
|
283
|
+
- Updated dependencies [89d91a8]
|
|
284
|
+
- Updated dependencies [8acb251]
|
|
285
|
+
- @forge/manifest@1.6.0-next.4
|
|
22
286
|
|
|
23
287
|
## 2.0.0-next.5
|
|
24
288
|
|
|
@@ -32,7 +32,7 @@ class LogsGraphQLClient {
|
|
|
32
32
|
}
|
|
33
33
|
async viewAppLogs(details) {
|
|
34
34
|
const query = `
|
|
35
|
-
query
|
|
35
|
+
query forge_cli_getApplicationLogs($appId: ID!, $environmentId: [ID!]!, $limit: Int!, $contextAri: [ID!], $startTime: String) {
|
|
36
36
|
appLogs(
|
|
37
37
|
appId: $appId,
|
|
38
38
|
environmentId: $environmentId,
|
|
@@ -117,7 +117,7 @@ class LogsGraphQLClient {
|
|
|
117
117
|
}
|
|
118
118
|
async getInvocationLogs(filter) {
|
|
119
119
|
const query = `
|
|
120
|
-
query
|
|
120
|
+
query forge_cli_getInvocationLogs($invocationId: ID!, $after: String) {
|
|
121
121
|
appLogLines(
|
|
122
122
|
after: $after,
|
|
123
123
|
invocation: $invocationId
|
|
@@ -12,7 +12,7 @@ class CreateAppGraphQLClient {
|
|
|
12
12
|
}
|
|
13
13
|
async createApp(input) {
|
|
14
14
|
const createAppQuery = `
|
|
15
|
-
mutation
|
|
15
|
+
mutation forge_cli_createApplication($input: CreateAppInput!) {
|
|
16
16
|
createApp(input: $input) {
|
|
17
17
|
success
|
|
18
18
|
errors {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"me-graphql-client.d.ts","sourceRoot":"","sources":["../../../src/auth/personal/me-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAgB,MAAM,EAAE,MAAM,UAAU,CAAC;AAEhD,qBAAa,iBAAkB,SAAQ,KAAK;CAAG;AAE/C,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,aAAa;IAAiB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAArD,aAAa,EAAE,aAAa,EAAmB,MAAM,EAAE,MAAM;IAE7E,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"me-graphql-client.d.ts","sourceRoot":"","sources":["../../../src/auth/personal/me-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAgB,MAAM,EAAE,MAAM,UAAU,CAAC;AAEhD,qBAAa,iBAAkB,SAAQ,KAAK;CAAG;AAE/C,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,aAAa;IAAiB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAArD,aAAa,EAAE,aAAa,EAAmB,MAAM,EAAE,MAAM;IAE7E,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAwBtC"}
|
|
@@ -12,7 +12,16 @@ class MeGraphqlClient {
|
|
|
12
12
|
}
|
|
13
13
|
async getUser() {
|
|
14
14
|
try {
|
|
15
|
-
const query =
|
|
15
|
+
const query = `
|
|
16
|
+
query forge_cli_getUserDetails {
|
|
17
|
+
me {
|
|
18
|
+
user {
|
|
19
|
+
name
|
|
20
|
+
accountStatus
|
|
21
|
+
accountId
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}`;
|
|
16
25
|
const result = await this.graphqlClient.query(query, {});
|
|
17
26
|
if (result.me.user && result.me.user.accountStatus === 'active') {
|
|
18
27
|
return result.me.user;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-file.d.ts","sourceRoot":"","sources":["../../src/config/config-file.ts"],"names":[],"mappings":"AAAA,OAAa,EAAwB,QAAQ,EAAE,MAAM,MAAM,CAAC;AAI5D,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gB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IAW5D,gBAAgB,IAAI,OAAO,CAAC,OAAO,CAAC;IAMjD,OAAO,CAAC,kBAAkB;IAmBb,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAapD,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAe3F,OAAO,CAAC,qBAAqB;IAY7B,OAAO,CAAC,oBAAoB;IAKf,oBAAoB,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;KAAE,EAAE,CAAC;IAsClF,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAe1E,YAAY,IAAI,OAAO,CAAC,eAAe,EAAE,CAAC;IA0B1C,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;CAI1D"}
|
|
@@ -137,7 +137,9 @@ class ConfigFile {
|
|
|
137
137
|
});
|
|
138
138
|
});
|
|
139
139
|
const egressUrls = getDomainsFromPermissions(otherEgress);
|
|
140
|
-
const fetchUrls =
|
|
140
|
+
const fetchUrls = fetchEgress
|
|
141
|
+
? getDomainsFromPermissions(fetchEgress, 'fetch')
|
|
142
|
+
: [];
|
|
141
143
|
return [...egressUrls, ...fetchUrls];
|
|
142
144
|
}
|
|
143
145
|
async getAuthProviders() {
|
|
@@ -170,5 +172,10 @@ class ConfigFile {
|
|
|
170
172
|
const validResourcesWithDetails = validResources.map((resource) => (Object.assign(Object.assign({}, resource), { resourceType: getResourceType(resource.key) })));
|
|
171
173
|
return validResourcesWithDetails || [];
|
|
172
174
|
}
|
|
175
|
+
async getConnectKey() {
|
|
176
|
+
var _a;
|
|
177
|
+
const { app } = await this.readConfig();
|
|
178
|
+
return (_a = app.connect) === null || _a === void 0 ? void 0 : _a.key;
|
|
179
|
+
}
|
|
173
180
|
}
|
|
174
181
|
exports.ConfigFile = ConfigFile;
|
|
@@ -20,7 +20,7 @@ class AppEnvironmentsGraphqlClient {
|
|
|
20
20
|
}
|
|
21
21
|
async getAppEnvironmentId(appId, environmentKey) {
|
|
22
22
|
const query = `
|
|
23
|
-
query
|
|
23
|
+
query forge_cli_getApplicationEnvironmentId($id: ID!, $key: String!) {
|
|
24
24
|
app(id: $id) {
|
|
25
25
|
environmentByKey(key: $key) {
|
|
26
26
|
id
|