@forge/bundler 2.0.1-next.0 → 2.0.1-next.4

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,32 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 2.0.1-next.4
4
+
5
+ ### Patch Changes
6
+
7
+ - @forge/cli-shared@2.2.2-next.3
8
+ - @forge/lint@3.0.1-next.3
9
+
10
+ ## 2.0.1-next.3
11
+
12
+ ### Patch Changes
13
+
14
+ - @forge/cli-shared@2.2.2-next.2
15
+ - @forge/lint@3.0.1-next.2
16
+
17
+ ## 2.0.1-next.2
18
+
19
+ ### Patch Changes
20
+
21
+ - @forge/cli-shared@2.2.2-next.1
22
+ - @forge/lint@3.0.1-next.1
23
+
24
+ ## 2.0.1-next.1
25
+
26
+ ### Patch Changes
27
+
28
+ - f27cbfc: Do not fail on TS errors
29
+
3
30
  ## 2.0.1-next.0
4
31
 
5
32
  ### Patch 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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "2.0.1-next.0",
3
+ "version": "2.0.1-next.4",
4
4
  "description": "Default bundler for Forge apps",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Atlassian",
@@ -24,8 +24,8 @@
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.2-next.0",
28
- "@forge/lint": "3.0.1-next.0",
27
+ "@forge/cli-shared": "2.2.2-next.3",
28
+ "@forge/lint": "3.0.1-next.3",
29
29
  "chalk": "^2.4.2",
30
30
  "console-browserify": "^1.2.0",
31
31
  "crypto-browserify": "^3.12.0",