diff --git a/package.json b/package.json index 7a883cf..766c66b 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ }, "devDependencies": { "@rsbuild/core": "^2.0.1", - "@rsbuild/plugin-react": "^1.4.6", + "@rsbuild/plugin-react": "^2.0.0", "@rslib/core": "^0.21.3", "@rslint/core": "^0.5.0", "@tailwindcss/postcss": "^4.2.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c805e72..4fa7328 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -96,8 +96,8 @@ importers: specifier: ^2.0.1 version: 2.0.1(core-js@3.47.0) '@rsbuild/plugin-react': - specifier: ^1.4.6 - version: 1.4.6(@rsbuild/core@2.0.1(core-js@3.47.0)) + specifier: ^2.0.0 + version: 2.0.0(@rsbuild/core@2.0.1(core-js@3.47.0))(@rspack/core@2.0.0(@swc/helpers@0.5.21)) '@rslib/core': specifier: ^0.21.3 version: 0.21.3(core-js@3.47.0)(typescript@5.9.3) @@ -824,10 +824,10 @@ packages: core-js: optional: true - '@rsbuild/plugin-react@1.4.6': - resolution: {integrity: sha512-LAT6xHlEyZKA0VjF/ph5d50iyG+WSmBx+7g98HNZUwb94VeeTMZFB8qVptTkbIRMss3BNKOXmHOu71Lhsh9oEw==} + '@rsbuild/plugin-react@2.0.0': + resolution: {integrity: sha512-/1gzt39EGUSFEqB83g46QoOwsgv172HI18i6au1b6lgIaX4sv9stuX4ijdHbHCp8PqYEq+MyQ99jIQMO6I+etg==} peerDependencies: - '@rsbuild/core': ^1.0.0 || ^2.0.0-0 + '@rsbuild/core': ^2.0.0-0 peerDependenciesMeta: '@rsbuild/core': optional: true @@ -963,13 +963,13 @@ 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==} + '@rspack/plugin-react-refresh@2.0.0': + resolution: {integrity: sha512-Cf6CxBStNDJbiXMc/GmsvG1G8PRlUpa0MSfWsMTI+e8npzuTN/p8nwLs3shriBZOLciqgkSZpBtPTd10BLpj1g==} peerDependencies: + '@rspack/core': ^2.0.0-0 react-refresh: '>=0.10.0 <1.0.0' - webpack-hot-middleware: 2.x peerDependenciesMeta: - webpack-hot-middleware: + '@rspack/core': optional: true '@swc/counter@0.1.3': @@ -1290,9 +1290,6 @@ packages: resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==} engines: {node: '>=18'} - error-stack-parser@2.1.4: - resolution: {integrity: sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==} - es-module-lexer@2.0.0: resolution: {integrity: sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==} @@ -1353,9 +1350,6 @@ packages: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} - html-entities@2.6.0: - resolution: {integrity: sha512-kig+rMn/QOVRvr7c86gQ8lWXq+Hkv6CbAH1hLu+RG338StTpE8Z0b44SDVaqVu7HGKf27frdmUYEs9hTUX/cLQ==} - hyperdyperid@1.2.0: resolution: {integrity: sha512-Y93lCzHYgGWdrJ66yIktxiaGULYc6oGiABxhcO5AufBeOyoIdZF7bIfLaOrbM0iGIOXQQgxxRrFEnb+Y6w1n4A==} engines: {node: '>=10.18'} @@ -1711,9 +1705,6 @@ packages: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} - stackframe@1.3.4: - resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} - state-local@1.0.7: resolution: {integrity: sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w==} @@ -2460,14 +2451,14 @@ snapshots: transitivePeerDependencies: - '@module-federation/runtime-tools' - '@rsbuild/plugin-react@1.4.6(@rsbuild/core@2.0.1(core-js@3.47.0))': + '@rsbuild/plugin-react@2.0.0(@rsbuild/core@2.0.1(core-js@3.47.0))(@rspack/core@2.0.0(@swc/helpers@0.5.21))': dependencies: - '@rspack/plugin-react-refresh': 1.6.1(react-refresh@0.18.0) + '@rspack/plugin-react-refresh': 2.0.0(@rspack/core@2.0.0(@swc/helpers@0.5.21))(react-refresh@0.18.0) react-refresh: 0.18.0 optionalDependencies: '@rsbuild/core': 2.0.1(core-js@3.47.0) transitivePeerDependencies: - - webpack-hot-middleware + - '@rspack/core' '@rslib/core@0.21.3(core-js@3.47.0)(typescript@5.9.3)': dependencies: @@ -2578,11 +2569,11 @@ snapshots: '@rspack/lite-tapable@1.1.0': {} - '@rspack/plugin-react-refresh@1.6.1(react-refresh@0.18.0)': + '@rspack/plugin-react-refresh@2.0.0(@rspack/core@2.0.0(@swc/helpers@0.5.21))(react-refresh@0.18.0)': dependencies: - error-stack-parser: 2.1.4 - html-entities: 2.6.0 react-refresh: 0.18.0 + optionalDependencies: + '@rspack/core': 2.0.0(@swc/helpers@0.5.21) '@swc/counter@0.1.3': {} @@ -2890,10 +2881,6 @@ snapshots: environment@1.1.0: {} - error-stack-parser@2.1.4: - dependencies: - stackframe: 1.3.4 - es-module-lexer@2.0.0: {} escalade@3.2.0: {} @@ -2933,8 +2920,6 @@ snapshots: has-flag@4.0.0: {} - html-entities@2.6.0: {} - hyperdyperid@1.2.0: {} immediate@3.0.6: {} @@ -3248,8 +3233,6 @@ snapshots: source-map@0.6.1: {} - stackframe@1.3.4: {} - state-local@1.0.7: {} string-argv@0.3.2: {}