@forge/tunnel 3.7.0-next.9 → 3.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,210 @@
1
1
  # @forge/tunnel
2
2
 
3
+ ## 3.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 424cf45e: Use CDN packaged wrapper script for the node runtime
8
+
9
+ ### Patch Changes
10
+
11
+ - ccc113ec: Bumping dependencies via Renovate:
12
+
13
+ - @types/node
14
+
15
+ - e3260cf8: Bumping dependencies via Renovate:
16
+
17
+ - @types/node
18
+
19
+ - 934c16e2: Bumping dependencies via Renovate:
20
+
21
+ - @atlassian/xen-test-util
22
+
23
+ - bf0a343b: Bumping dependencies via Renovate:
24
+
25
+ - @types/jest
26
+
27
+ - 902c23c0: Fetch wrapper directly from CDN instead of Launchdarkly
28
+ - caaa61af: Bumping dependencies via Renovate:
29
+
30
+ - @types/uuid
31
+
32
+ - bdb0f05b: Bumping dependencies via Renovate:
33
+
34
+ - @atlassian/xen-test-util
35
+
36
+ - 9b9f58d3: Bumping dependencies via Renovate:
37
+
38
+ - @types/node
39
+
40
+ - Updated dependencies [ccc113ec]
41
+ - Updated dependencies [82f09e75]
42
+ - Updated dependencies [e3260cf8]
43
+ - Updated dependencies [13b5f023]
44
+ - Updated dependencies [9f70463a]
45
+ - Updated dependencies [424cf45e]
46
+ - Updated dependencies [934c16e2]
47
+ - Updated dependencies [bf0a343b]
48
+ - Updated dependencies [fbb55b2c]
49
+ - Updated dependencies [9a78932b]
50
+ - Updated dependencies [770654be]
51
+ - Updated dependencies [d8672a76]
52
+ - Updated dependencies [4eb157b6]
53
+ - Updated dependencies [d42bc08d]
54
+ - Updated dependencies [902c23c0]
55
+ - Updated dependencies [e87a2d8e]
56
+ - Updated dependencies [edf4f2c5]
57
+ - Updated dependencies [45147109]
58
+ - Updated dependencies [ffb75e7f]
59
+ - Updated dependencies [b22ff2d0]
60
+ - Updated dependencies [bdb0f05b]
61
+ - Updated dependencies [eb261114]
62
+ - Updated dependencies [9b9f58d3]
63
+ - @forge/bundler@4.12.0
64
+ - @forge/cli-shared@3.18.0
65
+ - @forge/csp@2.2.1
66
+ - @forge/runtime@5.0.1
67
+
68
+ ## 3.7.0-next.25
69
+
70
+ ### Patch Changes
71
+
72
+ - Updated dependencies [ffb75e7f]
73
+ - @forge/cli-shared@3.18.0-next.15
74
+ - @forge/bundler@4.12.0-next.24
75
+
76
+ ## 3.7.0-next.24
77
+
78
+ ### Patch Changes
79
+
80
+ - Updated dependencies [b22ff2d0]
81
+ - @forge/cli-shared@3.18.0-next.14
82
+ - @forge/bundler@4.12.0-next.23
83
+
84
+ ## 3.7.0-next.23
85
+
86
+ ### Patch Changes
87
+
88
+ - Updated dependencies [d42bc08d]
89
+ - @forge/bundler@4.12.0-next.22
90
+
91
+ ## 3.7.0-next.22
92
+
93
+ ### Patch Changes
94
+
95
+ - @forge/bundler@4.12.0-next.21
96
+
97
+ ## 3.7.0-next.21
98
+
99
+ ### Patch Changes
100
+
101
+ - @forge/cli-shared@3.18.0-next.13
102
+ - @forge/bundler@4.12.0-next.20
103
+
104
+ ## 3.7.0-next.20
105
+
106
+ ### Patch Changes
107
+
108
+ - Updated dependencies [770654be]
109
+ - @forge/bundler@4.12.0-next.19
110
+ - @forge/runtime@5.0.1-next.7
111
+
112
+ ## 3.7.0-next.19
113
+
114
+ ### Patch Changes
115
+
116
+ - 902c23c0: Fetch wrapper directly from CDN instead of Launchdarkly
117
+ - Updated dependencies [902c23c0]
118
+ - @forge/bundler@4.12.0-next.18
119
+
120
+ ## 3.7.0-next.18
121
+
122
+ ### Patch Changes
123
+
124
+ - e3260cf: Bumping dependencies via Renovate:
125
+
126
+ - @types/node
127
+
128
+ - Updated dependencies [e3260cf]
129
+ - @forge/bundler@4.12.0-next.17
130
+ - @forge/cli-shared@3.18.0-next.12
131
+ - @forge/csp@2.2.1-next.3
132
+ - @forge/runtime@5.0.1-next.6
133
+
134
+ ## 3.7.0-next.17
135
+
136
+ ### Patch Changes
137
+
138
+ - @forge/bundler@4.12.0-next.16
139
+
140
+ ## 3.7.0-next.16
141
+
142
+ ### Patch Changes
143
+
144
+ - Updated dependencies [4eb157b6]
145
+ - @forge/runtime@5.0.1-next.5
146
+ - @forge/bundler@4.12.0-next.15
147
+
148
+ ## 3.7.0-next.15
149
+
150
+ ### Patch Changes
151
+
152
+ - @forge/cli-shared@3.18.0-next.11
153
+ - @forge/bundler@4.12.0-next.14
154
+
155
+ ## 3.7.0-next.14
156
+
157
+ ### Patch Changes
158
+
159
+ - @forge/cli-shared@3.18.0-next.10
160
+ - @forge/bundler@4.12.0-next.13
161
+
162
+ ## 3.7.0-next.13
163
+
164
+ ### Patch Changes
165
+
166
+ - ccc113ec: Bumping dependencies via Renovate:
167
+
168
+ - @types/node
169
+
170
+ - 934c16e2: Bumping dependencies via Renovate:
171
+
172
+ - @atlassian/xen-test-util
173
+
174
+ - Updated dependencies [ccc113ec]
175
+ - Updated dependencies [934c16e2]
176
+ - @forge/bundler@4.12.0-next.12
177
+ - @forge/cli-shared@3.18.0-next.9
178
+ - @forge/csp@2.2.1-next.2
179
+ - @forge/runtime@5.0.1-next.4
180
+
181
+ ## 3.7.0-next.12
182
+
183
+ ### Patch Changes
184
+
185
+ - caaa61af: Bumping dependencies via Renovate:
186
+
187
+ - @types/uuid
188
+
189
+ ## 3.7.0-next.11
190
+
191
+ ### Patch Changes
192
+
193
+ - Updated dependencies [edf4f2c5]
194
+ - Updated dependencies [45147109]
195
+ - Updated dependencies [eb261114]
196
+ - @forge/bundler@4.12.0-next.11
197
+ - @forge/cli-shared@3.18.0-next.8
198
+
199
+ ## 3.7.0-next.10
200
+
201
+ ### Patch Changes
202
+
203
+ - Updated dependencies [9f70463]
204
+ - @forge/bundler@4.12.0-next.10
205
+ - @forge/cli-shared@3.18.0-next.7
206
+ - @forge/runtime@5.0.1-next.3
207
+
3
208
  ## 3.7.0-next.9
