@rsbuild/plugin-type-check 0.7.0-beta.0 → 0.7.0-beta.2
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 -6
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { RsbuildPlugin } from '@rsbuild/core';
|
|
2
|
+
import { ChainedConfig } from '@rsbuild/shared';
|
|
3
|
+
import ForkTSCheckerPlugin from 'fork-ts-checker-webpack-plugin';
|
|
4
|
+
|
|
4
5
|
type ForkTsCheckerOptions = NonNullable<ConstructorParameters<typeof ForkTSCheckerPlugin>[0]>;
|
|
5
|
-
|
|
6
|
+
type PluginTypeCheckerOptions = {
|
|
6
7
|
/**
|
|
7
8
|
* Whether to enable TypeScript type checking.
|
|
8
9
|
* @default true
|
|
@@ -14,5 +15,6 @@ export type PluginTypeCheckerOptions = {
|
|
|
14
15
|
*/
|
|
15
16
|
forkTsCheckerOptions?: ChainedConfig<ForkTsCheckerOptions>;
|
|
16
17
|
};
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
declare const pluginTypeCheck: (options?: PluginTypeCheckerOptions) => RsbuildPlugin;
|
|
19
|
+
|
|
20
|
+
export { type PluginTypeCheckerOptions, pluginTypeCheck };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-type-check",
|
|
3
|
-
"version": "0.7.0-beta.
|
|
3
|
+
"version": "0.7.0-beta.2",
|
|
4
4
|
"description": "TS checker plugin of Rsbuild",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"repository": {
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"fork-ts-checker-webpack-plugin": "9.0.2",
|
|
27
27
|
"webpack": "^5.91.0",
|
|
28
|
-
"@rsbuild/shared": "0.7.0-beta.
|
|
28
|
+
"@rsbuild/shared": "0.7.0-beta.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"typescript": "^5.4.2",
|
|
32
|
-
"@rsbuild/core": "0.7.0-beta.
|
|
33
|
-
"@scripts/test-helper": "0.7.0-beta.
|
|
32
|
+
"@rsbuild/core": "0.7.0-beta.2",
|
|
33
|
+
"@scripts/test-helper": "0.7.0-beta.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@rsbuild/core": "^0.7.0-beta.
|
|
36
|
+
"@rsbuild/core": "^0.7.0-beta.2"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public",
|