@forge/cli-shared 0.0.0-experimental-9489df9 → 0.0.0-experimental-52c2a24

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.
Files changed (119) hide show
  1. package/CHANGELOG.md +599 -4
  2. package/out/app-logs/view-logs.js +3 -3
  3. package/out/apps/app-config.d.ts.map +1 -1
  4. package/out/apps/app-config.js +3 -2
  5. package/out/apps/create-app-graphql-client.d.ts.map +1 -1
  6. package/out/apps/create-app-graphql-client.js +6 -2
  7. package/out/apps/package-installer.js +1 -1
  8. package/out/apps/register-app.js +1 -1
  9. package/out/apps/template.js +12 -12
  10. package/out/auth/index.d.ts +0 -1
  11. package/out/auth/index.d.ts.map +1 -1
  12. package/out/auth/index.js +0 -1
  13. package/out/auth/personal/credential-store.d.ts +57 -0
  14. package/out/auth/personal/credential-store.d.ts.map +1 -0
  15. package/out/auth/personal/credential-store.js +188 -0
  16. package/out/auth/personal/index.d.ts +1 -4
  17. package/out/auth/personal/index.d.ts.map +1 -1
  18. package/out/auth/personal/index.js +1 -4
  19. package/out/auth/personal/login.d.ts +2 -2
  20. package/out/auth/personal/login.d.ts.map +1 -1
  21. package/out/auth/personal/login.js +1 -1
  22. package/out/auth/personal/logout.d.ts +2 -2
  23. package/out/auth/personal/logout.d.ts.map +1 -1
  24. package/out/auth/personal/me-graphql-client.d.ts +2 -1
  25. package/out/auth/personal/me-graphql-client.d.ts.map +1 -1
  26. package/out/auth/personal/me-graphql-client.js +3 -2
  27. package/out/auth/personal/token-authenticator.d.ts +3 -3
  28. package/out/auth/personal/token-authenticator.d.ts.map +1 -1
  29. package/out/auth/personal/token-authenticator.js +5 -5
  30. package/out/config/config-file-section-reader.js +2 -1
  31. package/out/config/config-file-section-writer.js +2 -1
  32. package/out/config/config-file.d.ts +14 -8
  33. package/out/config/config-file.d.ts.map +1 -1
  34. package/out/config/config-file.js +42 -41
  35. package/out/config/config-section.js +2 -1
  36. package/out/config/config.d.ts +2 -1
  37. package/out/config/config.d.ts.map +1 -1
  38. package/out/config/config.js +4 -2
  39. package/out/file-system/file-system-reader.d.ts +1 -0
  40. package/out/file-system/file-system-reader.d.ts.map +1 -1
  41. package/out/file-system/file-system-reader.js +7 -7
  42. package/out/file-system/file-system-writer.js +1 -1
  43. package/out/file-system/zip-accessor.js +1 -1
  44. package/out/graphql/app-environment-graphql-client.d.ts +3 -2
  45. package/out/graphql/app-environment-graphql-client.d.ts.map +1 -1
  46. package/out/graphql/app-environment-graphql-client.js +3 -2
  47. package/out/graphql/gateway.js +5 -3
  48. package/out/graphql/get-mutation-error.d.ts +1 -0
  49. package/out/graphql/get-mutation-error.d.ts.map +1 -1
  50. package/out/graphql/get-mutation-error.js +3 -2
  51. package/out/graphql/graphql-types.d.ts +5781 -618
  52. package/out/graphql/graphql-types.d.ts.map +1 -1
  53. package/out/graphql/graphql-types.js +520 -22
  54. package/out/graphql/minimal-graphql-runner.d.ts +9 -4
  55. package/out/graphql/minimal-graphql-runner.d.ts.map +1 -1
  56. package/out/graphql/minimal-graphql-runner.js +15 -5
  57. package/out/graphql/mutation-aware-graphql-client.d.ts +15 -4
  58. package/out/graphql/mutation-aware-graphql-client.d.ts.map +1 -1
  59. package/out/graphql/mutation-aware-graphql-client.js +17 -2
  60. package/out/http-client/feedback-post-client.js +1 -1
  61. package/out/http-client/file-uploader.js +1 -1
  62. package/out/service/bridge-script-service.d.ts +2 -0
  63. package/out/service/bridge-script-service.d.ts.map +1 -1
  64. package/out/service/bridge-script-service.js +4 -2
  65. package/out/service/feature-flag-service.d.ts +18 -6
  66. package/out/service/feature-flag-service.d.ts.map +1 -1
  67. package/out/service/feature-flag-service.js +32 -8
  68. package/out/service/iframe-resizer-script-service.d.ts +2 -0
  69. package/out/service/iframe-resizer-script-service.d.ts.map +1 -1
  70. package/out/service/iframe-resizer-script-service.js +4 -2
  71. package/out/shared/error-handling.d.ts +16 -2
  72. package/out/shared/error-handling.d.ts.map +1 -1
  73. package/out/shared/error-handling.js +43 -9
  74. package/out/shared/index.js +1 -1
  75. package/out/shared/installationId.js +2 -2
  76. package/out/shared/pause.js +2 -1
  77. package/out/shared/product.d.ts +4 -1
  78. package/out/shared/product.d.ts.map +1 -1
  79. package/out/shared/product.js +15 -5
  80. package/out/shared/read-app-config-files.d.ts.map +1 -1
  81. package/out/shared/read-app-config-files.js +8 -6
  82. package/out/shared/validate.d.ts +1 -1
  83. package/out/shared/validate.d.ts.map +1 -1
  84. package/out/shared/validate.js +8 -3
  85. package/out/ui/command-line-ui.d.ts +5 -3
  86. package/out/ui/command-line-ui.d.ts.map +1 -1
  87. package/out/ui/command-line-ui.js +37 -10
  88. package/out/ui/index.d.ts +0 -1
  89. package/out/ui/index.d.ts.map +1 -1
  90. package/out/ui/index.js +0 -1
  91. package/out/ui/multiple-table-prompt.js +4 -2
  92. package/out/ui/runtime-log.d.ts.map +1 -1
  93. package/out/ui/runtime-log.js +10 -5
  94. package/out/ui/single-table-prompt.js +4 -2
  95. package/out/ui/table-prompt.js +1 -1
  96. package/out/ui/text.d.ts +59 -11
  97. package/out/ui/text.d.ts.map +1 -1
  98. package/out/ui/text.js +90 -24
  99. package/out/ui/ui.d.ts +11 -0
  100. package/out/ui/ui.d.ts.map +1 -1
  101. package/package.json +13 -15
  102. package/out/auth/credentials-store-provider.d.ts +0 -4
  103. package/out/auth/credentials-store-provider.d.ts.map +0 -1
  104. package/out/auth/credentials-store-provider.js +0 -11
  105. package/out/auth/personal/abstract-token-store-getter.d.ts +0 -13
  106. package/out/auth/personal/abstract-token-store-getter.d.ts.map +0 -1
  107. package/out/auth/personal/abstract-token-store-getter.js +0 -31
  108. package/out/auth/personal/token-store-cache.d.ts +0 -12
  109. package/out/auth/personal/token-store-cache.d.ts.map +0 -1
  110. package/out/auth/personal/token-store-cache.js +0 -41
  111. package/out/auth/personal/token-store-keytar.d.ts +0 -23
  112. package/out/auth/personal/token-store-keytar.d.ts.map +0 -1
  113. package/out/auth/personal/token-store-keytar.js +0 -101
  114. package/out/auth/personal/token-store.d.ts +0 -28
  115. package/out/auth/personal/token-store.d.ts.map +0 -1
  116. package/out/auth/personal/token-store.js +0 -21
  117. package/out/ui/validation-error.d.ts +0 -3
  118. package/out/ui/validation-error.d.ts.map +0 -1
  119. package/out/ui/validation-error.js +0 -6
