@forge/bundler 4.10.5-next.1 → 4.10.5-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 +91 -0
- package/out/config/common.d.ts.map +1 -1
- package/out/config/common.js +5 -1
- package/out/config/node.d.ts.map +1 -1
- package/out/config/node.js +0 -6
- package/out/config/sandbox.d.ts.map +1 -1
- package/out/config/sandbox.js +1 -0
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,96 @@
|
|
|
1
1
|
# @forge/bundler
|
|
2
2
|
|
|
3
|
+
## 4.10.5-next.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a777103: Minor refactoring
|
|
8
|
+
- Updated dependencies [a777103]
|
|
9
|
+
- @forge/cli-shared@3.17.1-next.8
|
|
10
|
+
- @forge/runtime@4.4.6-next.4
|
|
11
|
+
- @forge/lint@3.6.4-next.8
|
|
12
|
+
|
|
13
|
+
## 4.10.5-next.10
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- @forge/cli-shared@3.17.1-next.7
|
|
18
|
+
- @forge/lint@3.6.4-next.7
|
|
19
|
+
|
|
20
|
+
## 4.10.5-next.9
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [1b7fd9a]
|
|
25
|
+
- @forge/runtime@4.4.6-next.3
|
|
26
|
+
|
|
27
|
+
## 4.10.5-next.8
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies [388380b]
|
|
32
|
+
- @forge/cli-shared@3.17.1-next.6
|
|
33
|
+
- @forge/lint@3.6.4-next.6
|
|
34
|
+
|
|
35
|
+
## 4.10.5-next.7
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Updated dependencies [9e74985]
|
|
40
|
+
- Updated dependencies [94ce678]
|
|
41
|
+
- @forge/cli-shared@3.17.1-next.5
|
|
42
|
+
- @forge/runtime@4.4.6-next.2
|
|
43
|
+
- @forge/lint@3.6.4-next.5
|
|
44
|
+
|
|
45
|
+
## 4.10.5-next.6
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- ac89229: Bumping dependencies via Renovate:
|
|
50
|
+
|
|
51
|
+
- @atlassian/xen-test-util
|
|
52
|
+
|
|
53
|
+
- Updated dependencies [ac89229]
|
|
54
|
+
- @forge/cli-shared@3.17.1-next.4
|
|
55
|
+
- @forge/lint@3.6.4-next.4
|
|
56
|
+
|
|
57
|
+
## 4.10.5-next.5
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- Updated dependencies [2cba32e]
|
|
62
|
+
- @forge/cli-shared@3.17.1-next.3
|
|
63
|
+
- @forge/lint@3.6.4-next.3
|
|
64
|
+
- @forge/api@2.18.4-next.2
|
|
65
|
+
|
|
66
|
+
## 4.10.5-next.4
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- 1e429df: Fix util.inherits
|
|
71
|
+
|
|
72
|
+
## 4.10.5-next.3
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Updated dependencies [f48e6d8]
|
|
77
|
+
- @forge/runtime@4.4.6-next.1
|
|
78
|
+
- @forge/api@2.18.4-next.1
|
|
79
|
+
|
|
80
|
+
## 4.10.5-next.2
|
|
81
|
+
|
|
82
|
+
### Patch Changes
|
|
83
|
+
|
|
84
|
+
- 4640d4f: Bumping dependencies via Renovate:
|
|
85
|
+
|
|
86
|
+
- @types/node
|
|
87
|
+
|
|
88
|
+
- Updated dependencies [4640d4f]
|
|
89
|
+
- @forge/api@2.18.4-next.0
|
|
90
|
+
- @forge/runtime@4.4.6-next.0
|
|
91
|
+
- @forge/cli-shared@3.17.1-next.2
|
|
92
|
+
-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CAAC,CAAC;AACpD,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,aAAa,EAAE,SAAS,GAAG,QAAQ,CAAC,GACnF,MAAM,CAAC,QAAQ,EAAE,mBAAmB,CAAC,GACrC,MAAM,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;AAElC,eAAO,MAAM,sBAAsB,gBAAiB,UAAU,EAAE,UAAU,aAAa,KAAG,mBAwGzF,CAAC"}
|
package/out/config/common.js
CHANGED
|
@@ -69,7 +69,11 @@ const getCommonWebpackConfig = (entrypoints, config) => {
|
|
|
69
69
|
resolveLoader: {
|
|
70
70
|
modules: require.resolve.paths('babel-loader') || undefined
|
|
71
71
|
},
|
|
72
|
-
plugins: [
|
|
72
|
+
plugins: [
|
|
73
|
+
new webpack_1.default.IgnorePlugin({ resourceRegExp: /^encoding$/, contextRegExp: /node-fetch/ }),
|
|
74
|
+
new webpack_1.default.IgnorePlugin({ resourceRegExp: /^(bufferutil|utf-8-validate)$/, contextRegExp: /ws\/lib$/ }),
|
|
75
|
+
new webpack_1.default.IgnorePlugin({ resourceRegExp: /^dtrace-provider$/, contextRegExp: /bunyan$/ })
|
|
76
|
+
],
|
|
73
77
|
module: {
|
|
74
78
|
rules: [
|
|
75
79
|
{
|
package/out/config/node.d.ts.map
CHANGED
|
@@ -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,EAIpB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,wBAAwB,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/config/node.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EAIpB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,wBAAwB,iBAAiB,CAAC;AAEvD,eAAO,MAAM,yBAAyB,gBACvB,mBAAmB,EAAE,UAC1B,aAAa,KACpB,mBAuDF,CAAC"}
|
package/out/config/node.js
CHANGED
|
@@ -4,7 +4,6 @@ exports.getNodeRuntimeBuildConfig = exports.NODE_WEBPACK_CONFIG_NAME = void 0;
|
|
|
4
4
|
const webpack_1 = require("webpack");
|
|
5
5
|
const common_1 = require("./common");
|
|
6
6
|
exports.NODE_WEBPACK_CONFIG_NAME = 'node-runtime';
|
|
7
|
-
const IGNORE_MODULES = ['bufferutil', 'utf-8-validate', 'dtrace-provider'];
|
|
8
7
|
const getNodeRuntimeBuildConfig = (entrypoints, config) => {
|
|
9
8
|
const webpackConfig = (0, common_1.getCommonWebpackConfig)(entrypoints, config);
|
|
10
9
|
const wrapperPath = (0, common_1.resolveStubPath)('wrapper');
|
|
@@ -15,11 +14,6 @@ const getNodeRuntimeBuildConfig = (entrypoints, config) => {
|
|
|
15
14
|
}
|
|
16
15
|
webpackConfig.entry = newEntries;
|
|
17
16
|
webpackConfig.target = 'node18';
|
|
18
|
-
const ignored = {};
|
|
19
|
-
for (const module of IGNORE_MODULES) {
|
|
20
|
-
ignored[module] = module;
|
|
21
|
-
}
|
|
22
|
-
webpackConfig.externals = ignored;
|
|
23
17
|
const defineExports = ({ filename }) => {
|
|
24
18
|
const entryName = filename.replace(/\.js$/, '');
|
|
25
19
|
const entrypoint = entrypoints.find((e) => e.name === entryName);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../src/config/sandbox.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,aAAa,EACb,UAAU,EAIX,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,6BAA6B,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../src/config/sandbox.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,aAAa,EACb,UAAU,EAIX,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,6BAA6B,sBAAsB,CAAC;AA0DjE,eAAO,MAAM,8BAA8B,gBAC5B,UAAU,EAAE,UACjB,aAAa,KACpB,mBAwEF,CAAC"}
|
package/out/config/sandbox.js
CHANGED
|
@@ -25,6 +25,7 @@ const getCustomModulesAliases = () => {
|
|
|
25
25
|
console: (0, common_1.resolveModulePath)('console-browserify'),
|
|
26
26
|
crypto: (0, common_1.resolveModulePath)('crypto-browserify'),
|
|
27
27
|
events: (0, common_1.resolveModulePath)('events/'),
|
|
28
|
+
inherits: (0, common_1.resolveModulePath)('inherits/inherits_browser.js'),
|
|
28
29
|
os: (0, common_1.resolveModulePath)('os-browserify/browser'),
|
|
29
30
|
punycode: (0, common_1.resolveModulePath)('punycode/'),
|
|
30
31
|
process: (0, common_1.resolveModulePath)('process/browser.js'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bundler",
|
|
3
|
-
"version": "4.10.5-next.
|
|
3
|
+
"version": "4.10.5-next.11",
|
|
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.22.6",
|
|
20
20
|
"@babel/plugin-transform-react-jsx": "^7.22.5",
|
|
21
21
|
"@babel/preset-typescript": "^7.22.5",
|
|
22
|
-
"@forge/api": "2.18.
|
|
22
|
+
"@forge/api": "2.18.4-next.2",
|
|
23
23
|
"@forge/babel-plugin-transform-ui": "1.1.5",
|
|
24
|
-
"@forge/cli-shared": "3.17.1-next.
|
|
25
|
-
"@forge/lint": "3.6.4-next.
|
|
26
|
-
"@forge/runtime": "4.4.
|
|
24
|
+
"@forge/cli-shared": "3.17.1-next.8",
|
|
25
|
+
"@forge/lint": "3.6.4-next.8",
|
|
26
|
+
"@forge/runtime": "4.4.6-next.4",
|
|
27
27
|
"@forge/util": "1.3.1",
|
|
28
28
|
"assert": "^1.5.0",
|
|
29
29
|
"babel-loader": "^8.3.0",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"crypto-browserify": "^3.12.0",
|
|
35
35
|
"events": "^3.3.0",
|
|
36
36
|
"html-webpack-plugin": "^5.5.3",
|
|
37
|
+
"inherits": "^2.0.4",
|
|
37
38
|
"memfs": "^3.5.3",
|
|
38
39
|
"nock": "^10.0.6",
|
|
39
40
|
"os-browserify": "^0.3.0",
|
|
@@ -55,9 +56,9 @@
|
|
|
55
56
|
"whatwg-url": "^7.1.0"
|
|
56
57
|
},
|
|
57
58
|
"devDependencies": {
|
|
58
|
-
"@atlassian/xen-test-util": "^2.1.
|
|
59
|
+
"@atlassian/xen-test-util": "^2.1.5",
|
|
59
60
|
"@types/jest": "^29.5.3",
|
|
60
|
-
"@types/node": "14.18.
|
|
61
|
+
"@types/node": "14.18.54",
|
|
61
62
|
"@types/react": "^17.0.53",
|
|
62
63
|
"@types/readable-stream": "^2.3.15",
|
|
63
64
|
"@types/webpack-bundle-analyzer": "^4.6.0",
|
|
@@ -71,4 +72,4 @@
|
|
|
71
72
|
"engines": {
|
|
72
73
|
"node": ">=12.13.1"
|
|
73
74
|
}
|
|
74
|
-
}
|
|
75
|
+
}
|