@forge/tunnel 5.7.0-next.9 → 5.7.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,101 @@
1
1
  # @forge/tunnel
2
2
 
3
+ ## 5.7.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @forge/bundler@4.20.2-next.0
8
+ - @forge/cli-shared@6.4.1-next.0
9
+
10
+ ## 5.7.0
11
+
12
+ ### Minor Changes
13
+
14
+ - fa239b2: Error handling and logging for the cloudflared process used by tunnel
15
+
16
+ ### Patch Changes
17
+
18
+ - e5b1457: Correclty handle missing exit signal from tunnel child process
19
+ - 34e19bb: Refactor Bundler to support watching
20
+ - Updated dependencies [cc6571c]
21
+ - Updated dependencies [08c832b]
22
+ - Updated dependencies [94b5a3d]
23
+ - Updated dependencies [a2eed13]
24
+ - Updated dependencies [85663fe]
25
+ - Updated dependencies [34e19bb]
26
+ - Updated dependencies [34fe2fa]
27
+ - Updated dependencies [4fa9673]
28
+ - Updated dependencies [fa239b2]
29
+ - Updated dependencies [d6eb4d8]
30
+ - @forge/cli-shared@6.4.0
31
+ - @forge/bundler@4.20.1
32
+ - @forge/csp@3.4.0
33
+
34
+ ## 5.7.0-next.18
35
+
36
+ ### Patch Changes
37
+
38
+ - e5b1457: Correclty handle missing exit signal from tunnel child process
39
+
40
+ ## 5.7.0-next.17
41
+
42
+ ### Patch Changes
43
+
44
+ - Updated dependencies [d6eb4d8]
45
+ - @forge/bundler@4.20.1-next.16
46
+
47
+ ## 5.7.0-next.16
48
+
49
+ ### Patch Changes
50
+
51
+ - @forge/bundler@4.20.1-next.15
52
+
53
+ ## 5.7.0-next.15
54
+
55
+ ### Patch Changes
56
+
57
+ - @forge/bundler@4.20.1-next.14
58
+ - @forge/cli-shared@6.4.0-next.13
59
+
60
+ ## 5.7.0-next.14
61
+
62
+ ### Patch Changes
63
+
64
+ - Updated dependencies [cc6571c]
65
+ - @forge/cli-shared@6.4.0-next.12
66
+ - @forge/bundler@4.20.1-next.13
67
+
68
+ ## 5.7.0-next.13
69
+
70
+ ### Patch Changes
71
+
72
+ - Updated dependencies [94b5a3d]
73
+ - @forge/cli-shared@6.4.0-next.11
74
+ - @forge/bundler@4.20.1-next.12
75
+
76
+ ## 5.7.0-next.12
77
+
78
+ ### Patch Changes
79
+
80
+ - @forge/bundler@4.20.1-next.11
81
+ - @forge/cli-shared@6.4.0-next.10
82
+
83
+ ## 5.7.0-next.11
84
+
85
+ ### Patch Changes
86
+
87
+ - Updated dependencies [08c832b]
88
+ - @forge/cli-shared@6.4.0-next.9
89
+ - @forge/bundler@4.20.1-next.10
90
+
91
+ ## 5.7.0-next.10
92
+
93
+ ### Patch Changes
94
+
95
+ - Updated dependencies [34fe2fa]
96
+ - @forge/cli-shared@6.4.0-next.8
97
+ - @forge/bundler@4.20.1-next.9
98
+
3
99
  ## 5.7.0-next.9
4
100
 
5
101
  ### Patch Changes
@@ -30,11 +30,11 @@ class CloudflareCreateTunnelService {
30
30
  child.stderr?.on('data', (chunk) => this.logger.debug(cli_shared_1.Text.tunnel.cloudflaredLog(chunk)));
31
31
  child.on('error', (err) => {
32
32
  this.logger.error(err);
33
- throw new cli_shared_1.BaseError(cli_shared_1.Text.tunnel.error.cloudflaredError);
33
+ throw new cli_shared_1.BaseError(undefined, cli_shared_1.Text.tunnel.error.cloudflaredError);
34
34
  });
35
35
  child.on('exit', (code) => {
36
- if (code !== 0) {
37
- throw new cli_shared_1.BaseError(cli_shared_1.Text.tunnel.error.cloudflaredExit(code));
36
+ if (code !== 0 && code !== null) {
37
+ throw new cli_shared_1.BaseError(undefined, cli_shared_1.Text.tunnel.error.cloudflaredExit(code));
38
38
  }
39
39
  });
40
40
  await Promise.all(connections);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/tunnel",
3
- "version": "5.7.0-next.9",
3
+ "version": "5.7.1-next.0",
4
4
  "description": "Tunnel functionality for Forge CLI",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",
@@ -11,9 +11,9 @@
11
11
  "compile": "tsc -b -v"
12
12
  },
13
13
  "dependencies": {
14
- "@forge/bundler": "4.20.1-next.8",
15
- "@forge/cli-shared": "6.4.0-next.7",
16
- "@forge/csp": "3.4.0-next.0",
14
+ "@forge/bundler": "4.20.2-next.0",
15
+ "@forge/cli-shared": "6.4.1-next.0",
16
+ "@forge/csp": "3.4.0",
17
17
  "@forge/runtime": "5.10.3",
18
18
  "chokidar": "^3.6.0",
19
19
  "cloudflared": "^0.5.2",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@atlassian/xen-test-util": "^4.2.0",
32
- "@forge/manifest": "8.1.0-next.5",
32
+ "@forge/manifest": "8.2.0-next.0",
33
33
  "@types/express": "^4.17.21",
34
34
  "@types/jest": "^29.5.12",
35
35
  "@types/node": "14.18.63",