@forge/tunnel 6.3.18-next.5 → 6.4.0-next.6-experimental-f7c39e1

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,34 @@
1
1
  # @forge/tunnel
2
2
 
3
+ ## 6.4.0-next.6-experimental-f7c39e1
4
+
5
+ ### Minor Changes
6
+
7
+ - ef0434d: Added support for multi-entry resources in UI Kit applications, enabling developers to define multiple entry points within a single resource.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [84d9930]
12
+ - Updated dependencies [2c85db9]
13
+ - Updated dependencies [808adbd]
14
+ - Updated dependencies [a885062]
15
+ - Updated dependencies [ef0434d]
16
+ - @forge/cli-shared@8.23.0-next.6-experimental-f7c39e1
17
+ - @forge/bundler@6.2.0-next.6-experimental-f7c39e1
18
+ - @forge/csp@5.8.0-experimental-f7c39e1
19
+
20
+ ## 6.4.0-next.6
21
+
22
+ ### Minor Changes
23
+
24
+ - ef0434d: Added support for multi-entry resources in UI Kit applications, enabling developers to define multiple entry points within a single resource.
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [ef0434d]
29
+ - @forge/bundler@6.2.0-next.6
30
+ - @forge/cli-shared@8.23.0-next.6
31
+
3
32
  ## 6.3.18-next.5
4
33
 
5
34
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"native-ui-tunnel-server.d.ts","sourceRoot":"","sources":["../../src/servers/native-ui-tunnel-server.ts"],"names":[],"mappings":"AAAA,OAAO,gBAA+D,MAAM,oBAAoB,CAAC;AACjG,OAAO,EACL,aAAa,EAIb,YAAY,EACb,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAG1F,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEvE,qBAAa,oBAAqB,SAAQ,oBAAqB,YAAW,iBAAiB;IAI7E,OAAO,CAAC,QAAQ,CAAC,UAAU;IAHvC,SAAgB,MAAM,EAAE,gBAAgB,CAAC;IACzC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;gBAEN,UAAU,EAAE,wBAAwB;IA6D3D,KAAK,IAAI,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IAWzC,eAAe,CAAC,EAAE,gBAAgB,EAAE,eAAe,EAAE,EAAE,YAAY,GAAG,OAAO,CAAC,aAAa,CAAC;IAqCnG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
1
+ {"version":3,"file":"native-ui-tunnel-server.d.ts","sourceRoot":"","sources":["../../src/servers/native-ui-tunnel-server.ts"],"names":[],"mappings":"AAAA,OAAO,gBAA+D,MAAM,oBAAoB,CAAC;AACjG,OAAO,EACL,aAAa,EAKb,YAAY,EACb,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAG1F,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEvE,qBAAa,oBAAqB,SAAQ,oBAAqB,YAAW,iBAAiB;IAI7E,OAAO,CAAC,QAAQ,CAAC,UAAU;IAHvC,SAAgB,MAAM,EAAE,gBAAgB,CAAC;IACzC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;gBAEN,UAAU,EAAE,wBAAwB;IAgE3D,KAAK,IAAI,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IAWzC,eAAe,CAAC,EAAE,gBAAgB,EAAE,eAAe,EAAE,EAAE,YAAY,GAAG,OAAO,CAAC,aAAa,CAAC;IAqCnG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG5B"}
@@ -14,9 +14,12 @@ class NativeUITunnelServer extends resource_tunnel_server_1.ResourceTunnelServer
14
14
  constructor(tunnelArgs) {
15
15
  super(tunnelArgs);
16
16
  this.tunnelArgs = tunnelArgs;
17
- const { key, path, port, permissions, remotes, i18nConfig } = tunnelArgs;
18
- const entrypoint = { name: key, path, functions: [] };
19
- const config = (0, bundler_1.getNativeUiBuildConfig)([entrypoint]);
17
+ const { key, path: resourcePath, port, permissions, remotes, i18nConfig, entry } = tunnelArgs;
18
+ const entrypoints = (0, bundler_1.createEntryPointsForResource)(key, resourcePath, entry).map((ep) => ({
19
+ ...ep,
20
+ functions: []
21
+ }));
22
+ const config = (0, bundler_1.getNativeUiBuildConfig)(entrypoints);
20
23
  this.outputDir = config.output.path;
21
24
  const compiler = (0, bundler_1.getCompiler)({
22
25
  ...config,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/tunnel",
3
- "version": "6.3.18-next.5",
3
+ "version": "6.4.0-next.6-experimental-f7c39e1",
4
4
  "description": "Tunnel functionality for Forge CLI",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -11,9 +11,9 @@
11
11
  "compile": "tsc -b -v"
12
12
  },
13
13
  "dependencies": {
14
- "@forge/bundler": "6.1.27-next.5",
15
- "@forge/cli-shared": "8.23.0-next.5",
16
- "@forge/csp": "5.8.0",
14
+ "@forge/bundler": "6.2.0-next.6-experimental-f7c39e1",
15
+ "@forge/cli-shared": "8.23.0-next.6-experimental-f7c39e1",
16
+ "@forge/csp": "5.8.0-experimental-f7c39e1",
17
17
  "@forge/runtime": "6.1.3",
18
18
  "@forge/util": "^2.0.1",
19
19
  "cheerio": "^1.1.0",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@atlassian/xen-test-util": "^4.2.0",
35
- "@forge/manifest": "12.8.0-next.4",
35
+ "@forge/manifest": "12.8.0-next.5-experimental-f7c39e1",
36
36
  "@types/express": "^4.17.21",
37
37
  "@types/jest": "^29.5.14",
38
38
  "@types/node": "20.19.1",