@forge/cli 11.3.0-next.5-experimental-c9be087 → 11.3.0

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 (52) hide show
  1. package/CHANGELOG.md +382 -7
  2. package/npm-shrinkwrap.json +49 -46
  3. package/out/autocomplete/autocomplete-config.json +3 -0
  4. package/out/bin/cli.d.ts.map +1 -1
  5. package/out/command-line/command.js +1 -1
  6. package/out/command-line/controller/install-controller.d.ts +5 -3
  7. package/out/command-line/controller/install-controller.d.ts.map +1 -1
  8. package/out/command-line/controller/install-controller.js +45 -28
  9. package/out/command-line/controller/version-controller.d.ts.map +1 -1
  10. package/out/command-line/controller/version-controller.js +4 -0
  11. package/out/command-line/dependency-injection.d.ts +2 -0
  12. package/out/command-line/dependency-injection.d.ts.map +1 -1
  13. package/out/command-line/dependency-injection.js +5 -2
  14. package/out/command-line/index.d.ts.map +1 -1
  15. package/out/command-line/index.js +2 -0
  16. package/out/command-line/register-app-commands.d.ts.map +1 -1
  17. package/out/command-line/register-app-commands.js +1 -1
  18. package/out/command-line/register-containers-commands.d.ts +3 -0
  19. package/out/command-line/register-containers-commands.d.ts.map +1 -0
  20. package/out/command-line/register-containers-commands.js +165 -0
  21. package/out/command-line/register-installation-commands.d.ts.map +1 -1
  22. package/out/command-line/register-installation-commands.js +9 -3
  23. package/out/command-line/register-tunnel-commands.d.ts.map +1 -1
  24. package/out/command-line/register-tunnel-commands.js +1 -0
  25. package/out/command-line/uninstall-command-helpers.d.ts +2 -1
  26. package/out/command-line/uninstall-command-helpers.d.ts.map +1 -1
  27. package/out/command-line/uninstall-command-helpers.js +17 -1
  28. package/out/command-line/view/version-view.d.ts.map +1 -1
  29. package/out/command-line/view/version-view.js +22 -1
  30. package/out/containers/container-command.d.ts +19 -0
  31. package/out/containers/container-command.d.ts.map +1 -0
  32. package/out/containers/container-command.js +159 -0
  33. package/out/containers/index.d.ts +2 -0
  34. package/out/containers/index.d.ts.map +1 -0
  35. package/out/containers/index.js +4 -0
  36. package/out/deploy/deployer/deployer.d.ts.map +1 -1
  37. package/out/deploy/deployer/deployer.js +1 -0
  38. package/out/deploy/packager/runtime-bundler.d.ts +3 -3
  39. package/out/deploy/packager/runtime-bundler.d.ts.map +1 -1
  40. package/out/deploy/packager/runtime-bundler.js +11 -10
  41. package/out/installations/graphql-client.d.ts +1 -0
  42. package/out/installations/graphql-client.d.ts.map +1 -1
  43. package/out/installations/graphql-client.js +24 -10
  44. package/out/installations/installation-helper.js +1 -1
  45. package/out/service/installation-service.d.ts +1 -0
  46. package/out/service/installation-service.d.ts.map +1 -1
  47. package/out/service/version-service.d.ts +10 -0
  48. package/out/service/version-service.d.ts.map +1 -1
  49. package/out/service/version-service.js +12 -0
  50. package/out/version/graphql-client.d.ts.map +1 -1
  51. package/out/version/graphql-client.js +2 -0
  52. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,29 +1,404 @@
1
1
  # @forge/cli
2
2
 
3
- ## 11.3.0-next.5-experimental-c9be087
3
+ ## 11.3.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
+ - 2c0e151: Added new 'containers' command
8
+ - 1a9af0b: Add support for analytics to be displayed in the version commands
9
+ - f12ec8a: Providing request id in forge cli for installation/upgrade failures to contact support with faster traceability
10
+ - 4b083be: Option to bundle applications using TypeScript
7
11
  - d156658: Switch the `forge create` flow to select product context first
8
12
 
9
13
  ### Patch Changes
10
14
 
15
+ - f9c2880: Add support for --no-verify during tunnel
16
+ - ed5089a: Display more manifest perms validation errors
17
+ - 3a510c5: Improve XPA uninstall wording
18
+ - 7243788: Displaying all product options and fixing wording
11
19
  - 2cdac63: forge install should list all scopes
20
+ - 9d231e9: switch the `forge create` cross-context flow to use the new `app.contexts` manifest format
21
+ - 0aad197: Change product wording to context
22
+ - 61f499c: Fix XPA upgrade wording
23
+ - b865468: Fix crash when installing an XPA app
12
24
  - 999a9d0: Update error messages for deployment
25
+ - 017e68f: fix displaying scopes for forge upgrade
26
+ - d0cb567: License Decoupling: removed agent license mode, added support for user-access license mode in cli
27
+ - 7d8339b: verify installation exists before upgrading
28
+ - 473052d: Ensure i18n resources are included in resolver bundles
29
+ - 30779a6: Clean up shrinkwrap to support npm remote cache
30
+ - 7a83fd9: Uninstall: Automatically select optional contexts when the required one is selected
31
+ - 336f74f: Support serving i18n resources while using `forge tunnel`
13
32
  - 210360b: Refactor text functions for easier read and maintenance
