@forge/bundler 4.12.2-next.9 → 4.12.3-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,205 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 4.12.3-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 5c39a289: Bumping dependencies via Renovate:
8
+
9
+ - @atlassian/xen-test-util
10
+
11
+ - Updated dependencies [5c39a289]
12
+ - @forge/cli-shared@3.20.1-next.0
13
+ - @forge/lint@3.7.1-next.0
14
+
15
+ ## 4.12.2
16
+
17
+ ### Patch Changes
18
+
19
+ - 40a9888: Bumping dependencies via Renovate:
20
+
21
+ - punycode
22
+
23
+ - 6b83205: Bumping dependencies via Renovate:
24
+
25
+ - memfs
26
+
27
+ - aec22e5: Bumping dependencies via Renovate:
28
+
29
+ - @atlassian/xen-test-util
30
+
31
+ - de5d202: Allow packaging extra files in Forge apps
32
+ - a7a66cf: Bumping dependencies via Renovate:
33
+
34
+ - @types/webpack-bundle-analyzer
35
+
36
+ - 7ce468b: Bumping dependencies via Renovate:
37
+
38
+ - @babel/core
39
+ - @babel/plugin-transform-optional-chaining
40
+ - @babel/preset-typescript
41
+ - @babel/traverse
42
+ - @babel/types
43
+
44
+ - 9df43f6: Bumping dependencies via Renovate:
45
+
46
+ - readable-stream
47
+ - @types/readable-stream
48
+
49
+ - 9d50860: Bumping dependencies via Renovate:
50
+
51
+ - @types/node
52
+
53
+ - Updated dependencies [fc1756d]
54
+ - Updated dependencies [eddaedf3]
55
+ - Updated dependencies [d192a8f]
56
+ - Updated dependencies [37d6fdb]
57
+ - Updated dependencies [f11f738]
58
+ - Updated dependencies [52646bd]
59
+ - Updated dependencies [3d3495d2]
60
+ - Updated dependencies [0fbf747]
61
+ - Updated dependencies [aec22e5]
62
+ - Updated dependencies [de5d202]
63
+ - Updated dependencies [e23c701]
64
+ - Updated dependencies [8330ad7d]
65
+ - Updated dependencies [f39f901]
66
+ - Updated dependencies [d86c7bb]
67
+ - Updated dependencies [7ce468b]
68
+ - Updated dependencies [ab7c204]
69
+ - Updated dependencies [2d50ea45]
70
+ - Updated dependencies [ed2cbc8]
71
+ - Updated dependencies [28fcd26]
72
+ - Updated dependencies [370a526]
73
+ - Updated dependencies [e534bed]
74
+ - Updated dependencies [7749635]
75
+ - Updated dependencies [9d50860]
76
+ - @forge/cli-shared@3.20.0
77
+ - @forge/lint@3.7.0
78
+ - @forge/babel-plugin-transform-ui@1.1.9
79
+ - @forge/node-runtime@0.3.0
80
+ - @forge/api@2.19.2
81
+
82
+ ## 4.12.2-next.23
83
+
84
+ ### Patch Changes
85
+
86
+ - @forge/cli-shared@3.20.0-next.18
87
+ - @forge/lint@3.7.0-next.20
88
+
89
+ ## 4.12.2-next.22
90
+
91
+ ### Patch Changes
92
+
93
+ - Updated dependencies [f39f9012]
94
+ - @forge/lint@3.7.0-next.19
95
+
96
+ ## 4.12.2-next.21
97
+
98
+ ### Patch Changes
99
+
100
+ - de5d2023: Allow packaging extra files in Forge apps
101
+ - Updated dependencies [de5d2023]
102
+ - @forge/cli-shared@3.20.0-next.17
103
+ - @forge/lint@3.6.8-next.18
104
+
105
+ ## 4.12.2-next.20
106
+
107
+ ### Patch Changes
108
+
109
+ - Updated dependencies [f11f7384]
110
+ - @forge/cli-shared@3.20.0-next.16
111
+ - @forge/lint@3.6.8-next.17
112
+
113
+ ## 4.12.2-next.19
114
+
115
+ ### Patch Changes
116
+
117
+ - 40a9888f: Bumping dependencies via Renovate:
118
+
119
+ - punycode
120
+
121
+ - 9df43f61: Bumping dependencies via Renovate:
122
+
123
+ - readable-stream
124
+ - @types/readable-stream
125
+
126
+ ## 4.12.2-next.18
127
+
128
+ ### Patch Changes
129
+
130
+ - Updated dependencies [28fcd26b]
131
+ - @forge/cli-shared@3.20.0-next.15
132
+ - @forge/lint@3.6.8-next.16
133
+
134
+ ## 4.12.2-next.17
135
+
136
+ ### Patch Changes
137
+
138
+ - Updated dependencies [77496359]
139
+ - @forge/cli-shared@3.20.0-next.14
140
+ - @forge/lint@3.6.8-next.15
141
+
142
+ ## 4.12.2-next.16
143
+
144
+ ### Patch Changes
145
+
146
+ - Updated dependencies [370a5262]
147
+ - @forge/cli-shared@3.19.1-next.13
148
+ - @forge/lint@3.6.8-next.14
149
+
150
+ ## 4.12.2-next.15
151
+
152
+ ### Patch Changes
153
+
154
+ - @forge/api@2.19.2-next.3
155
+ - @forge/lint@3.6.8-next.13
156
+ - @forge/cli-shared@3.19.1-next.12
157
+ - @forge/node-runtime@0.3.0-next.6
158
+
159
+ ## 4.12.2-next.14
160
+
161
+ ### Patch Changes
162
+
163
+ - 6b832057: Bumping dependencies via Renovate:
164
+
165
+ - memfs
166
+
167
+ ## 4.12.2-next.13
168
+
169
+ ### Patch Changes
170
+
171
+ - @forge/cli-shared@3.19.1-next.11
172
+ - @forge/lint@3.6.8-next.12
173
+
174
+ ## 4.12.2-next.12
175
+
176
+ ### Patch Changes
177
+
178
+ - Updated dependencies [ab7c204]
179
+ - @forge/cli-shared@3.19.1-next.10
180
+ - @forge/lint@3.6.8-next.11
181
+ - @forge/node-runtime@0.3.0-next.5
182
+
183
+ ## 4.12.2-next.11
184
+
185
+ ### Patch Changes
186
+
187
+ - aec22e5: Bumping dependencies via Renovate:
188
+
189
+ - @atlassian/xen-test-util
190
+
191
+ - Updated dependencies [aec22e5]
192
+ - @forge/cli-shared@3.19.1-next.9
193
+ - @forge/lint@3.6.8-next.10
194
+
195
+ ## 4.12.2-next.10
196
+
197
+ ### Patch Changes
198
+
199
+ - Updated dependencies [fc1756d]
200
+ - @forge/cli-shared@3.19.1-next.8
201
+ - @forge/lint@3.6.8-next.9
202
+
3
203
  ## 4.12.2-next.9
