diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 270b54d7..8be0fe88 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -760,7 +760,7 @@ importers: version: 1.0.19 '@rsbuild/plugin-vue2': specifier: ^1.0.1 - version: 1.0.1(@rsbuild/core@1.0.19)(@vue/compiler-sfc@3.5.8)(css-loader@7.1.2(@rspack/core@1.0.14)(webpack@5.93.0)) + version: 1.0.1(@rsbuild/core@1.0.19)(@vue/compiler-sfc@3.5.8)(css-loader@7.1.2(@rspack/core@1.1.1)(webpack@5.93.0)) typescript: specifier: ^5.3.0 version: 5.4.5 @@ -1077,10 +1077,10 @@ importers: devDependencies: '@rsdoctor/cli': specifier: ^0.3.11 - version: 0.3.11(@rspack/core@1.0.14) + version: 0.3.11(@rspack/core@1.1.1) '@rsdoctor/webpack-plugin': specifier: ^0.3.11 - version: 0.3.11(@rspack/core@1.0.14)(webpack@5.95.0) + version: 0.3.11(@rspack/core@1.1.1)(webpack@5.95.0) '@types/node': specifier: ^20 version: 20.12.12 @@ -1351,6 +1351,37 @@ importers: specifier: ^14.2.1 version: 14.2.1(@rspack/core@1.0.14(@swc/helpers@0.5.13))(sass-embedded@1.77.8)(sass@1.69.7)(webpack@5.95.0) + rspack/dll: + dependencies: + lodash: + specifier: 4.17.21 + version: 4.17.21 + devDependencies: + '@rspack/cli': + specifier: 1.1.1 + version: 1.1.1(@rspack/core@1.1.1(@swc/helpers@0.5.13))(@types/express@4.17.21)(webpack@5.95.0) + '@rspack/core': + specifier: 1.1.1 + version: 1.1.1(@swc/helpers@0.5.13) + typescript: + specifier: ^5.3.3 + version: 5.4.5 + + rspack/dll-reference: + devDependencies: + '@rspack/cli': + specifier: 1.1.1 + version: 1.1.1(@rspack/core@1.1.1(@swc/helpers@0.5.13))(@types/express@4.17.21)(webpack@5.95.0) + '@rspack/core': + specifier: 1.1.1 + version: 1.1.1(@swc/helpers@0.5.13) + lodash: + specifier: 4.17.21 + version: 4.17.21 + typescript: + specifier: ^5.3.3 + version: 5.4.5 + rspack/emotion: dependencies: '@emotion/react': @@ -1697,7 +1728,7 @@ importers: version: 9.1.3(@babel/core@7.25.8)(webpack@5.93.0(webpack-cli@4.10.0)) html-webpack-plugin: specifier: ^5.6.3 - version: 5.6.3(@rspack/core@1.0.14)(webpack@5.93.0(webpack-cli@4.10.0)) + version: 5.6.3(@rspack/core@1.1.1)(webpack@5.93.0(webpack-cli@4.10.0)) react-refresh: specifier: ^0.14.2 version: 0.14.2 @@ -6327,6 +6358,11 @@ packages: cpu: [arm64] os: [darwin] + '@rspack/binding-darwin-arm64@1.1.1': + resolution: {integrity: sha512-BnvGPWObGZ2ZVnxe4K3NKwAWxYubOJvfwporXWD3NgkzeV5xJqGBFWRDnr/nfsFpgCTI8goxK5db/wb7NVzLqg==} + cpu: [arm64] + os: [darwin] + '@rspack/binding-darwin-x64@0.5.8': resolution: {integrity: sha512-TgVtKntzOGcIczogZXMWqqXrvK07XjRnz1ES56RYfsOVvzTEmldvX5S+pQIwYzCt7fNddIMl9muHa9qYswzFbQ==} cpu: [x64] @@ -6347,6 +6383,11 @@ packages: cpu: [x64] os: [darwin] + '@rspack/binding-darwin-x64@1.1.1': + resolution: {integrity: sha512-aiwJRkPGAg99vCrG/C9I87Fh9TShOAkzpf2yeJEZL4gwTj9A8wrc/xlrCFn1BDkbPnGYz62oCR7z6JLIDgYLuA==} + cpu: [x64] + os: [darwin] + '@rspack/binding-linux-arm64-gnu@0.5.8': resolution: {integrity: sha512-g+4ddgEpK+R50mqKs6jPr7IiPGpukabbSBSYGGezErHMMAfgSxuRQ1IGP/pOOHQXXmHJbrbqk4Ow56vE0fKZnQ==} cpu: [arm64] @@ -6367,6 +6408,11 @@ packages: cpu: [arm64] os: [linux] + '@rspack/binding-linux-arm64-gnu@1.1.1': + resolution: {integrity: sha512-2Z8YxH4+V0MiNhVQ2IFELDIFtykIdKgmOmGr/PuRQMHMxSn8AKo5uqBD30sZqe0+gryplZwK3hyrBETHOmSltQ==} + cpu: [arm64] + os: [linux] + '@rspack/binding-linux-arm64-musl@0.5.8': resolution: {integrity: sha512-MistQCUYkcwb4u3XTnmwGimxD161LlRZqP/7PPrInaBNCpYQYnXI4RX6RhMgusnjaW406N0XBS94Q9QNwujyxg==} cpu: [arm64] @@ -6387,6 +6433,11 @@ packages: cpu: [arm64] os: [linux] + '@rspack/binding-linux-arm64-musl@1.1.1': + resolution: {integrity: sha512-l+cJd3wAxBt523Min7qN+G5s3SU0rif9Yq2AFWWl+R6IvmnMlMq6sAAyiyogUidFmJ5XIKSJJBTBnvLF3g4ezg==} + cpu: [arm64] + os: [linux] + '@rspack/binding-linux-x64-gnu@0.5.8': resolution: {integrity: sha512-DlsCXeSZKKOh7T8uwIcUgbOXLcsoUVCHkWx04GDBi09OYHjrT+dc1Iqpy5uHcIScRWjtVgGnOb6M9EsyABNoAw==} cpu: [x64] @@ -6407,6 +6458,11 @@ packages: cpu: [x64] os: [linux] + '@rspack/binding-linux-x64-gnu@1.1.1': + resolution: {integrity: sha512-goaDDrXNulR7FcvUfj8AjhF3g7IXUttjQ4QsfY2xz7s20tDETlq5HpcM2A8GEI6lqkPAv/ITU0AynLK7bfyr4A==} + cpu: [x64] + os: [linux] + '@rspack/binding-linux-x64-musl@0.5.8': resolution: {integrity: sha512-B4V5wFGig+WCNbeOwU6O8rvxzu9sONUML6YEe/NiR+e9NLsYemEQG8volZVQ4WM/SDii6G4h9z/2jEoGXcfRsQ==} cpu: [x64] @@ -6427,6 +6483,11 @@ packages: cpu: [x64] os: [linux] + '@rspack/binding-linux-x64-musl@1.1.1': + resolution: {integrity: sha512-T4RRn9ycxUHAfZJpfNRy+DdfevTXIZqox+NNg/N3d+Pqj5QS3zqpHBfPLC2mIIN1dw55BoshRIP2C1hUG0Fk6g==} + cpu: [x64] + os: [linux] + '@rspack/binding-win32-arm64-msvc@0.5.8': resolution: {integrity: sha512-ubWsFoJkUQNOt1w1WDQCk5UvFPOII/dNj/orpEe+NPveEn6i+im2euK+6fKucmDrXAyC1ZhEzjJeFMjcvyS9Dg==} cpu: [arm64] @@ -6447,6 +6508,11 @@ packages: cpu: [arm64] os: [win32] + '@rspack/binding-win32-arm64-msvc@1.1.1': + resolution: {integrity: sha512-FHIPpueFc/+vWdZeVWRYWW0Z0IsDIHy+WhWxITeLjOVGsUN4rhaztYOausD7WsOlOhmR0SddeOYtRs/BR35wig==} + cpu: [arm64] + os: [win32] + '@rspack/binding-win32-ia32-msvc@0.5.8': resolution: {integrity: sha512-NPwkNbEe/IY/I93E07q3p7AM4rLDLkpgTzBPFhi6jgNzK8k/eGAUIdaEDJhEkWzsI8o8m7I5XlJyxrmK5/SWFw==} cpu: [ia32] @@ -6467,6 +6533,11 @@ packages: cpu: [ia32] os: [win32] + '@rspack/binding-win32-ia32-msvc@1.1.1': + resolution: {integrity: sha512-pgXE45ATK/Iil/oXlqaGoWZ0x3SoQk4dAjJGK7TzQuek6UEoJbLQL+W1ufe/iUxz67ICAmUvq5NH2ftOhEE2SA==} + cpu: [ia32] + os: [win32] + '@rspack/binding-win32-x64-msvc@0.5.8': resolution: {integrity: sha512-ox+PdrWh5VjI3G2GCLoXJ0eZ/lLgxPQsmGkyjikJyaIuetWtMun8khvaoAspnSw3FzHCEbA62vs0ot8YV3DggQ==} cpu: [x64] @@ -6487,6 +6558,11 @@ packages: cpu: [x64] os: [win32] + '@rspack/binding-win32-x64-msvc@1.1.1': + resolution: {integrity: sha512-z/kdbB+uhMi+H4podjTE7bfUpahACUuPOZPUtAAA6PMgRyiigBTK5UFYN35D30MONwZP4yNiLvPjurwiLw7EpA==} + cpu: [x64] + os: [win32] + '@rspack/binding@0.5.8': resolution: {integrity: sha512-RDiiBDeIwCPtqQ/CYMXoFqstaJVGZu3KoUKeuJoiN+TO77OAC0fRs7J/BvV+KLoF35SFpe/XnSLCkv+Nkk9/ow==} @@ -6499,12 +6575,21 @@ packages: '@rspack/binding@1.0.14': resolution: {integrity: sha512-0wWqFvr9hkF4LgNPgWfkTU0hhkZAMvOytoCs2p+wDX1Up1E/SgJ1U1JAsCxsl1XtUKm7mRvdWHzJmHbza3y89Q==} + '@rspack/binding@1.1.1': + resolution: {integrity: sha512-BRFliHbErqWrUo9X9bdik9WTRi6EgrJSQbbUiVeIYgW4gzYdfHUohgTkWo2Byu36LZolKrEjq/Uq2A8q/tc0YA==} + '@rspack/cli@1.0.14': resolution: {integrity: sha512-cKi8XJW47WkAkCrbWBETvPcTsly4PhB8gWSr1tUX7iFiLyDbSsD6p7mFZxU0gafK+zw+CI8ufzSUiYjW8iwvCQ==} hasBin: true peerDependencies: '@rspack/core': ^1.0.0-alpha || ^1.x + '@rspack/cli@1.1.1': + resolution: {integrity: sha512-Tm3A6Dc+gBQA67F1ShMU7c+1i3xtPBumnkwJ/TES15YaJ3iQlTehL8qzOSie5gfnWBE3Rzqyo/5t1/vg5DF8eA==} + hasBin: true + peerDependencies: + '@rspack/core': ^1.0.0-alpha || ^1.x + '@rspack/core@0.5.8': resolution: {integrity: sha512-F7NiiLCE//5JXsEmS36DcIUiSyi5sylZZ5MKw9ABSGrtqVDB23oOjUxP1kt/Wo6npf0V2eVuAHpoudwJ1lUmhQ==} engines: {node: '>=16.0.0'} @@ -6541,11 +6626,25 @@ packages: '@swc/helpers': optional: true + '@rspack/core@1.1.1': + resolution: {integrity: sha512-khYNAho2evyc7N5mYk4K6B587ou/dN1CDCqWrSDeZZNFFQHtuEp5T3kL1ntsKY7agObQhI60osCYaxFUPs0yww==} + engines: {node: '>=16.0.0'} + peerDependencies: + '@swc/helpers': '>=0.5.1' + peerDependenciesMeta: + '@swc/helpers': + optional: true + '@rspack/dev-server@1.0.5': resolution: {integrity: sha512-S1o1j9adjqNCiSWrIv1vmVHQPXFvcBa9JvPWIGxGjei72ejz0zvO6Fd948UkRlDgCPIoY4Cy+g1GLmBkJT5MKA==} peerDependencies: '@rspack/core': '*' + '@rspack/dev-server@1.0.9': + resolution: {integrity: sha512-VF+apLFfl5LWIhVbfkJ5ccU0Atl5mi+sGTkx+XtE1tbUmMJkde0nm/4+eaQCud7oGl+ZCzt4kW14uuzLSiEGDw==} + peerDependencies: + '@rspack/core': '*' + '@rspack/lite-tapable@1.0.0': resolution: {integrity: sha512-7MZf4lburSUZoEenwazwUDKHhqyfnLCGnQ/tKcUtztfmVzfjZfRn/EaiT0AKkYGnL2U8AGsw89oUeVyvaOLVCw==} engines: {node: '>=16.0.0'} @@ -10363,6 +10462,10 @@ packages: resolution: {integrity: sha512-aIQN7Q04HGAV/I5BszisuHTZHXNoC23WtLkxdCLuYZMdWviRD0TMIt2bnUBi9MrHaF/hH8b3gwG9iaAUHKnJGA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + exit-hook@4.0.0: + resolution: {integrity: sha512-Fqs7ChZm72y40wKjOFXBKg7nJZvQJmewP5/7LtePDdnah/+FH9Hp5sgMujSCMPXlxOAW2//1jrW9pnsY7o20vQ==} + engines: {node: '>=18'} + exit@0.1.2: resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} engines: {node: '>= 0.8.0'} @@ -20252,7 +20355,7 @@ snapshots: '@lingui/macro@4.11.4(@lingui/react@4.11.4(react@18.2.0))(babel-plugin-macros@3.1.0)(typescript@5.4.5)': dependencies: '@babel/runtime': 7.24.4 - '@babel/types': 7.25.8 + '@babel/types': 7.26.0 '@lingui/conf': 4.11.4(typescript@5.4.5) '@lingui/core': 4.11.4 '@lingui/message-utils': 4.11.4 @@ -20691,7 +20794,7 @@ snapshots: http-compression: 1.0.6 minimatch: 3.1.2 path-to-regexp: 6.2.2 - ws: 8.16.0 + ws: 8.18.0 optionalDependencies: ts-node: 10.9.2(@swc/core@1.7.40(@swc/helpers@0.5.13))(@types/node@20.12.12)(typescript@5.4.5) tsconfig-paths: 4.2.0 @@ -20753,7 +20856,7 @@ snapshots: postcss-page-break: 3.0.4(postcss@8.4.47) react-refresh: 0.14.2 rspack-manifest-plugin: 5.0.0-alpha0(webpack@5.95.0(esbuild@0.17.19)) - terser-webpack-plugin: 5.3.10(esbuild@0.17.19)(webpack@5.95.0) + terser-webpack-plugin: 5.3.10(esbuild@0.17.19)(webpack@5.95.0(esbuild@0.17.19)) ts-loader: 9.4.4(typescript@5.4.5)(webpack@5.95.0(esbuild@0.17.19)) webpack: 5.95.0(esbuild@0.17.19) webpack-manifest-plugin: 5.0.0(webpack@5.95.0(esbuild@0.17.19)) @@ -21784,9 +21887,9 @@ snapshots: optionalDependencies: '@rsbuild/core': 1.0.19 - '@rsbuild/plugin-vue2@1.0.1(@rsbuild/core@1.0.19)(@vue/compiler-sfc@3.5.8)(css-loader@7.1.2(@rspack/core@1.0.14)(webpack@5.93.0))': + '@rsbuild/plugin-vue2@1.0.1(@rsbuild/core@1.0.19)(@vue/compiler-sfc@3.5.8)(css-loader@7.1.2(@rspack/core@1.1.1)(webpack@5.93.0))': dependencies: - vue-loader: 15.11.1(@vue/compiler-sfc@3.5.8)(css-loader@7.1.2(@rspack/core@1.0.14)(webpack@5.93.0))(webpack@5.93.0) + vue-loader: 15.11.1(@vue/compiler-sfc@3.5.8)(css-loader@7.1.2(@rspack/core@1.1.1)(webpack@5.93.0))(webpack@5.93.0) webpack: 5.93.0 optionalDependencies: '@rsbuild/core': 1.0.19 @@ -21912,12 +22015,12 @@ snapshots: - uglify-js - webpack-cli - '@rsdoctor/cli@0.3.11(@rspack/core@1.0.14)': + '@rsdoctor/cli@0.3.11(@rspack/core@1.1.1)': dependencies: '@rsdoctor/client': 0.3.11 - '@rsdoctor/sdk': 0.3.11(@rspack/core@1.0.14) - '@rsdoctor/types': 0.3.11(@rspack/core@1.0.14) - '@rsdoctor/utils': 0.3.11(@rspack/core@1.0.14) + '@rsdoctor/sdk': 0.3.11(@rspack/core@1.1.1) + '@rsdoctor/types': 0.3.11(@rspack/core@1.1.1) + '@rsdoctor/utils': 0.3.11(@rspack/core@1.1.1) axios: 1.7.2 chalk: 4.1.2 ora: 5.4.1 @@ -22020,12 +22123,12 @@ snapshots: - utf-8-validate - webpack-cli - '@rsdoctor/core@0.3.11(@rspack/core@1.0.14)': + '@rsdoctor/core@0.3.11(@rspack/core@1.1.1)': dependencies: - '@rsdoctor/graph': 0.3.11(@rspack/core@1.0.14) - '@rsdoctor/sdk': 0.3.11(@rspack/core@1.0.14) - '@rsdoctor/types': 0.3.11(@rspack/core@1.0.14) - '@rsdoctor/utils': 0.3.11(@rspack/core@1.0.14) + '@rsdoctor/graph': 0.3.11(@rspack/core@1.1.1) + '@rsdoctor/sdk': 0.3.11(@rspack/core@1.1.1) + '@rsdoctor/types': 0.3.11(@rspack/core@1.1.1) + '@rsdoctor/utils': 0.3.11(@rspack/core@1.1.1) axios: 1.7.2 enhanced-resolve: 5.12.0 filesize: 10.1.4 @@ -22099,10 +22202,10 @@ snapshots: - utf-8-validate - webpack-cli - '@rsdoctor/graph@0.3.11(@rspack/core@1.0.14)': + '@rsdoctor/graph@0.3.11(@rspack/core@1.1.1)': dependencies: - '@rsdoctor/types': 0.3.11(@rspack/core@1.0.14) - '@rsdoctor/utils': 0.3.11(@rspack/core@1.0.14) + '@rsdoctor/types': 0.3.11(@rspack/core@1.1.1) + '@rsdoctor/utils': 0.3.11(@rspack/core@1.1.1) lodash: 4.17.21 socket.io: 4.7.2 source-map: 0.7.4 @@ -22251,12 +22354,12 @@ snapshots: - utf-8-validate - webpack-cli - '@rsdoctor/sdk@0.3.11(@rspack/core@1.0.14)': + '@rsdoctor/sdk@0.3.11(@rspack/core@1.1.1)': dependencies: '@rsdoctor/client': 0.3.11 - '@rsdoctor/graph': 0.3.11(@rspack/core@1.0.14) - '@rsdoctor/types': 0.3.11(@rspack/core@1.0.14) - '@rsdoctor/utils': 0.3.11(@rspack/core@1.0.14) + '@rsdoctor/graph': 0.3.11(@rspack/core@1.1.1) + '@rsdoctor/types': 0.3.11(@rspack/core@1.1.1) + '@rsdoctor/utils': 0.3.11(@rspack/core@1.1.1) body-parser: 1.20.2 cors: 2.8.5 dayjs: 1.11.12 @@ -22321,7 +22424,7 @@ snapshots: - uglify-js - webpack-cli - '@rsdoctor/types@0.3.11(@rspack/core@1.0.14)': + '@rsdoctor/types@0.3.11(@rspack/core@1.1.1)': dependencies: '@types/connect': 3.4.38 '@types/estree': 1.0.5 @@ -22329,7 +22432,7 @@ snapshots: '@types/webpack': 5.28.5 source-map: 0.7.4 optionalDependencies: - '@rspack/core': 1.0.14(@swc/helpers@0.5.1) + '@rspack/core': 1.1.1(@swc/helpers@0.5.13) transitivePeerDependencies: - '@swc/core' - esbuild @@ -22420,10 +22523,10 @@ snapshots: - uglify-js - webpack-cli - '@rsdoctor/utils@0.3.11(@rspack/core@1.0.14)': + '@rsdoctor/utils@0.3.11(@rspack/core@1.1.1)': dependencies: '@babel/code-frame': 7.24.7 - '@rsdoctor/types': 0.3.11(@rspack/core@1.0.14) + '@rsdoctor/types': 0.3.11(@rspack/core@1.1.1) '@types/estree': 1.0.5 acorn: 8.11.3 acorn-import-assertions: 1.9.0(acorn@8.11.3) @@ -22448,13 +22551,13 @@ snapshots: - uglify-js - webpack-cli - '@rsdoctor/webpack-plugin@0.3.11(@rspack/core@1.0.14)(webpack@5.95.0)': + '@rsdoctor/webpack-plugin@0.3.11(@rspack/core@1.1.1)(webpack@5.95.0)': dependencies: - '@rsdoctor/core': 0.3.11(@rspack/core@1.0.14) - '@rsdoctor/graph': 0.3.11(@rspack/core@1.0.14) - '@rsdoctor/sdk': 0.3.11(@rspack/core@1.0.14) - '@rsdoctor/types': 0.3.11(@rspack/core@1.0.14) - '@rsdoctor/utils': 0.3.11(@rspack/core@1.0.14) + '@rsdoctor/core': 0.3.11(@rspack/core@1.1.1) + '@rsdoctor/graph': 0.3.11(@rspack/core@1.1.1) + '@rsdoctor/sdk': 0.3.11(@rspack/core@1.1.1) + '@rsdoctor/types': 0.3.11(@rspack/core@1.1.1) + '@rsdoctor/utils': 0.3.11(@rspack/core@1.1.1) fs-extra: 11.2.0 lodash: 4.17.21 webpack: 5.95.0 @@ -22481,6 +22584,9 @@ snapshots: '@rspack/binding-darwin-arm64@1.0.14': optional: true + '@rspack/binding-darwin-arm64@1.1.1': + optional: true + '@rspack/binding-darwin-x64@0.5.8': optional: true @@ -22493,6 +22599,9 @@ snapshots: '@rspack/binding-darwin-x64@1.0.14': optional: true + '@rspack/binding-darwin-x64@1.1.1': + optional: true + '@rspack/binding-linux-arm64-gnu@0.5.8': optional: true @@ -22505,6 +22614,9 @@ snapshots: '@rspack/binding-linux-arm64-gnu@1.0.14': optional: true + '@rspack/binding-linux-arm64-gnu@1.1.1': + optional: true + '@rspack/binding-linux-arm64-musl@0.5.8': optional: true @@ -22517,6 +22629,9 @@ snapshots: '@rspack/binding-linux-arm64-musl@1.0.14': optional: true + '@rspack/binding-linux-arm64-musl@1.1.1': + optional: true + '@rspack/binding-linux-x64-gnu@0.5.8': optional: true @@ -22529,6 +22644,9 @@ snapshots: '@rspack/binding-linux-x64-gnu@1.0.14': optional: true + '@rspack/binding-linux-x64-gnu@1.1.1': + optional: true + '@rspack/binding-linux-x64-musl@0.5.8': optional: true @@ -22541,6 +22659,9 @@ snapshots: '@rspack/binding-linux-x64-musl@1.0.14': optional: true + '@rspack/binding-linux-x64-musl@1.1.1': + optional: true + '@rspack/binding-win32-arm64-msvc@0.5.8': optional: true @@ -22553,6 +22674,9 @@ snapshots: '@rspack/binding-win32-arm64-msvc@1.0.14': optional: true + '@rspack/binding-win32-arm64-msvc@1.1.1': + optional: true + '@rspack/binding-win32-ia32-msvc@0.5.8': optional: true @@ -22565,6 +22689,9 @@ snapshots: '@rspack/binding-win32-ia32-msvc@1.0.14': optional: true + '@rspack/binding-win32-ia32-msvc@1.1.1': + optional: true + '@rspack/binding-win32-x64-msvc@0.5.8': optional: true @@ -22577,6 +22704,9 @@ snapshots: '@rspack/binding-win32-x64-msvc@1.0.14': optional: true + '@rspack/binding-win32-x64-msvc@1.1.1': + optional: true + '@rspack/binding@0.5.8': optionalDependencies: '@rspack/binding-darwin-arm64': 0.5.8 @@ -22625,6 +22755,18 @@ snapshots: '@rspack/binding-win32-ia32-msvc': 1.0.14 '@rspack/binding-win32-x64-msvc': 1.0.14 + '@rspack/binding@1.1.1': + optionalDependencies: + '@rspack/binding-darwin-arm64': 1.1.1 + '@rspack/binding-darwin-x64': 1.1.1 + '@rspack/binding-linux-arm64-gnu': 1.1.1 + '@rspack/binding-linux-arm64-musl': 1.1.1 + '@rspack/binding-linux-x64-gnu': 1.1.1 + '@rspack/binding-linux-x64-musl': 1.1.1 + '@rspack/binding-win32-arm64-msvc': 1.1.1 + '@rspack/binding-win32-ia32-msvc': 1.1.1 + '@rspack/binding-win32-x64-msvc': 1.1.1 + '@rspack/cli@1.0.14(@rspack/core@1.0.14(@swc/helpers@0.5.1))(@types/express@4.17.21)(webpack@5.95.0(@swc/core@1.7.40(@swc/helpers@0.5.1)))': dependencies: '@discoveryjs/json-ext': 0.5.7 @@ -22772,6 +22914,27 @@ snapshots: - webpack - webpack-cli + '@rspack/cli@1.1.1(@rspack/core@1.1.1(@swc/helpers@0.5.13))(@types/express@4.17.21)(webpack@5.95.0)': + dependencies: + '@discoveryjs/json-ext': 0.5.7 + '@rspack/core': 1.1.1(@swc/helpers@0.5.13) + '@rspack/dev-server': 1.0.9(@rspack/core@1.1.1(@swc/helpers@0.5.13))(@types/express@4.17.21)(webpack@5.95.0) + colorette: 2.0.19 + exit-hook: 4.0.0 + interpret: 3.1.1 + rechoir: 0.8.0 + semver: 7.6.3 + webpack-bundle-analyzer: 4.6.1 + yargs: 17.6.2 + transitivePeerDependencies: + - '@types/express' + - bufferutil + - debug + - supports-color + - utf-8-validate + - webpack + - webpack-cli + '@rspack/core@0.5.8(@swc/helpers@0.5.3)': dependencies: '@module-federation/runtime-tools': 0.0.8 @@ -22827,6 +22990,15 @@ snapshots: optionalDependencies: '@swc/helpers': 0.5.13 + '@rspack/core@1.1.1(@swc/helpers@0.5.13)': + dependencies: + '@module-federation/runtime-tools': 0.5.1 + '@rspack/binding': 1.1.1 + '@rspack/lite-tapable': 1.0.1 + caniuse-lite: 1.0.30001669 + optionalDependencies: + '@swc/helpers': 0.5.13 + '@rspack/dev-server@1.0.5(@rspack/core@1.0.14(@swc/helpers@0.5.1))(@types/express@4.17.21)(webpack@5.95.0(@swc/core@1.7.40(@swc/helpers@0.5.1)))': dependencies: '@rspack/core': 1.0.14(@swc/helpers@0.5.1) @@ -22974,6 +23146,27 @@ snapshots: - webpack - webpack-cli + '@rspack/dev-server@1.0.9(@rspack/core@1.1.1(@swc/helpers@0.5.13))(@types/express@4.17.21)(webpack@5.95.0)': + dependencies: + '@rspack/core': 1.1.1(@swc/helpers@0.5.13) + chokidar: 3.6.0 + connect-history-api-fallback: 2.0.0 + express: 4.19.2 + http-proxy-middleware: 2.0.6(@types/express@4.17.21) + mime-types: 2.1.35 + p-retry: 4.6.2 + webpack-dev-middleware: 7.4.2(webpack@5.95.0) + webpack-dev-server: 5.0.4(webpack@5.95.0) + ws: 8.18.0 + transitivePeerDependencies: + - '@types/express' + - bufferutil + - debug + - supports-color + - utf-8-validate + - webpack + - webpack-cli + '@rspack/lite-tapable@1.0.0': {} '@rspack/lite-tapable@1.0.1': {} @@ -27062,7 +27255,7 @@ snapshots: '@rspack/core': 1.0.14(@swc/helpers@0.5.13) webpack: 5.95.0 - css-loader@7.1.2(@rspack/core@1.0.14)(webpack@5.93.0): + css-loader@7.1.2(@rspack/core@1.1.1)(webpack@5.93.0): dependencies: icss-utils: 5.1.0(postcss@8.4.47) postcss: 8.4.47 @@ -27073,7 +27266,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - '@rspack/core': 1.0.14(@swc/helpers@0.5.1) + '@rspack/core': 1.1.1(@swc/helpers@0.5.13) webpack: 5.93.0 css-mediaquery@0.1.2: {} @@ -28095,6 +28288,8 @@ snapshots: exit-hook@3.2.0: {} + exit-hook@4.0.0: {} + exit@0.1.2: {} expand-template@2.0.3: @@ -29102,7 +29297,7 @@ snapshots: '@rspack/core': 1.0.14(@swc/helpers@0.5.13) webpack: 5.95.0 - html-webpack-plugin@5.6.3(@rspack/core@1.0.14)(webpack@5.93.0(webpack-cli@4.10.0)): + html-webpack-plugin@5.6.3(@rspack/core@1.1.1)(webpack@5.93.0(webpack-cli@4.10.0)): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -29110,7 +29305,7 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - '@rspack/core': 1.0.14(@swc/helpers@0.5.1) + '@rspack/core': 1.1.1(@swc/helpers@0.5.13) webpack: 5.93.0(webpack-cli@4.10.0) htmlparser2@6.1.0: @@ -34527,7 +34722,7 @@ snapshots: optionalDependencies: '@swc/core': 1.7.40(@swc/helpers@0.5.13) - terser-webpack-plugin@5.3.10(esbuild@0.17.19)(webpack@5.95.0): + terser-webpack-plugin@5.3.10(esbuild@0.17.19)(webpack@5.95.0(esbuild@0.17.19)): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 @@ -35460,10 +35655,10 @@ snapshots: - walrus - whiskers - vue-loader@15.11.1(@vue/compiler-sfc@3.5.8)(css-loader@7.1.2(@rspack/core@1.0.14)(webpack@5.93.0))(webpack@5.93.0): + vue-loader@15.11.1(@vue/compiler-sfc@3.5.8)(css-loader@7.1.2(@rspack/core@1.1.1)(webpack@5.93.0))(webpack@5.93.0): dependencies: '@vue/component-compiler-utils': 3.3.0(ejs@3.1.9)(handlebars@4.7.8)(lodash@4.17.21)(pug@3.0.2) - css-loader: 7.1.2(@rspack/core@1.0.14)(webpack@5.93.0) + css-loader: 7.1.2(@rspack/core@1.1.1)(webpack@5.93.0) hash-sum: 1.0.2 loader-utils: 1.4.2 vue-hot-reload-api: 2.3.4 @@ -36396,7 +36591,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(esbuild@0.17.19)(webpack@5.95.0) + terser-webpack-plugin: 5.3.10(esbuild@0.17.19)(webpack@5.95.0(esbuild@0.17.19)) watchpack: 2.4.1 webpack-sources: 3.2.3 transitivePeerDependencies: diff --git a/rspack/dll-reference/index.js b/rspack/dll-reference/index.js new file mode 100644 index 00000000..7d73ead5 --- /dev/null +++ b/rspack/dll-reference/index.js @@ -0,0 +1,14 @@ +import a from '../dll/a'; +import alpha from '../dll/alpha'; +import beta from 'beta/beta' +import b from 'beta/b' +import c from 'beta/c' +import _ from 'lodash'; + + +console.log(a) +console.log(alpha) +console.log(beta) +console.log(b) +console.log(c) +console.log(_.sum([1, 2])) \ No newline at end of file diff --git a/rspack/dll-reference/package.json b/rspack/dll-reference/package.json new file mode 100644 index 00000000..5b8481da --- /dev/null +++ b/rspack/dll-reference/package.json @@ -0,0 +1,14 @@ +{ + "name": "example-dll-reference-plugin", + "private": true, + "scripts": { + "dev": "rspack serve", + "build": "rspack build || echo 'make-ci-happy'" + }, + "devDependencies": { + "@rspack/cli": "1.1.1", + "@rspack/core": "1.1.1", + "typescript": "^5.3.3", + "lodash": "4.17.21" + } +} diff --git a/rspack/dll-reference/rspack.config.js b/rspack/dll-reference/rspack.config.js new file mode 100644 index 00000000..2f0ec26d --- /dev/null +++ b/rspack/dll-reference/rspack.config.js @@ -0,0 +1,28 @@ + +const rspack = require('@rspack/core') +const path = require('node:path'); + +/** @type {import('@rspack/cli').Configuration} */ +const config = { + entry: './index', + output: { + path: path.resolve(__dirname, 'dist'), + }, + resolve: { + extensions: ['...', '.ts', '.tsx', '.js', '.jsx'] + }, + plugins: [ + new rspack.DllReferencePlugin({ + manifest: path.resolve(__dirname, '../dll/dist/alpha.manifest.json'), + extensions: ['.js', '.ts'], + }), + new rspack.DllReferencePlugin({ + manifest: path.resolve(__dirname, '../dll/dist/beta.manifest.json'), + scope: 'beta', + extensions: [".js", ".jsx", '.ts', '.tsx'] + }), + ], + mode: 'development' +} + +module.exports = config; diff --git a/rspack/dll/a.ts b/rspack/dll/a.ts new file mode 100644 index 00000000..75d7f013 --- /dev/null +++ b/rspack/dll/a.ts @@ -0,0 +1 @@ +export default "a"; \ No newline at end of file diff --git a/rspack/dll/alpha.ts b/rspack/dll/alpha.ts new file mode 100644 index 00000000..ff18199d --- /dev/null +++ b/rspack/dll/alpha.ts @@ -0,0 +1 @@ +export default "alpha"; \ No newline at end of file diff --git a/rspack/dll/b.ts b/rspack/dll/b.ts new file mode 100644 index 00000000..26911636 --- /dev/null +++ b/rspack/dll/b.ts @@ -0,0 +1 @@ +export default "b"; \ No newline at end of file diff --git a/rspack/dll/beta.ts b/rspack/dll/beta.ts new file mode 100644 index 00000000..e8d73c23 --- /dev/null +++ b/rspack/dll/beta.ts @@ -0,0 +1 @@ +export default "beta" \ No newline at end of file diff --git a/rspack/dll/c.tsx b/rspack/dll/c.tsx new file mode 100644 index 00000000..22bbfcf9 --- /dev/null +++ b/rspack/dll/c.tsx @@ -0,0 +1 @@ +export default "c.tsx"; diff --git a/rspack/dll/package.json b/rspack/dll/package.json new file mode 100644 index 00000000..8df2237a --- /dev/null +++ b/rspack/dll/package.json @@ -0,0 +1,16 @@ +{ + "name": "example-dll-plugin", + "private": true, + "scripts": { + "dev": "rspack serve", + "build": "rspack build || echo 'make-ci-happy'" + }, + "dependencies": { + "lodash": "4.17.21" + }, + "devDependencies": { + "@rspack/cli": "1.1.1", + "@rspack/core": "1.1.1", + "typescript": "^5.3.3" + } +} diff --git a/rspack/dll/rspack.config.js b/rspack/dll/rspack.config.js new file mode 100644 index 00000000..93052df3 --- /dev/null +++ b/rspack/dll/rspack.config.js @@ -0,0 +1,27 @@ + +const rspack = require('@rspack/core') +const path = require('node:path'); + +/** @type {import('@rspack/cli').Configuration} */ +const config = { + resolve: { + extensions: ['...', '.ts', '.tsx', '.js', '.jsx'], + }, + entry: { + alpha: ["./alpha", "./a", "lodash"], + beta: ["./beta", "./b", "./c"], + }, + output: { + path: path.resolve(__dirname, 'dist'), + filename: '[name].dll.js', + library: '[name]_dll_lib' + }, + plugins: [ + new rspack.DllPlugin({ + path: path.join(__dirname, "dist", "[name].manifest.json"), + name: '[name]_dll_lib', + }) + ] +} + +module.exports = config;