14
33
  - b4cee28: Fix uninstall message
34
+ - Updated dependencies [f9c2880]
35
+ - Updated dependencies [3a510c5]
36
+ - Updated dependencies [2c0e151]
37
+ - Updated dependencies [7243788]
38
+ - Updated dependencies [acf1edf]
39
+ - Updated dependencies [2204d8d]
40
+ - Updated dependencies [2d5a0e6]
15
41
  - Updated dependencies [2cdac63]
42
+ - Updated dependencies [c57e34a]
43
+ - Updated dependencies [9d231e9]
44
+ - Updated dependencies [0aad197]
45
+ - Updated dependencies [61f499c]
46
+ - Updated dependencies [b51be39]
47
+ - Updated dependencies [1a9af0b]
16
48
  - Updated dependencies [999a9d0]
17
- - Updated dependencies [721e1a0]
49
+ - Updated dependencies [7f46df4]
50
+ - Updated dependencies [d0cb567]
51
+ - Updated dependencies [7d8339b]
52
+ - Updated dependencies [f12ec8a]
53
+ - Updated dependencies [8410c2d]
54
+ - Updated dependencies [4b083be]
18
55
  - Updated dependencies [94e48b9]
56
+ - Updated dependencies [bd12e28]
57
+ - Updated dependencies [0dfb15d]
19
58
  - Updated dependencies [d156658]
59
+ - Updated dependencies [7a83fd9]
60
+ - Updated dependencies [0dd4e3b]
61
+ - Updated dependencies [b503084]
62
+ - Updated dependencies [8c34ca3]
63
+ - Updated dependencies [336f74f]
20
64
  - Updated dependencies [210360b]
65
+ - Updated dependencies [a7db2e6]
66
+ - Updated dependencies [e404ba0]
21
67
  - Updated dependencies [64daaa5]
