@forge/bundler 2.0.0-next.9 → 2.0.1-next.2

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,73 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 2.0.1-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - @forge/cli-shared@2.2.2-next.1
8
+ - @forge/lint@3.0.1-next.1
9
+
10
+ ## 2.0.1-next.1
11
+
12
+ ### Patch Changes
13
+
14
+ - f27cbfc: Do not fail on TS errors
15
+
16
+ ## 2.0.1-next.0
17
+
18
+ ### Patch Changes
19
+
20
+ - @forge/cli-shared@2.2.2-next.0
21
+ - @forge/lint@3.0.1-next.0
22
+
23
+ ## 2.0.0
24
+
25
+ ### Major Changes
26
+
27
+ - 037c31a5: Upgrade webpack from 4 to 5 and other relavent packages to fix the issue for node17+ (openssl change)
28
+
29
+ ### Patch Changes
30
+
31
+ - 37f9898: Added process dependency to package with notes in the path resolver
32
+ - 7d0ef8b: Updated ignore plugin params to correctly ignore encoding import for node-fetch
33
+ - Updated dependencies [ffa0050]
34
+ - Updated dependencies [4922d09]
35
+ - Updated dependencies [83ca609]
36
+ - Updated dependencies [037c31a5]
37
+ - Updated dependencies [f5d4a63]
38
+ - Updated dependencies [1f7c428]
39
+ - Updated dependencies [2e70a0b]
40
+ - @forge/lint@3.0.0
41
+ - @forge/babel-plugin-transform-ui@1.1.0
42
+ - @forge/cli-shared@2.2.1
43
+
44
+ ## 2.0.0-next.13
45
+
46
+ ### Patch Changes
47
+
48
+ - 7d0ef8b: Updated ignore plugin params to correctly ignore encoding import for node-fetch
49
+
50
+ ## 2.0.0-next.12
51
+
52
+ ### Patch Changes
53
+
54
+ - @forge/cli-shared@2.2.1-next.9
55
+ - @forge/lint@3.0.0-next.11
56
+
57
+ ## 2.0.0-next.11
58
+
59
+ ### Patch Changes
60
+
61
+ - 37f9898: Added process dependency to package with notes in the path resolver
62
+
63
+ ## 2.0.0-next.10
64
+
65
+ ### Patch Changes
66
+
67
+ - Updated dependencies [f5d4a636]
68
+ - @forge/lint@3.0.0-next.10
69
+ - @forge/cli-shared@2.2.1-next.8
70
+
3
71
  ## 2.0.0-next.9
4
72
 
5
73
  ### Major Changes
package/out/webpack.js CHANGED
@@ -30,7 +30,7 @@ const handleCallback = (err, stats) => {
30
30
  const isTSError = info.errors.every((e) => e.message.includes('[tsl]'));
31
31
  if (isTSError) {
32
32
  const formattedErrors = info.errors.map((error) => {
33
- return error.replace(/\.?.+.tsx?(?!\([0-9]\,[0-9]\))$/gm, '');
33
+ return error.message.replace(/\.?.+.tsx?(?!\([0-9]\,[0-9]\))$/gm, '');
34
34
  });
35
35
  throw new Error(text_1.Text.typescriptError(formattedErrors));
36
36
  }
@@ -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/, contextRegExp: /^encoding$/ }),
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-next.9",
3
+ "version": "2.0.1-next.2",
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-next.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-next.7",
28
- "@forge/lint": "3.0.0-next.9",
27
+ "@forge/cli-shared": "2.2.2-next.1",
28
+ "@forge/lint": "3.0.1-next.1",
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",