4
209
 
5
210
  ### Minor Changes
@@ -3,7 +3,7 @@
3
3
  import express from 'express';
4
4
  import * as http from 'http';
5
5
  import { URL } from 'url';
6
- import { ConfigFile, FeatureFlagService, FileSystemReader, Logger } from '@forge/cli-shared';
6
+ import { ConfigFile, FileSystemReader, Logger } from '@forge/cli-shared';
7
7
  import { ExternalRequestBody } from '@forge/runtime';
8
8
  import { Permissions, Remotes } from '@forge/manifest';
9
9
  import { BundlerOutput } from '@forge/bundler';
@@ -30,13 +30,12 @@ export declare class LocalDevelopmentServer implements DevelopmentServer {
30
30
  private readonly invocationService;
31
31
  private readonly logger;
32
32
  private readonly configFile;
33
- private readonly featureFlags;
34
33
  private readonly fileSystemReader;
35
34
  private app;
36
35
  private httpServer;
37
36
  private permissions;
38
37
  private remotes;
39
- constructor(invocationService: InvocationService, logger: Logger, configFile: ConfigFile, featureFlags: FeatureFlagService, fileSystemReader: FileSystemReader);
38
+ constructor(invocationService: InvocationService, logger: Logger, configFile: ConfigFile, fileSystemReader: FileSystemReader);
40
39
  start(port?: number, permissions?: Permissions, remotes?: Remotes): Promise<StartDevServerResult>;
41
40
  stop(): Promise<void>;
42
41
  compileAndWatch({ onBuildWillStart, onBuildFinished }: WatchHooks<BundlerOutput>): Promise<BundlerOutput | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"dev-server.d.ts","sourceRoot":"","sources":["../../src/servers/dev-server.ts"],"names":[],"mappings":";;AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG1B,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAEhB,MAAM,EAGP,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAe,MAAM,gBAAgB,CAAC;AAGlE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EACL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EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAe5F,IAAI;IAIJ,eAAe,CAAC,EAC3B,gBAAgB,EAChB,eAAe,EAChB,EAAE,UAAU,CAAC,aAAa,CAAC,GAAG,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC;IAsD1D,MAAM,IAAI,OAAO,CAAC,WAAW;IAI7B,gBAAgB,EAAE,OAAO,CAAC,OAAO,CA2CtC;CACH"}
