fork-ts-checker-webpack-plugin 7.2.7 → 7.2.10

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/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)
2
+
1
3
  <div align="center">
2
4
 
3
5
  <img alt="" width="300" src="./media/logo.svg" />
@@ -52,11 +54,10 @@ module.exports = {
52
54
  {
53
55
  test: /\.tsx?$/,
54
56
  loader: 'ts-loader',
55
- exclude: /node_modules/,
56
- options: {
57
- // disable type checker - we will use it in fork plugin
58
- transpileOnly: true
59
- }
57
+ // add transpileOnly option if you use ts-loader < 9.3.0
58
+ // options: {
59
+ // transpileOnly: true
60
+ // }
60
61
  }
61
62
  ]
62
63
  },
@@ -241,7 +242,8 @@ module.exports = {
241
242
  exclude: /node_modules/,
242
243
  options: {
243
244
  appendTsSuffixTo: [/\.vue$/],
244
- transpileOnly: true
245
+ // add transpileOnly option if you use ts-loader < 9.3.0
246
+ // transpileOnly: true
245
247
  }
246
248
  },
247
249
  {
@@ -332,19 +334,6 @@ module.exports = {
332
334
  };
333
335
  ```
334
336
 
335
- ## Typings
336
-
337
- To use the plugin typings, you have to install `@types/webpack`. It's not included by default to not collide with your
338
- existing typings (`@types/webpack` imports `@types/node`). [It's an old TypeScript issue](https://github.com/microsoft/TypeScript/issues/18588),
339
- the alternative is to set `skipLibCheck: true` in the `compilerOptions` 😉
340
- ```sh
341
- # with npm
342
- npm install --save-dev @types/webpack
343
-
344
- # with yarn
345
- yarn add --dev @types/webpack
346
- ```
347
-
348
337
  ## Profiling types resolution
349
338
 
350
339
  When using TypeScript 4.3.0 or newer you can profile long type checks by
@@ -14,7 +14,7 @@ function createWebpackFormatter(formatter) {
14
14
  const color = issue.severity === 'warning' ? chalk_1.default.yellow.bold : chalk_1.default.red.bold;
15
15
  const severity = issue.severity.toUpperCase();
16
16
  if (issue.file) {
17
- let location = chalk_1.default.whiteBright.bold((0, relative_to_context_1.relativeToContext)(issue.file, process.cwd()));
17
+ let location = chalk_1.default.bold((0, relative_to_context_1.relativeToContext)(issue.file, process.cwd()));
18
18
  if (issue.location) {
19
19
  location += ` ${chalk_1.default.green.bold((0, issue_1.formatIssueLocation)(issue.location))}`;
20
20
  }
package/lib/plugin.js CHANGED
@@ -70,7 +70,7 @@ exports.ForkTsCheckerWebpackPlugin = ForkTsCheckerWebpackPlugin;
70
70
  /**
71
71
  * Current version of the plugin
72
72
  */
73
- ForkTsCheckerWebpackPlugin.version = '7.2.7'; // will be replaced by the @semantic-release/exec
73
+ ForkTsCheckerWebpackPlugin.version = '7.2.10'; // will be replaced by the @semantic-release/exec
74
74
  /**
75
75
  * Default pools for the plugin concurrency limit
76
76
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fork-ts-checker-webpack-plugin",
3
- "version": "7.2.7",
3
+ "version": "7.2.10",
4
4
  "description": "Runs typescript type checker and linter on separate process.",
5
5
  "keywords": [
6
6
  "webpack",