@forge/cli-shared 6.8.0-next.23 → 6.8.0-next.24-experimental-99739ec

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,61 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 6.8.0-next.24-experimental-99739ec
4
+
5
+ ### Minor Changes
6
+
7
+ - 1a9af0b: Add support for analytics to be displayed in the version commands
8
+ - d156658: Switch the `forge create` flow to select product context first
9
+
10
+ ### Patch Changes
11
+
12
+ - f9c2880: Add support for --no-verify during tunnel
13
+ - 3a510c5: Improve XPA uninstall wording
14
+ - 7243788: Displaying all product options and fixing wording
15
+ - 2204d8d: update the help text for license options
16
+ - 2cdac63: forge install should list all scopes
17
+ - c57e34a: Fix bundling when handlers are defined in subdirectories
18
+ - 9d231e9: switch the `forge create` cross-context flow to use the new `app.contexts` manifest format
19
+ - 0aad197: Change product wording to context
20
+ - 61f499c: Fix XPA upgrade wording
21
+ - 999a9d0: Update error messages for deployment
22
+ - 7d8339b: verify installation exists before upgrading
23
+ - 7a83fd9: Uninstall: Automatically select optional contexts when the required one is selected
24
+ - b503084: switch the `forge create` cross-context flow to use the new `app.contexts` manifest format
25
+ - 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
26
+ - 336f74f: Support serving i18n resources while using `forge tunnel`
27
+ - 210360b: Refactor text functions for easier read and maintenance
28
+ - a7db2e6: improve error message
29
+ - Updated dependencies [7243788]
30
+ - Updated dependencies [acf1edf]
31
+ - Updated dependencies [9d231e9]
32
+ - Updated dependencies [b51be39]
33
+ - Updated dependencies [4b083be]
34
+ - Updated dependencies [94e48b9]
35
+ - Updated dependencies [0dfb15d]
36
+ - Updated dependencies [b503084]
37
+ - Updated dependencies [8c34ca3]
38
+ - Updated dependencies [336f74f]
39
+ - Updated dependencies [e404ba0]
40
+ - Updated dependencies [64daaa5]
41
+ - Updated dependencies [99739ec]
42
+ - Updated dependencies [3a703de]
43
+ - Updated dependencies [003b1ed]
44
+ - @forge/manifest@8.9.0-next.12-experimental-99739ec
45
+ - @forge/i18n@0.0.5-next.1-experimental-99739ec
46
+
47
+ ## 6.8.0-next.24
48
+
49
+ ### Minor Changes
50
+
51
+ - 1a9af0b: Add support for analytics to be displayed in the version commands
52
+
53
+ ### Patch Changes
54
+
55
+ - 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
56
+ - Updated dependencies [8c34ca3]
57
+ - @forge/manifest@8.9.0-next.12
58
+
3
59
  ## 6.8.0-next.23
4
60
 
5
61
  ### 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,o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AAe;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);