@rsbuild/plugin-type-check 0.3.5 → 0.3.7
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/dist/index.d.ts +8 -0
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,15 @@ import ForkTSCheckerPlugin from 'fork-ts-checker-webpack-plugin';
|
|
|
4
4
|
|
|
5
5
|
type ForkTsCheckerOptions = ConstructorParameters<typeof ForkTSCheckerPlugin>[0];
|
|
6
6
|
type PluginTypeCheckerOptions = {
|
|
7
|
+
/**
|
|
8
|
+
* Whether to enable TypeScript type checking.
|
|
9
|
+
* @default true
|
|
10
|
+
*/
|
|
7
11
|
enable?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* To modify the options of `fork-ts-checker-webpack-plugin`.
|
|
14
|
+
* @see https://github.com/TypeStrong/fork-ts-checker-webpack-plugin#readme
|
|
15
|
+
*/
|
|
8
16
|
forkTsCheckerOptions?: ChainedConfig<ForkTsCheckerOptions>;
|
|
9
17
|
};
|
|
10
18
|
declare const pluginTypeCheck: (options?: PluginTypeCheckerOptions) => RsbuildPlugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-type-check",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "TS checker plugin of Rsbuild",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"repository": {
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"fork-ts-checker-webpack-plugin": "9.0.2",
|
|
27
|
-
"@rsbuild/shared": "0.3.
|
|
27
|
+
"@rsbuild/shared": "0.3.7"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"typescript": "^5.3.0",
|
|
31
|
-
"@rsbuild/core": "0.3.
|
|
32
|
-
"@scripts/test-helper": "0.3.
|
|
31
|
+
"@rsbuild/core": "0.3.7",
|
|
32
|
+
"@scripts/test-helper": "0.3.7"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@rsbuild/core": "^0.3.
|
|
35
|
+
"@rsbuild/core": "^0.3.7"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public",
|