@forge/bundler 2.0.0-next.9 → 2.0.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 +48 -0
- package/out/webpack.js +2 -2
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# @forge/bundler
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 037c31a5: Upgrade webpack from 4 to 5 and other relavent packages to fix the issue for node17+ (openssl change)
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 37f9898: Added process dependency to package with notes in the path resolver
|
|
12
|
+
- 7d0ef8b: Updated ignore plugin params to correctly ignore encoding import for node-fetch
|
|
13
|
+
- Updated dependencies [ffa0050]
|
|
14
|
+
- Updated dependencies [4922d09]
|
|
15
|
+
- Updated dependencies [83ca609]
|
|
16
|
+
- Updated dependencies [037c31a5]
|
|
17
|
+
- Updated dependencies [f5d4a63]
|
|
18
|
+
- Updated dependencies [1f7c428]
|
|
19
|
+
- Updated dependencies [2e70a0b]
|
|
20
|
+
- @forge/lint@3.0.0
|
|
21
|
+
- @forge/babel-plugin-transform-ui@1.1.0
|
|
22
|
+
- @forge/cli-shared@2.2.1
|
|
23
|
+
|
|
24
|
+
## 2.0.0-next.13
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- 7d0ef8b: Updated ignore plugin params to correctly ignore encoding import for node-fetch
|
|
29
|
+
|
|
30
|
+
## 2.0.0-next.12
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- @forge/cli-shared@2.2.1-next.9
|
|
35
|
+
- @forge/lint@3.0.0-next.11
|
|
36
|
+
|
|
37
|
+
## 2.0.0-next.11
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- 37f9898: Added process dependency to package with notes in the path resolver
|
|
42
|
+
|
|
43
|
+
## 2.0.0-next.10
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- Updated dependencies [f5d4a636]
|
|
48
|
+
- @forge/lint@3.0.0-next.10
|
|
49
|
+
- @forge/cli-shared@2.2.1-next.8
|
|
50
|
+
|
|
3
51
|
## 2.0.0-next.9
|
|
4
52
|
|
|
5
53
|
### Major Changes
|
package/out/webpack.js
CHANGED
|
@@ -61,7 +61,6 @@ const getCustomModulesAliases = () => {
|
|
|
61
61
|
'create-hmac': resolveModulePath('create-hmac/browser.js'),
|
|
62
62
|
'diffie-hellman': resolveModulePath('diffie-hellman/browser.js'),
|
|
63
63
|
pbkdf2: resolveModulePath('pbkdf2/browser.js'),
|
|
64
|
-
process: resolveModulePath('process/browser.js'),
|
|
65
64
|
'public-encrypt': resolveModulePath('public-encrypt/browser.js'),
|
|
66
65
|
randombytes: resolveModulePath('randombytes/browser.js'),
|
|
67
66
|
randomfill: resolveModulePath('randomfill/browser.js'),
|
|
@@ -72,6 +71,7 @@ const getCustomModulesAliases = () => {
|
|
|
72
71
|
events: resolveModulePath('events/'),
|
|
73
72
|
os: resolveModulePath('os-browserify/browser'),
|
|
74
73
|
punycode: resolveModulePath('punycode/'),
|
|
74
|
+
process: resolveModulePath('process/browser.js'),
|
|
75
75
|
string_decoder: resolveModulePath('string_decoder/'),
|
|
76
76
|
timers: resolveModulePath('timers-browserify'),
|
|
77
77
|
url: resolveModulePath('url/'),
|
|
@@ -188,7 +188,7 @@ const getBuildConfig = (entrypoints, config) => {
|
|
|
188
188
|
modules: require.resolve.paths('babel-loader') || undefined
|
|
189
189
|
},
|
|
190
190
|
plugins: [
|
|
191
|
-
new webpack_1.default.IgnorePlugin({ resourceRegExp: /node-fetch
|
|
191
|
+
new webpack_1.default.IgnorePlugin({ resourceRegExp: /^encoding$/, contextRegExp: /node-fetch/ }),
|
|
192
192
|
new webpack_1.default.ProvidePlugin({
|
|
193
193
|
Buffer: [resolveModulePath('buffer/'), 'Buffer'],
|
|
194
194
|
path: resolveModulePath('path-browserify'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bundler",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Default bundler for Forge apps",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Atlassian",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"@babel/plugin-transform-react-jsx": "^7.16.7",
|
|
20
20
|
"@babel/preset-typescript": "^7.16.7",
|
|
21
21
|
"@forge/api": "2.6.0",
|
|
22
|
-
"@forge/babel-plugin-transform-ui": "1.1.0
|
|
22
|
+
"@forge/babel-plugin-transform-ui": "1.1.0",
|
|
23
23
|
"assert": "^2.0.0",
|
|
24
24
|
"babel-loader": "^8.2.3",
|
|
25
25
|
"browserify-zlib": "^0.2.0",
|
|
26
26
|
"buffer": "^6.0.3",
|
|
27
|
-
"@forge/cli-shared": "2.2.1
|
|
28
|
-
"@forge/lint": "3.0.0
|
|
27
|
+
"@forge/cli-shared": "2.2.1",
|
|
28
|
+
"@forge/lint": "3.0.0",
|
|
29
29
|
"chalk": "^2.4.2",
|
|
30
30
|
"console-browserify": "^1.2.0",
|
|
31
31
|
"crypto-browserify": "^3.12.0",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"memfs": "^3.4.1",
|
|
34
34
|
"os-browserify": "^0.3.0",
|
|
35
35
|
"path-browserify": "^1.0.0",
|
|
36
|
+
"process": "^0.11.10",
|
|
36
37
|
"punycode": "^2.1.1",
|
|
37
38
|
"querystring-browser": "^1.0.4",
|
|
38
39
|
"readable-stream": "^3.4.0",
|