@forge/tunnel 3.8.6-next.1 → 3.8.6-next.11

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,79 @@
1
1
  # @forge/tunnel
2
2
 
3
+ ## 3.8.6-next.11
4
+
5
+ ### Patch Changes
6
+
7
+ - 3fbfd2a: Package as .cjs on Node runtime
8
+ - Updated dependencies [3fbfd2a]
9
+ - @forge/bundler@4.14.0-next.11
10
+
11
+ ## 3.8.6-next.10
12
+
13
+ ### Patch Changes
14
+
15
+ - @forge/cli-shared@3.21.0-next.6
16
+ - @forge/bundler@4.13.3-next.10
17
+
18
+ ## 3.8.6-next.9
19
+
20
+ ### Patch Changes
21
+
22
+ - @forge/cli-shared@3.21.0-next.5
23
+ - @forge/bundler@4.13.3-next.9
24
+
25
+ ## 3.8.6-next.8
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [e241f90]
30
+ - @forge/cli-shared@3.21.0-next.4
31
+ - @forge/runtime@5.2.0-next.1
32
+ - @forge/bundler@4.13.3-next.8
33
+
34
+ ## 3.8.6-next.7
35
+
36
+ ### Patch Changes
37
+
38
+ - @forge/bundler@4.13.3-next.7
39
+
40
+ ## 3.8.6-next.6
41
+
42
+ ### Patch Changes
43
+
44
+ - @forge/cli-shared@3.20.5-next.3
45
+ - @forge/bundler@4.13.3-next.6
46
+
47
+ ## 3.8.6-next.5
48
+
49
+ ### Patch Changes
50
+
51
+ - Updated dependencies [c86109c]
52
+ - @forge/bundler@4.13.3-next.5
53
+
54
+ ## 3.8.6-next.4
55
+
56
+ ### Patch Changes
57
+
58
+ - Updated dependencies [278b348]
59
+ - @forge/bundler@4.13.3-next.4
60
+
61
+ ## 3.8.6-next.3
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies [859ce64]
66
+ - @forge/bundler@4.13.3-next.3
67
+ - @forge/runtime@5.1.5-next.0
68
+
69
+ ## 3.8.6-next.2
70
+
71
+ ### Patch Changes
72
+
73
+ - Updated dependencies [0d639c4]
74
+ - @forge/cli-shared@3.20.5-next.2
75
+ - @forge/bundler@4.13.3-next.2
76
+
3
77
  ## 3.8.6-next.1
4
78
 
5
79
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"function-change-watcher.d.ts","sourceRoot":"","sources":["../../../src/command/interactors/function-change-watcher.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAA8B,MAAM,EAAqB,MAAM,mBAAmB,CAAC;AACtG,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAIL,OAAO,EACP,aAAa,EACb,eAAe,EAChB,MAAM,gBAAgB,CAAC;AAIxB,MAAM,WAAW,qBAAqB;IACpC,aAAa,CAAC,WAAW,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzD,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,MAAM;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uBAAuB,EAAE,MAAM,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,eAAO,MAAM,YAAY,MAAM,CAAC;AAEhC,qBAAa,iBAAkB,YAAW,qBAAqB;IAI3D,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,aAAa;IANhC,OAAO,CAAC,YAAY,CAA8C;gBAG/C,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,eAAe,GAAG,IAAI,EAChC,aAAa,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,OAAO,CAAC,OAAO,CAAC;YAG5D,mBAAmB;IA2BpB,aAAa,CAAC,WAAW,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IA+CxD,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAI1C,OAAO,CAAC,YAAY,CAElB;YAEY,mBAAmB;CAqBlC"}
1
+ {"version":3,"file":"function-change-watcher.d.ts","sourceRoot":"","sources":["../../../src/command/interactors/function-change-watcher.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAA8B,MAAM,EAAqB,MAAM,mBAAmB,CAAC;AACtG,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAIL,OAAO,EACP,aAAa,EACb,eAAe,EAChB,MAAM,gBAAgB,CAAC;AAIxB,MAAM,WAAW,qBAAqB;IACpC,aAAa,CAAC,WAAW,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzD,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,MAAM;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uBAAuB,EAAE,MAAM,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,eAAO,MAAM,YAAY,MAAM,CAAC;AAEhC,qBAAa,iBAAkB,YAAW,qBAAqB;IAI3D,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,aAAa;IANhC,OAAO,CAAC,YAAY,CAA8C;gBAG/C,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,eAAe,GAAG,IAAI,EAChC,aAAa,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,OAAO,CAAC,OAAO,CAAC;YAG5D,mBAAmB;IA2BpB,aAAa,CAAC,WAAW,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAkDxD,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAI1C,OAAO,CAAC,YAAY,CAElB;YAEY,mBAAmB;CAqBlC"}
@@ -47,14 +47,15 @@ class LocalFunctionHost {
47
47
  this.logger.info(cli_shared_1.Text.tunnel.preBundleTask(cli_shared_1.Text.tunnel.snapshotting));
48
48
  this.snapshotLogs = [];
49
49
  }
50
- const bundles = Object.keys(bundledCode.output).map((bundleName) => {
50
+ const bundles = Object.keys(bundledCode.output).map((bundlePath) => {
51
51
  var _a;
52
- return ({
53
- bundleFilePath: (0, path_1.resolve)(directory, `${bundleName}.js`),
54
- bundleFileContent: bundledCode.output[bundleName],
55
- bundleFileSourceMapPath: (0, path_1.resolve)(directory, `${bundleName}.js.map`),
56
- bundleFileSourceMap: (_a = bundledCode.sourceMap) === null || _a === void 0 ? void 0 : _a[bundleName]
57
- });
52
+ const sourceMapPath = `${bundlePath}.map`;
53
+ return {
54
+ bundleFilePath: (0, path_1.resolve)(directory, bundlePath),
55
+ bundleFileContent: bundledCode.output[bundlePath],
56
+ bundleFileSourceMapPath: (0, path_1.resolve)(directory, sourceMapPath),
57
+ bundleFileSourceMap: (_a = bundledCode.sourceMap) === null || _a === void 0 ? void 0 : _a[sourceMapPath]
58
+ };
58
59
  });
59
60
  const manifestFilePath = (0, path_1.resolve)(directory, cli_shared_1.manifestFileName);
60
61
  const manifestContents = JSON.stringify(await this.configFile.readConfig());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/tunnel",
3
- "version": "3.8.6-next.1",
3
+ "version": "3.8.6-next.11",
4
4
  "description": "Tunnel functionality for Forge CLI",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",
@@ -11,10 +11,10 @@
11
11
  "compile": "tsc -b -v"
12
12
  },
13
13
  "dependencies": {
14
- "@forge/bundler": "4.13.3-next.1",
15
- "@forge/cli-shared": "3.20.5-next.1",
14
+ "@forge/bundler": "4.14.0-next.11",
15
+ "@forge/cli-shared": "3.21.0-next.6",
16
16
  "@forge/csp": "3.1.0",
17
- "@forge/runtime": "5.1.4",
17
+ "@forge/runtime": "5.2.0-next.1",
18
18
  "express": "^4.18.2",
19
19
  "express-intercept": "^1.1.0",
20
20
  "http-proxy-middleware": "^2.0.6",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@atlassian/xen-test-util": "^3.1.2",
30
- "@forge/manifest": "5.0.2-next.0",
30
+ "@forge/manifest": "5.1.0-next.4",
31
31
  "@types/express": "^4.17.20",
32
32
  "@types/jest": "^29.5.7",
33
33
  "@types/node": "14.18.63",