@rsbuild/plugin-type-check 1.1.0 → 1.2.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.
Files changed (3) hide show
  1. package/README.md +14 -0
  2. package/dist/index.cjs +1 -1
  3. package/package.json +10 -10
package/README.md CHANGED
@@ -190,6 +190,20 @@ pluginTypeCheck({
190
190
  });
191
191
  ```
192
192
 
193
+ #### Disable type errors from the error overlay
194
+
195
+ By default, type errors will be reported to Dev Server and displayed in the Rsbuild error overlay in development mode.
196
+
197
+ If you don't want type errors to be displayed in the error overlay, you can disable it by setting `devServer: false`:
198
+
199
+ ```ts
200
+ pluginTypeCheck({
201
+ tsCheckerOptions: {
202
+ async: true,
203
+ devServer: false,
204
+ },
205
+ });
206
+ ```
193
207
  ## Notes
194
208
 
195
209
  - If you have enabled `ts-loader` in your project and manually configured `compileOnly: false`, please disable the Type Check plugin to avoid duplicate type checking.
package/dist/index.cjs CHANGED
@@ -139,7 +139,7 @@ const pluginTypeCheck = (options = {})=>({
139
139
  }
140
140
  });
141
141
  var __webpack_export_target__ = exports;
142
- for(var i in __webpack_exports__)__webpack_export_target__[i] = __webpack_exports__[i];
142
+ for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
143
143
  if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
144
144
  value: true
145
145
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-type-check",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "repository": "https://github.com/rspack-contrib/rsbuild-plugin-type-check",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -36,22 +36,22 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "deepmerge": "^4.3.1",
39
- "ts-checker-rspack-plugin": "^1.0.1",
39
+ "ts-checker-rspack-plugin": "^1.1.0",
40
40
  "json5": "^2.2.3",
41
- "reduce-configs": "^1.0.0"
41
+ "reduce-configs": "^1.1.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@biomejs/biome": "^1.9.4",
45
- "@playwright/test": "^1.48.2",
46
- "@rsbuild/core": "^1.1.5",
47
- "@rslib/core": "^0.1.0",
45
+ "@playwright/test": "^1.49.0",
46
+ "@rsbuild/core": "^1.1.6",
47
+ "@rslib/core": "^0.1.1",
48
48
  "@types/fs-extra": "^11.0.4",
49
- "@types/node": "^22.8.6",
49
+ "@types/node": "^22.10.1",
50
50
  "fs-extra": "^11.2.0",
51
51
  "nano-staged": "^0.8.0",
52
- "playwright": "^1.48.2",
52
+ "playwright": "^1.49.0",
53
53
  "simple-git-hooks": "^2.11.1",
54
- "typescript": "^5.6.3"
54
+ "typescript": "^5.7.2"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "@rsbuild/core": "1.x"
@@ -61,7 +61,7 @@
61
61
  "optional": true
62
62
  }
63
63
  },
64
- "packageManager": "pnpm@9.12.3",
64
+ "packageManager": "pnpm@9.14.4",
65
65
  "publishConfig": {
66
66
  "access": "public",
67
67
  "registry": "https://registry.npmjs.org/"