@@ -19,11 +19,10 @@ async function stopServer(server) {
19
19
  }
20
20
  exports.stopServer = stopServer;
21
21
  class LocalDevelopmentServer {
22
- constructor(invocationService, logger, configFile, featureFlags, fileSystemReader) {
22
+ constructor(invocationService, logger, configFile, fileSystemReader) {
23
23
  this.invocationService = invocationService;
24
24
  this.logger = logger;
25
25
  this.configFile = configFile;
26
- this.featureFlags = featureFlags;
27
26
  this.fileSystemReader = fileSystemReader;
28
27
  this.handleInvocation = async (req, res) => {
29
28
  var _a, _b, _c, _d, _e, _f;
@@ -84,7 +83,7 @@ class LocalDevelopmentServer {
84
83
  return;
85
84
  }
86
85
  const getConfig = (await this.configFile.runtimeType()) === cli_shared_1.RuntimeType.nodejs
87
- ? (0, bundler_2.getNodeRuntimeBuildConfig)(await (0, bundler_1.getWrapperProvider)({ featureFlags: this.featureFlags, fileSystemReader: this.fileSystemReader }))
86
+ ? (0, bundler_2.getNodeRuntimeBuildConfig)(await (0, bundler_1.getWrapperProvider)({ fileSystemReader: this.fileSystemReader }))
88
87
  : bundler_2.getSandboxedRuntimeBuildConfig;
89
88
  const config = getConfig(entryPoints, {
90
89
  isWatchMode: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/tunnel",
3
- "version": "3.7.0-next.9",
3
+ "version": "3.7.0",
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.12.0-next.9",
15
- "@forge/cli-shared": "3.18.0-next.6",
16
- "@forge/csp": "2.2.1-next.1",
17
- "@forge/runtime": "5.0.1-next.2",
14
+ "@forge/bundler": "4.12.0",
15
+ "@forge/cli-shared": "3.18.0",
16
+ "@forge/csp": "2.2.1",
17
+ "@forge/runtime": "5.0.1",
18
18
  "express": "^4.18.2",
19
19
  "express-intercept": "^1.1.0",
20
20
  "http-proxy-middleware": "^1.3.1",
@@ -26,14 +26,14 @@
26
26
  "webpack-dev-server": "^4.15.1"
27
27
  },
28
28
  "devDependencies": {
29
- "@atlassian/xen-test-util": "^3.0.4",
30
- "@forge/manifest": "4.20.0-next.3",
29
+ "@atlassian/xen-test-util": "^3.0.5",
30
+ "@forge/manifest": "4.20.0",
31
31
  "@types/express": "^4.17.17",
32
32
  "@types/jest": "^29.5.4",
33
- "@types/node": "14.18.56",
33
+ "@types/node": "14.18.58",
34
34
  "@types/supertest": "^2.0.12",
35
35
  "@types/tmp": "^0.2.3",
36
- "@types/uuid": "^3.4.10",
36
+ "@types/uuid": "^3.4.11",
37
37
  "supertest": "^6.3.3"
38
38
  }
39
39
  }