4
204
 
5
205
  ### Patch Changes
@@ -28,6 +28,6 @@ export declare class NetworkWrapperProvider implements WrapperProvider {
28
28
  }
29
29
  export declare const getWrapperProvider: ({ fileSystemReader }: {
30
30
  fileSystemReader: FileSystemReader;
31
- }) => Promise<LocalWrapperProvider | NetworkWrapperProvider>;
31
+ }) => LocalWrapperProvider | NetworkWrapperProvider;
32
32
  export declare const getNodeRuntimeBuildConfig: (wrapperProvider: WrapperProvider) => (entrypoints: FunctionsEntryPoint[], config: ConfigBuilder) => CommonWebpackConfig;
33
33
  //# sourceMappingURL=node.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/config/node.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EAGpB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAuB,MAAM,mBAAmB,CAAC;AAGhG,eAAO,MAAM,wBAAwB,iBAAiB,CAAC;AACvD,eAAO,MAAM,0BAA0B,YAAY,CAAC;AAIpD,qBAAa,yBAA0B,SAAQ,SAAS;;CAIvD;AAED,qBAAa,mBAAoB,SAAQ,SAAS;gBACpC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM;CAGhD;AAED,qBAAa,yBAA0B,SAAQ,SAAS;gBAC1C,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS;CAG3D;AAED,MAAM,WAAW,eAAe;IAC9B,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC1C;AAED,qBAAa,oBAAqB,YAAW,eAAe;IAC9C,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAAhB,gBAAgB,EAAE,gBAAgB;IACzD,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC;CAO/C;AAED,qBAAa,sBAAuB,YAAW,eAAe;IAEhD,OAAO,CAAC,QAAQ,CAAC,MAAM;IADnC,OAAO,CAAC,OAAO,CAAqB;gBACP,MAAM,EAAE,MAAM;YAE7B,uBAAuB;IAS/B,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC;CAmC/C;AAED,eAAO,M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B,EAAE,UAAU,aAAa,KAAG,mBA6C5D,CAAC"}
