From b406719358967fa37f81df7e674d3f30bc92960b Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 15 Jan 2026 11:10:05 +0800 Subject: [PATCH 1/2] fix: update peerDependencies to support Rsbuild v2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8adc923..3476221 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "typescript": "5.9.3" }, "peerDependencies": { - "@rsbuild/core": "1.x" + "@rsbuild/core": "^1.0.0 || ^2.0.0-0" }, "peerDependenciesMeta": { "@rsbuild/core": { From ffb31093c6f04cb23083454e3ebe85b73106d874 Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 15 Jan 2026 11:16:34 +0800 Subject: [PATCH 2/2] fix: lock --- pnpm-lock.yaml | 194 +------------------------------------------------ 1 file changed, 2 insertions(+), 192 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6970a4b..62f7d8f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@rsbuild/core': - specifier: 1.x - version: 1.3.22 + specifier: ^1.0.0 || ^2.0.0-0 + version: 1.7.1 uuid: specifier: ^11.1.0 version: 11.1.0 @@ -158,50 +158,27 @@ packages: '@emnapi/wasi-threads@1.1.0': resolution: {integrity: sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==} - '@module-federation/error-codes@0.14.0': - resolution: {integrity: sha512-GGk+EoeSACJikZZyShnLshtq9E2eCrDWbRiB4QAFXCX4oYmGgFfzXlx59vMNwqTKPJWxkEGnPYacJMcr2YYjag==} - '@module-federation/error-codes@0.22.0': resolution: {integrity: sha512-xF9SjnEy7vTdx+xekjPCV5cIHOGCkdn3pIxo9vU7gEZMIw0SvAEdsy6Uh17xaCpm8V0FWvR0SZoK9Ik6jGOaug==} - '@module-federation/runtime-core@0.14.0': - resolution: {integrity: sha512-fGE1Ro55zIFDp/CxQuRhKQ1pJvG7P0qvRm2N+4i8z++2bgDjcxnCKUqDJ8lLD+JfJQvUJf0tuSsJPgevzueD4g==} - '@module-federation/runtime-core@0.22.0': resolution: {integrity: sha512-GR1TcD6/s7zqItfhC87zAp30PqzvceoeDGYTgF3Vx2TXvsfDrhP6Qw9T4vudDQL3uJRne6t7CzdT29YyVxlgIA==} - '@module-federation/runtime-tools@0.14.0': - resolution: {integrity: sha512-y/YN0c2DKsLETE+4EEbmYWjqF9G6ZwgZoDIPkaQ9p0pQu0V4YxzWfQagFFxR0RigYGuhJKmSU/rtNoHq+qF8jg==} - '@module-federation/runtime-tools@0.22.0': resolution: {integrity: sha512-4ScUJ/aUfEernb+4PbLdhM/c60VHl698Gn1gY21m9vyC1Ucn69fPCA1y2EwcCB7IItseRMoNhdcWQnzt/OPCNA==} - '@module-federation/runtime@0.14.0': - resolution: {integrity: sha512-kR3cyHw/Y64SEa7mh4CHXOEQYY32LKLK75kJOmBroLNLO7/W01hMNAvGBYTedS7hWpVuefPk1aFZioy3q2VLdQ==} - '@module-federation/runtime@0.22.0': resolution: {integrity: sha512-38g5iPju2tPC3KHMPxRKmy4k4onNp6ypFPS1eKGsNLUkXgHsPMBFqAjDw96iEcjri91BrahG4XcdyKi97xZzlA==} - '@module-federation/sdk@0.14.0': - resolution: {integrity: sha512-lg/OWRsh18hsyTCamOOhEX546vbDiA2O4OggTxxH2wTGr156N6DdELGQlYIKfRdU/0StgtQS81Goc0BgDZlx9A==} - '@module-federation/sdk@0.22.0': resolution: {integrity: sha512-x4aFNBKn2KVQRuNVC5A7SnrSCSqyfIWmm1DvubjbO9iKFe7ith5niw8dqSFBekYBg2Fwy+eMg4sEFNVvCAdo6g==} - '@module-federation/webpack-bundler-runtime@0.14.0': - resolution: {integrity: sha512-POWS6cKBicAAQ3DNY5X7XEUSfOfUsRaBNxbuwEfSGlrkTE9UcWheO06QP2ndHi8tHQuUKcIHi2navhPkJ+k5xg==} - '@module-federation/webpack-bundler-runtime@0.22.0': resolution: {integrity: sha512-aM8gCqXu+/4wBmJtVeMeeMN5guw3chf+2i6HajKtQv7SJfxV/f4IyNQJUeUQu9HfiAZHjqtMV5Lvq/Lvh8LdyA==} '@napi-rs/wasm-runtime@1.0.7': resolution: {integrity: sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==} - '@rsbuild/core@1.3.22': - resolution: {integrity: sha512-FGB7m8Tn/uiOhvqk0lw+NRMyD+VYJ+eBqVfpn0X11spkJDiPWn8UkMRvfzCX4XFcNZwRKYuuKJaZK1DNU8UG+w==} - engines: {node: '>=16.10.0'} - hasBin: true - '@rsbuild/core@1.7.1': resolution: {integrity: sha512-ULIE/Qh+Ne80Pm/aUPbRHUvwvIzpap07jYNFB47azI8w5Q3sDEC4Gn574jsluT/42iNDsZTFADRBog9FEvtN9Q==} engines: {node: '>=18.12.0'} @@ -220,61 +197,31 @@ packages: typescript: optional: true - '@rspack/binding-darwin-arm64@1.3.12': - resolution: {integrity: sha512-8hKjVTBeWPqkMzFPNWIh72oU9O3vFy3e88wRjMPImDCXBiEYrKqGTTLd/J0SO+efdL3SBD1rX1IvdJpxCv6Yrw==} - cpu: [arm64] - os: [darwin] - '@rspack/binding-darwin-arm64@1.7.0': resolution: {integrity: sha512-HMYrhvVh3sMRBXl6cSI2JqsvlHJKQ42qX+Sw4qbj7LeZBN6Gv4GjfL3cXRLUTdO37FOC0uLEUYgxVXetx/Y4sA==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.3.12': - resolution: {integrity: sha512-Sj4m+mCUxL7oCpdu7OmWT7fpBM7hywk5CM9RDc3D7StaBZbvNtNftafCrTZzTYKuZrKmemTh5SFzT5Tz7tf6GA==} - cpu: [x64] - os: [darwin] - '@rspack/binding-darwin-x64@1.7.0': resolution: {integrity: sha512-R/SoR04ySmHPqoIBGC+SjP9zRGjL1fS908mdwBvQ1RfFinKu7a/o/5rxH/vxUUsVQrHCyX+o7YXpfWq9xpvyQA==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.3.12': - resolution: {integrity: sha512-7MuOxf3/Mhv4mgFdLTvgnt/J+VouNR65DEhorth+RZm3LEWojgoFEphSAMAvpvAOpYSS68Sw4SqsOZi719ia2w==} - cpu: [arm64] - os: [linux] - '@rspack/binding-linux-arm64-gnu@1.7.0': resolution: {integrity: sha512-jDCcso++qshu58+Iuo6oiL0XKuX04lDugL0qwrWHW8SS/EjZ2rc1J3yQx+XDW0PCQsfI2c9ji0IOW56PzW1hXQ==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl@1.3.12': - resolution: {integrity: sha512-s6KKj20T9Z1bA8caIjU6EzJbwyDo1URNFgBAlafCT2UC6yX7flstDJJ38CxZacA9A2P24RuQK2/jPSZpWrTUFA==} - cpu: [arm64] - os: [linux] - '@rspack/binding-linux-arm64-musl@1.7.0': resolution: {integrity: sha512-0W49s0SQQhr3hZ8Zd7Auyf2pv4OTBr6wQhgWUQ6XeeMEjB16KpAVypSK5Jpn1ON0v9jAPLdod+a255rz8/f3kg==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-x64-gnu@1.3.12': - resolution: {integrity: sha512-0w/sRREYbRgHgWvs2uMEJSLfvzbZkPHUg6CMcYQGNVK6axYRot6jPyKetyFYA9pR5fB5rsXegpnFaZaVrRIK2g==} - cpu: [x64] - os: [linux] - '@rspack/binding-linux-x64-gnu@1.7.0': resolution: {integrity: sha512-oFjzjTD1MmG0ucAaP0Wyg9eobrsnFwZjEHa7LwyzWDRBeC3GWAF9T04Bqd6Ba6DgASGzU0BjEJcUpjvtXxO95Q==} cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.3.12': - resolution: {integrity: sha512-jEdxkPymkRxbijDRsBGdhopcbGXiXDg59lXqIRkVklqbDmZ/O6DHm7gImmlx5q9FoWbz0gqJuOKBz4JqWxjWVA==} - cpu: [x64] - os: [linux] - '@rspack/binding-linux-x64-musl@1.7.0': resolution: {integrity: sha512-MNGslPLOsurdwOcoo6r0u8mLpw1ADar3hkx67WzwwMqYnem/Ky0aANJC2JvQHPC22mu01gCOukHYyEaUFTxcuw==} cpu: [x64] @@ -284,51 +231,24 @@ packages: resolution: {integrity: sha512-eaZzkGpxzVESmaX/UALMiQO+eNppe/i1VWQksGRfdoUu0rILqr/YDjsWFTcpbI9Dt3fg2kshHawBHxfwtxHcZQ==} cpu: [wasm32] - '@rspack/binding-win32-arm64-msvc@1.3.12': - resolution: {integrity: sha512-ZRvUCb3TDLClAqcTsl/o9UdJf0B5CgzAxgdbnYJbldyuyMeTUB4jp20OfG55M3C2Nute2SNhu2bOOp9Se5Ongw==} - cpu: [arm64] - os: [win32] - '@rspack/binding-win32-arm64-msvc@1.7.0': resolution: {integrity: sha512-XFg4l7sOhupnpG0soOfzYLeF2cgpSJMenmjmdzd9y06CotTyVId0hNoS7y+A7hEP8XGf3YPbdiUL5UDp6+DRBA==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.3.12': - resolution: {integrity: sha512-1TKPjuXStPJr14f3ZHuv40Xc/87jUXx10pzVtrPnw+f3hckECHrbYU/fvbVzZyuXbsXtkXpYca6ygCDRJAoNeQ==} - cpu: [ia32] - os: [win32] - '@rspack/binding-win32-ia32-msvc@1.7.0': resolution: {integrity: sha512-eWt2XV6la/c0IlU/18RlhQsqwHGShSypwA3kt4s/dpfOK0YB1h4f0fYeUZuvj2X0MIoJQGhMofMrgA35/IcAcw==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.3.12': - resolution: {integrity: sha512-lCR0JfnYKpV+a6r2A2FdxyUKUS4tajePgpPJN5uXDgMGwrDtRqvx+d0BHhwjFudQVJq9VVbRaL89s2MQ6u+xYw==} - cpu: [x64] - os: [win32] - '@rspack/binding-win32-x64-msvc@1.7.0': resolution: {integrity: sha512-LOL5G8rfbAwlmusx+t98r9QzuGRz+L9Bg+8s5s6K/Qe64iemcNIuxGr5QLVq1jLa0SGNTeog4N21pAzlkWh4jw==} cpu: [x64] os: [win32] - '@rspack/binding@1.3.12': - resolution: {integrity: sha512-4Ic8lV0+LCBfTlH5aIOujIRWZOtgmG223zC4L3o8WY/+ESAgpdnK6lSSMfcYgRanYLAy3HOmFIp20jwskMpbAg==} - '@rspack/binding@1.7.0': resolution: {integrity: sha512-xO+pZKG2dvU9CuRTTi+DcCc4p+CZhBJlvuYikBja/0a62cTntQV2PWV+/xU1a6Vbo89yNz158LR05nvjtKVwTw==} - '@rspack/core@1.3.12': - resolution: {integrity: sha512-mAPmV4LPPRgxpouUrGmAE4kpF1NEWJGyM5coebsjK/zaCMSjw3mkdxiU2b5cO44oIi0Ifv5iGkvwbdrZOvMyFA==} - engines: {node: '>=16.0.0'} - peerDependencies: - '@swc/helpers': '>=0.5.1' - peerDependenciesMeta: - '@swc/helpers': - optional: true - '@rspack/core@1.7.0': resolution: {integrity: sha512-uDxPQsPh/+2DnOISuKnUiXZ9M0y2G1BOsI0IesxPJGp42ME2QW7axbJfUqD3bwp4bi3RN2zqh56NgxU/XETQvA==} engines: {node: '>=18.12.0'} @@ -338,16 +258,9 @@ packages: '@swc/helpers': optional: true - '@rspack/lite-tapable@1.0.1': - resolution: {integrity: sha512-VynGOEsVw2s8TAlLf/uESfrgfrq2+rcXB1muPJYBWbsm1Oa6r5qVQhjA5ggM6z/coYPrsVMgovl3Ff7Q7OCp1w==} - engines: {node: '>=16.0.0'} - '@rspack/lite-tapable@1.1.0': resolution: {integrity: sha512-E2B0JhYFmVAwdDiG14+DW0Di4Ze4Jg10Pc4/lILUrd5DRCaklduz2OvJ5HYQ6G+hd+WTzqQb3QnDNfK4yvAFYw==} - '@swc/helpers@0.5.17': - resolution: {integrity: sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==} - '@swc/helpers@0.5.18': resolution: {integrity: sha512-TXTnIcNJQEKwThMMqBXsZ4VGAza6bvN4pa41Rkqoio6QBKMvo+5lexeTMScGCIxtzgQJzElcvIltani+adC5PQ==} @@ -357,19 +270,9 @@ packages: '@types/node@24.10.4': resolution: {integrity: sha512-vnDVpYPMzs4wunl27jHrfmwojOGKya0xyM3sH+UE5iv5uPS6vX7UIoh6m+vQc5LGBq52HBKPIn/zcSZVzeDEZg==} - caniuse-lite@1.0.30001723: - resolution: {integrity: sha512-1R/elMjtehrFejxwmexeXAtae5UO9iSyFn6G/I806CYC/BLyyBk1EPhrKBkWhy6wM6Xnm47dSJQec+tLJ39WHw==} - - core-js@3.42.0: - resolution: {integrity: sha512-Sz4PP4ZA+Rq4II21qkNqOEDTDrCvcANId3xpIgB34NDkWc3UduWj2dqEtN9yZIq8Dk3HyPI33x9sqqU5C8sr0g==} - core-js@3.47.0: resolution: {integrity: sha512-c3Q2VVkGAUyupsjRnaNX6u8Dq2vAdzm9iuPj5FW0fRxzlxgq9Q39MDq10IvmQSpLgHQNyQzQmOo6bgGHmH3NNg==} - jiti@2.4.2: - resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==} - hasBin: true - jiti@2.6.1: resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==} hasBin: true @@ -509,51 +412,26 @@ snapshots: tslib: 2.8.1 optional: true - '@module-federation/error-codes@0.14.0': {} - '@module-federation/error-codes@0.22.0': {} - '@module-federation/runtime-core@0.14.0': - dependencies: - '@module-federation/error-codes': 0.14.0 - '@module-federation/sdk': 0.14.0 - '@module-federation/runtime-core@0.22.0': dependencies: '@module-federation/error-codes': 0.22.0 '@module-federation/sdk': 0.22.0 - '@module-federation/runtime-tools@0.14.0': - dependencies: - '@module-federation/runtime': 0.14.0 - '@module-federation/webpack-bundler-runtime': 0.14.0 - '@module-federation/runtime-tools@0.22.0': dependencies: '@module-federation/runtime': 0.22.0 '@module-federation/webpack-bundler-runtime': 0.22.0 - '@module-federation/runtime@0.14.0': - dependencies: - '@module-federation/error-codes': 0.14.0 - '@module-federation/runtime-core': 0.14.0 - '@module-federation/sdk': 0.14.0 - '@module-federation/runtime@0.22.0': dependencies: '@module-federation/error-codes': 0.22.0 '@module-federation/runtime-core': 0.22.0 '@module-federation/sdk': 0.22.0 - '@module-federation/sdk@0.14.0': {} - '@module-federation/sdk@0.22.0': {} - '@module-federation/webpack-bundler-runtime@0.14.0': - dependencies: - '@module-federation/runtime': 0.14.0 - '@module-federation/sdk': 0.14.0 - '@module-federation/webpack-bundler-runtime@0.22.0': dependencies: '@module-federation/runtime': 0.22.0 @@ -566,14 +444,6 @@ snapshots: '@tybys/wasm-util': 0.10.1 optional: true - '@rsbuild/core@1.3.22': - dependencies: - '@rspack/core': 1.3.12(@swc/helpers@0.5.17) - '@rspack/lite-tapable': 1.0.1 - '@swc/helpers': 0.5.17 - core-js: 3.42.0 - jiti: 2.4.2 - '@rsbuild/core@1.7.1': dependencies: '@rspack/core': 1.7.0(@swc/helpers@0.5.18) @@ -591,39 +461,21 @@ snapshots: transitivePeerDependencies: - '@typescript/native-preview' - '@rspack/binding-darwin-arm64@1.3.12': - optional: true - '@rspack/binding-darwin-arm64@1.7.0': optional: true - '@rspack/binding-darwin-x64@1.3.12': - optional: true - '@rspack/binding-darwin-x64@1.7.0': optional: true - '@rspack/binding-linux-arm64-gnu@1.3.12': - optional: true - '@rspack/binding-linux-arm64-gnu@1.7.0': optional: true - '@rspack/binding-linux-arm64-musl@1.3.12': - optional: true - '@rspack/binding-linux-arm64-musl@1.7.0': optional: true - '@rspack/binding-linux-x64-gnu@1.3.12': - optional: true - '@rspack/binding-linux-x64-gnu@1.7.0': optional: true - '@rspack/binding-linux-x64-musl@1.3.12': - optional: true - '@rspack/binding-linux-x64-musl@1.7.0': optional: true @@ -632,36 +484,15 @@ snapshots: '@napi-rs/wasm-runtime': 1.0.7 optional: true - '@rspack/binding-win32-arm64-msvc@1.3.12': - optional: true - '@rspack/binding-win32-arm64-msvc@1.7.0': optional: true - '@rspack/binding-win32-ia32-msvc@1.3.12': - optional: true - '@rspack/binding-win32-ia32-msvc@1.7.0': optional: true - '@rspack/binding-win32-x64-msvc@1.3.12': - optional: true - '@rspack/binding-win32-x64-msvc@1.7.0': optional: true - '@rspack/binding@1.3.12': - optionalDependencies: - '@rspack/binding-darwin-arm64': 1.3.12 - '@rspack/binding-darwin-x64': 1.3.12 - '@rspack/binding-linux-arm64-gnu': 1.3.12 - '@rspack/binding-linux-arm64-musl': 1.3.12 - '@rspack/binding-linux-x64-gnu': 1.3.12 - '@rspack/binding-linux-x64-musl': 1.3.12 - '@rspack/binding-win32-arm64-msvc': 1.3.12 - '@rspack/binding-win32-ia32-msvc': 1.3.12 - '@rspack/binding-win32-x64-msvc': 1.3.12 - '@rspack/binding@1.7.0': optionalDependencies: '@rspack/binding-darwin-arm64': 1.7.0 @@ -675,15 +506,6 @@ snapshots: '@rspack/binding-win32-ia32-msvc': 1.7.0 '@rspack/binding-win32-x64-msvc': 1.7.0 - '@rspack/core@1.3.12(@swc/helpers@0.5.17)': - dependencies: - '@module-federation/runtime-tools': 0.14.0 - '@rspack/binding': 1.3.12 - '@rspack/lite-tapable': 1.0.1 - caniuse-lite: 1.0.30001723 - optionalDependencies: - '@swc/helpers': 0.5.17 - '@rspack/core@1.7.0(@swc/helpers@0.5.18)': dependencies: '@module-federation/runtime-tools': 0.22.0 @@ -692,14 +514,8 @@ snapshots: optionalDependencies: '@swc/helpers': 0.5.18 - '@rspack/lite-tapable@1.0.1': {} - '@rspack/lite-tapable@1.1.0': {} - '@swc/helpers@0.5.17': - dependencies: - tslib: 2.8.1 - '@swc/helpers@0.5.18': dependencies: tslib: 2.8.1 @@ -713,14 +529,8 @@ snapshots: dependencies: undici-types: 7.16.0 - caniuse-lite@1.0.30001723: {} - - core-js@3.42.0: {} - core-js@3.47.0: {} - jiti@2.4.2: {} - jiti@2.6.1: {} nano-staged@0.9.0: