@forge/tunnel 5.7.0-next.8 → 5.7.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.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- fa239b2: Error handling and logging for the cloudflared process used by tunnel
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- e5b1457: Correclty handle missing exit signal from tunnel child process
|
|
12
|
+
- 34e19bb: Refactor Bundler to support watching
|
|
13
|
+
- Updated dependencies [cc6571c]
|
|
14
|
+
- Updated dependencies [08c832b]
|
|
15
|
+
- Updated dependencies [94b5a3d]
|
|
16
|
+
- Updated dependencies [a2eed13]
|
|
17
|
+
- Updated dependencies [85663fe]
|
|
18
|
+
- Updated dependencies [34e19bb]
|
|
19
|
+
- Updated dependencies [34fe2fa]
|
|
20
|
+
- Updated dependencies [4fa9673]
|
|
21
|
+
- Updated dependencies [fa239b2]
|
|
22
|
+
- Updated dependencies [d6eb4d8]
|
|
23
|
+
- @forge/cli-shared@6.4.0
|
|
24
|
+
- @forge/bundler@4.20.1
|
|
25
|
+
- @forge/csp@3.4.0
|
|
26
|
+
|
|
27
|
+
## 5.7.0-next.18
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- e5b1457: Correclty handle missing exit signal from tunnel child process
|
|
32
|
+
|
|
33
|
+
## 5.7.0-next.17
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- Updated dependencies [d6eb4d8]
|
|
38
|
+
- @forge/bundler@4.20.1-next.16
|
|
39
|
+
|
|
40
|
+
## 5.7.0-next.16
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- @forge/bundler@4.20.1-next.15
|
|
45
|
+
|
|
46
|
+
## 5.7.0-next.15
|
|
47
|
+
|
|
48
|
+
### Patch Changes
|
|
49
|
+
|
|
50
|
+
- @forge/bundler@4.20.1-next.14
|
|
51
|
+
- @forge/cli-shared@6.4.0-next.13
|
|
52
|
+
|
|
53
|
+
## 5.7.0-next.14
|
|
54
|
+
|
|
55
|
+
### Patch Changes
|
|
56
|
+
|
|
57
|
+
- Updated dependencies [cc6571c]
|
|
58
|
+
- @forge/cli-shared@6.4.0-next.12
|
|
59
|
+
- @forge/bundler@4.20.1-next.13
|
|
60
|
+
|
|
61
|
+
## 5.7.0-next.13
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- Updated dependencies [94b5a3d]
|
|
66
|
+
- @forge/cli-shared@6.4.0-next.11
|
|
67
|
+
- @forge/bundler@4.20.1-next.12
|
|
68
|
+
|
|
69
|
+
## 5.7.0-next.12
|
|
70
|
+
|
|
71
|
+
### Patch Changes
|
|
72
|
+
|
|
73
|
+
- @forge/bundler@4.20.1-next.11
|
|
74
|
+
- @forge/cli-shared@6.4.0-next.10
|
|
75
|
+
|
|
76
|
+
## 5.7.0-next.11
|
|
77
|
+
|
|
78
|
+
### Patch Changes
|
|
79
|
+
|
|
80
|
+
- Updated dependencies [08c832b]
|
|
81
|
+
- @forge/cli-shared@6.4.0-next.9
|
|
82
|
+
- @forge/bundler@4.20.1-next.10
|
|
83
|
+
|
|
84
|
+
## 5.7.0-next.10
|
|
85
|
+
|
|
86
|
+
### Patch Changes
|
|
87
|
+
|
|
88
|
+
- Updated dependencies [34fe2fa]
|
|
89
|
+
- @forge/cli-shared@6.4.0-next.8
|
|
90
|
+
- @forge/bundler@4.20.1-next.9
|
|
91
|
+
|
|
92
|
+
## 5.7.0-next.9
|
|
93
|
+
|
|
94
|
+
### Patch Changes
|
|
95
|
+
|
|
96
|
+
- @forge/bundler@4.20.1-next.8
|
|
97
|
+
- @forge/cli-shared@6.4.0-next.7
|
|
98
|
+
|
|
3
99
|
## 5.7.0-next.8
|
|
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
|
|
3
|
+
"version": "5.7.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
|
|
15
|
-
"@forge/cli-shared": "6.4.0
|
|
16
|
-
"@forge/csp": "3.4.0
|
|
14
|
+
"@forge/bundler": "4.20.1",
|
|
15
|
+
"@forge/cli-shared": "6.4.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
|
|
32
|
+
"@forge/manifest": "8.1.0",
|
|
33
33
|
"@types/express": "^4.17.21",
|
|
34
34
|
"@types/jest": "^29.5.12",
|
|
35
35
|
"@types/node": "14.18.63",
|