@forge/cli-shared 6.8.0-next.8-experimental-900adc2 → 6.8.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.
package/CHANGELOG.md CHANGED
@@ -1,27 +1,201 @@
1
1
  # @forge/cli-shared
2
2
 
3
- ## 6.8.0-next.8-experimental-900adc2
3
+ ## 6.8.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
7
10
  - d156658: Switch the `forge create` flow to select product context first
8
11
 
9
12
  ### Patch Changes
10
13
 
14
+ - f9c2880: Add support for --no-verify during tunnel
15
+ - 3a510c5: Improve XPA uninstall wording
16
+ - 7243788: Displaying all product options and fixing wording
17
+ - 2204d8d: update the help text for license options
11
18
  - 2cdac63: forge install should list all scopes
19
+ - c57e34a: Fix bundling when handlers are defined in subdirectories
12
20
  - 9d231e9: switch the `forge create` cross-context flow to use the new `app.contexts` manifest format
13
21
  - 0aad197: Change product wording to context
22
+ - 61f499c: Fix XPA upgrade wording
14
23
  - 999a9d0: Update error messages for deployment
24
+ - d0cb567: License Decoupling: removed agent license mode, added support for user-access license mode in cli
25
+ - 7d8339b: verify installation exists before upgrading
26
+ - 7a83fd9: Uninstall: Automatically select optional contexts when the required one is selected
15
27
  - b503084: switch the `forge create` cross-context flow to use the new `app.contexts` manifest format
28
+ - 8c34ca3: Changed manifest to allow egress objects to be a list of string, egress objects containing at least the 'address' field, or a remote reference
29
+ - 336f74f: Support serving i18n resources while using `forge tunnel`
16
30
  - 210360b: Refactor text functions for easier read and maintenance
17
31
  - a7db2e6: improve error message
32
+ - Updated dependencies [7243788]
33
+ - Updated dependencies [acf1edf]
34
+ - Updated dependencies [2d5a0e6]
18
35
  - Updated dependencies [9d231e9]
36
+ - Updated dependencies [b51be39]
37
+ - Updated dependencies [4b083be]
19
38
  - Updated dependencies [94e48b9]
39
+ - Updated dependencies [0dfb15d]
40
+ - Updated dependencies [0dd4e3b]
20
41
  - Updated dependencies [b503084]
42
+ - Updated dependencies [8c34ca3]
43
+ - Updated dependencies [336f74f]
44
+ - Updated dependencies [e404ba0]
21
45
  - Updated dependencies [64daaa5]
46
+ - Updated dependencies [99739ec]
22
47
  - Updated dependencies [3a703de]
23
48
  - Updated dependencies [003b1ed]
24
- - @forge/manifest@8.9.0-next.3-experimental-900adc2
49
+ - @forge/manifest@9.0.0
50
+ - @forge/i18n@0.0.5
51
+
52
+ ## 6.8.0-next.29
53
+
54
+ ### Patch Changes
55
+
56
+ - Updated dependencies [0dd4e3b]
57
+ - @forge/manifest@9.0.0-next.14
58
+
59
+ ## 6.8.0-next.28
60
+
61
+ ### Minor Changes
62
+
63
+ - f12ec8a: Providing request id in forge cli for installation/upgrade failures to contact support with faster traceability
64
+
65
+ ## 6.8.0-next.27
66
+
67
+ ### Patch Changes
68
+
69
+ - d0cb567: License Decoupling: removed agent license mode, added support for user-access license mode in cli
70
+
71
+ ## 6.8.0-next.26
72
+
73
+ ### Minor Changes
74
+
75
+ - 2c0e151: Added new 'containers' command
76
+
77
+ ## 6.8.0-next.25
78
+
79
+ ### Patch Changes
80
+
81
+ - Updated dependencies [2d5a0e6]
82
+ - Updated dependencies [99739ec]
83
+ - @forge/manifest@9.0.0-next.13
84
+
85
+ ## 6.8.0-next.24
86
+
87
+ ### Minor Changes
88
+
89
+ - 1a9af0b: Add support for analytics to be displayed in the version commands
90
+
91
+ ### Patch Changes
92
+
93
+ - 8c34ca3: Changed manifest to allow egress objects to be a list of string, egress objects containing at least the 'address' field, or a remote reference
94
+ - Updated dependencies [8c34ca3]
95
+ - @forge/manifest@8.9.0-next.12
96
+
97
+ ## 6.8.0-next.23
98
+
99
+ ### Patch Changes
100
+
101
+ - Updated dependencies [0dfb15d]
102
+ - @forge/manifest@8.9.0-next.11
103
+
104
+ ## 6.8.0-next.22
105
+
106
+ ### Patch Changes
107
+
108
+ - Updated dependencies [b51be39]
109
+ - @forge/manifest@8.9.0-next.10
110
+
111
+ ## 6.8.0-next.21
112
+
113
+ ### Patch Changes
114
+
115
+ - Updated dependencies [e404ba0]
116
+ - @forge/i18n@0.0.5-next.1
117
+ - @forge/manifest@8.9.0-next.9
118
+
119
+ ## 6.8.0-next.20
120
+
121
+ ### Patch Changes
122
+
123
+ - 3a510c5: Improve XPA uninstall wording
124
+
125
+ ## 6.8.0-next.19
126
+
127
+ ### Patch Changes
128
+
129
+ - 61f499c: Fix XPA upgrade wording
130
+
131
+ ## 6.8.0-next.18
132
+
133
+ ### Patch Changes
134
+
135
+ - f9c2880: Add support for --no-verify during tunnel
136
+
137
+ ## 6.8.0-next.17
138
+
139
+ ### Patch Changes
140
+
141
+ - 7d8339b: verify installation exists before upgrading
142
+
143
+ ## 6.8.0-next.16
144
+
145
+ ### Patch Changes
146
+
147
+ - 2204d8d: update the help text for license options
148
+
149
+ ## 6.8.0-next.15
150
+
151
+ ### Patch Changes
152
+
153
+ - Updated dependencies [4b083be]
154
+ - @forge/manifest@8.9.0-next.8
155
+
156
+ ## 6.8.0-next.14
157
+
158
+ ### Patch Changes
159
+
160
+ - 7a83fd9: Uninstall: Automatically select optional contexts when the required one is selected
161
+
162
+ ## 6.8.0-next.13
163
+
164
+ ### Patch Changes
165
+
166
+ - c57e34a: Fix bundling when handlers are defined in subdirectories
167
+
168
+ ## 6.8.0-next.12
169
+
170
+ ### Patch Changes
171
+
172
+ - 7243788: Displaying all product options and fixing wording
173
+ - Updated dependencies [7243788]
174
+ - @forge/manifest@8.9.0-next.7
175
+
176
+ ## 6.8.0-next.11
177
+
178
+ ### Patch Changes
179
+
180
+ - 336f74f: Support serving i18n resources while using `forge tunnel`
181
+ - Updated dependencies [336f74f]
182
+ - @forge/i18n@0.0.5-next.0
183
+ - @forge/manifest@8.9.0-next.6
184
+
185
+ ## 6.8.0-next.10
186
+
187
+ ### Patch Changes
188
+
189
+ - Updated dependencies [de0bf46]
190
+ - @forge/manifest@8.9.0-next.5
191
+
192
+ ## 6.8.0-next.9
193
+
194
+ ### Patch Changes
195
+
196
+ - Updated dependencies [acf1edf]
197
+ - Updated dependencies [3a703de]
198
+ - @forge/manifest@8.9.0-next.4
25
199
 