22
- - @forge/cli-shared@6.8.0-next.5-experimental-c9be087
23
- - @forge/manifest@8.9.0-next.1-experimental-c9be087
24
- - @forge/bundler@4.21.1-next.5-experimental-c9be087
25
- - @forge/lint@5.7.3-next.5-experimental-c9be087
26
- - @forge/tunnel@5.10.1-next.5-experimental-c9be087
68
+ - Updated dependencies [99739ec]
69
+ - Updated dependencies [3a703de]
70
+ - Updated dependencies [003b1ed]
71
+ - @forge/cli-shared@6.8.0
72
+ - @forge/tunnel@5.10.1
73
+ - @forge/manifest@9.0.0
74
+ - @forge/bundler@4.22.0
75
+ - @forge/lint@5.7.3
76
+ - @forge/i18n@0.0.5
77
+
78
+ ## 11.3.0-next.34
79
+
80
+ ### Patch Changes
81
+
82
+ - Updated dependencies [0dd4e3b]
83
+ - @forge/manifest@9.0.0-next.14
84
+ - @forge/bundler@4.22.0-next.31
85
+ - @forge/cli-shared@6.8.0-next.29
86
+ - @forge/lint@5.7.3-next.30
87
+ - @forge/tunnel@5.10.1-next.32
88
+
89
+ ## 11.3.0-next.33
90
+
91
+ ### Minor Changes
92
+
93
+ - f12ec8a: Providing request id in forge cli for installation/upgrade failures to contact support with faster traceability
94
+
95
+ ### Patch Changes
96
+
97
+ - Updated dependencies [f12ec8a]
98
+ - @forge/cli-shared@6.8.0-next.28
99
+ - @forge/bundler@4.22.0-next.30
100
+ - @forge/lint@5.7.3-next.29
101
+ - @forge/tunnel@5.10.1-next.31
102
+
103
+ ## 11.3.0-next.32
104
+
105
+ ### Patch Changes
106
+
107
+ - Updated dependencies [7f46df4]
108
+ - @forge/bundler@4.22.0-next.29
109
+ - @forge/tunnel@5.10.1-next.30
110
+
111
+ ## 11.3.0-next.31
112
+
113
+ ### Patch Changes
114
+
115
+ - d0cb567: License Decoupling: removed agent license mode, added support for user-access license mode in cli
116
+ - Updated dependencies [d0cb567]
117
+ - @forge/cli-shared@6.8.0-next.27
118
+ - @forge/bundler@4.22.0-next.28
119
+ - @forge/lint@5.7.3-next.28
120
+ - @forge/tunnel@5.10.1-next.29
121
+
122
+ ## 11.3.0-next.30
123
+
124
+ ### Patch Changes
125
+
126
+ - 30779a6: Clean up shrinkwrap to support npm remote cache
127
+
128
+ ## 11.3.0-next.29
129
+
130
+ ### Minor Changes
131
+
132
+ - 2c0e151: Added new 'containers' command
133
+
134
+ ### Patch Changes
135
+
136
+ - Updated dependencies [2c0e151]
137
+ - @forge/cli-shared@6.8.0-next.26
138
+ - @forge/bundler@4.22.0-next.27
139
+ - @forge/lint@5.7.3-next.27
140
+ - @forge/tunnel@5.10.1-next.28
141
+
142
+ ## 11.3.0-next.28
143
+
144
+ ### Patch Changes
145
+
146
+ - Updated dependencies [2d5a0e6]
147
+ - Updated dependencies [99739ec]
148
+ - @forge/manifest@9.0.0-next.13
149
+ - @forge/bundler@4.22.0-next.26
150
+ - @forge/cli-shared@6.8.0-next.25
151
+ - @forge/lint@5.7.3-next.26
152
+ - @forge/tunnel@5.10.1-next.27
153
+
154
+ ## 11.3.0-next.27
155
+
156
+ ### Minor Changes
157
+
158
+ - 1a9af0b: Add support for analytics to be displayed in the version commands
159
+
160
+ ### Patch Changes
161
+
162
+ - Updated dependencies [1a9af0b]
163
+ - Updated dependencies [8c34ca3]
164
+ - @forge/cli-shared@6.8.0-next.24
165
+ - @forge/manifest@8.9.0-next.12
166
+ - @forge/tunnel@5.10.1-next.26
167
+ - @forge/lint@5.7.3-next.25
168
+ - @forge/bundler@4.22.0-next.25
169
+
170
+ ## 11.3.0-next.26
171
+
172
+ ### Patch Changes
173
+
174
+ - Updated dependencies [0dfb15d]
175
+ - @forge/manifest@8.9.0-next.11
176
+ - @forge/tunnel@5.10.1-next.25
177
+ - @forge/bundler@4.22.0-next.24
178
+ - @forge/cli-shared@6.8.0-next.23
179
+ - @forge/lint@5.7.3-next.24
180
+
181
+ ## 11.3.0-next.25
182
+
183
+ ### Patch Changes
184
+
185
+ - ed5089a: Display more manifest perms validation errors
186
+ - Updated dependencies [b51be39]
187
+ - @forge/manifest@8.9.0-next.10
188
+ - @forge/bundler@4.22.0-next.23
189
+ - @forge/cli-shared@6.8.0-next.22
190
+ - @forge/lint@5.7.3-next.23
191
+ - @forge/tunnel@5.10.1-next.24
192
+
193
+ ## 11.3.0-next.24
194
+
195
+ ### Patch Changes
196
+
197
+ - Updated dependencies [8410c2d]
198
+ - Updated dependencies [e404ba0]
199
+ - @forge/bundler@4.22.0-next.22
200
+ - @forge/i18n@0.0.5-next.1
201
+ - @forge/tunnel@5.10.1-next.23
202
+ - @forge/cli-shared@6.8.0-next.21
203
+ - @forge/manifest@8.9.0-next.9
204
+ - @forge/lint@5.7.3-next.22
205
+
206
+ ## 11.3.0-next.23
207
+
208
+ ### Patch Changes
209
+
210
+ - b865468: Fix crash when installing an XPA app
211
+
212
+ ## 11.3.0-next.22
213
+
214
+ ### Patch Changes
215
+
216
+ - 3a510c5: Improve XPA uninstall wording
217
+ - Updated dependencies [3a510c5]
218
+ - @forge/cli-shared@6.8.0-next.20
219
+ - @forge/bundler@4.22.0-next.21
220
+ - @forge/lint@5.7.3-next.21
221
+ - @forge/tunnel@5.10.1-next.22
222
+
223
+ ## 11.3.0-next.21
224
+
225
+ ### Patch Changes
226
+
227
+ - 61f499c: Fix XPA upgrade wording
228
+ - Updated dependencies [61f499c]
229
+ - @forge/cli-shared@6.8.0-next.19
230
+ - @forge/bundler@4.22.0-next.20
231
+ - @forge/lint@5.7.3-next.20
232
+ - @forge/tunnel@5.10.1-next.21
233
+
234
+ ## 11.3.0-next.20
235
+
236
+ ### Patch Changes
237
+
238
+ - f9c2880: Add support for --no-verify during tunnel
239
+ - 017e68f: fix displaying scopes for forge upgrade
240
+ - Updated dependencies [f9c2880]
241
+ - @forge/cli-shared@6.8.0-next.18
242
+ - @forge/tunnel@5.10.1-next.20
243
+ - @forge/bundler@4.22.0-next.19
244
+ - @forge/lint@5.7.3-next.19
245
+
246
+ ## 11.3.0-next.19
247
+
248
+ ### Patch Changes
249
+
250
+ - 7d8339b: verify installation exists before upgrading
251
+ - Updated dependencies [7d8339b]
252
+ - @forge/cli-shared@6.8.0-next.17
253
+ - @forge/bundler@4.22.0-next.18
254
+ - @forge/lint@5.7.3-next.18
255
+ - @forge/tunnel@5.10.1-next.19
256
+
257
+ ## 11.3.0-next.18
258
+
259
+ ### Patch Changes
260
+
261
+ - 473052d: Ensure i18n resources are included in resolver bundles
262
+ - Updated dependencies [2204d8d]
263
+ - @forge/cli-shared@6.8.0-next.16
264
+ - @forge/bundler@4.22.0-next.17
265
+ - @forge/lint@5.7.3-next.17
266
+ - @forge/tunnel@5.10.1-next.18
267
+
268
+ ## 11.3.0-next.17
269
+
270
+ ### Patch Changes
271
+
272
+ - Updated dependencies [bd12e28]
273
+ - @forge/tunnel@5.10.1-next.17
274
+
275
+ ## 11.3.0-next.16
276
+
277
+ ### Minor Changes
278
+
279
+ - 4b083be: Option to bundle applications using TypeScript
280
+
281
+ ### Patch Changes
282
+
283
+ - Updated dependencies [4b083be]
284
+ - @forge/manifest@8.9.0-next.8
285
+ - @forge/bundler@4.22.0-next.16
286
+ - @forge/cli-shared@6.8.0-next.15
287
+ - @forge/lint@5.7.3-next.16
288
+ - @forge/tunnel@5.10.1-next.16
289
+
290
+ ## 11.3.0-next.15
291
+
292
+ ### Patch Changes
293
+
294
+ - 7a83fd9: Uninstall: Automatically select optional contexts when the required one is selected
295
+ - Updated dependencies [7a83fd9]
296
+ - @forge/cli-shared@6.8.0-next.14
297
+ - @forge/bundler@4.21.1-next.15
298
+ - @forge/lint@5.7.3-next.15
299
+ - @forge/tunnel@5.10.1-next.15
300
+
301
+ ## 11.3.0-next.14
302
+
303
+ ### Patch Changes
304
+
305
+ - Updated dependencies [c57e34a]
306
+ - @forge/cli-shared@6.8.0-next.13
307
+ - @forge/bundler@4.21.1-next.14
308
+ - @forge/lint@5.7.3-next.14
309
+ - @forge/tunnel@5.10.1-next.14
310
+
311
+ ## 11.3.0-next.13
312
+
313
+ ### Patch Changes
314
+
315
+ - 7243788: Displaying all product options and fixing wording
316
+ - Updated dependencies [7243788]
317
+ - @forge/cli-shared@6.8.0-next.12
318
+ - @forge/manifest@8.9.0-next.7
319
+ - @forge/bundler@4.21.1-next.13
320
+ - @forge/lint@5.7.3-next.13
321
+ - @forge/tunnel@5.10.1-next.13
322
+
323
+ ## 11.3.0-next.12
324
+
325
+ ### Patch Changes
326
+
327
+ - 336f74f: Support serving i18n resources while using `forge tunnel`
328
+ - Updated dependencies [336f74f]
329
+ - @forge/bundler@4.21.1-next.12
330
+ - @forge/cli-shared@6.8.0-next.11
331
+ - @forge/i18n@0.0.5-next.0
332
+ - @forge/tunnel@5.10.1-next.12
333
+ - @forge/lint@5.7.3-next.12
334
+ - @forge/manifest@8.9.0-next.6
335
+
336
+ ## 11.3.0-next.11
337
+
338
+ ### Patch Changes
339
+
340
+ - @forge/lint@5.7.3-next.11
341
+ - @forge/tunnel@5.10.1-next.11
342
+ - @forge/bundler@4.21.1-next.11
343
+
344
+ ## 11.3.0-next.10
345
+
346
+ ### Patch Changes
347
+
348
+ - Updated dependencies [de0bf46]
349
+ - @forge/manifest@8.9.0-next.5
350
+ - @forge/tunnel@5.10.1-next.10
351
+ - @forge/bundler@4.21.1-next.10
352
+ - @forge/cli-shared@6.8.0-next.10
353
+ - @forge/lint@5.7.3-next.10
354
+
355
+ ## 11.3.0-next.9
356
+
357
+ ### Patch Changes
358
+
359
+ - Updated dependencies [acf1edf]
360
+ - Updated dependencies [3a703de]
361
+ - @forge/manifest@8.9.0-next.4
362
+ - @forge/bundler@4.21.1-next.9
363
+ - @forge/cli-shared@6.8.0-next.9
364
+ - @forge/lint@5.7.3-next.9
365
+ - @forge/tunnel@5.10.1-next.9
366
+
367
+ ## 11.3.0-next.8
368
+
369
+ ### Patch Changes
370
+
371
+ - 0aad197: Change product wording to context
372
+ - Updated dependencies [0aad197]
373
+ - @forge/cli-shared@6.8.0-next.8
374
+ - @forge/bundler@4.21.1-next.8
375
+ - @forge/lint@5.7.3-next.8
376
+ - @forge/tunnel@5.10.1-next.8
377
+
378
+ ## 11.3.0-next.7
379
+
380
+ ### Patch Changes
381
+
382
+ - 9d231e9: switch the `forge create` cross-context flow to use the new `app.contexts` manifest format
383
+ - Updated dependencies [9d231e9]
384
+ - Updated dependencies [b503084]
385
+ - @forge/cli-shared@6.8.0-next.7
386
+ - @forge/manifest@8.9.0-next.3
387
+ - @forge/bundler@4.21.1-next.7
388
+ - @forge/lint@5.7.3-next.7
389
+ - @forge/tunnel@5.10.1-next.7
390
+
391
+ ## 11.3.0-next.6
392
+
393
+ ### Patch Changes
394
+
395
+ - Updated dependencies [a7db2e6]
396
+ - Updated dependencies [003b1ed]
397
+ - @forge/cli-shared@6.8.0-next.6
398
+ - @forge/manifest@8.9.0-next.2
399
+ - @forge/bundler@4.21.1-next.6
400
+ - @forge/lint@5.7.3-next.6
401
+ - @forge/tunnel@5.10.1-next.6
27
402
 
