@forge/cli-shared 0.0.0-experimental-9fff5da → 0.0.0-experimental-7c72fec
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 +565 -2
- package/out/apps/template.d.ts +11 -5
- package/out/apps/template.d.ts.map +1 -1
- package/out/apps/template.js +25 -18
- package/out/config/config-file.d.ts +3 -1
- package/out/config/config-file.d.ts.map +1 -1
- package/out/config/config-file.js +20 -6
- package/out/graphql/graphql-types.d.ts +8018 -3367
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +492 -24
- package/out/graphql/mutation-aware-graphql-client.d.ts +1 -1
- package/out/graphql/mutation-aware-graphql-client.d.ts.map +1 -1
- package/out/ui/text.js +6 -6
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,577 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
-
## 0.0.0-experimental-
|
|
3
|
+
## 0.0.0-experimental-7c72fec
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- Updated dependencies [7c72fec]
|
|
8
|
+
- Updated dependencies [c145946]
|
|
9
|
+
- Updated dependencies [813f8f3]
|
|
10
|
+
- Updated dependencies [8ee1c58]
|
|
11
|
+
- Updated dependencies [5152239]
|
|
12
|
+
- @forge/manifest@0.0.0-experimental-7c72fec
|
|
13
|
+
|
|
14
|
+
## 2.2.1-next.0
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [813f8f3]
|
|
19
|
+
- Updated dependencies [5152239]
|
|
20
|
+
- @forge/manifest@3.1.0-next.0
|
|
21
|
+
|
|
22
|
+
## 2.2.0
|
|
23
|
+
|
|
24
|
+
### Minor Changes
|
|
25
|
+
|
|
26
|
+
- b63af27: Refactor templates code to be more generic in order to ease implementing other templating methods
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- 1dba082: Handle the manifest case of remotes found in the egress permissions section when installing an app
|
|
31
|
+
- Updated dependencies [bd6e025]
|
|
32
|
+
- Updated dependencies [1c196ff]
|
|
33
|
+
- Updated dependencies [271b98a]
|
|
34
|
+
- Updated dependencies [4cfa56d]
|
|
35
|
+
- Updated dependencies [22a488e]
|
|
36
|
+
- Updated dependencies [218fe20]
|
|
37
|
+
- Updated dependencies [2bca1c0]
|
|
38
|
+
- Updated dependencies [689c09b]
|
|
39
|
+
- Updated dependencies [b97660c]
|
|
40
|
+
- Updated dependencies [7c0d2ee]
|
|
41
|
+
- Updated dependencies [1dba082]
|
|
42
|
+
- Updated dependencies [d3afe01]
|
|
43
|
+
- Updated dependencies [dfe9dd8]
|
|
44
|
+
- Updated dependencies [91ea057]
|
|
45
|
+
- Updated dependencies [3010f0e]
|
|
46
|
+
- Updated dependencies [2b7c32b]
|
|
47
|
+
- Updated dependencies [e7ee3a7]
|
|
48
|
+
- Updated dependencies [92d081d]
|
|
49
|
+
- Updated dependencies [d3c8c8d]
|
|
50
|
+
- Updated dependencies [fca240d]
|
|
51
|
+
- Updated dependencies [36c7c8f]
|
|
52
|
+
- Updated dependencies [d2f6992]
|
|
53
|
+
- Updated dependencies [d18c9f1]
|
|
54
|
+
- Updated dependencies [1dba082]
|
|
55
|
+
- Updated dependencies [fa963b1]
|
|
56
|
+
- Updated dependencies [0a7725f]
|
|
57
|
+
- Updated dependencies [1dba082]
|
|
58
|
+
- Updated dependencies [e4a14c7]
|
|
59
|
+
- Updated dependencies [2bb89c5]
|
|
60
|
+
- Updated dependencies [5875eb3]
|
|
61
|
+
- Updated dependencies [0a39c43]
|
|
62
|
+
- @forge/manifest@3.0.0
|
|
63
|
+
|
|
64
|
+
## 2.2.0-next.22
|
|
65
|
+
|
|
66
|
+
### Patch Changes
|
|
67
|
+
|
|
68
|
+
- Updated dependencies [4cfa56d]
|
|
69
|
+
- Updated dependencies [fca240d]
|
|
70
|
+
- @forge/manifest@3.0.0-next.21
|
|
71
|
+
|
|
72
|
+
## 2.2.0-next.21
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Updated dependencies [271b98a]
|
|
77
|
+
- Updated dependencies [2bca1c0]
|
|
78
|
+
- @forge/manifest@2.6.0-next.20
|
|
79
|
+
|
|
80
|
+
## 2.2.0-next.20
|
|
81
|
+
|
|
82
|
+
### Patch Changes
|
|
83
|
+
|
|
84
|
+
- Updated dependencies [d18c9f1]
|
|
85
|
+
- Updated dependencies [5875eb3]
|
|
86
|
+
- @forge/manifest@2.6.0-next.19
|
|
87
|
+
|
|
88
|
+
## 2.2.0-next.19
|
|
89
|
+
|
|
90
|
+
### Patch Changes
|
|
91
|
+
|
|
92
|
+
- Updated dependencies [1c196ff]
|
|
93
|
+
- Updated dependencies [e7ee3a7]
|
|
94
|
+
- @forge/manifest@2.6.0-next.18
|
|
95
|
+
|
|
96
|
+
## 2.2.0-next.18
|
|
97
|
+
|
|
98
|
+
### Patch Changes
|
|
99
|
+
|
|
100
|
+
- Updated dependencies [fa963b1]
|
|
101
|
+
- @forge/manifest@2.6.0-next.17
|
|
102
|
+
|
|
103
|
+
## 2.2.0-next.17
|
|
104
|
+
|
|
105
|
+
### Patch Changes
|
|
106
|
+
|
|
107
|
+
- Updated dependencies [218fe20]
|
|
108
|
+
- @forge/manifest@2.6.0-next.16
|
|
109
|
+
|
|
110
|
+
## 2.2.0-next.16
|
|
111
|
+
|
|
112
|
+
### Minor Changes
|
|
113
|
+
|
|
114
|
+
- b63af27: Refactor templates code to be more generic in order to ease implementing other templating methods
|
|
115
|
+
|
|
116
|
+
### Patch Changes
|
|
117
|
+
|
|
118
|
+
- Updated dependencies [e4a14c7]
|
|
119
|
+
- @forge/manifest@2.6.0-next.15
|
|
120
|
+
|
|
121
|
+
## 2.1.6-next.15
|
|
122
|
+
|
|
123
|
+
### Patch Changes
|
|
124
|
+
|
|
125
|
+
- Updated dependencies [2b7c32b]
|
|
126
|
+
- @forge/manifest@2.6.0-next.14
|
|
127
|
+
|
|
128
|
+
## 2.1.6-next.14
|
|
129
|
+
|
|
130
|
+
### Patch Changes
|
|
131
|
+
|
|
132
|
+
- Updated dependencies [a0a2c5b]
|
|
133
|
+
- Updated dependencies [689c09b]
|
|
134
|
+
- Updated dependencies [92d081d]
|
|
135
|
+
- Updated dependencies [36c7c8f]
|
|
136
|
+
- @forge/manifest@2.6.0-next.13
|
|
137
|
+
|
|
138
|
+
## 2.1.6-next.13
|
|
139
|
+
|
|
140
|
+
### Patch Changes
|
|
141
|
+
|
|
142
|
+
- Updated dependencies [62089be]
|
|
143
|
+
- @forge/manifest@2.6.0-next.12
|
|
144
|
+
|
|
145
|
+
## 2.1.6-next.12
|
|
146
|
+
|
|
147
|
+
### Patch Changes
|
|
148
|
+
|
|
149
|
+
- Updated dependencies [dfe9dd8]
|
|
150
|
+
- Updated dependencies [d3c8c8d]
|
|
151
|
+
- Updated dependencies [0a7725f]
|
|
152
|
+
- Updated dependencies [2bb89c5]
|
|
153
|
+
- @forge/manifest@2.6.0-next.11
|
|
154
|
+
|
|
155
|
+
## 2.1.6-next.11
|
|
156
|
+
|
|
157
|
+
### Patch Changes
|
|
158
|
+
|
|
159
|
+
- Updated dependencies [bd6e025]
|
|
160
|
+
- Updated dependencies [d2f6992]
|
|
161
|
+
- @forge/manifest@2.6.0-next.10
|
|
162
|
+
|
|
163
|
+
## 2.1.6-next.10
|
|
164
|
+
|
|
165
|
+
### Patch Changes
|
|
166
|
+
|
|
167
|
+
- Updated dependencies [22a488ec]
|
|
168
|
+
- @forge/manifest@2.6.0-next.9
|
|
169
|
+
|
|
170
|
+
## 2.1.6-next.9
|
|
171
|
+
|
|
172
|
+
### Patch Changes
|
|
173
|
+
|
|
174
|
+
- Updated dependencies [c0e5696]
|
|
175
|
+
- Updated dependencies [7c0d2ee]
|
|
176
|
+
- @forge/manifest@2.6.0-next.8
|
|
177
|
+
|
|
178
|
+
## 2.1.6-next.8
|
|
179
|
+
|
|
180
|
+
### Patch Changes
|
|
181
|
+
|
|
182
|
+
- Updated dependencies [d3afe01]
|
|
183
|
+
- @forge/manifest@2.6.0-next.7
|
|
184
|
+
|
|
185
|
+
## 2.1.6-next.7
|
|
186
|
+
|
|
187
|
+
### Patch Changes
|
|
188
|
+
|
|
189
|
+
- Updated dependencies [cdd8645]
|
|
190
|
+
- Updated dependencies [b97660c]
|
|
191
|
+
- @forge/manifest@2.6.0-next.6
|
|
192
|
+
|
|
193
|
+
## 2.1.6-next.6
|
|
194
|
+
|
|
195
|
+
### Patch Changes
|
|
196
|
+
|
|
197
|
+
- Updated dependencies [0a39c43]
|
|
198
|
+
- @forge/manifest@2.6.0-next.5
|
|
199
|
+
|
|
200
|
+
## 2.1.6-next.5
|
|
201
|
+
|
|
202
|
+
### Patch Changes
|
|
203
|
+
|
|
204
|
+
- Updated dependencies [91ea057]
|
|
205
|
+
- @forge/manifest@2.5.1-next.4
|
|
206
|
+
|
|
207
|
+
## 2.1.6-next.4
|
|
208
|
+
|
|
209
|
+
### Patch Changes
|
|
210
|
+
|
|
211
|
+
- Updated dependencies [3010f0e]
|
|
212
|
+
- @forge/manifest@2.5.1-next.3
|
|
213
|
+
|
|
214
|
+
## 2.1.6-next.3
|
|
215
|
+
|
|
216
|
+
### Patch Changes
|
|
217
|
+
|
|
218
|
+
- Updated dependencies [a017696]
|
|
219
|
+
- @forge/manifest@2.5.1-next.2
|
|
220
|
+
|
|
221
|
+
## 2.1.6-next.2
|
|
222
|
+
|
|
223
|
+
### Patch Changes
|
|
224
|
+
|
|
225
|
+
- Updated dependencies [af1473c]
|
|
226
|
+
- @forge/manifest@2.5.1-next.1
|
|
227
|
+
|
|
228
|
+
## 2.1.6-next.1
|
|
229
|
+
|
|
230
|
+
### Patch Changes
|
|
231
|
+
|
|
232
|
+
- Updated dependencies [06209fc]
|
|
233
|
+
- @forge/manifest@2.5.1-next.0
|
|
234
|
+
|
|
235
|
+
## 2.1.6-next.0
|
|
236
|
+
|
|
237
|
+
### Patch Changes
|
|
238
|
+
|
|
239
|
+
- 2338be5: Handle the manifest case of remotes found in the egress permissions section when installing an app
|
|
240
|
+
|
|
241
|
+
## 2.1.5
|
|
242
|
+
|
|
243
|
+
### Patch Changes
|
|
244
|
+
|
|
245
|
+
- Updated dependencies [4de9850]
|
|
246
|
+
- Updated dependencies [70e9c8c]
|
|
247
|
+
- Updated dependencies [fde4ba7]
|
|
248
|
+
- Updated dependencies [601527b]
|
|
249
|
+
- Updated dependencies [755e35e]
|
|
250
|
+
- Updated dependencies [a5656f6]
|
|
251
|
+
- Updated dependencies [cc8799c]
|
|
252
|
+
- Updated dependencies [f5eb8e0]
|
|
253
|
+
- Updated dependencies [f013199]
|
|
254
|
+
- Updated dependencies [78d682f]
|
|
255
|
+
- Updated dependencies [70e9c8c]
|
|
256
|
+
- Updated dependencies [dec8066]
|
|
257
|
+
- Updated dependencies [0e82242]
|
|
258
|
+
- @forge/manifest@2.5.0
|
|
259
|
+
|
|
260
|
+
## 2.1.5-next.10
|
|
261
|
+
|
|
262
|
+
### Patch Changes
|
|
263
|
+
|
|
264
|
+
- Updated dependencies [fde4ba7]
|
|
265
|
+
- @forge/manifest@2.5.0-next.10
|
|
266
|
+
|
|
267
|
+
## 2.1.5-next.9
|
|
268
|
+
|
|
269
|
+
### Patch Changes
|
|
270
|
+
|
|
271
|
+
- Updated dependencies [601527b]
|
|
272
|
+
- @forge/manifest@2.5.0-next.9
|
|
273
|
+
|
|
274
|
+
## 2.1.5-next.8
|
|
275
|
+
|
|
276
|
+
### Patch Changes
|
|
277
|
+
|
|
278
|
+
- Updated dependencies [a5656f6]
|
|
279
|
+
- Updated dependencies [78d682f]
|
|
280
|
+
- @forge/manifest@2.5.0-next.8
|
|
281
|
+
|
|
282
|
+
## 2.1.5-next.7
|
|
283
|
+
|
|
284
|
+
### Patch Changes
|
|
285
|
+
|
|
286
|
+
- Updated dependencies [cc8799c]
|
|
287
|
+
- @forge/manifest@2.5.0-next.7
|
|
288
|
+
|
|
289
|
+
## 2.1.5-next.6
|
|
290
|
+
|
|
291
|
+
### Patch Changes
|
|
292
|
+
|
|
293
|
+
- Updated dependencies [0e82242]
|
|
294
|
+
- @forge/manifest@2.5.0-next.6
|
|
295
|
+
|
|
296
|
+
## 2.1.5-next.5
|
|
297
|
+
|
|
298
|
+
### Patch Changes
|
|
299
|
+
|
|
300
|
+
- Updated dependencies [f5eb8e0]
|
|
301
|
+
- @forge/manifest@2.5.0-next.5
|
|
302
|
+
|
|
303
|
+
## 2.1.5-next.4
|
|
304
|
+
|
|
305
|
+
### Patch Changes
|
|
306
|
+
|
|
307
|
+
- Updated dependencies [4de9850]
|
|
308
|
+
- @forge/manifest@2.5.0-next.4
|
|
309
|
+
|
|
310
|
+
## 2.1.5-next.3
|
|
311
|
+
|
|
312
|
+
### Patch Changes
|
|
313
|
+
|
|
314
|
+
- Updated dependencies [dec8066]
|
|
315
|
+
- @forge/manifest@2.5.0-next.3
|
|
316
|
+
|
|
317
|
+
## 2.1.5-next.2
|
|
318
|
+
|
|
319
|
+
### Patch Changes
|
|
320
|
+
|
|
321
|
+
- Updated dependencies [755e35e]
|
|
322
|
+
- Updated dependencies [f013199]
|
|
323
|
+
- @forge/manifest@2.5.0-next.2
|
|
324
|
+
|
|
325
|
+
## 2.1.5-next.1
|
|
326
|
+
|
|
327
|
+
### Patch Changes
|
|
328
|
+
|
|
329
|
+
- Updated dependencies [66f60f9]
|
|
330
|
+
- @forge/manifest@2.5.0-next.1
|
|
331
|
+
|
|
332
|
+
## 2.1.5-next.0
|
|
333
|
+
|
|
334
|
+
### Patch Changes
|
|
335
|
+
|
|
336
|
+
- Updated dependencies [bc0c83b]
|
|
337
|
+
- @forge/manifest@2.4.1-next.0
|
|
338
|
+
|
|
339
|
+
## 2.1.4
|
|
340
|
+
|
|
341
|
+
### Patch Changes
|
|
342
|
+
|
|
343
|
+
- Updated dependencies [fbcb4a3]
|
|
344
|
+
- Updated dependencies [4608ccd]
|
|
345
|
+
- Updated dependencies [0bc8683]
|
|
346
|
+
- Updated dependencies [f08a9cb]
|
|
347
|
+
- Updated dependencies [e28cc2c]
|
|
348
|
+
- Updated dependencies [b415d76]
|
|
349
|
+
- Updated dependencies [b91d511]
|
|
350
|
+
- Updated dependencies [daa138b]
|
|
351
|
+
- Updated dependencies [33cbdba]
|
|
352
|
+
- Updated dependencies [ee3919d]
|
|
353
|
+
- Updated dependencies [ba6d463]
|
|
354
|
+
- Updated dependencies [1d7f9f1]
|
|
355
|
+
- Updated dependencies [82167f3]
|
|
356
|
+
- Updated dependencies [873f913]
|
|
357
|
+
- Updated dependencies [a9bdd4f]
|
|
358
|
+
- Updated dependencies [2ea75dd]
|
|
359
|
+
- @forge/manifest@2.4.0
|
|
360
|
+
- @forge/util@1.0.1
|
|
361
|
+
|
|
362
|
+
## 2.1.4-next.9
|
|
363
|
+
|
|
364
|
+
### Patch Changes
|
|
365
|
+
|
|
366
|
+
- Updated dependencies [ba6d463]
|
|
367
|
+
- @forge/manifest@2.4.0-next.9
|
|
368
|
+
|
|
369
|
+
## 2.1.4-next.8
|
|
370
|
+
|
|
371
|
+
### Patch Changes
|
|
372
|
+
|
|
373
|
+
- Updated dependencies [e28cc2c]
|
|
374
|
+
- Updated dependencies [ee3919d]
|
|
375
|
+
- @forge/manifest@2.4.0-next.8
|
|
376
|
+
|
|
377
|
+
## 2.1.4-next.7
|
|
378
|
+
|
|
379
|
+
### Patch Changes
|
|
380
|
+
|
|
381
|
+
- Updated dependencies [daa138b]
|
|
382
|
+
- Updated dependencies [2ea75dd]
|
|
383
|
+
- @forge/manifest@2.4.0-next.7
|
|
384
|
+
|
|
385
|
+
## 2.1.4-next.6
|
|
386
|
+
|
|
387
|
+
### Patch Changes
|
|
388
|
+
|
|
389
|
+
- Updated dependencies [f08a9cb]
|
|
390
|
+
- Updated dependencies [873f913]
|
|
391
|
+
- @forge/manifest@2.4.0-next.6
|
|
392
|
+
|
|
393
|
+
## 2.1.4-next.5
|
|
394
|
+
|
|
395
|
+
### Patch Changes
|
|
396
|
+
|
|
397
|
+
- Updated dependencies [fbcb4a3]
|
|
398
|
+
- Updated dependencies [a9bdd4f]
|
|
399
|
+
- @forge/manifest@2.4.0-next.5
|
|
400
|
+
|
|
401
|
+
## 2.1.4-next.4
|
|
402
|
+
|
|
403
|
+
### Patch Changes
|
|
404
|
+
|
|
405
|
+
- Updated dependencies [0bc8683]
|
|
406
|
+
- @forge/manifest@2.3.1-next.4
|
|
407
|
+
|
|
408
|
+
## 2.1.4-next.3
|
|
409
|
+
|
|
410
|
+
### Patch Changes
|
|
411
|
+
|
|
412
|
+
- Updated dependencies [1d7f9f1]
|
|
413
|
+
- @forge/manifest@2.3.1-next.3
|
|
414
|
+
|
|
415
|
+
## 2.1.4-next.2
|
|
416
|
+
|
|
417
|
+
### Patch Changes
|
|
418
|
+
|
|
419
|
+
- Updated dependencies [b415d76]
|
|
420
|
+
- Updated dependencies [33cbdba]
|
|
421
|
+
- @forge/manifest@2.3.1-next.2
|
|
422
|
+
|
|
423
|
+
## 2.1.4-next.1
|
|
424
|
+
|
|
425
|
+
### Patch Changes
|
|
426
|
+
|
|
427
|
+
- Updated dependencies [4608ccd]
|
|
428
|
+
- Updated dependencies [b91d511]
|
|
429
|
+
- @forge/util@1.0.1-next.0
|
|
430
|
+
- @forge/manifest@2.3.1-next.1
|
|
431
|
+
|
|
432
|
+
## 2.1.4-next.0
|
|
433
|
+
|
|
434
|
+
### Patch Changes
|
|
435
|
+
|
|
436
|
+
- Updated dependencies [82167f3]
|
|
437
|
+
- @forge/manifest@2.3.1-next.0
|
|
438
|
+
|
|
439
|
+
## 2.1.3
|
|
440
|
+
|
|
441
|
+
### Patch Changes
|
|
442
|
+
|
|
443
|
+
- 962582f: Remove ts-ignore and fix complex union type error related to MutationResult generic.
|
|
444
|
+
- Updated dependencies [f3c0748]
|
|
445
|
+
- Updated dependencies [bd2be7f]
|
|
446
|
+
- Updated dependencies [46240f3]
|
|
447
|
+
- Updated dependencies [18c799a]
|
|
448
|
+
- Updated dependencies [5ed2e3a]
|
|
449
|
+
- Updated dependencies [7cfcd6c]
|
|
450
|
+
- Updated dependencies [f0d3871]
|
|
451
|
+
- Updated dependencies [9b09fef]
|
|
452
|
+
- @forge/manifest@2.3.0
|
|
453
|
+
|
|
454
|
+
## 2.1.3-next.4
|
|
455
|
+
|
|
456
|
+
### Patch Changes
|
|
457
|
+
|
|
458
|
+
- Updated dependencies [46240f3]
|
|
459
|
+
- Updated dependencies [5ed2e3a]
|
|
460
|
+
- @forge/manifest@2.3.0-next.3
|
|
461
|
+
|
|
462
|
+
## 2.1.3-next.3
|
|
463
|
+
|
|
464
|
+
### Patch Changes
|
|
465
|
+
|
|
466
|
+
- Updated dependencies [f3c0748]
|
|
467
|
+
- Updated dependencies [18c799a]
|
|
468
|
+
- Updated dependencies [7cfcd6c]
|
|
469
|
+
- Updated dependencies [9b09fef]
|
|
470
|
+
- @forge/manifest@2.3.0-next.2
|
|
471
|
+
|
|
472
|
+
## 2.1.3-next.2
|
|
473
|
+
|
|
474
|
+
### Patch Changes
|
|
475
|
+
|
|
476
|
+
- Updated dependencies [f0d3871]
|
|
477
|
+
- @forge/manifest@2.2.2-next.1
|
|
478
|
+
|
|
479
|
+
## 2.1.3-next.1
|
|
480
|
+
|
|
481
|
+
### Patch Changes
|
|
482
|
+
|
|
483
|
+
- Updated dependencies [bd2be7f]
|
|
484
|
+
- @forge/manifest@2.2.2-next.0
|
|
485
|
+
|
|
486
|
+
## 2.1.3-next.0
|
|
487
|
+
|
|
488
|
+
### Patch Changes
|
|
489
|
+
|
|
490
|
+
- 962582f: Remove ts-ignore and fix complex union type error related to MutationResult generic.
|
|
491
|
+
|
|
492
|
+
## 2.1.2
|
|
493
|
+
|
|
494
|
+
### Patch Changes
|
|
495
|
+
|
|
496
|
+
- dcc7fc6: Update documentation links
|
|
497
|
+
- Updated dependencies [dcc7fc6]
|
|
7
498
|
- Updated dependencies [371b667]
|
|
499
|
+
- Updated dependencies [b73cfdc]
|
|
8
500
|
- Updated dependencies [8f2701f]
|
|
501
|
+
- Updated dependencies [a98d79c]
|
|
9
502
|
- Updated dependencies [371335d]
|
|
503
|
+
- Updated dependencies [ea2dcfd]
|
|
504
|
+
- Updated dependencies [915bb3a]
|
|
505
|
+
- Updated dependencies [84e7667]
|
|
506
|
+
- Updated dependencies [6bd8af9]
|
|
507
|
+
- Updated dependencies [7117c4e]
|
|
508
|
+
- Updated dependencies [663b047]
|
|
509
|
+
- Updated dependencies [3a3a508]
|
|
510
|
+
- Updated dependencies [48762a0]
|
|
511
|
+
- Updated dependencies [4880e78]
|
|
512
|
+
- Updated dependencies [772eb08]
|
|
10
513
|
- Updated dependencies [2809af6]
|
|
11
|
-
|
|
514
|
+
- Updated dependencies [b23fd66]
|
|
515
|
+
- @forge/manifest@2.2.1
|
|
516
|
+
|
|
517
|
+
## 2.1.2-next.7
|
|
518
|
+
|
|
519
|
+
### Patch Changes
|
|
520
|
+
|
|
521
|
+
- Updated dependencies [b23fd66]
|
|
522
|
+
- @forge/manifest@2.2.1-next.7
|
|
523
|
+
|
|
524
|
+
## 2.1.2-next.6
|
|
525
|
+
|
|
526
|
+
### Patch Changes
|
|
527
|
+
|
|
528
|
+
- dcc7fc6: Update documentation links
|
|
529
|
+
- Updated dependencies [dcc7fc6]
|
|
530
|
+
- Updated dependencies [48762a0]
|
|
531
|
+
- @forge/manifest@2.2.1-next.6
|
|
532
|
+
|
|
533
|
+
## 2.1.2-next.5
|
|
534
|
+
|
|
535
|
+
### Patch Changes
|
|
536
|
+
|
|
537
|
+
- Updated dependencies [772eb08]
|
|
538
|
+
- @forge/manifest@2.2.1-next.5
|
|
539
|
+
|
|
540
|
+
## 2.1.2-next.4
|
|
541
|
+
|
|
542
|
+
### Patch Changes
|
|
543
|
+
|
|
544
|
+
- Updated dependencies [a98d79c]
|
|
545
|
+
- Updated dependencies [ea2dcfd]
|
|
546
|
+
- Updated dependencies [915bb3a]
|
|
547
|
+
- Updated dependencies [3a3a508]
|
|
548
|
+
- @forge/manifest@2.2.1-next.4
|
|
549
|
+
|
|
550
|
+
## 2.1.2-next.3
|
|
551
|
+
|
|
552
|
+
### Patch Changes
|
|
553
|
+
|
|
554
|
+
- Updated dependencies [84e7667]
|
|
555
|
+
- @forge/manifest@2.2.1-next.3
|
|
556
|
+
|
|
557
|
+
## 2.1.2-next.2
|
|
558
|
+
|
|
559
|
+
### Patch Changes
|
|
560
|
+
|
|
561
|
+
- Updated dependencies [7117c4e]
|
|
562
|
+
- Updated dependencies [663b047]
|
|
563
|
+
- @forge/manifest@2.2.1-next.2
|
|
564
|
+
|
|
565
|
+
## 2.1.2-next.1
|
|
566
|
+
|
|
567
|
+
### Patch Changes
|
|
568
|
+
|
|
569
|
+
- Updated dependencies [371b667]
|
|
570
|
+
- Updated dependencies [b73cfdc]
|
|
571
|
+
- Updated dependencies [8f2701f]
|
|
572
|
+
- Updated dependencies [371335d]
|
|
573
|
+
- Updated dependencies [4880e78]
|
|
574
|
+
- @forge/manifest@2.2.1-next.1
|
|
12
575
|
|
|
13
576
|
## 2.1.2-next.0
|
|
14
577
|
|
package/out/apps/template.d.ts
CHANGED
|
@@ -11,15 +11,17 @@ export interface TemplateDownloader {
|
|
|
11
11
|
export interface TemplateExtractor {
|
|
12
12
|
extract(zipFile: string, destDirectory: string): Promise<void>;
|
|
13
13
|
}
|
|
14
|
-
export interface
|
|
15
|
-
downloadAndExtract(template: string, directory: string): Promise<void>;
|
|
14
|
+
export interface TemplateLister {
|
|
16
15
|
getAvailableTemplates(): Promise<string[]>;
|
|
17
16
|
}
|
|
17
|
+
export interface Templater extends TemplateLister {
|
|
18
|
+
downloadAndExtract(template: string, directory: string): Promise<void>;
|
|
19
|
+
}
|
|
18
20
|
export declare class BitbucketTemplateDownloader implements TemplateDownloader {
|
|
19
21
|
download(template: string, zipFile: string): Promise<void>;
|
|
20
22
|
private buildZipUrl;
|
|
21
23
|
}
|
|
22
|
-
export declare class
|
|
24
|
+
export declare class ZipTemplateExtractor implements TemplateExtractor {
|
|
23
25
|
private readonly zipAccessor;
|
|
24
26
|
constructor(zipAccessor: ZipAccessor);
|
|
25
27
|
extract(zipFile: string, destDirectory: string): Promise<void>;
|
|
@@ -28,11 +30,15 @@ export declare class BitbucketTemplateExtractor implements TemplateExtractor {
|
|
|
28
30
|
export declare class TemplateFetchError extends Error {
|
|
29
31
|
constructor();
|
|
30
32
|
}
|
|
31
|
-
export declare class
|
|
33
|
+
export declare class BitbucketTemplateLister implements TemplateLister {
|
|
34
|
+
getAvailableTemplates(): Promise<string[]>;
|
|
35
|
+
}
|
|
36
|
+
export declare class ComposableTemplater implements Templater {
|
|
32
37
|
private readonly downloader;
|
|
33
38
|
private readonly extractor;
|
|
39
|
+
private readonly lister;
|
|
34
40
|
private readonly logger;
|
|
35
|
-
constructor(downloader: TemplateDownloader, extractor: TemplateExtractor, logger: Logger);
|
|
41
|
+
constructor(downloader: TemplateDownloader, extractor: TemplateExtractor, lister: TemplateLister, logger: Logger);
|
|
36
42
|
downloadAndExtract(template: string, directory: string): Promise<void>;
|
|
37
43
|
getAvailableTemplates(): Promise<string[]>;
|
|
38
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/apps/template.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAK/B,qBAAa,eAAgB,SAAQ,KAAK;gBAC5B,QAAQ,EAAE,MAAM;CAG7B;AAED,qBAAa,2BAA4B,SAAQ,KAAK;CAAG;AAEzD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5D;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/apps/template.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAK/B,qBAAa,eAAgB,SAAQ,KAAK;gBAC5B,QAAQ,EAAE,MAAM;CAG7B;AAED,qBAAa,2BAA4B,SAAQ,KAAK;CAAG;AAEzD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5D;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,MAAM,WAAW,cAAc;IAC7B,qBAAqB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;CAC5C;AAED,MAAM,WAAW,SAAU,SAAQ,cAAc;IAC/C,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxE;AAED,qBAAa,2BAA4B,YAAW,kBAAkB;IACvD,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAmBvE,OAAO,CAAC,WAAW;CAGpB;AAED,qBAAa,oBAAqB,YAAW,iBAAiB;IAChD,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,WAAW;IAExC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;YAc7D,2BAA2B;CAqB1C;AAED,qBAAa,kBAAmB,SAAQ,KAAK;;CAI5C;AAED,qBAAa,uBAAwB,YAAW,cAAc;IAC/C,qBAAqB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;CAgBxD;AAED,qBAAa,mBAAoB,YAAW,SAAS;IAEjD,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAHN,UAAU,EAAE,kBAAkB,EAC9B,SAAS,EAAE,iBAAiB,EAC5B,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,MAAM;IAEpB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAsBnF,qBAAqB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;CAG3C"}
|
package/out/apps/template.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ComposableTemplater = exports.BitbucketTemplateLister = exports.TemplateFetchError = exports.ZipTemplateExtractor = exports.BitbucketTemplateDownloader = exports.InvalidTemplateArchiveError = exports.NoTemplateError = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const fs_1 = tslib_1.__importDefault(require("fs"));
|
|
6
6
|
const fs_extra_1 = require("fs-extra");
|
|
@@ -41,7 +41,7 @@ class BitbucketTemplateDownloader {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
exports.BitbucketTemplateDownloader = BitbucketTemplateDownloader;
|
|
44
|
-
class
|
|
44
|
+
class ZipTemplateExtractor {
|
|
45
45
|
constructor(zipAccessor) {
|
|
46
46
|
this.zipAccessor = zipAccessor;
|
|
47
47
|
}
|
|
@@ -73,17 +73,34 @@ class BitbucketTemplateExtractor {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
exports.
|
|
76
|
+
exports.ZipTemplateExtractor = ZipTemplateExtractor;
|
|
77
77
|
class TemplateFetchError extends Error {
|
|
78
78
|
constructor() {
|
|
79
79
|
super(ui_1.Text.error.templateFetchFailed);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
exports.TemplateFetchError = TemplateFetchError;
|
|
83
|
-
class
|
|
84
|
-
|
|
83
|
+
class BitbucketTemplateLister {
|
|
84
|
+
async getAvailableTemplates() {
|
|
85
|
+
try {
|
|
86
|
+
const res = await node_fetch_1.default(`https://api.bitbucket.org/2.0/repositories/atlassian?q=project.key=%22${BITBUCKET_PROJECT}%22&sort=name&pagelen=50`);
|
|
87
|
+
if (!res.ok) {
|
|
88
|
+
throw new TemplateFetchError();
|
|
89
|
+
}
|
|
90
|
+
const json = await res.json();
|
|
91
|
+
return json.values.map((repo) => repo.name);
|
|
92
|
+
}
|
|
93
|
+
catch (e) {
|
|
94
|
+
throw new TemplateFetchError();
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.BitbucketTemplateLister = BitbucketTemplateLister;
|
|
99
|
+
class ComposableTemplater {
|
|
100
|
+
constructor(downloader, extractor, lister, logger) {
|
|
85
101
|
this.downloader = downloader;
|
|
86
102
|
this.extractor = extractor;
|
|
103
|
+
this.lister = lister;
|
|
87
104
|
this.logger = logger;
|
|
88
105
|
}
|
|
89
106
|
async downloadAndExtract(template, directory) {
|
|
@@ -105,18 +122,8 @@ class BitbucketTemplater {
|
|
|
105
122
|
fs_1.default.unlinkSync(zipFile);
|
|
106
123
|
}
|
|
107
124
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
const res = await node_fetch_1.default(`https://api.bitbucket.org/2.0/repositories/atlassian?q=project.key=%22${BITBUCKET_PROJECT}%22&sort=name&pagelen=50`);
|
|
111
|
-
if (!res.ok) {
|
|
112
|
-
throw new TemplateFetchError();
|
|
113
|
-
}
|
|
114
|
-
const json = await res.json();
|
|
115
|
-
return json.values.map((repo) => repo.name);
|
|
116
|
-
}
|
|
117
|
-
catch (e) {
|
|
118
|
-
throw new TemplateFetchError();
|
|
119
|
-
}
|
|
125
|
+
getAvailableTemplates() {
|
|
126
|
+
return this.lister.getAvailableTemplates();
|
|
120
127
|
}
|
|
121
128
|
}
|
|
122
|
-
exports.
|
|
129
|
+
exports.ComposableTemplater = ComposableTemplater;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Document } from 'yaml';
|
|
2
2
|
import { FileSystemReader, FileSystemWriter } from '../file-system';
|
|
3
3
|
import { ConfigReader, ConfigWriter } from './';
|
|
4
|
-
import { ManifestSchema, Resources } from '@forge/manifest';
|
|
4
|
+
import { ManifestSchema, Resources } from '@forge/manifest/out/schema/manifest';
|
|
5
5
|
export declare class ResourceDefinitionMissingError extends Error {
|
|
6
6
|
constructor(resources: string[]);
|
|
7
7
|
}
|
|
@@ -27,6 +27,8 @@ export declare class ConfigFile implements ConfigReader, ConfigWriter, ConfigInt
|
|
|
27
27
|
writeToConfigFile<K extends string, V>(configKey: K, config: V): Promise<void>;
|
|
28
28
|
private getHostedResourceKeys;
|
|
29
29
|
private findMissingResources;
|
|
30
|
+
private getRemoteFromEgressPermission;
|
|
31
|
+
private instanceOfRemote;
|
|
30
32
|
getEgressPermissions(): Promise<{
|
|
31
33
|
type: string;
|
|
32
34
|
domains: string[] | undefined;
|