File tree Expand file tree Collapse file tree 15 files changed +226
-217
lines changed
src/inner-plugins/plugins Expand file tree Collapse file tree 15 files changed +226
-217
lines changed Original file line number Diff line number Diff line change 88 "test:local" : " npx playwright install chromium && playwright test"
99 },
1010 "devDependencies" : {
11- "@lynx-js/rspeedy" : " ^0.9.10" ,
12- "lodash" : " ^4.17.21" ,
1311 "@actions/core" : " ^1.11.1" ,
1412 "@lynx-js/react" : " ^0.110.0" ,
13+ "@lynx-js/rspeedy" : " ^0.9.10" ,
1514 "@playwright/test" : " 1.44.1" ,
1615 "@rsdoctor/cli" : " workspace:*" ,
1716 "@rsdoctor/core" : " workspace:*" ,
2019 "@rsdoctor/types" : " workspace:*" ,
2120 "@rsdoctor/utils" : " workspace:*" ,
2221 "@rsdoctor/webpack-plugin" : " workspace:*" ,
23- "@rspack/core" : " 1.4.1 " ,
22+ "@rspack/core" : " 1.4.3 " ,
2423 "@types/lodash" : " ^4.17.19" ,
2524 "@types/node" : " ^22.8.1" ,
2625 "@types/react" : " ^18.3.23" ,
2726 "loader-utils" : " ^2.0.4" ,
27+ "lodash" : " ^4.17.21" ,
2828 "playwright" : " 1.44.1" ,
2929 "terser-webpack-plugin" : " ^5.3.14" ,
3030 "typescript" : " ^5.2.2" ,
Original file line number Diff line number Diff line change 1919 },
2020 "devDependencies" : {
2121 "@rsdoctor/rspack-plugin" : " workspace:*" ,
22- "@rspack/cli" : " 1.4.0-beta.1 " ,
23- "@rspack/core" : " 1.4.0-beta.1 " ,
24- "@rspack/plugin-react-refresh" : " 1.4.1 " ,
22+ "@rspack/cli" : " 1.4.3 " ,
23+ "@rspack/core" : " 1.4.3 " ,
24+ "@rspack/plugin-react-refresh" : " 1.4.3 " ,
2525 "@types/react" : " ^18.0.25" ,
2626 "@types/react-dom" : " ^18.0.8" ,
2727 "react-refresh" : " ^0.14.0" ,
Original file line number Diff line number Diff line change 1818 },
1919 "devDependencies" : {
2020 "@rsdoctor/rspack-plugin" : " workspace:*" ,
21- "@rspack/cli" : " 1.4.0-beta.1 " ,
22- "@rspack/core" : " 1.4.0-beta.1 " ,
23- "@rspack/plugin-react-refresh" : " ^1.4.1 " ,
21+ "@rspack/cli" : " 1.4.3 " ,
22+ "@rspack/core" : " 1.4.3 " ,
23+ "@rspack/plugin-react-refresh" : " ^1.4.3 " ,
2424 "@types/react" : " ^18.0.25" ,
2525 "@types/react-dom" : " ^18.0.8" ,
2626 "react-refresh" : " ^0.14.0" ,
Original file line number Diff line number Diff line change 2121 },
2222 "devDependencies" : {
2323 "@rsdoctor/rspack-plugin" : " workspace:*" ,
24- "@rspack/cli" : " 1.4.0-beta.1 " ,
25- "@rspack/core" : " 1.4.0-beta.1 " ,
26- "@rspack/plugin-react-refresh" : " ^1.4.1 " ,
24+ "@rspack/cli" : " 1.4.3 " ,
25+ "@rspack/core" : " 1.4.3 " ,
26+ "@rspack/plugin-react-refresh" : " ^1.4.3 " ,
2727 "@types/react" : " ^18.0.25" ,
2828 "@types/react-dom" : " ^18.0.8" ,
2929 "react-refresh" : " ^0.14.0" ,
Original file line number Diff line number Diff line change 5353 },
5454 "pnpm" : {
5555 "overrides" : {
56- "react-dom" : " 18.3.1" ,
57- "rc-tree" : " 5.7.2" ,
58- "rc-dialog" : " 9.1.0" ,
59- "tslib" : " 2.8.1" ,
60- "get-intrinsic" : " 1.3.0" ,
56+ "call-bind-apply-helpers" : " 1.0.2" ,
6157 "es-object-atoms" : " 1.1.1" ,
62- "call-bind-apply-helpers" : " 1.0.2"
58+ "get-intrinsic" : " 1.3.0" ,
59+ "rc-dialog" : " 9.1.0" ,
60+ "rc-tree" : " 5.7.2" ,
61+ "react-dom" : " 18.3.1" ,
62+ "tslib" : " 2.8.1"
6363 }
6464 },
6565 "packageManager" : " pnpm@10.4.1" ,
Original file line number Diff line number Diff line change 2828 },
2929 "devDependencies" : {
3030 "@modelcontextprotocol/sdk" : " 1.13.2" ,
31+ "@rsdoctor/types" : " workspace:*" ,
32+ "@rsdoctor/utils" : " workspace:*" ,
3133 "@rslib/core" : " ^0.9.2" ,
3234 "@types/node" : " ^22.8.1" ,
35+ "axios" : " ^1.10.0" ,
3336 "typescript" : " ^5.2.2" ,
3437 "vitest" : " 3.0.9" ,
35- "@rsdoctor/utils" : " workspace:*" ,
36- "@rsdoctor/types" : " workspace:*" ,
37- "axios" : " ^1.10.0" ,
3838 "zod" : " ^3.24.4"
3939 },
4040 "publishConfig" : {
Original file line number Diff line number Diff line change 6060 "@ant-design/icons" : " 5.6.1" ,
6161 "@monaco-editor/react" : " 4.7.0" ,
6262 "@rsdoctor/graph" : " workspace:*" ,
63+ "@rsdoctor/types" : " workspace:*" ,
6364 "@rsdoctor/utils" : " workspace:*" ,
6465 "ansi-to-react" : " 6.1.6" ,
6566 "antd" : " 5.19.1" ,
8182 "react-markdown" : " ^9.1.0" ,
8283 "react-router-dom" : " 6.4.3" ,
8384 "socket.io-client" : " 4.6.1" ,
84- "@rsdoctor/types" : " workspace:*" ,
8585 "url-parse" : " 1.5.10"
8686 },
8787 "publishConfig" : {
Original file line number Diff line number Diff line change 8585 "webpack-bundle-analyzer" : " ^4.10.2"
8686 },
8787 "devDependencies" : {
88- "@rspack/core" : " 1.4.1 " ,
88+ "@rspack/core" : " 1.4.3 " ,
8989 "@scripts/test-helper" : " workspace:*" ,
9090 "@types/fs-extra" : " ^11.0.4" ,
9191 "@types/lodash" : " ^4.17.19" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import { Linter } from '../../rules';
33import { DevToolError } from '@rsdoctor/utils/error' ;
44import { pull } from 'lodash' ;
55import { Plugin } from '@rsdoctor/types' ;
6- import { WebpackError } from 'webpack' ;
6+ import type { WebpackError } from 'webpack' ;
7+ import type { RspackError } from '@rspack/core' ;
78
89export class InternalRulesPlugin extends InternalBasePlugin < Plugin . BaseCompiler > {
910 public readonly name = 'rules' ;
@@ -32,7 +33,7 @@ export class InternalRulesPlugin extends InternalBasePlugin<Plugin.BaseCompiler>
3233 const errors = validateErrors . filter ( ( item ) => item . level === 'Error' ) ;
3334 const warnings = validateErrors . filter ( ( item ) => item . level === 'Warn' ) ;
3435 const toWebpackError = ( err : DevToolError ) =>
35- err . toError ( ) as unknown as WebpackError & Plugin . JsStatsWarning ;
36+ err . toError ( ) as unknown as WebpackError & RspackError ;
3637
3738 result . replace . forEach ( ( item ) => {
3839 if (
Original file line number Diff line number Diff line change 2525 },
2626 "devDependencies" : {
2727 "@rsdoctor/types" : " workspace:*" ,
28- "@rspress/plugin-rss" : " 2.0.0-beta.6" ,
29- "@rspress/plugin-llms" : " 2.0.0-beta.18" ,
3028 "@rspress/plugin-algolia" : " 2.0.0-beta.18" ,
29+ "@rspress/plugin-llms" : " 2.0.0-beta.18" ,
30+ "@rspress/plugin-rss" : " 2.0.0-beta.6" ,
3131 "@types/node" : " ^22.8.1" ,
3232 "@types/react" : " ^18.3.23" ,
3333 "@types/react-dom" : " ^18.3.7" ,
You can’t perform that action at this time.
0 commit comments