28
403
  ## 11.3.0-next.5
29
404
 
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@forge/cli",
3
- "version": "11.3.0-next.5-experimental-c9be087",
3
+ "version": "11.3.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@forge/cli",
9
- "version": "11.3.0-next.5-experimental-c9be087",
9
+ "version": "11.3.0",
10
10
  "hasInstallScript": true,
11
11
  "license": "SEE LICENSE IN LICENSE.txt",
12
12
  "dependencies": {
13
- "@forge/bundler": "4.21.1-next.5-experimental-c9be087",
14
- "@forge/cli-shared": "6.8.0-next.5-experimental-c9be087",
13
+ "@forge/bundler": "4.22.0",
14
+ "@forge/cli-shared": "6.8.0",
15
15
  "@forge/egress": "1.4.0",
16
- "@forge/i18n": "0.0.4",
17
- "@forge/lint": "5.7.3-next.5-experimental-c9be087",
18
- "@forge/manifest": "8.9.0-next.1-experimental-c9be087",
16
+ "@forge/i18n": "0.0.5",
17
+ "@forge/lint": "5.7.3",
18
+ "@forge/manifest": "9.0.0",
19
19
  "@forge/runtime": "5.10.7",
20
- "@forge/tunnel": "5.10.1-next.5-experimental-c9be087",
20
+ "@forge/tunnel": "5.10.1",
21
21
  "@forge/util": "1.4.8",
22
22
  "@sentry/node": "7.106.0",
23
23
  "ajv": "^8.12.0",
@@ -834,9 +834,9 @@
834
834
  "license": "SEE LICENSE IN LICENSE.txt"
835
835
  },