26
200
  ## 6.8.0-next.8
27
201
 
@@ -1 +1 @@
1
- {"version":3,"file":"config-file.d.ts","sourceRoot":"","sources":["../../src/config/config-file.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAoB,MAAM,IAAI,CAAC;AAGlE,OAAO,EACL,OAAO,EACP,cAAc,EACd,SAAS,EAMV,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,SAAS,EAAE,eAAe,EAAQ,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAkB,MAAM,aAAa,CAAC;AAE1D,qBAAa,oBAAqB,SAAQ,eAAe;;CAIxD;AAED,qBAAa,8BAA+B,SAAQ,SAAS;gBAC/C,SAAS,EAAE,MAAM,EAAE;CAGhC;AAED,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1C,gBAAgB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACtC;AAED,oBAAY,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AACpC,oBAAY,cAAc,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;AACjE,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C,YAAY,EAAE,cAAc,CAAC;CAC9B;AAgBD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CA6D5D;AAED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AC5B,UAAU,EAAE,gBAAgB;IAKlC,cAAc,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAiBzC,UAAU,IAAI,OAAO,CAAC,cAAc,CAAC;IAYrC,gBAAgB,IAAI,OAAO,CAAC,OAAO,CAAC;IAMpC,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC;IAMhD,OAAO,CAAC,kBAAkB;IAoBb,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAajE,OAAO,CAAC,aAAa;IAIR,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAe1G,OAAO,CAAC,wBAAwB;IAKhC,OAAO,CAAC,wBAAwB;IAgBhC,OAAO,CAAC,6BAA6B;IAarC,OAAO,CAAC,gBAAgB;IAIX,oBAAoB,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;KAAE,EAAE,CAAC;IAqClF,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAe1E,YAAY,CAAC,aAAa,CAAC,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAsB1E,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAKzD,OAAO,CAAC,eAAe;CA0BxB"}
@@ -221,15 +221,16 @@ class ConfigFile {
221
221
  .map((entry) => ({
222
222
  type: typePrefix ? `${typePrefix}_${entry[0]}` : entry[0],
223
223
  domains: entry[1]?.map((url) => {
224
- let domain = this.instanceOfRemote(url) ? url.remote : url;
224
+ const domain = this.instanceOfRemote(url) ? url.remote : url;
225
225
  try {
226
- domain = this.instanceOfRemote(url)
227
- ? this.getRemoteFromEgressPermission(url.remote, remotes)
228
- : new url_1.URL(url).hostname;
226
+ if (this.instanceOfRemote(url)) {
227
+ return this.getRemoteFromEgressPermission(url.remote, remotes);
228
+ }
229
+ return new url_1.URL(typeof url === 'object' ? url.address : url).hostname;
229
230
  }
230
231
  catch (e) {
231
232
  }
232
- return domain;
233
+ return typeof domain === 'object' ? domain.address : domain;
233
234
  })
234
235
  }));
235
236
  const egressUrls = getDomainsFromPermissions(otherEgress);