@rsbuild/plugin-type-check 0.1.2 → 0.1.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/dist/index.js CHANGED
@@ -33,6 +33,7 @@ __export(src_exports, {
33
33
  pluginTypeCheck: () => pluginTypeCheck
34
34
  });
35
35
  module.exports = __toCommonJS(src_exports);
36
+ var import_core = require("@rsbuild/core");
36
37
  var import_shared = require("@rsbuild/shared");
37
38
  var pluginTypeCheck = (options = {}) => {
38
39
  return {
@@ -53,7 +54,7 @@ var pluginTypeCheck = (options = {}) => {
53
54
  paths: [api.context.rootPath]
54
55
  });
55
56
  } catch (err) {
56
- import_shared.logger.warn(
57
+ import_core.logger.warn(
57
58
  '"typescript" is not found in current project, Type checker will not work.'
58
59
  );
59
60
  return;
@@ -86,8 +87,8 @@ var pluginTypeCheck = (options = {}) => {
86
87
  mergeFn: import_shared.deepmerge
87
88
  });
88
89
  if (api.context.bundlerType === "rspack" && chain.get("mode") === "production") {
89
- import_shared.logger.info("Ts checker running...");
90
- import_shared.logger.info(
90
+ import_core.logger.info("Ts checker running...");
91
+ import_core.logger.info(
91
92
  "Ts checker is running slowly and will block builds until it is complete, please be patient and wait."
92
93
  );
93
94
  }
package/dist/index.mjs CHANGED
@@ -15,8 +15,8 @@ import { createRequire } from "module";
15
15
  global.require = createRequire(import.meta.url);
16
16
 
17
17
  // src/index.ts
18
+ import { logger } from "@rsbuild/core";
18
19
  import {
19
- logger,
20
20
  CHAIN_ID,
21
21
  deepmerge,
22
22
  mergeChainedOptions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-type-check",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "TS checker plugin of Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -23,12 +23,12 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "fork-ts-checker-webpack-plugin": "9.0.0",
26
- "@rsbuild/shared": "0.1.2"
26
+ "@rsbuild/shared": "0.1.4"
27
27
  },
28
28
  "devDependencies": {
29
29
  "typescript": "^5.3.0",
30
- "@rsbuild/core": "0.1.2",
31
- "@rsbuild/test-helper": "0.1.2"
30
+ "@rsbuild/core": "0.1.4",
31
+ "@rsbuild/test-helper": "0.1.4"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@rsbuild/core": "0.x"