836
836
  "node_modules/@forge/bundler": {
837
- "version": "4.21.1-next.5-experimental-c9be087",
838
- "resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-4.21.1-next.5-experimental-c9be087.tgz",
839
- "integrity": "sha512-AIWBP5q7rOhLMlQCQUbk2epcxLv+Bs0qz9XxUNBICvWuP03AnPARCEGtbgldTjDUYAkoyybJ7VFLhr+1ESktpQ==",
837
+ "version": "4.22.0",
838
+ "resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-4.22.0.tgz",
839
+ "integrity": "sha512-Wv6D6YxLng0/CTxNT0qdzv8oz+tsr5+6YZjRqJBna43qhPkXS88jWUPAfRdPY2c8YvhfbbUSrZS8+cIBu1CEWQ==",
840
840
  "license": "SEE LICENSE IN LICENSE.txt",
841
841
  "dependencies": {
842
842
  "@babel/core": "^7.24.0",
@@ -846,12 +846,12 @@
846
846
  "@babel/plugin-transform-optional-chaining": "^7.23.4",
847
847
  "@babel/plugin-transform-react-jsx": "^7.23.4",
848
848
  "@babel/preset-typescript": "^7.23.3",
849
- "@forge/api": "5.1.1",
849
+ "@forge/api": "5.2.0",
850
850
  "@forge/babel-plugin-transform-ui": "1.1.21",
851
- "@forge/cli-shared": "6.8.0-next.5-experimental-c9be087",
852
- "@forge/i18n": "0.0.4",
853
- "@forge/lint": "5.7.3-next.5-experimental-c9be087",
854
- "@forge/manifest": "8.9.0-next.1-experimental-c9be087",
851
+ "@forge/cli-shared": "6.8.0",
852
+ "@forge/i18n": "0.0.5",
853
+ "@forge/lint": "5.7.3",
854
+ "@forge/manifest": "9.0.0",
855
855
  "@forge/util": "1.4.8",
856
856
  "assert": "^2.1.0",
857
857
  "babel-loader": "^8.3.0",
@@ -860,8 +860,10 @@
860
860
  "chalk": "^4.1.2",
861
861
  "cheerio": "^0.22.0",
862
862
  "console-browserify": "^1.2.0",
863
+ "cross-spawn": "^7.0.5",
863
864
  "crypto-browserify": "^3.12.0",
864
865
  "events": "^3.3.0",
866
+ "fs-extra": "^11.2.0",
865
867
  "headers-utils": "^3.0.2",
866
868
  "html-webpack-plugin": "^5.6.0",
867
869
  "inherits": "^2.0.4",
@@ -891,13 +893,14 @@
891
893
  }
892
894
  },