package/CHANGELOG.md CHANGED
@@ -1,15 +1,610 @@
1
1
  # @forge/cli-shared
2
2
 
3
- ## 0.0.0-experimental-9489df9
3
+ ## 0.0.0-experimental-52c2a24
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [acf78b5]
8
- - Updated dependencies [0da5775]
7
+ - 1eca527f: Type-safe argument and option handling
8
+ - Updated dependencies [52c2a24d]
9
+ - @forge/manifest@0.0.0-experimental-52c2a24
10
+
11
+ ## 3.6.1
12
+
13
+ ### Patch Changes
14
+
15
+ - af4c149: Update webpack-related packages and remove unused
16
+ - ba6d381: Bumping dependencies via Renovate:
17
+
18
+ - @types/cross-spawn
19
+
20
+ - 66da5d9: Bumping dependencies via Renovate:
21
+
22
+ - conf
23
+
24
+ - 203f465: Bumping dependencies via Renovate:
25
+
26
+ - @types/inquirer
27
+
28
+ - bd43f8f: feature flagged experimental changes to scope validation
29
+ - 1508104: Bumping dependencies via Renovate:
30
+
31
+ - @types/cheerio
32
+
33
+ - Updated dependencies [af4c149]
34
+ - Updated dependencies [37eee39]
35
+ - Updated dependencies [ce555b4]
36
+ - Updated dependencies [43d62903]
37
+ - Updated dependencies [8e0605e]
38
+ - Updated dependencies [80e6b95]
39
+ - @forge/util@1.2.1
40
+ - @forge/manifest@4.7.0
41
+
42
+ ## 3.6.1-next.6
43
+
44
+ ### Patch Changes
45
+
46
+ - 66da5d9: Bumping dependencies via Renovate:
47
+
48
+ - conf
49
+
50
+ - Updated dependencies [8e0605e]
51
+ - @forge/manifest@4.7.0-next.4
52
+
53
+ ## 3.6.1-next.5
54
+
55
+ ### Patch Changes
56
+
57
+ - bd43f8f: feature flagged experimental changes to scope validation
58
+ - Updated dependencies [37eee39]
59
+ - Updated dependencies [ce555b4]
60
+ - @forge/manifest@4.7.0-next.3
61
+
62
+ ## 3.6.1-next.4
63
+
64
+ ### Patch Changes
65
+
66
+ - ba6d381: Bumping dependencies via Renovate:
67
+
68
+ - @types/cross-spawn
69
+
70
+ - 203f465: Bumping dependencies via Renovate:
71
+
72
+ - @types/inquirer
73
+
74
+ ## 3.6.1-next.3
75
+
76
+ ### Patch Changes
77
+
78
+ - Updated dependencies [43d6290]
79
+ - @forge/manifest@4.7.0-next.2
80
+
81
+ ## 3.6.1-next.2
82
+
83
+ ### Patch Changes
84
+
85
+ - 1508104: Bumping dependencies via Renovate:
86
+
87
+ - @types/cheerio
88
+
89
+ ## 3.6.1-next.1
90
+
91
+ ### Patch Changes
92
+
93
+ - af4c149: Update webpack-related packages and remove unused
94
+ - Updated dependencies [af4c149]
95
+ - @forge/util@1.2.1-next.0
96
+ - @forge/manifest@4.6.1-next.1
97
+
98
+ ## 3.6.1-next.0
99
+
100
+ ### Patch Changes
101
+
102
+ - Updated dependencies [80e6b952]
103
+ - @forge/manifest@4.6.1-next.0
104
+
105
+ ## 3.6.0
106
+
107
+ ### Minor Changes
108
+
109
+ - 8c60d16: Fixing small cross-platform issue with line breaks in .gitignore
110
+
111
+ ### Patch Changes
112
+
113
+ - d71279f: Add link to docs in CLI for MUAO EAP
114
+
115
+ ## 3.6.0-next.1
116
+
117
+ ### Patch Changes
118
+
119
+ - d71279f: Add link to docs in CLI for MUAO EAP
120
+
121
+ ## 3.6.0-next.0
122
+
123
+ ### Minor Changes
124
+
125
+ - 8c60d162: Fixing small cross-platform issue with line breaks in .gitignore
126
+
127
+ ## 3.5.1
128
+
129
+ ### Patch Changes
130
+
131
+ - 8ac7fd3: Rename tunnel and runtime packages
132
+ - 38e4ae4: Added sentry to the CLI for error capture and analytics
133
+ - Updated dependencies [30a32d0]
134
+ - Updated dependencies [734a5de]
135
+ - Updated dependencies [40b251c]
136
+ - Updated dependencies [2c490ad]
137
+ - Updated dependencies [4471be8]
138
+ - Updated dependencies [e975f19]
139
+ - @forge/manifest@4.6.0
140
+
141
+ ## 3.5.1-next.7
142
+
143
+ ### Patch Changes
144
+
145
+ - Updated dependencies [2c490ad]
146
+ - @forge/manifest@4.6.0-next.5
147
+
148
+ ## 3.5.1-next.6
149
+
150
+ ### Patch Changes
151
+
152
+ - Updated dependencies [e975f19]
153
+ - @forge/manifest@4.6.0-next.4
154
+
155
+ ## 3.5.1-next.5
156
+
157
+ ### Patch Changes
158
+
159
+ - Updated dependencies [30a32d0]
160
+ - @forge/manifest@4.6.0-next.3
161
+
162
+ ## 3.5.1-next.4
163
+
164
+ ### Patch Changes
165
+
166
+ - 38e4ae44: Added sentry to the CLI for error capture and analytics
167
+
168
+ ## 3.5.1-next.3
169
+
170
+ ### Patch Changes
171
+
172
+ - Updated dependencies [4471be8]
173
+ - @forge/manifest@4.6.0-next.2
174
+
175
+ ## 3.5.1-next.2
176
+
177
+ ### Patch Changes
178
+
179
+ - 8ac7fd3c: Rename tunnel and runtime packages
180
+
181
+ ## 3.5.1-next.1
182
+
183
+ ### Patch Changes
184
+
185
+ - Updated dependencies [734a5dec]
186
+ - @forge/manifest@4.6.0-next.1
187
+
188
+ ## 3.5.1-next.0
189
+
190
+ ### Patch Changes
191
+
192
+ - Updated dependencies [40b251cf]
193
+ - @forge/manifest@4.5.4-next.0
194
+
195
+ ## 3.5.0
196
+
197
+ ### Minor Changes
198
+
199
+ - bbca9be: Forge CLI error handling and analytics changes
200
+
201
+ ### Patch Changes
202
+
203
+ - bae4bce: Explicitly state the supported node versions when using the CLI
204
+ - b7428f7: Update CLI copy for forge contributors add and remove
205
+ - a36488f: Bundle Node runtime wrapper using Webpack
206
+ - 6cda566: Add a way to inspect bundler output
207
+ - 8d0dc10: Use a single global to pass information from the runtime
208
+ - fed846f: Updated inquirer to version 8, fixed issues with inquirer table and testing
209
+ - Updated dependencies [4ac7253]
210
+ - Updated dependencies [8f01fae]
211
+ - @forge/manifest@4.5.3
212
+
213
+ ## 3.5.0-next.5
214
+
215
+ ### Minor Changes
216
+
217
+ - bbca9bed: Forge CLI error handling and analytics changes
218
+
219
+ ### Patch Changes
220
+
221
+ - b7428f75: Update CLI copy for forge contributors add and remove
222
+ - a36488fc: Bundle Node runtime wrapper using Webpack
223
+ - 8d0dc104: Use a single global to pass information from the runtime
224
+
225
+ ## 3.4.1-next.4
226
+
227
+ ### Patch Changes
228
+
229
+ - Updated dependencies [8f01fae]
230
+ - @forge/manifest@4.5.3-next.1
231
+
232
+ ## 3.4.1-next.3
233
+
234
+ ### Patch Changes
235
+
236
+ - bae4bce4: Explicitly state the supported node versions when using the CLI
237
+
238
+ ## 3.4.1-next.2
239
+
240
+ ### Patch Changes
241
+
242
+ - 6cda566: Add a way to inspect bundler output
243
+
244
+ ## 3.4.1-next.1
245
+
246
+ ### Patch Changes
247
+
248
+ - fed846f: Updated inquirer to version 8, fixed issues with inquirer table and testing
249
+
250
+ ## 3.4.1-next.0
251
+
252
+ ### Patch Changes
253
+
254
+ - Updated dependencies [4ac7253]
255
+ - @forge/manifest@4.5.3-next.0
256
+
257
+ ## 3.4.0
258
+
259
+ ### Minor Changes
260
+
261
+ - cfded19: Added "forge contributors remove" command
262
+ - e37918e: Implement support for client-side UI Kit tunneling
263
+ - ac570166: Added "forge contributors add" command line
264
+
265
+ ### Patch Changes
266
+
267
+ - 814c1f1: Add 'contributors list' command to forge-cli for MUAO EAP Participants
268
+ - Updated dependencies [269a493]
269
+ - @forge/manifest@4.5.2
270
+
271
+ ## 3.4.0-next.4
272
+
273
+ ### Minor Changes
274
+
275
+ - cfded19: Added "forge contributors remove" command
276
+
277
+ ## 3.4.0-next.3
278
+
279
+ ### Patch Changes
280
+
281
+ - 814c1f16: Add 'contributors list' command to forge-cli for MUAO EAP Participants
282
+
283
+ ## 3.4.0-next.2
284
+
285
+ ### Patch Changes
286
+
287
+ - Updated dependencies [269a493a]
288
+ - @forge/manifest@4.5.2-next.0
289
+
290
+ ## 3.4.0-next.1
291
+
292
+ ### Minor Changes
293
+
294
+ - e37918e4: Implement support for client-side UI Kit tunneling
295
+
296
+ ## 3.4.0-next.0
297
+
298
+ ### Minor Changes
299
+
300
+ - ac570166: Added "forge contributors add" command line
301
+
302
+ ## 3.3.0
303
+
304
+ ### Minor Changes
305
+
306
+ - c6e4bec: Error handling changes in forge CLI to track user realted errors for analytics
307
+
308
+ ### Patch Changes
309
+
310
+ - Updated dependencies [b469c80]
311
+ - @forge/manifest@4.5.1
312
+
313
+ ## 3.3.0-next.1
314
+
315
+ ### Patch Changes
316
+
317
+ - Updated dependencies [b469c802]
318
+ - @forge/manifest@4.5.1-next.0
319
+
320
+ ## 3.3.0-next.0
321
+
322
+ ### Minor Changes
323
+
324
+ - c6e4bec0: Error handling changes in forge CLI to track user realted errors for analytics
325
+
326
+ ## 3.2.3
327
+
328
+ ### Patch Changes
329
+
330
+ - 8e2a5a6: Update node-fetch version
331
+ - Updated dependencies [be216ec]
332
+ - Updated dependencies [34d81d4]
333
+ - Updated dependencies [72f098e]
334
+ - Updated dependencies [8e2a5a6]
335
+ - @forge/manifest@4.5.0
336
+
337
+ ## 3.2.3-next.3
338
+
339
+ ### Patch Changes
340
+
341
+ - Updated dependencies [72f098e]
342
+ - @forge/manifest@4.5.0-next.3
343
+
344
+ ## 3.2.3-next.2
345
+
346
+ ### Patch Changes
347
+
348
+ - Updated dependencies [be216ec6]
349
+ - @forge/manifest@4.5.0-next.2
350
+
351
+ ## 3.2.3-next.1
352
+
353
+ ### Patch Changes
354
+
355
+ - 8e2a5a6: Update node-fetch version
356
+ - Updated dependencies [8e2a5a6]
357
+ - @forge/manifest@4.4.2-next.1
358
+
359
+ ## 3.2.3-next.0
360
+
361
+ ### Patch Changes
362
+
363
+ - Updated dependencies [34d81d4e]
364
+ - @forge/manifest@4.4.2-next.0
365
+
366
+ ## 3.2.2
367
+
368
+ ### Patch Changes
369
+
370
+ - 652e9f2: Bump Typescript and ESlint to latest
371
+ - Updated dependencies [138bb0a]
372
+ - @forge/manifest@4.4.1
373
+
374
+ ## 3.2.2-next.1
375
+
376
+ ### Patch Changes
377
+
378
+ - 652e9f23: Bump Typescript and ESlint to latest
379
+
380
+ ## 3.2.2-next.0
381
+
382
+ ### Patch Changes
383
+
384
+ - Updated dependencies [138bb0a]
385
+ - @forge/manifest@4.4.1-next.0
386
+
387
+ ## 3.2.1
388
+
389
+ ### Patch Changes
390
+
391
+ - 567bf35: Fix displaying site prompt for install --upgrade
392
+
393
+ ## 3.2.1-next.0
394
+
395
+ ### Patch Changes
396
+
397
+ - 567bf35: Fix displaying site prompt for install --upgrade
398
+
399
+ ## 3.2.0
400
+
401
+ ### Minor Changes
402
+
403
+ - b372c40: Add option to display installations and other tables as JSON
404
+ - 7a27bcd: Display an error when prompting if not run in a terminal
405
+ - 94c798f: Exit with error when a Forge command is not recognised
406
+
407
+ ### Patch Changes
408
+
409
+ - a1c8607: Update debugging instructions when tunneling
410
+ - Updated dependencies [dfc74ba]
411
+ - Updated dependencies [f93ae31]
412
+ - Updated dependencies [05b306b]
413
+ - Updated dependencies [d6ec15d]
414
+ - @forge/manifest@4.4.0
415
+
416
+ ## 3.2.0-next.7
417
+
418
+ ### Patch Changes
419
+
420
+ - Updated dependencies [05b306b]
421
+ - @forge/manifest@4.4.0-next.3
422
+
423
+ ## 3.2.0-next.6
424
+
425
+ ### Patch Changes
426
+
427
+ - Updated dependencies [dfc74ba]
428
+ - @forge/manifest@4.4.0-next.2
429
+
430
+ ## 3.2.0-next.5
431
+
432
+ ### Minor Changes
433
+
434
+ - b372c40: Add option to display installations and other tables as JSON
435
+
436
+ ## 3.2.0-next.4
437
+
438
+ ### Patch Changes
439
+
440
+ - Updated dependencies [f93ae31]
441
+ - @forge/manifest@4.3.1-next.1
442
+
443
+ ## 3.2.0-next.3
444
+
445
+ ### Patch Changes
446
+
447
+ - a1c8607: Update debugging instructions when tunneling
448
+
449
+ ## 3.2.0-next.2
450
+
451
+ ### Minor Changes
452
+
453
+ - 94c798f: Exit with error when a Forge command is not recognised
454
+
455
+ ## 3.2.0-next.1
456
+
457
+ ### Patch Changes
458
+
459
+ - Updated dependencies [d6ec15d]
460
+ - @forge/manifest@4.3.1-next.0
461
+
462
+ ## 3.2.0-next.0
463
+
464
+ ### Minor Changes
465
+
466
+ - 7a27bcd: Display an error when prompting if not run in a terminal
467
+
468
+ ## 3.1.1
469
+
470
+ ### Patch Changes
471
+
472
+ - Updated dependencies [0871a3b]
473
+ - Updated dependencies [1c51c99]
474
+ - Updated dependencies [f8d567a]
475
+ - Updated dependencies [47a47a4]
476
+ - Updated dependencies [aa3a70e]
477
+ - @forge/manifest@4.3.0
478
+
479
+ ## 3.1.1-next.4
480
+
481
+ ### Patch Changes
482
+
483
+ - Updated dependencies [aa3a70e]
484
+ - @forge/manifest@4.3.0-next.4
485
+
486
+ ## 3.1.1-next.3
487
+
488
+ ### Patch Changes
489
+
490
+ - Updated dependencies [47a47a4]
491
+ - @forge/manifest@4.3.0-next.3
492
+
493
+ ## 3.1.1-next.2
494
+
495
+ ### Patch Changes
496
+
497
+ - Updated dependencies [0871a3b]
498
+ - @forge/manifest@4.3.0-next.2
499
+
500
+ ## 3.1.1-next.1
501
+
502
+ ### Patch Changes
503
+
504
+ - Updated dependencies [f8d567a3]
505
+ - @forge/manifest@4.2.1-next.1
506
+
507
+ ## 3.1.1-next.0
508
+
509
+ ### Patch Changes
510
+
511
+ - Updated dependencies [1c51c99]
512
+ - @forge/manifest@4.2.1-next.0
513
+
514
+ ## 3.1.0
515
+
516
+ ### Minor Changes
517
+
518
+ - 89ae99e: Add support for auto-bundling resources
519
+
520
+ ### Patch Changes
521
+
522
+ - Updated dependencies [237e3c7]
523
+ - Updated dependencies [151c4d8]
524
+ - @forge/manifest@4.2.0
525
+
526
+ ## 3.1.0-next.2
527
+
528
+ ### Patch Changes
529
+
530
+ - Updated dependencies [237e3c72]
531
+ - @forge/manifest@4.2.0-next.1
532
+
533
+ ## 3.1.0-next.1
534
+
535
+ ### Patch Changes
536
+
537
+ - Updated dependencies [151c4d8]
538
+ - @forge/manifest@4.2.0-next.0
539
+
540
+ ## 3.1.0-next.0
541
+
542
+ ### Minor Changes
543
+
544
+ - 89ae99e0: Add support for auto-bundling resources
545
+
546
+ ## 3.0.0
547
+
548
+ ### Major Changes
549
+
550
+ - 5972825c: Refuse to store credentials in plaintext
551
+
552
+ ### Minor Changes
553
+
554
+ - 35172f2: Add ngrok debug logs
555
+ - edab85a: Adding silent BBC app installation
556
+
557
+ ### Patch Changes
558
+
559
+ - 5424f97: Handle keytar errors
560
+ - Updated dependencies [c9f0e83]
561
+ - @forge/manifest@4.1.0
562
+
563
+ ## 3.0.0-next.3
564
+
565
+ ### Patch Changes
566
+
567
+ - 5424f97: Handle keytar errors
568
+
569
+ ## 3.0.0-next.2
570
+
571
+ ### Minor Changes
572
+
573
+ - 35172f2: Add ngrok debug logs
574
+
575
+ ## 3.0.0-next.1
576
+
577
+ ### Patch Changes
578
+
579
+ - Updated dependencies [c9f0e83]
580
+ - @forge/manifest@4.1.0-next.0
581
+
582
+ ## 3.0.0-next.0
583
+
584
+ ### Major Changes
585
+
586
+ - 5972825c: Refuse to store credentials in plaintext
587
+
588
+ ### Minor Changes
589
+
590
+ - edab85a5: Adding silent BBC app installation
591
+
592
+ ## 2.6.2
593
+
594
+ ### Patch Changes
595
+
596
+ - Updated dependencies [c0c88f0]
9
597
  - Updated dependencies [6728c67]
