@rsbuild/plugin-type-check 1.3.3 → 1.3.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/README.md +3 -1
- package/dist/index.cjs +4 -4
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -213,7 +213,9 @@ pluginTypeCheck({
|
|
|
213
213
|
|
|
214
214
|
## Performance Optimization
|
|
215
215
|
|
|
216
|
-
|
|
216
|
+
This plugin delegates type checking to TypeScript, so overall performance is mostly determined by `tsc` itself.
|
|
217
|
+
|
|
218
|
+
If you need faster type checks, start by optimizing your TypeScript setup using the [official TypeScript performance guide](https://github.com/microsoft/TypeScript/wiki/Performance).
|
|
217
219
|
|
|
218
220
|
For example, properly configuring the `include` and `exclude` scopes in `tsconfig.json` can significantly reduce unnecessary type checking and improve TypeScript performance:
|
|
219
221
|
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const __rslib_import_meta_url__ = /*#__PURE__*/ function() {
|
|
3
|
-
return
|
|
3
|
+
return "u" < typeof document ? new (require('url'.replace('', ''))).URL('file:' + __filename).href : document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href;
|
|
4
4
|
}();
|
|
5
5
|
var __webpack_require__ = {};
|
|
6
6
|
(()=>{
|
|
@@ -25,7 +25,7 @@ var __webpack_require__ = {};
|
|
|
25
25
|
})();
|
|
26
26
|
(()=>{
|
|
27
27
|
__webpack_require__.r = (exports1)=>{
|
|
28
|
-
if (
|
|
28
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
29
29
|
value: 'Module'
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -111,10 +111,10 @@ const pluginTypeCheck = (options = {})=>({
|
|
|
111
111
|
});
|
|
112
112
|
exports.PLUGIN_TYPE_CHECK_NAME = __webpack_exports__.PLUGIN_TYPE_CHECK_NAME;
|
|
113
113
|
exports.pluginTypeCheck = __webpack_exports__.pluginTypeCheck;
|
|
114
|
-
for(var
|
|
114
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
115
115
|
"PLUGIN_TYPE_CHECK_NAME",
|
|
116
116
|
"pluginTypeCheck"
|
|
117
|
-
].indexOf(
|
|
117
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
118
118
|
Object.defineProperty(exports, '__esModule', {
|
|
119
119
|
value: true
|
|
120
120
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-type-check",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"repository": "https://github.com/rstackjs/rsbuild-plugin-type-check",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"deepmerge": "^4.3.1",
|
|
39
|
-
"ts-checker-rspack-plugin": "^1.
|
|
39
|
+
"ts-checker-rspack-plugin": "^1.3.0",
|
|
40
40
|
"json5": "^2.2.3",
|
|
41
41
|
"reduce-configs": "^1.1.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@biomejs/biome": "^1.9.4",
|
|
45
|
-
"@playwright/test": "^1.
|
|
46
|
-
"@rsbuild/core": "^1.
|
|
47
|
-
"@rslib/core": "^0.
|
|
45
|
+
"@playwright/test": "^1.58.2",
|
|
46
|
+
"@rsbuild/core": "^1.7.3",
|
|
47
|
+
"@rslib/core": "^0.19.6",
|
|
48
48
|
"@types/fs-extra": "^11.0.4",
|
|
49
|
-
"@types/node": "^24.10.
|
|
50
|
-
"fs-extra": "^11.3.
|
|
49
|
+
"@types/node": "^24.10.13",
|
|
50
|
+
"fs-extra": "^11.3.3",
|
|
51
51
|
"nano-staged": "^0.9.0",
|
|
52
|
-
"playwright": "^1.
|
|
52
|
+
"playwright": "^1.58.2",
|
|
53
53
|
"simple-git-hooks": "^2.13.1",
|
|
54
54
|
"typescript": "^5.9.3"
|
|
55
55
|
},
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"optional": true
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
"packageManager": "pnpm@10.
|
|
64
|
+
"packageManager": "pnpm@10.30.1",
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public",
|
|
67
67
|
"registry": "https://registry.npmjs.org/"
|