diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9f9ad70..fc9e2c1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -93,8 +93,8 @@ importers: specifier: workspace:* version: link:../utils '@rsbuild/plugin-react': - specifier: ^1.4.6 - version: 1.4.6(@rsbuild/core@2.0.7) + specifier: ^2.0.0 + version: 2.0.0(@rsbuild/core@2.0.7)(@rspack/core@2.0.4(@swc/helpers@0.5.21)) '@rslib/core': specifier: 0.21.5 version: 0.21.5(typescript@5.9.3) @@ -115,8 +115,8 @@ importers: version: 19.1.1(react@19.2.6) devDependencies: '@rsbuild/plugin-react': - specifier: ^1.4.6 - version: 1.4.6(@rsbuild/core@2.0.6) + specifier: ^2.0.0 + version: 2.0.0(@rsbuild/core@2.0.6)(@rspack/core@2.0.4(@swc/helpers@0.5.21)) '@rslib/core': specifier: ^0.21.5 version: 0.21.5(typescript@5.9.3) @@ -647,14 +647,6 @@ packages: '@rsbuild/core': optional: true - '@rsbuild/plugin-react@1.4.6': - resolution: {integrity: sha512-LAT6xHlEyZKA0VjF/ph5d50iyG+WSmBx+7g98HNZUwb94VeeTMZFB8qVptTkbIRMss3BNKOXmHOu71Lhsh9oEw==} - peerDependencies: - '@rsbuild/core': ^1.0.0 || ^2.0.0-0 - peerDependenciesMeta: - '@rsbuild/core': - optional: true - '@rsbuild/plugin-react@2.0.0': resolution: {integrity: sha512-/1gzt39EGUSFEqB83g46QoOwsgv172HI18i6au1b6lgIaX4sv9stuX4ijdHbHCp8PqYEq+MyQ99jIQMO6I+etg==} peerDependencies: @@ -862,15 +854,6 @@ packages: '@rspack/lite-tapable@1.1.0': resolution: {integrity: sha512-E2B0JhYFmVAwdDiG14+DW0Di4Ze4Jg10Pc4/lILUrd5DRCaklduz2OvJ5HYQ6G+hd+WTzqQb3QnDNfK4yvAFYw==} - '@rspack/plugin-react-refresh@1.6.1': - resolution: {integrity: sha512-eqqW5645VG3CzGzFgNg5HqNdHVXY+567PGjtDhhrM8t67caxmsSzRmT5qfoEIfBcGgFkH9vEg7kzXwmCYQdQDw==} - peerDependencies: - react-refresh: '>=0.10.0 <1.0.0' - webpack-hot-middleware: 2.x - peerDependenciesMeta: - webpack-hot-middleware: - optional: true - '@rspack/plugin-react-refresh@2.0.0': resolution: {integrity: sha512-Cf6CxBStNDJbiXMc/GmsvG1G8PRlUpa0MSfWsMTI+e8npzuTN/p8nwLs3shriBZOLciqgkSZpBtPTd10BLpj1g==} peerDependencies: @@ -1252,9 +1235,6 @@ packages: error-ex@1.3.4: resolution: {integrity: sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==} - error-stack-parser@2.1.4: - resolution: {integrity: sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==} - esast-util-from-estree@2.0.0: resolution: {integrity: sha512-4CyanoAudUSBAn5K13H4JhsMH6L9ZP7XbLVe/dKybkxMO7eDyLsT8UHl9TRNrU2Gr9nz+FovfSIjuXWJ81uVwQ==} @@ -1460,9 +1440,6 @@ packages: resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} engines: {node: '>=10'} - html-entities@2.6.0: - resolution: {integrity: sha512-kig+rMn/QOVRvr7c86gQ8lWXq+Hkv6CbAH1hLu+RG338StTpE8Z0b44SDVaqVu7HGKf27frdmUYEs9hTUX/cLQ==} - html-url-attributes@3.0.1: resolution: {integrity: sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==} @@ -2323,9 +2300,6 @@ packages: spdx-license-ids@3.0.22: resolution: {integrity: sha512-4PRT4nh1EImPbt2jASOKHX7PB7I+e4IWNLvkKFDxNhJlfjbYlleYQh285Z/3mPTHSAK/AvdMmw5BNNuYH8ShgQ==} - stackframe@1.3.4: - resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} - string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -3186,24 +3160,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@rsbuild/plugin-react@1.4.6(@rsbuild/core@2.0.6)': - dependencies: - '@rspack/plugin-react-refresh': 1.6.1(react-refresh@0.18.0) - react-refresh: 0.18.0 - optionalDependencies: - '@rsbuild/core': 2.0.6 - transitivePeerDependencies: - - webpack-hot-middleware - - '@rsbuild/plugin-react@1.4.6(@rsbuild/core@2.0.7)': - dependencies: - '@rspack/plugin-react-refresh': 1.6.1(react-refresh@0.18.0) - react-refresh: 0.18.0 - optionalDependencies: - '@rsbuild/core': 2.0.7 - transitivePeerDependencies: - - webpack-hot-middleware - '@rsbuild/plugin-react@2.0.0(@rsbuild/core@2.0.6)(@rspack/core@2.0.4(@swc/helpers@0.5.21))': dependencies: '@rspack/plugin-react-refresh': 2.0.0(@rspack/core@2.0.4(@swc/helpers@0.5.21))(react-refresh@0.18.0) @@ -3395,12 +3351,6 @@ snapshots: '@rspack/lite-tapable@1.1.0': {} - '@rspack/plugin-react-refresh@1.6.1(react-refresh@0.18.0)': - dependencies: - error-stack-parser: 2.1.4 - html-entities: 2.6.0 - react-refresh: 0.18.0 - '@rspack/plugin-react-refresh@2.0.0(@rspack/core@2.0.4(@swc/helpers@0.5.21))(react-refresh@0.18.0)': dependencies: react-refresh: 0.18.0 @@ -3887,10 +3837,6 @@ snapshots: dependencies: is-arrayish: 0.2.1 - error-stack-parser@2.1.4: - dependencies: - stackframe: 1.3.4 - esast-util-from-estree@2.0.0: dependencies: '@types/estree-jsx': 1.0.5 @@ -4215,8 +4161,6 @@ snapshots: dependencies: lru-cache: 6.0.0 - html-entities@2.6.0: {} - html-url-attributes@3.0.1: {} html-void-elements@2.0.1: {} @@ -5590,8 +5534,6 @@ snapshots: spdx-license-ids@3.0.22: {} - stackframe@1.3.4: {} - string-width@4.2.3: dependencies: emoji-regex: 8.0.0 diff --git a/test/components/package.json b/test/components/package.json index d45624e..5d655e7 100644 --- a/test/components/package.json +++ b/test/components/package.json @@ -18,7 +18,7 @@ }, "devDependencies": { "@e2e/workspace-dev-utils": "workspace:*", - "@rsbuild/plugin-react": "^1.4.6", + "@rsbuild/plugin-react": "^2.0.0", "@rslib/core": "0.21.5", "@types/react": "^19.2.15", "react": "^19.2.6", diff --git a/test/doc/package.json b/test/doc/package.json index 732fae4..bcf5a28 100644 --- a/test/doc/package.json +++ b/test/doc/package.json @@ -21,7 +21,7 @@ }, "devDependencies": { "rslib-module-doc": "workspace:*", - "@rsbuild/plugin-react": "^1.4.6", + "@rsbuild/plugin-react": "^2.0.0", "@rslib/core": "^0.21.5", "@rspress/core": "^2.0.12", "@rspress/plugin-api-docgen": "^2.0.12",