893
895
  "node_modules/@forge/bundler/node_modules/@forge/api": {
894
- "version": "5.1.1",
895
- "resolved": "https://registry.npmjs.org/@forge/api/-/api-5.1.1.tgz",
896
- "integrity": "sha512-Ph3w6H404bg/DGBoqksUaxNt19f/cONrV1UNEhdMIISo/R8jVSaeimgcC8hNDbd8iYVJfRoDvzlKmjBGod1AAw==",
896
+ "version": "5.2.0",
897
+ "resolved": "https://registry.npmjs.org/@forge/api/-/api-5.2.0.tgz",
898
+ "integrity": "sha512-Kc0qzqccviRqC0Nj0pFhzEi7G6duQRicYUERLy6IwR0ETBGJx6VCFqHbKRKT8ZxpEhTSBp9NItLuV7ayBXGBew==",
897
899
  "license": "SEE LICENSE IN LICENSE.txt",
898
900
  "dependencies": {
899
901
  "@forge/auth": "0.0.7",
900
902
  "@forge/egress": "1.4.0",
903
+ "@forge/i18n": "0.0.5",
901
904
  "@forge/storage": "1.8.0",
902
905
  "@forge/util": "1.4.8",
903
906
  "headers-utils": "^3.0.2"
@@ -919,13 +922,13 @@
919
922
  "license": "SEE LICENSE IN LICENSE.txt"
920
923
  },
921
924
  "node_modules/@forge/cli-shared": {
922
- "version": "6.8.0-next.5-experimental-c9be087",
923
- "resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-6.8.0-next.5-experimental-c9be087.tgz",
924
- "integrity": "sha512-fMWvvHIDzVf2W0MDIMmxDLNv26dseSq13QsQALSjdGyKGfuHjq4OdywxT3Y/HeW4YR8KrygYGApkyH7vgeRk+w==",
925
+ "version": "6.8.0",
926
+ "resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-6.8.0.tgz",
927
+ "integrity": "sha512-oFNeNQ2V8Mci0tdAW3xodvW141JWJY/xSh3CyfkhqMf1H0H1kzcgkTDUtjXiqBD2xdZFGkaYqujLrJIj9YdtbQ==",
925
928
  "license": "SEE LICENSE IN LICENSE.txt",
926
929
  "dependencies": {
927
- "@forge/i18n": "0.0.4",
928
- "@forge/manifest": "8.9.0-next.1-experimental-c9be087",
930
+ "@forge/i18n": "0.0.5",
931
+ "@forge/manifest": "9.0.0",
929
932
  "@forge/util": "1.4.8",
930
933
  "@sentry/node": "7.106.0",
931
934
  "adm-zip": "^0.5.10",
@@ -958,9 +961,9 @@
958
961
  }
959
962
  },
960
963
  "node_modules/@forge/csp": {
961
- "version": "3.6.2-experimental-c9be087",
962
- "resolved": "https://registry.npmjs.org/@forge/csp/-/csp-3.6.2-experimental-c9be087.tgz",
963
- "integrity": "sha512-tacu+OIDe65Vt8xuXJNSZ4eFyTWQ0aB6F24JUtiSpaa2ct0hy3crJBhgBK9s8qXXvVPtGmFrAla+S397wIR27g==",
964
+ "version": "3.7.0",
965
+ "resolved": "https://registry.npmjs.org/@forge/csp/-/csp-3.7.0.tgz",
966
+ "integrity": "sha512-0ntwvxvK/d9nFXmoBJ4tHVh4Aq0TDKO6koQmoPNuyDfoKC2rROxEUv/uEV7hOY3lu/cEkFbRwBEon2OQLaXXPw==",
964
967
  "license": "SEE LICENSE IN LICENSE.txt",
965
968
  "dependencies": {
966
969
  "cheerio": "^0.22.0",
@@ -977,24 +980,24 @@
977
980
  }
978
981
  },
979
982
  "node_modules/@forge/i18n": {
980
- "version": "0.0.4",
981
- "resolved": "https://registry.npmjs.org/@forge/i18n/-/i18n-0.0.4.tgz",
982
- "integrity": "sha512-V1blbHd5DHtmDDyJmTFHik+NQe5cFoaDUP/u0Ox3SFf4J9XizQCMTzh37w/fr6N9fz/Xz/wQifQh6Ej8GaRjCA==",
983
+ "version": "0.0.5",
984
+ "resolved": "https://registry.npmjs.org/@forge/i18n/-/i18n-0.0.5.tgz",
985
+ "integrity": "sha512-G4M8NTXbNR5HzpYNFQMczypUuxoItdtAMQmwIgUkzE2osrjPRKhFx/VniMGnnXoowgmDLoaMtMcllvxcm/YnVA==",
983
986
  "license": "SEE LICENSE IN LICENSE.txt",
984
987
  "dependencies": {
985
988
  "lodash": "^4.17.21"
986
989
  }
987
990
  },
988
991
  "node_modules/@forge/lint": {
989
- "version": "5.7.3-next.5-experimental-c9be087",
990
- "resolved": "https://registry.npmjs.org/@forge/lint/-/lint-5.7.3-next.5-experimental-c9be087.tgz",
991
- "integrity": "sha512-ZNUJzb7WptN5kAC6M5zV58+8afDA3k6D2Kgs+2i16rO+cmCHvxNwbjFPLxWuLLcvUF9h/TkhO4Znc6TwWLpwqQ==",
992
+ "version": "5.7.3",
993
+ "resolved": "https://registry.npmjs.org/@forge/lint/-/lint-5.7.3.tgz",
994
+ "integrity": "sha512-RxSgUsRpCjYEDWRNfcYc++irnFvY0YCGI7L3LUEiCvcU1DXqn+Kyp2FH9A5+vzIiSFzS5eUdpMNm24GmUVtyRQ==",
992
995
  "license": "SEE LICENSE IN LICENSE.txt",
993
996
  "dependencies": {
994
- "@forge/cli-shared": "6.8.0-next.5-experimental-c9be087",
995
- "@forge/csp": "3.6.2-experimental-c9be087",
997
+ "@forge/cli-shared": "6.8.0",
998
+ "@forge/csp": "3.7.0",
996
999
  "@forge/egress": "1.4.0",
997
- "@forge/manifest": "8.9.0-next.1-experimental-c9be087",
1000
+ "@forge/manifest": "9.0.0",
998
1001
  "@typescript-eslint/typescript-estree": "^5.62.0",
999
1002
  "array.prototype.flatmap": "^1.3.2",
1000
1003
  "atlassian-openapi": "^1.0.18",
@@ -1003,12 +1006,12 @@
1003
1006
  }
1004
1007
  },
1005
1008
  "node_modules/@forge/manifest": {
1006
- "version": "8.9.0-next.1-experimental-c9be087",
1007
- "resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-8.9.0-next.1-experimental-c9be087.tgz",
1008
- "integrity": "sha512-zBZ1AY9Xn1JgqU8B9LylFnqZjAIGKAkq3+V3lh5E5DksmICBgxRIjG/++KO1y6PAoskwTKRySWF63J1E5S6GpQ==",
1009
+ "version": "9.0.0",
1010
+ "resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-9.0.0.tgz",
1011
+ "integrity": "sha512-wA+FUygKvCPxyE26L6zEMYaETOEmpZrpFpU26/Sw+9NkNDKuHFmAKYnf32rzMe1JdnDT5HIj2IbWK2/DzUkNjw==",
1009
1012
  "license": "SEE LICENSE IN LICENSE.txt",
1010
1013
  "dependencies": {
1011
- "@forge/i18n": "0.0.4",
1014
+ "@forge/i18n": "0.0.5",
1012
1015
  "@sentry/node": "7.106.0",
1013
1016
  "ajv": "^8.12.0",
1014
1017
  "ajv-formats": "2.1.1",
@@ -1036,14 +1039,14 @@
1036
1039
  }
1037
1040
  },
1038
1041
  "node_modules/@forge/tunnel": {
1039
- "version": "5.10.1-next.5-experimental-c9be087",
1040
- "resolved": "https://registry.npmjs.org/@forge/tunnel/-/tunnel-5.10.1-next.5-experimental-c9be087.tgz",
1041
- "integrity": "sha512-XrVn6bi+up3uxqZMwm2hRG5gaNJsCq5zDqJGhuQQxnJ06/9KPK26D5KXdca7yfL7/lG9xXOoO1bejGcjvjkrUw==",
1042
+ "version": "5.10.1",
1043
+ "resolved": "https://registry.npmjs.org/@forge/tunnel/-/tunnel-5.10.1.tgz",
1044
+ "integrity": "sha512-+wK3/ojNKNhj8Sto+7rO59i+IaFOc8Nzo6AMfehiO+pk6LGtRPBQv3Ai3dtHKNtMDz0W0QHHZuPUUUJwm2Or7g==",
1042
1045
  "license": "SEE LICENSE IN LICENSE.txt",
1043
1046
  "dependencies": {
1044
- "@forge/bundler": "4.21.1-next.5-experimental-c9be087",
1045
- "@forge/cli-shared": "6.8.0-next.5-experimental-c9be087",
1046
- "@forge/csp": "3.6.2-experimental-c9be087",
1047
+ "@forge/bundler": "4.22.0",
1048
+ "@forge/cli-shared": "6.8.0",
1049
+ "@forge/csp": "3.7.0",
1047
1050
  "@forge/runtime": "5.10.7",
1048
1051
  "chokidar": "^3.6.0",
1049
1052
  "cloudflared": "^0.7.0",
@@ -204,6 +204,9 @@
204
204
  "--debugStartingPort": {
205
205
  "requireUserArg": true
206
206
  },
207
+ "--no-verify": {
208
+ "requireUserArg": false
209
+ },
207
210
  "--help": {
208
211
  "requireUserArg": false
209
212
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/bin/cli.ts"],"names":[],"mappings":";AAUA,OAAO,iBAAiB,CAAC"}
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/bin/cli.ts"],"names":[],"mappings":";AAWA,OAAO,iBAAiB,CAAC"}
@@ -189,7 +189,7 @@ class Command {
189
189
  contextOption() {
190
190
  const supportedProductsService = this.supportedProductsService;
191
191
  return this.option('-s, --site [site]', cli_shared_1.Text.optionSite)
192
- .option('-p, --product [product]', cli_shared_1.Text.optionProduct(supportedProductsService.getSupportedProducts()))
192
+ .option('-p, --product [context]', cli_shared_1.Text.optionProduct(supportedProductsService.getSupportedProducts()))
193
193
  .precondition(async (...args) => {
194
194
  const { site, product } = last(args);
195
195
  return validateContext({ supportedProductsService, site, product });
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { AppConfigProvider, ConfigFile, UI, SupportedProductsService } from '@forge/cli-shared';
2
+ import { AppConfigProvider, ConfigFile, UI, SupportedProduct, SupportedProductsService } from '@forge/cli-shared';
3
3
  import { URL } from 'url';
4
4
  import { InstallAppSiteCommand } from '../../installations/install-app-site';
5
5
  import { InstallationService } from '../../service/installation-service';
@@ -7,7 +7,7 @@ import { InstallView } from '../view/install-view';
7
7
  interface InstallViewProps {
8
8
  environment: string;
9
9
  site?: URL;
10
- products?: string[];
10
+ products?: SupportedProduct[];
11
11
  upgrade: boolean;
12
12
  nonInteractive?: boolean;
13
13
  confirmScopes: boolean;
@@ -31,12 +31,14 @@ export declare class InstallController {
31
31
  private installOrUpgrade;
32
32
  private promptForProducts;
33
33
  private promptForSite;
34
- private promptForUpgrade;
34
+ private getAppInstallations;
35
+ private getInstallationToUpgrade;
35
36
  private getUniqueInstallationProductsFromScopes;
36
37
  private isValidLicense;
37
38
  private validateLicenseOption;
38
39
  private checkForUIKit1Modules;
39
40
  run({ environment, site, products, upgrade, confirmScopes, license, licenseModes, usersWithAccess, nonInteractive }: InstallViewProps): Promise<void>;
41
+ private extractManifestData;
40
42
  private getXPAProductsAndSite;
41
43
  private checkForMultiProductScopes;
42
44
  private convertListScope;
@@ -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,EAYF,wBAAwB,EAGzB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAgB,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,UAAU,gBAAgB;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;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,wBAAwB;gBANxB,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,EAAE,EAAE,EAAE,EACN,qBAAqB,EAAE,qBAAqB,EAC5C,mBAAmB,EAAE,mBAAmB,EACxC,WAAW,EAAE,WAAW,EACxB,wBAAwB,EAAE,wBAAwB;YAGvD,cAAc;YAmBd,gBAAgB;YA8ChB,iBAAiB;YAyBjB,aAAa;YA0Bb,gBAAgB;IAwB9B,OAAO,CAAC,uCAAuC;IAa/C,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,qBAAqB;IAgB7B,OAAO,CAAC,qBAAqB,CAK3B;IAEW,GAAG,CAAC,EACf,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,aAAa,EACb,OAAO,EACP,YAAY,EACZ,eAAe,EACf,cAAc,EACf,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAiInC,OAAO,CAAC,qBAAqB,CA8B3B;IAEF,OAAO,CAAC,0BAA0B,CA8BhC;YAEY,gBAAgB;IAU9B,OAAO,CAAC,kBAAkB;IAI1B,OAAO,CAAC,oBAAoB;IA8B5B,OAAO,CAAC,uBAAuB;YAoBjB,8CAA8C;IAY5D,OAAO,CAAC,+BAA+B,CAWrC;CACH"}
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,EAUF,gBAAgB,EAChB,wBAAwB,EAIzB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAgB,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,UAAU,gBAAgB;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAYD,qBAAa,iBAAkB,SAAQ,KAAK;gBAC9B,WAAW,EAAE,MAAM;CAGhC;AAUD,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,wBAAwB;gBANxB,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,EAAE,EAAE,EAAE,EACN,qBAAqB,EAAE,qBAAqB,EAC5C,mBAAmB,EAAE,mBAAmB,EACxC,WAAW,EAAE,WAAW,EACxB,wBAAwB,EAAE,wBAAwB;YAGvD,cAAc;YAmBd,gBAAgB;YA8ChB,iBAAiB;YA0BjB,aAAa;YA2Bb,mBAAmB;YAcnB,wBAAwB;IAkCtC,OAAO,CAAC,uCAAuC;IAa/C,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,qBAAqB;IAgB7B,OAAO,CAAC,qBAAqB,CAM3B;IAEW,GAAG,CAAC,EACf,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,aAAa,EACb,OAAO,EACP,YAAY,EACZ,eAAe,EACf,cAAc,EACf,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAmInC,OAAO,CAAC,mBAAmB,CAOzB;IAEF,OAAO,CAAC,qBAAqB,CAoC3B;IAEF,OAAO,CAAC,0BAA0B,CA8BhC;YAEY,gBAAgB;IAU9B,OAAO,CAAC,kBAAkB;IAI1B,OAAO,CAAC,oBAAoB;IA8B5B,OAAO,CAAC,uBAAuB;YAoBjB,8CAA8C;IAY5D,OAAO,CAAC,+BAA+B,CAWrC;CACH"}