diff --git a/frontend/package.json b/frontend/package.json index 24870437..492c2ad4 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -40,7 +40,7 @@ "devDependencies": { "@douyinfe/semi-rspack-plugin": "^2.78.0", "@rsbuild/core": "^0.5.9", - "@rsbuild/plugin-react": "^0.1.9", + "@rsbuild/plugin-react": "^1.0.0", "@types/react": "^18.3.20", "@types/react-dom": "^18.3.5", "@typescript-eslint/eslint-plugin": "^6.21.0", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index c9f24366..ae2da371 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -1565,28 +1565,18 @@ __metadata: languageName: node linkType: hard -"@rsbuild/plugin-react@npm:^0.1.9": - version: 0.1.9 - resolution: "@rsbuild/plugin-react@npm:0.1.9" - dependencies: - "@rsbuild/shared": "npm:0.1.9" - "@rspack/plugin-react-refresh": "npm:0.4.1-canary-10d4cb5-20231204024139" - react-refresh: "npm:^0.14.0" - semver: "npm:^7.5.4" - checksum: 10c0/d9221e96f4d6b2653c13838f18bd1eead14ec53ff38c5d8625f96d5afc24ac027031128569dd4d0e922dcac179be4a1340df1c72f60adaf3126efc7eade4fa13 - languageName: node - linkType: hard - -"@rsbuild/shared@npm:0.1.9": - version: 0.1.9 - resolution: "@rsbuild/shared@npm:0.1.9" +"@rsbuild/plugin-react@npm:^1.0.0": + version: 1.4.6 + resolution: "@rsbuild/plugin-react@npm:1.4.6" dependencies: - "@rspack/core": "npm:0.4.1" - caniuse-lite: "npm:^1.0.30001559" - line-diff: "npm:2.1.1" - lodash: "npm:^4.17.21" - postcss: "npm:8.4.31" - checksum: 10c0/5d6870a2e28d0ccff9a936e3e9335ba4a0dc8ca8c968c8a949bfae36a49ed8715a6d64c0e1dc9222f1d9df683fc0e99ce648ac4a12c2663ff9708f7b3c0ff40c + "@rspack/plugin-react-refresh": "npm:^1.6.1" + react-refresh: "npm:^0.18.0" + peerDependencies: + "@rsbuild/core": ^1.0.0 || ^2.0.0-0 + peerDependenciesMeta: + "@rsbuild/core": + optional: true + checksum: 10c0/e878c565ecdb23a1b08050adcd05e06c2c07dd8fc06be3d4de52b4976f593c27a823c42a2fbd21628ff70a24ad00f00171e889615a5b291a3bc02834e009f96f languageName: node linkType: hard @@ -1601,13 +1591,6 @@ __metadata: languageName: node linkType: hard -"@rspack/binding-darwin-arm64@npm:0.4.1": - version: 0.4.1 - resolution: "@rspack/binding-darwin-arm64@npm:0.4.1" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@rspack/binding-darwin-arm64@npm:0.5.9-canary-8778e17-20240403045016": version: 0.5.9-canary-8778e17-20240403045016 resolution: "@rspack/binding-darwin-arm64@npm:0.5.9-canary-8778e17-20240403045016" @@ -1615,13 +1598,6 @@ __metadata: languageName: node linkType: hard -"@rspack/binding-darwin-x64@npm:0.4.1": - version: 0.4.1 - resolution: "@rspack/binding-darwin-x64@npm:0.4.1" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@rspack/binding-darwin-x64@npm:0.5.9-canary-8778e17-20240403045016": version: 0.5.9-canary-8778e17-20240403045016 resolution: "@rspack/binding-darwin-x64@npm:0.5.9-canary-8778e17-20240403045016" @@ -1629,13 +1605,6 @@ __metadata: languageName: node linkType: hard -"@rspack/binding-linux-arm64-gnu@npm:0.4.1": - version: 0.4.1 - resolution: "@rspack/binding-linux-arm64-gnu@npm:0.4.1" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - "@rspack/binding-linux-arm64-gnu@npm:0.5.9-canary-8778e17-20240403045016": version: 0.5.9-canary-8778e17-20240403045016 resolution: "@rspack/binding-linux-arm64-gnu@npm:0.5.9-canary-8778e17-20240403045016" @@ -1643,13 +1612,6 @@ __metadata: languageName: node linkType: hard -"@rspack/binding-linux-arm64-musl@npm:0.4.1": - version: 0.4.1 - resolution: "@rspack/binding-linux-arm64-musl@npm:0.4.1" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - "@rspack/binding-linux-arm64-musl@npm:0.5.9-canary-8778e17-20240403045016": version: 0.5.9-canary-8778e17-20240403045016 resolution: "@rspack/binding-linux-arm64-musl@npm:0.5.9-canary-8778e17-20240403045016" @@ -1657,13 +1619,6 @@ __metadata: languageName: node linkType: hard -"@rspack/binding-linux-x64-gnu@npm:0.4.1": - version: 0.4.1 - resolution: "@rspack/binding-linux-x64-gnu@npm:0.4.1" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - "@rspack/binding-linux-x64-gnu@npm:0.5.9-canary-8778e17-20240403045016": version: 0.5.9-canary-8778e17-20240403045016 resolution: "@rspack/binding-linux-x64-gnu@npm:0.5.9-canary-8778e17-20240403045016" @@ -1671,13 +1626,6 @@ __metadata: languageName: node linkType: hard -"@rspack/binding-linux-x64-musl@npm:0.4.1": - version: 0.4.1 - resolution: "@rspack/binding-linux-x64-musl@npm:0.4.1" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - "@rspack/binding-linux-x64-musl@npm:0.5.9-canary-8778e17-20240403045016": version: 0.5.9-canary-8778e17-20240403045016 resolution: "@rspack/binding-linux-x64-musl@npm:0.5.9-canary-8778e17-20240403045016" @@ -1685,13 +1633,6 @@ __metadata: languageName: node linkType: hard -"@rspack/binding-win32-arm64-msvc@npm:0.4.1": - version: 0.4.1 - resolution: "@rspack/binding-win32-arm64-msvc@npm:0.4.1" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@rspack/binding-win32-arm64-msvc@npm:0.5.9-canary-8778e17-20240403045016": version: 0.5.9-canary-8778e17-20240403045016 resolution: "@rspack/binding-win32-arm64-msvc@npm:0.5.9-canary-8778e17-20240403045016" @@ -1699,13 +1640,6 @@ __metadata: languageName: node linkType: hard -"@rspack/binding-win32-ia32-msvc@npm:0.4.1": - version: 0.4.1 - resolution: "@rspack/binding-win32-ia32-msvc@npm:0.4.1" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@rspack/binding-win32-ia32-msvc@npm:0.5.9-canary-8778e17-20240403045016": version: 0.5.9-canary-8778e17-20240403045016 resolution: "@rspack/binding-win32-ia32-msvc@npm:0.5.9-canary-8778e17-20240403045016" @@ -1713,13 +1647,6 @@ __metadata: languageName: node linkType: hard -"@rspack/binding-win32-x64-msvc@npm:0.4.1": - version: 0.4.1 - resolution: "@rspack/binding-win32-x64-msvc@npm:0.4.1" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@rspack/binding-win32-x64-msvc@npm:0.5.9-canary-8778e17-20240403045016": version: 0.5.9-canary-8778e17-20240403045016 resolution: "@rspack/binding-win32-x64-msvc@npm:0.5.9-canary-8778e17-20240403045016" @@ -1727,42 +1654,6 @@ __metadata: languageName: node linkType: hard -"@rspack/binding@npm:0.4.1": - version: 0.4.1 - resolution: "@rspack/binding@npm:0.4.1" - dependencies: - "@rspack/binding-darwin-arm64": "npm:0.4.1" - "@rspack/binding-darwin-x64": "npm:0.4.1" - "@rspack/binding-linux-arm64-gnu": "npm:0.4.1" - "@rspack/binding-linux-arm64-musl": "npm:0.4.1" - "@rspack/binding-linux-x64-gnu": "npm:0.4.1" - "@rspack/binding-linux-x64-musl": "npm:0.4.1" - "@rspack/binding-win32-arm64-msvc": "npm:0.4.1" - "@rspack/binding-win32-ia32-msvc": "npm:0.4.1" - "@rspack/binding-win32-x64-msvc": "npm:0.4.1" - dependenciesMeta: - "@rspack/binding-darwin-arm64": - optional: true - "@rspack/binding-darwin-x64": - optional: true - "@rspack/binding-linux-arm64-gnu": - optional: true - "@rspack/binding-linux-arm64-musl": - optional: true - "@rspack/binding-linux-x64-gnu": - optional: true - "@rspack/binding-linux-x64-musl": - optional: true - "@rspack/binding-win32-arm64-msvc": - optional: true - "@rspack/binding-win32-ia32-msvc": - optional: true - "@rspack/binding-win32-x64-msvc": - optional: true - checksum: 10c0/7e9f63b800c0f7764a04efc9b6b15763fda16cdbc3ba04185053dad4472fda7653bd7bf9ecd51c921b9160aeda85c8a16a5bfa735e754d3ecc95c962904dbeef - languageName: node - linkType: hard - "@rspack/binding@npm:0.5.9-canary-8778e17-20240403045016": version: 0.5.9-canary-8778e17-20240403045016 resolution: "@rspack/binding@npm:0.5.9-canary-8778e17-20240403045016" @@ -1799,30 +1690,6 @@ __metadata: languageName: node linkType: hard -"@rspack/core@npm:0.4.1": - version: 0.4.1 - resolution: "@rspack/core@npm:0.4.1" - dependencies: - "@rspack/binding": "npm:0.4.1" - "@swc/helpers": "npm:0.5.1" - browserslist: "npm:^4.21.3" - compare-versions: "npm:6.0.0-rc.1" - enhanced-resolve: "npm:5.12.0" - fast-querystring: "npm:1.1.2" - graceful-fs: "npm:4.2.10" - json-parse-even-better-errors: "npm:^3.0.0" - neo-async: "npm:2.6.2" - react-refresh: "npm:0.14.0" - tapable: "npm:2.2.1" - terminal-link: "npm:^2.1.1" - watchpack: "npm:^2.4.0" - webpack-sources: "npm:3.2.3" - zod: "npm:^3.21.4" - zod-validation-error: "npm:1.3.1" - checksum: 10c0/e4cff75a5d7db6a3d840e8f43d5228c65d356db9354eb483a3e515534bb5e1cc04f6c3ce4f76fb7b169379972d737d212791de1961b91f9ff08d0b45300b3ec2 - languageName: node - linkType: hard - "@rspack/core@npm:0.5.9-canary-8778e17-20240403045016": version: 0.5.9-canary-8778e17-20240403045016 resolution: "@rspack/core@npm:0.5.9-canary-8778e17-20240403045016" @@ -1849,15 +1716,19 @@ __metadata: languageName: node linkType: hard -"@rspack/plugin-react-refresh@npm:0.4.1-canary-10d4cb5-20231204024139": - version: 0.4.1-canary-10d4cb5-20231204024139 - resolution: "@rspack/plugin-react-refresh@npm:0.4.1-canary-10d4cb5-20231204024139" +"@rspack/plugin-react-refresh@npm:^1.6.1": + version: 1.6.1 + resolution: "@rspack/plugin-react-refresh@npm:1.6.1" + dependencies: + error-stack-parser: "npm:^2.1.4" + html-entities: "npm:^2.6.0" peerDependencies: react-refresh: ">=0.10.0 <1.0.0" + webpack-hot-middleware: 2.x peerDependenciesMeta: - react-refresh: + webpack-hot-middleware: optional: true - checksum: 10c0/fdd99e6af8972cd511dfb484105e521162e70d598a16eb5466856a8f9f07f88bbfbd907f872c25cbae1ec06c971502806df38c400bd91aaaa8fd2aa480c6e0c5 + checksum: 10c0/4e6ca235fcf9ddebd86894827ba85df8e97a6f3b97a925876549aa07ac995ffeba954ebe52075110b7e98aef648df730dced8faa0c31d86689eaffcb097cae12 languageName: node linkType: hard @@ -1875,15 +1746,6 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.5.1": - version: 0.5.1 - resolution: "@swc/helpers@npm:0.5.1" - dependencies: - tslib: "npm:^2.4.0" - checksum: 10c0/2e2272c8278351670e1daf27cc634ace793afb378dcc85be2800d30a7b4d3afad37707371ead2a6d96662fa30294da678d66cdc4dc7f3e698bd8e111235c60fc - languageName: node - linkType: hard - "@swc/helpers@npm:0.5.3": version: 0.5.3 resolution: "@swc/helpers@npm:0.5.3" @@ -2849,7 +2711,7 @@ __metadata: languageName: node linkType: hard -"ansi-escapes@npm:^4.2.1, ansi-escapes@npm:^4.3.0": +"ansi-escapes@npm:^4.3.0": version: 4.3.2 resolution: "ansi-escapes@npm:4.3.2" dependencies: @@ -3405,7 +3267,7 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001559, caniuse-lite@npm:^1.0.30001565": +"caniuse-lite@npm:^1.0.30001565": version: 1.0.30001566 resolution: "caniuse-lite@npm:1.0.30001566" checksum: 10c0/cd163075b1a9feaf9c9f657c3551279fcdac471471d67ee57ab2286c7b5480168e6336e359741b469fa40e94716f0f95ec185d87bd57d58894d66d8c21d7db04 @@ -3697,13 +3559,6 @@ __metadata: languageName: node linkType: hard -"compare-versions@npm:6.0.0-rc.1": - version: 6.0.0-rc.1 - resolution: "compare-versions@npm:6.0.0-rc.1" - checksum: 10c0/a9cc819ef3ac9ee1306de670241ad02457a833ea6c7c11a5ece80d7cbef8ab2d87fc56a89a9024bd023461db7a72fc707073e1a4ea8f27a0d04c15d1fa8829df - languageName: node - linkType: hard - "compute-scroll-into-view@npm:^1.0.20": version: 1.0.20 resolution: "compute-scroll-into-view@npm:1.0.20" @@ -4745,6 +4600,15 @@ __metadata: languageName: node linkType: hard +"error-stack-parser@npm:^2.1.4": + version: 2.1.4 + resolution: "error-stack-parser@npm:2.1.4" + dependencies: + stackframe: "npm:^1.3.4" + checksum: 10c0/7679b780043c98b01fc546725484e0cfd3071bf5c906bbe358722972f04abf4fc3f0a77988017665bab367f6ef3fc2d0185f7528f45966b83e7c99c02d5509b9 + languageName: node + linkType: hard + "es-abstract@npm:^1.22.1": version: 1.22.3 resolution: "es-abstract@npm:1.22.3" @@ -5555,13 +5419,6 @@ __metadata: languageName: node linkType: hard -"fast-decode-uri-component@npm:^1.0.1": - version: 1.0.1 - resolution: "fast-decode-uri-component@npm:1.0.1" - checksum: 10c0/039d50c2e99d64f999c3f2126c23fbf75a04a4117e218a149ca0b1d2aeb8c834b7b19d643b9d35d4eabce357189a6a94085f78cf48869e6e26cc59b036284bc3 - languageName: node - linkType: hard - "fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": version: 3.1.3 resolution: "fast-deep-equal@npm:3.1.3" @@ -5596,15 +5453,6 @@ __metadata: languageName: node linkType: hard -"fast-querystring@npm:1.1.2": - version: 1.1.2 - resolution: "fast-querystring@npm:1.1.2" - dependencies: - fast-decode-uri-component: "npm:^1.0.1" - checksum: 10c0/e8223273a9b199722f760f5a047a77ad049a14bd444b821502cb8218f5925e3a5fffb56b64389bca73ab2ac6f1aa7aebbe4e203e5f6e53ff5978de97c0fde4e3 - languageName: node - linkType: hard - "fastq@npm:^1.6.0": version: 1.15.0 resolution: "fastq@npm:1.15.0" @@ -6524,6 +6372,13 @@ __metadata: languageName: node linkType: hard +"html-entities@npm:^2.6.0": + version: 2.6.0 + resolution: "html-entities@npm:2.6.0" + checksum: 10c0/7c8b15d9ea0cd00dc9279f61bab002ba6ca8a7a0f3c36ed2db3530a67a9621c017830d1d2c1c65beb9b8e3436ea663e9cf8b230472e0e413359399413b27c8b7 + languageName: node + linkType: hard + "html-url-attributes@npm:^3.0.0": version: 3.0.1 resolution: "html-url-attributes@npm:3.0.1" @@ -7514,13 +7369,6 @@ __metadata: languageName: node linkType: hard -"levdist@npm:^1.0.0": - version: 1.0.0 - resolution: "levdist@npm:1.0.0" - checksum: 10c0/373fe54e7f6bdfca3aee9d3f598a4d58bdb984c44b358ecb7ac2ab832068c278fa8f03858f925c6b76d73f82df3ab40a96a64bde7a83bb1710db17c82b913422 - languageName: node - linkType: hard - "levn@npm:^0.4.1": version: 0.4.1 resolution: "levn@npm:0.4.1" @@ -7531,15 +7379,6 @@ __metadata: languageName: node linkType: hard -"line-diff@npm:2.1.1": - version: 2.1.1 - resolution: "line-diff@npm:2.1.1" - dependencies: - levdist: "npm:^1.0.0" - checksum: 10c0/ab1d433aba939cf559db113331c4fee0ed3ebe7c21c8ea0968c372553c41dcb87ff897704070d4916061fdeb48b50b541950701e6e65b070560e030f2c2470b8 - languageName: node - linkType: hard - "listr2@npm:^3.8.3": version: 3.14.0 resolution: "listr2@npm:3.14.0" @@ -8666,7 +8505,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.6, nanoid@npm:^3.3.7": +"nanoid@npm:^3.3.7": version: 3.3.8 resolution: "nanoid@npm:3.3.8" bin: @@ -8708,7 +8547,7 @@ __metadata: "@douyinfe/semi-rspack-plugin": "npm:^2.78.0" "@douyinfe/semi-ui": "npm:^2.78.0" "@rsbuild/core": "npm:^0.5.9" - "@rsbuild/plugin-react": "npm:^0.1.9" + "@rsbuild/plugin-react": "npm:^1.0.0" "@semi-bot/semi-theme-neetbox": "npm:^1.0.7" "@types/react": "npm:^18.3.20" "@types/react-dom": "npm:^18.3.5" @@ -9261,17 +9100,6 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.31": - version: 8.4.31 - resolution: "postcss@npm:8.4.31" - dependencies: - nanoid: "npm:^3.3.6" - picocolors: "npm:^1.0.0" - source-map-js: "npm:^1.0.2" - checksum: 10c0/748b82e6e5fc34034dcf2ae88ea3d11fd09f69b6c50ecdd3b4a875cfc7cdca435c958b211e2cb52355422ab6fccb7d8f2f2923161d7a1b281029e4a913d59acf - languageName: node - linkType: hard - "postcss@npm:8.4.49": version: 8.4.49 resolution: "postcss@npm:8.4.49" @@ -9506,13 +9334,6 @@ __metadata: languageName: node linkType: hard -"react-refresh@npm:0.14.0, react-refresh@npm:^0.14.0": - version: 0.14.0 - resolution: "react-refresh@npm:0.14.0" - checksum: 10c0/b8ae07ad153357d77830928a7f1fc2df837aabefee907fa273ba04c7643f3b860e986f1d4b7ada9b721c8d79b8c24b5b911a314a1a2398b105f1b13d19ea2b8d - languageName: node - linkType: hard - "react-refresh@npm:^0.18.0": version: 0.18.0 resolution: "react-refresh@npm:0.18.0" @@ -10582,7 +10403,7 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.2": +"source-map-js@npm:>=0.6.2 <2.0.0": version: 1.0.2 resolution: "source-map-js@npm:1.0.2" checksum: 10c0/32f2dfd1e9b7168f9a9715eb1b4e21905850f3b50cf02cf476e47e4eebe8e6b762b63a64357896aa29b37e24922b4282df0f492e0d2ace572b43d15525976ff8 @@ -10661,6 +10482,13 @@ __metadata: languageName: node linkType: hard +"stackframe@npm:^1.3.4": + version: 1.3.4 + resolution: "stackframe@npm:1.3.4" + checksum: 10c0/18410f7a1e0c5d211a4effa83bdbf24adbe8faa8c34db52e1cd3e89837518c592be60b60d8b7270ac53eeeb8b807cd11b399a41667f6c9abb41059c3ccc8a989 + languageName: node + linkType: hard + "stop-iteration-iterator@npm:^1.1.0": version: 1.1.0 resolution: "stop-iteration-iterator@npm:1.1.0" @@ -10897,7 +10725,7 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^7.0.0, supports-color@npm:^7.1.0": +"supports-color@npm:^7.1.0": version: 7.2.0 resolution: "supports-color@npm:7.2.0" dependencies: @@ -10915,16 +10743,6 @@ __metadata: languageName: node linkType: hard -"supports-hyperlinks@npm:^2.0.0": - version: 2.3.0 - resolution: "supports-hyperlinks@npm:2.3.0" - dependencies: - has-flag: "npm:^4.0.0" - supports-color: "npm:^7.0.0" - checksum: 10c0/4057f0d86afb056cd799602f72d575b8fdd79001c5894bcb691176f14e870a687e7981e50bc1484980e8b688c6d5bcd4931e1609816abb5a7dc1486b7babf6a1 - languageName: node - linkType: hard - "supports-preserve-symlinks-flag@npm:^1.0.0": version: 1.0.0 resolution: "supports-preserve-symlinks-flag@npm:1.0.0" @@ -10975,16 +10793,6 @@ __metadata: languageName: node linkType: hard -"terminal-link@npm:^2.1.1": - version: 2.1.1 - resolution: "terminal-link@npm:2.1.1" - dependencies: - ansi-escapes: "npm:^4.2.1" - supports-hyperlinks: "npm:^2.0.0" - checksum: 10c0/947458a5cd5408d2ffcdb14aee50bec8fb5022ae683b896b2f08ed6db7b2e7d42780d5c8b51e930e9c322bd7c7a517f4fa7c76983d0873c83245885ac5ee13e3 - languageName: node - linkType: hard - "text-table@npm:^0.2.0": version: 0.2.0 resolution: "text-table@npm:0.2.0"