@rsbuild/plugin-type-check 0.3.4 → 0.3.6

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 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/dist/index.mjs CHANGED
@@ -9,7 +9,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
9
9
  throw Error('Dynamic require of "' + x + '" is not supported');
10
10
  });
11
11
 
12
- // ../../node_modules/.pnpm/@modern-js+module-tools@2.46.0_typescript@5.3.2/node_modules/@modern-js/module-tools/shims/esm.js
12
+ // ../../node_modules/.pnpm/@modern-js+module-tools@2.46.1_typescript@5.3.2/node_modules/@modern-js/module-tools/shims/esm.js
13
13
  import { fileURLToPath } from "url";
14
14
  import path from "path";
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-type-check",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
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.4"
27
+ "@rsbuild/shared": "0.3.6"
28
28
  },
29
29
  "devDependencies": {
30
30
  "typescript": "^5.3.0",
31
- "@rsbuild/core": "0.3.4",
32
- "@scripts/test-helper": "0.3.4"
31
+ "@rsbuild/core": "0.3.6",
32
+ "@scripts/test-helper": "0.3.6"
33
33
  },
34
34
  "peerDependencies": {
35
- "@rsbuild/core": "^0.3.4"
35
+ "@rsbuild/core": "^0.3.6"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public",