@forge/cli-shared 6.8.0-next.9 → 6.8.1-next.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,5 +1,201 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 6.8.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [680704b]
8
+ - @forge/manifest@9.1.0-next.0
9
+
10
+ ## 6.8.0
11
+
12
+ ### Minor Changes
13
+
14
+ - 2c0e151: Added new 'containers' command
15
+ - 1a9af0b: Add support for analytics to be displayed in the version commands
16
+ - f12ec8a: Providing request id in forge cli for installation/upgrade failures to contact support with faster traceability
17
+ - d156658: Switch the `forge create` flow to select product context first
18
+
19
+ ### Patch Changes
20
+
21
+ - f9c2880: Add support for --no-verify during tunnel
22
+ - 3a510c5: Improve XPA uninstall wording
23
+ - 7243788: Displaying all product options and fixing wording
24
+ - 2204d8d: update the help text for license options
25
+ - 2cdac63: forge install should list all scopes
26
+ - c57e34a: Fix bundling when handlers are defined in subdirectories
27
+ - 9d231e9: switch the `forge create` cross-context flow to use the new `app.contexts` manifest format
28
+ - 0aad197: Change product wording to context
29
+ - 61f499c: Fix XPA upgrade wording
30
+ - 999a9d0: Update error messages for deployment
31
+ - d0cb567: License Decoupling: removed agent license mode, added support for user-access license mode in cli
32
+ - 7d8339b: verify installation exists before upgrading
33
+ - 7a83fd9: Uninstall: Automatically select optional contexts when the required one is selected
34
+ - b503084: switch the `forge create` cross-context flow to use the new `app.contexts` manifest format
35
+ - 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
36
+ - 336f74f: Support serving i18n resources while using `forge tunnel`
37
+ - 210360b: Refactor text functions for easier read and maintenance
38
+ - a7db2e6: improve error message
39
+ - Updated dependencies [7243788]
40
+ - Updated dependencies [acf1edf]
41
+ - Updated dependencies [2d5a0e6]
42
+ - Updated dependencies [9d231e9]
43
+ - Updated dependencies [b51be39]
44
+ - Updated dependencies [4b083be]
45
+ - Updated dependencies [94e48b9]
46
+ - Updated dependencies [0dfb15d]
47
+ - Updated dependencies [0dd4e3b]
48
+ - Updated dependencies [b503084]
49
+ - Updated dependencies [8c34ca3]
50
+ - Updated dependencies [336f74f]
51
+ - Updated dependencies [e404ba0]
52
+ - Updated dependencies [64daaa5]
53
+ - Updated dependencies [99739ec]
54
+ - Updated dependencies [3a703de]
55
+ - Updated dependencies [003b1ed]
56
+ - @forge/manifest@9.0.0
57
+ - @forge/i18n@0.0.5
58
+
59
+ ## 6.8.0-next.29
60
+
61
+ ### Patch Changes
62
+
63
+ - Updated dependencies [0dd4e3b]
64
+ - @forge/manifest@9.0.0-next.14
65
+
66
+ ## 6.8.0-next.28
67
+
68
+ ### Minor Changes
69
+
70
+ - f12ec8a: Providing request id in forge cli for installation/upgrade failures to contact support with faster traceability
71
+
72
+ ## 6.8.0-next.27
73
+
74
+ ### Patch Changes
75
+
76
+ - d0cb567: License Decoupling: removed agent license mode, added support for user-access license mode in cli
77
+
78
+ ## 6.8.0-next.26
79
+
80
+ ### Minor Changes
81
+
82
+ - 2c0e151: Added new 'containers' command
83
+
84
+ ## 6.8.0-next.25
85
+
86
+ ### Patch Changes
87
+
88
+ - Updated dependencies [2d5a0e6]
89
+ - Updated dependencies [99739ec]
90
+ - @forge/manifest@9.0.0-next.13
91
+
92
+ ## 6.8.0-next.24
93
+
94
+ ### Minor Changes
95
+
96
+ - 1a9af0b: Add support for analytics to be displayed in the version commands
97
+
98
+ ### Patch Changes
99
+
100
+ - 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
101
+ - Updated dependencies [8c34ca3]
102
+ - @forge/manifest@8.9.0-next.12
103
+
104
+ ## 6.8.0-next.23
105
+
106
+ ### Patch Changes
107
+
108
+ - Updated dependencies [0dfb15d]
109
+ - @forge/manifest@8.9.0-next.11
110
+
111
+ ## 6.8.0-next.22
112
+
113
+ ### Patch Changes
114
+
115
+ - Updated dependencies [b51be39]
116
+ - @forge/manifest@8.9.0-next.10
117
+
118
+ ## 6.8.0-next.21
119
+
120
+ ### Patch Changes
121
+
122
+ - Updated dependencies [e404ba0]
123
+ - @forge/i18n@0.0.5-next.1
124
+ - @forge/manifest@8.9.0-next.9
125
+
126
+ ## 6.8.0-next.20
127
+
128
+ ### Patch Changes
129
+
130
+ - 3a510c5: Improve XPA uninstall wording
131
+
132
+ ## 6.8.0-next.19
133
+
134
+ ### Patch Changes
135
+
136
+ - 61f499c: Fix XPA upgrade wording
137
+
138
+ ## 6.8.0-next.18
139
+
140
+ ### Patch Changes
141
+
142
+ - f9c2880: Add support for --no-verify during tunnel
143
+
144
+ ## 6.8.0-next.17
145
+
146
+ ### Patch Changes
147
+
148
+ - 7d8339b: verify installation exists before upgrading
149
+
150
+ ## 6.8.0-next.16
151
+
152
+ ### Patch Changes
153
+
154
+ - 2204d8d: update the help text for license options
155
+
156
+ ## 6.8.0-next.15
157
+
158
+ ### Patch Changes
159
+
160
+ - Updated dependencies [4b083be]
161
+ - @forge/manifest@8.9.0-next.8
162
+
163
+ ## 6.8.0-next.14
164
+
165
+ ### Patch Changes
166
+
167
+ - 7a83fd9: Uninstall: Automatically select optional contexts when the required one is selected
168
+
169
+ ## 6.8.0-next.13
170
+
171
+ ### Patch Changes
172
+
173
+ - c57e34a: Fix bundling when handlers are defined in subdirectories
174
+
175
+ ## 6.8.0-next.12
176
+
177
+ ### Patch Changes
178
+
179
+ - 7243788: Displaying all product options and fixing wording
180
+ - Updated dependencies [7243788]
181
+ - @forge/manifest@8.9.0-next.7
182
+
183
+ ## 6.8.0-next.11
184
+
185
+ ### Patch Changes
186
+
187
+ - 336f74f: Support serving i18n resources while using `forge tunnel`
188
+ - Updated dependencies [336f74f]
189
+ - @forge/i18n@0.0.5-next.0
190
+ - @forge/manifest@8.9.0-next.6
191
+
192
+ ## 6.8.0-next.10
193
+
194
+ ### Patch Changes
195
+
196
+ - Updated dependencies [de0bf46]
197
+ - @forge/manifest@8.9.0-next.5
198
+
3
199
  ## 6.8.0-next.9
4
200
 
5
201
  ### Patch Changes
@@ -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,qBAAa,UAAW,YAAW,YAAY,EAAE,YAAY,EAAE,gBAAgB;IAG3E,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QA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,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);