10
598
  - Updated dependencies [c1c93a4]
11
599
  - Updated dependencies [b1684fd]
12
- - @forge/manifest@0.0.0-experimental-9489df9
600
+ - @forge/manifest@4.0.0
601
+
602
+ ## 2.6.2-next.5
603
+
604
+ ### Patch Changes
605
+
606
+ - Updated dependencies [c0c88f09]
607
+ - @forge/manifest@4.0.0-next.5
13
608
 
14
609
  ## 2.6.2-next.4
15
610
 
@@ -16,9 +16,9 @@ class ViewAppLogsCommand {
16
16
  this.appEnvironmentClient.getAppEnvironmentId(appId, environmentKey),
17
17
  context ? this.globalEdgeClient.getCloudId(context.site) : undefined
18
18
  ]);
19
- const contextAri = cloudId ? ari_1.buildContextAri(cloudId, context.product) : undefined;
20
- const ari = cs_ari_1.parse(appId);
21
- const appAri = cs_ari_1.parseAppAri(ari);
19
+ const contextAri = cloudId ? (0, ari_1.buildContextAri)(cloudId, context.product) : undefined;
20
+ const ari = (0, cs_ari_1.parse)(appId);
21
+ const appAri = (0, cs_ari_1.parseAppAri)(ari);
22
22
  return this.logsClient.viewAppLogs({
23
23
  appId: appAri.appId,
24
24
  environmentId,
@@ -1 +1 @@
1
- {"version":3,"file":"app-config.d.ts","sourceRoot":"","sources":["../../src/apps/app-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAG3B,OAAO,EAAa,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAG3D,eAAO,MAAM,cAAc;;EAEzB,CAAC;AAEH,oBAAY,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AACzD,eAAO,MAAM,YAAY,QAAQ,CAAC;AAElC,oBAAY,iBAAiB,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,CAAC;AAE1D,wBAAgB,iBAAiB,CAAC,gBAAgB,EAAE,UAAU;;EAQ7D;AAED,eAAO,MAAM,0BAA0B,oBAAqB,mBAAmB,CAAC,UAAU,CAAC,KAAG,iBAEyB,CAAC"}
1
+ {"version":3,"file":"app-config.d.ts","sourceRoot":"","sources":["../../src/apps/app-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAG3B,OAAO,EAAa,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAG3D,eAAO,MAAM,cAAc;;EAEzB,CAAC;AAEH,oBAAY,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AACzD,eAAO,MAAM,YAAY,QAAQ,CAAC;AAElC,oBAAY,iBAAiB,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,CAAC;AAE1D,wBAAgB,iBAAiB,CAAC,gBAAgB,EAAE,UAAU;;EAQ7D;AAED,eAAO,MAAM,0BAA0B,oBAAqB,oBAAoB,UAAU,CAAC,KAAG,iBAEyB,CAAC"}
@@ -14,7 +14,8 @@ function adjustLegacyAppId(legacyAppDetails) {
14
14
  if (legacyAppDetails.id.startsWith('ari:')) {
15
15
  return legacyAppDetails;
16
16
  }
17
- return Object.assign(Object.assign({}, legacyAppDetails), { id: ari_1.appIdToAriString(legacyAppDetails.id) });
17
+ return Object.assign(Object.assign({}, legacyAppDetails), { id: (0, ari_1.appIdToAriString)(legacyAppDetails.id) });
18
18
  }
19
19
  exports.adjustLegacyAppId = adjustLegacyAppId;
20
- exports.assertiveAppConfigProvider = (appConfigReader) => () => config_1.assertive(appConfigReader).readConfigSectionOrThrow(ui_1.Text.config.missing, ui_1.Text.config.invalid).then(adjustLegacyAppId);
20
+ const assertiveAppConfigProvider = (appConfigReader) => () => (0, config_1.assertive)(appConfigReader).readConfigSectionOrThrow(ui_1.Text.config.missing, ui_1.Text.config.invalid).then(adjustLegacyAppId);
21
+ exports.assertiveAppConfigProvider = assertiveAppConfigProvider;
@@ -1 +1 @@
1
- {"version":3,"file":"create-app-graphql-client.d.ts","sourceRoot":"","sources":["../../src/apps/create-app-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,aAAa,EAA+C,MAAM,YAAY,CAAC;AAGlG,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEvE,qBAAa,oBAAqB,SAAQ,KAAK;CAAG;AAElD,qBAAa,sBAAuB,YAAW,eAAe;IAChD,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE5C,SAAS,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CAsCrE"}
1
+ {"version":3,"file":"create-app-graphql-client.d.ts","sourceRoot":"","sources":["../../src/apps/create-app-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,aAAa,EAA+C,MAAM,YAAY,CAAC;AAGlG,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEvE,qBAAa,oBAAqB,SAAQ,KAAK;CAAG;AAElD,qBAAa,sBAAuB,YAAW,eAAe;IAChD,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE5C,SAAS,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CA0CrE"}
@@ -30,9 +30,13 @@ class CreateAppGraphQLClient {
30
30
  const { response: { createApp: { success, errors, app } }, requestId } = await this.graphqlClient.mutate(createAppQuery, {
31
31
  input
32
32
  });
33
- const error = graphql_1.getError(errors);
33
+ const error = (0, graphql_1.getError)(errors);
34
34
  if (!success) {
35
- throw new graphql_1.GraphQlMutationError(`${error.message} (requestId: ${requestId || 'unknown'})`, error.code);
35
+ throw new graphql_1.GraphQlMutationError(`${error.message} (requestId: ${requestId || 'unknown'})`, {
36
+ requestId,
37
+ code: error.code,
38
+ statusCode: error.statusCode
39
+ });
36
40
  }
37
41
  if (!app) {
38
42
  throw new CannotCreateAppError(ui_1.Text.create.error.app.creation);
@@ -18,7 +18,7 @@ class NpmInstaller {
18
18
  return new Promise((resolve) => {
19
19
  if (NpmInstaller.dependenciesFileExists(directory)) {
20
20
  this.logger.info(ui_1.Text.create.taskPackages);
21
- const process = cross_spawn_1.spawn('npm', ['install', '--no-package-lock'], { cwd: directory });
21
+ const process = (0, cross_spawn_1.spawn)('npm', ['install', '--no-package-lock'], { cwd: directory });
22
22
  process.on('exit', resolve);
23
23
  process.on('error', () => {
24
24
  this.logger.warn(ui_1.Text.create.error.packages.installFail);
@@ -17,7 +17,7 @@ class RegisterAppCommand {
17
17
  this.logger.info(ui_1.Text.create.taskRegister);
18
18
  const id = await this.appClient.createApp(input);
19
19
  const cwd = process.cwd();
20
- process.chdir(path_1.resolve(cwd, directory));
20
+ process.chdir((0, path_1.resolve)(cwd, directory));
21
21
  try {
22
22
  await this.appConfigWriter.writeConfigSection({ id });
23
23
  if (shouldPrependAppName) {