@@ -80,7 +80,7 @@ class NetworkWrapperProvider {
80
80
  }
81
81
  }
82
82
  exports.NetworkWrapperProvider = NetworkWrapperProvider;
83
- const getWrapperProvider = async ({ fileSystemReader }) => {
83
+ const getWrapperProvider = ({ fileSystemReader }) => {
84
84
  if (process.env.FORGE_USE_LOCAL_WRAPPER === 'true') {
85
85
  return new LocalWrapperProvider(fileSystemReader);
86
86
  }
package/out/index.d.ts CHANGED
@@ -2,6 +2,6 @@ export { Bundler, InDiskBundler, Watcher, WatcherMonitor, BundlerOutput } from '
2
2
  export { getSandboxBundler, getNodeBundler, nativeUiBundle, watch, getCompiler, getInMemoryBundle, handleWebpackCompilationResult, runLinter } from './webpack';
3
3
  export { EntryPoint, FunctionsEntryPoint, getEntryPoints } from './config/common';
4
4
  export { getNativeUiBuildConfig } from './config/nativeui';
5
- export { getNodeRuntimeBuildConfig, getWrapperProvider } from './config/node';
5
+ export { getNodeRuntimeBuildConfig, getWrapperProvider, LocalWrapperProvider } from './config/node';
6
6
  export { getSandboxedRuntimeBuildConfig } from './config/sandbox';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,KAAK,EACL,WAAW,EACX,iBAAiB,EACjB,8BAA8B,EAC9B,SAAS,EACV,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,KAAK,EACL,WAAW,EACX,iBAAiB,EACjB,8BAA8B,EAC9B,SAAS,EACV,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACpG,OAAO,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC"}
package/out/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getSandboxedRuntimeBuildConfig = exports.getWrapperProvider = exports.getNodeRuntimeBuildConfig = exports.getNativeUiBuildConfig = exports.getEntryPoints = exports.runLinter = exports.handleWebpackCompilationResult = exports.getInMemoryBundle = exports.getCompiler = exports.watch = exports.nativeUiBundle = exports.getNodeBundler = exports.getSandboxBundler = void 0;
3
+ exports.getSandboxedRuntimeBuildConfig = exports.LocalWrapperProvider = exports.getWrapperProvider = exports.getNodeRuntimeBuildConfig = exports.getNativeUiBuildConfig = exports.getEntryPoints = exports.runLinter = exports.handleWebpackCompilationResult = exports.getInMemoryBundle = exports.getCompiler = exports.watch = exports.nativeUiBundle = exports.getNodeBundler = exports.getSandboxBundler = void 0;
4
4
  var webpack_1 = require("./webpack");
5
5
  Object.defineProperty(exports, "getSandboxBundler", { enumerable: true, get: function () { return webpack_1.getSandboxBundler; } });
6
6
  Object.defineProperty(exports, "getNodeBundler", { enumerable: true, get: function () { return webpack_1.getNodeBundler; } });
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "getNativeUiBuildConfig", { enumerable: true, get
17
17
  var node_1 = require("./config/node");
18
18
  Object.defineProperty(exports, "getNodeRuntimeBuildConfig", { enumerable: true, get: function () { return node_1.getNodeRuntimeBuildConfig; } });
19
19
  Object.defineProperty(exports, "getWrapperProvider", { enumerable: true, get: function () { return node_1.getWrapperProvider; } });
20
+ Object.defineProperty(exports, "LocalWrapperProvider", { enumerable: true, get: function () { return node_1.LocalWrapperProvider; } });
20
21
  var sandbox_1 = require("./config/sandbox");
21
22
  Object.defineProperty(exports, "getSandboxedRuntimeBuildConfig", { enumerable: true, get: function () { return sandbox_1.getSandboxedRuntimeBuildConfig; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "4.12.2-next.9",
3
+ "version": "4.12.3-next.0",
4
4
  "description": "Default bundler for Forge apps",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Atlassian",
@@ -19,11 +19,11 @@
19
19
  "@babel/plugin-transform-optional-chaining": "^7.23.0",
20
20
  "@babel/plugin-transform-react-jsx": "^7.22.15",
21
21
  "@babel/preset-typescript": "^7.23.0",
22
- "@forge/api": "2.19.2-next.2",
23
- "@forge/babel-plugin-transform-ui": "1.1.9-next.0",
24
- "@forge/cli-shared": "3.19.1-next.7",
25
- "@forge/lint": "3.6.8-next.8",
26
- "@forge/node-runtime": "0.3.0-next.4",
22
+ "@forge/api": "2.19.2",
23
+ "@forge/babel-plugin-transform-ui": "1.1.9",
24
+ "@forge/cli-shared": "3.20.1-next.0",
25
+ "@forge/lint": "3.7.1-next.0",
26
+ "@forge/node-runtime": "0.3.0",
27
27
  "@forge/util": "1.3.1",
28
28
  "assert": "^2.1.0",
29
29
  "babel-loader": "^8.3.0",
@@ -36,15 +36,15 @@
36
36
  "events": "^3.3.0",
37
37
  "html-webpack-plugin": "^5.5.3",
38
38
  "inherits": "^2.0.4",
39
- "memfs": "^3.5.3",
39
+ "memfs": "^4.5.0",
40
40
  "nock": "13.3.3",
41
41
  "node-fetch": "2.7.0",
42
42
  "os-browserify": "^0.3.0",
43
43
  "path-browserify": "^1.0.1",
44
44
  "process": "^0.11.10",
45
- "punycode": "^1.4.1",
45
+ "punycode": "^2.3.0",
46
46
  "querystring-browser": "^1.0.4",
47
- "readable-stream": "^3.6.2",
47
+ "readable-stream": "^4.4.2",
48
48
  "string_decoder": "^1.3.0",
49
49
  "text-encoder-lite": "^2.0.0",
50
50
  "timers-browserify": "^2.0.12",
@@ -58,12 +58,12 @@
58
58
  "whatwg-url": "^7.1.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@atlassian/xen-test-util": "^3.1.0",
62
- "@forge/runtime": "5.1.1-next.2",
61
+ "@atlassian/xen-test-util": "^3.1.2",
62
+ "@forge/runtime": "5.1.1",
63
63
  "@types/jest": "^29.5.5",
64
64
  "@types/node": "14.18.63",
65
65
  "@types/react": "^17.0.65",
66
- "@types/readable-stream": "^2.3.15",
66
+ "@types/readable-stream": "^4.0.3",
67
67
  "@types/webpack-bundle-analyzer": "^4.6.1",
68
68
  "@typescript-eslint/eslint-plugin": "^5.62.0",
69
69
  "@typescript-eslint/parser": "^5.62.0",