diff --git a/.storybook/main.ts b/.storybook/main.ts index 2eecadf..d979e04 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -3,7 +3,11 @@ import type { StorybookConfig } from 'storybook-react-rsbuild'; const config: StorybookConfig = { framework: 'storybook-react-rsbuild', stories: ['../stories/**/*.stories.@(js|jsx|ts|tsx)'], - addons: ['@storybook/addon-essentials', '@storybook/addon-themes'], + addons: [ + '@storybook/addon-essentials', + '@storybook/addon-themes', + 'storybook-addon-rslib', + ], }; export default config; diff --git a/package.json b/package.json index 3b64906..d26dc73 100644 --- a/package.json +++ b/package.json @@ -84,10 +84,9 @@ }, "devDependencies": { "@biomejs/biome": "1.9.4", - "@rsbuild/core": "1.2.3", "@rsbuild/plugin-react": "1.1.0", "@rsbuild/plugin-sass": "1.2.0", - "@rslib/core": "^0.4.0", + "@rslib/core": "^0.4.1", "@rstack-dev/doc-ui": "workspace:*", "@storybook/addon-essentials": "^8.5.2", "@storybook/addon-themes": "^8.5.2", @@ -109,6 +108,7 @@ "semver": "7.7.0", "simple-git-hooks": "^2.11.1", "storybook": "^8.5.2", + "storybook-addon-rslib": "^0.1.9", "storybook-react-rsbuild": "0.1.8", "typescript": "~5.7.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6e4691d..5e9a646 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,18 +15,15 @@ importers: '@biomejs/biome': specifier: 1.9.4 version: 1.9.4 - '@rsbuild/core': - specifier: 1.2.3 - version: 1.2.3 '@rsbuild/plugin-react': specifier: 1.1.0 - version: 1.1.0(@rsbuild/core@1.2.3) + version: 1.1.0(@rsbuild/core@1.2.7) '@rsbuild/plugin-sass': specifier: 1.2.0 - version: 1.2.0(@rsbuild/core@1.2.3) + version: 1.2.0(@rsbuild/core@1.2.7) '@rslib/core': - specifier: ^0.4.0 - version: 0.4.0(typescript@5.7.3) + specifier: ^0.4.1 + version: 0.4.1(typescript@5.7.3) '@rstack-dev/doc-ui': specifier: workspace:* version: 'link:' @@ -90,9 +87,12 @@ importers: storybook: specifier: ^8.5.2 version: 8.5.2(prettier@3.4.2) + storybook-addon-rslib: + specifier: ^0.1.9 + version: 0.1.9(@rsbuild/core@1.2.7)(@rslib/core@0.4.1(typescript@5.7.3))(storybook-builder-rsbuild@0.1.8(@rsbuild/core@1.2.7)(@rspack/core@1.2.3(@swc/helpers@0.5.15))(@types/react@18.3.18)(storybook@8.5.2(prettier@3.4.2))(typescript@5.7.3))(typescript@5.7.3) storybook-react-rsbuild: specifier: 0.1.8 - version: 0.1.8(@rsbuild/core@1.2.3)(@rspack/core@1.2.2(@swc/helpers@0.5.15))(@storybook/test@8.5.2(storybook@8.5.2(prettier@3.4.2)))(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.5.2(prettier@3.4.2))(typescript@5.7.3)(webpack@5.96.1(esbuild@0.19.2)) + version: 0.1.8(@rsbuild/core@1.2.7)(@rspack/core@1.2.3(@swc/helpers@0.5.15))(@storybook/test@8.5.2(storybook@8.5.2(prettier@3.4.2)))(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.5.2(prettier@3.4.2))(typescript@5.7.3)(webpack@5.96.1(esbuild@0.19.2)) typescript: specifier: ~5.7.3 version: 5.7.3 @@ -560,8 +560,8 @@ packages: rollup: optional: true - '@rsbuild/core@1.2.3': - resolution: {integrity: sha512-lUCt8gQe9E2PI3srcEJ1Na3GQYmsYuvAqK0f/k00HM0pEjrbOFC9Xq2kR85UoXHFqlTCIw/fLLDe91PKRCbKAw==} + '@rsbuild/core@1.2.7': + resolution: {integrity: sha512-Jf2Wqe0WN8gWNIf0TnujKmLKhfeC1y3qufKhznvgrOWb6XST5guS5nSwYvYc/S1VkK8IKMXBjWLdHKQZk6pe4g==} engines: {node: '>=16.7.0'} hasBin: true @@ -583,8 +583,8 @@ packages: '@rsbuild/core': optional: true - '@rslib/core@0.4.0': - resolution: {integrity: sha512-dONhz7PsooyGUdSQbJRzlsCXgOKrP5NyW1dzcNBvfLHr13nd2anCCZzFdQXb/g7772h5moj+EkTEo982AmUeJQ==} + '@rslib/core@0.4.1': + resolution: {integrity: sha512-qYzXqmyJsYhrorxUnXz1UNaLlkun/4HPXfDmvkrvFJ/vbQTLZom66a9uMQfkluRish3kJNumYNwtgfxBzn6ZBQ==} engines: {node: '>=16.0.0'} hasBin: true peerDependencies: @@ -596,56 +596,56 @@ packages: typescript: optional: true - '@rspack/binding-darwin-arm64@1.2.2': - resolution: {integrity: sha512-h23F8zEkXWhwMeScm0ZnN78Zh7hCDalxIWsm7bBS0eKadnlegUDwwCF8WE+8NjWr7bRzv0p3QBWlS5ufkcL4eA==} + '@rspack/binding-darwin-arm64@1.2.3': + resolution: {integrity: sha512-xuwYzhPgNCr4BtKXCU3xe4249TFsXAZglIlbxv8Qs3PeIarrZMRddcqH2zUXi+nJavNw3yN12sCYEzk1f+O4FQ==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.2.2': - resolution: {integrity: sha512-vG5s7FkEvwrGLfksyDRHwKAHUkhZt1zHZZXJQn4gZKjTBonje8ezdc7IFlDiWpC4S+oBYp73nDWkUzkGRbSdcQ==} + '@rspack/binding-darwin-x64@1.2.3': + resolution: {integrity: sha512-afiIN8elcrO2EtO27UN0qyZqu5FXGUdclud56DrhvEfnWS3GGxJEdjA8XUYVXkfCYakdXHucIJKlkkgaAjEvHg==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.2.2': - resolution: {integrity: sha512-VykY/kiYOzO8E1nYzfJ9+gQEHxb5B6lt5wa8M6xFi5B6jEGU+OsaGskmAZB9/GFImeFDHxDPvhUalI4R9p8O2Q==} + '@rspack/binding-linux-arm64-gnu@1.2.3': + resolution: {integrity: sha512-K2u/fPUmKujlKSWL3q2zaUu8/6ZK/bOGKcqJSib8jdanQQ/GFKwKtPAFOOa/vvqbzhDocqKOobFR10FhgJqCHg==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl@1.2.2': - resolution: {integrity: sha512-Z5vAC4wGfXi8XXZ6hs8Q06TYjr3zHf819HB4DI5i4C1eQTeKdZSyoFD0NHFG23bP4NWJffp8KhmoObcy9jBT5Q==} + '@rspack/binding-linux-arm64-musl@1.2.3': + resolution: {integrity: sha512-mgovdzGb6cH9hQsjTyzDbfZWCPhTcoHcLro1P7UbiqcLPMDJp/k3Io9xV2/EJhaDA1aynIdq7XfY0fuk4+6Irw==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-x64-gnu@1.2.2': - resolution: {integrity: sha512-o3pDaL+cH5EeRbDE9gZcdZpBgp5iXvYZBBhe8vZQllYgI4zN5MJEuleV7WplG3UwTXlgZg3Kht4RORSOPn96vg==} + '@rspack/binding-linux-x64-gnu@1.2.3': + resolution: {integrity: sha512-542lwJzB1RMGuVdBdA3cOWTlmL9okpOppHUBWcNCjmJM+9zTI+0jwjVe8HaqOqtuR8XzNsoCwT9QonU/GLcuhg==} cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.2.2': - resolution: {integrity: sha512-RE3e0xe4DdchHssttKzryDwjLkbrNk/4H59TkkWeGYJcLw41tmcOZVFQUOwKLUvXWVyif/vjvV/w1SMlqB4wQg==} + '@rspack/binding-linux-x64-musl@1.2.3': + resolution: {integrity: sha512-dJromiREDcTWqzfCOI5y1IVoYmUnCv7vCp63AEq0+13fJJdk7+pcNN3VV2jOKpk9VECSvjg1c01wl+UzXAXFMw==} cpu: [x64] os: [linux] - '@rspack/binding-win32-arm64-msvc@1.2.2': - resolution: {integrity: sha512-R+PKBYn6uzTaDdVqTHvjqiJPBr5ZHg1wg5UmFDLNH9OklzVFyQh1JInSdJRb7lzfzTRz6bEkkwUFBPQK/CGScw==} + '@rspack/binding-win32-arm64-msvc@1.2.3': + resolution: {integrity: sha512-S8ZKddMMQDGy8jx/R0i2m1XrmfY2CpI+t6lIEpsuZuKUR4MbOGKN2DuL4MDnT3m8JaYvC8ihsvQjBXQCy3SNxQ==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.2.2': - resolution: {integrity: sha512-dBqz3sRAGZ2f31FgzKLDvIRfq2haRP3X3XVCT0PsiMcvt7QJng+26aYYMy2THatd/nM8IwExYeitHWeiMBoruw==} + '@rspack/binding-win32-ia32-msvc@1.2.3': + resolution: {integrity: sha512-74lqSMKQJcJcgfFaxm+G9YVJSl2KK9/v4fRoMsWApztNy2qNgee+UguNBCOU6JLa3rVSj8Z5OVVDtJkGFrSvVg==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.2.2': - resolution: {integrity: sha512-eeAvaN831KG553cMSHkVldyk6YQn4ujgRHov6r1wtREq7CD3/ka9LMkJUepCN85K7XtwYT0N4KpFIQyf5GTGoA==} + '@rspack/binding-win32-x64-msvc@1.2.3': + resolution: {integrity: sha512-fcU532PgFdd5Bil8jwQW0Dcb/80oM6V0qSstGIxZ4M77t4t8e/PcukXfORTL71FfNQ64Rd4Dp6XRl1NHNJVxeg==} cpu: [x64] os: [win32] - '@rspack/binding@1.2.2': - resolution: {integrity: sha512-GCZwpGFYlLTdJ2soPLwjw9z4LSZ+GdpbHNfBt3Cm/f/bAF8n6mZc7dHUqN893RFh7MPU17HNEL3fMw7XR+6pHg==} + '@rspack/binding@1.2.3': + resolution: {integrity: sha512-enpOXZPQOJO800wdWcR7H5Dx5UZfwkaT0D0xsHD53WbpI09Z2KJbLX7I/i1FLLy3K1KQTB+2FIHLVdRikasXZA==} - '@rspack/core@1.2.2': - resolution: {integrity: sha512-EeHAmY65Uj62hSbUKesbrcWGE7jfUI887RD03G++Gj8jS4WPHEu1TFODXNOXg6pa7zyIvs2BK0Bm16Kwz8AEaQ==} + '@rspack/core@1.2.3': + resolution: {integrity: sha512-BFgdUYf05/hjjY9Nlwq8DpWaRJN5w2kTl8ZJi20SRL60oAx+ZD2ABT+fsPhBiFSmfTZDdvGGIq5e3vfRzoIuqg==} engines: {node: '>=16.0.0'} peerDependencies: '@rspack/tracing': ^1.x @@ -2250,8 +2250,8 @@ packages: engines: {node: 20 || >=22} hasBin: true - rsbuild-plugin-dts@0.4.0: - resolution: {integrity: sha512-Yjr+6iSY/TgV2jd+bY8J0wFe3RSBZaj766ygIMmILBacWUmaxnyIXnXjiIR3KDO7fxSwUYZzqqvpSgrRoVCk6g==} + rsbuild-plugin-dts@0.4.1: + resolution: {integrity: sha512-9/GJ/U8vt7pvRJts8l/FX6f5HzT2/0LUlwCrCz4mvqHh7EF4DI/b1TWXehvR7OH5ORE3hQxmPAhW01eaHBT8IQ==} engines: {node: '>=16.0.0'} peerDependencies: '@microsoft/api-extractor': ^7 @@ -2466,6 +2466,17 @@ packages: stackframe@1.3.4: resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} + storybook-addon-rslib@0.1.9: + resolution: {integrity: sha512-ikfTC69PSBgHbMDF7yOCiTAgQ9iX+o6Z33P2Rsgw/XSC+DrIkIuMM5LwXCoO+iFgUOpaKa7dSd/S17VKfL/ZWQ==} + peerDependencies: + '@rsbuild/core': ^1.0.1 + '@rslib/core': '>= 0.1.1 || >= 0.2' + storybook-builder-rsbuild: '*' + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + storybook-builder-rsbuild@0.1.8: resolution: {integrity: sha512-g+31+LGvhKbeZeM0c109GIyxMsJSCRcBZar6mkAVT7z+BAVbfEwMhITviNU2oP1dPFDxF9gKfrEsVRwdqNIsDQ==} peerDependencies: @@ -3218,95 +3229,95 @@ snapshots: estree-walker: 2.0.2 picomatch: 4.0.2 - '@rsbuild/core@1.2.3': + '@rsbuild/core@1.2.7': dependencies: - '@rspack/core': 1.2.2(@swc/helpers@0.5.15) + '@rspack/core': 1.2.3(@swc/helpers@0.5.15) '@rspack/lite-tapable': 1.0.1 '@swc/helpers': 0.5.15 core-js: 3.40.0 transitivePeerDependencies: - '@rspack/tracing' - '@rsbuild/plugin-react@1.1.0(@rsbuild/core@1.2.3)': + '@rsbuild/plugin-react@1.1.0(@rsbuild/core@1.2.7)': dependencies: - '@rsbuild/core': 1.2.3 + '@rsbuild/core': 1.2.7 '@rspack/plugin-react-refresh': 1.0.0(react-refresh@0.16.0) react-refresh: 0.16.0 - '@rsbuild/plugin-sass@1.2.0(@rsbuild/core@1.2.3)': + '@rsbuild/plugin-sass@1.2.0(@rsbuild/core@1.2.7)': dependencies: - '@rsbuild/core': 1.2.3 + '@rsbuild/core': 1.2.7 deepmerge: 4.3.1 loader-utils: 2.0.4 postcss: 8.5.1 reduce-configs: 1.1.0 sass-embedded: 1.83.4 - '@rsbuild/plugin-type-check@1.2.1(@rsbuild/core@1.2.3)(@rspack/core@1.2.2(@swc/helpers@0.5.15))(typescript@5.7.3)': + '@rsbuild/plugin-type-check@1.2.1(@rsbuild/core@1.2.7)(@rspack/core@1.2.3(@swc/helpers@0.5.15))(typescript@5.7.3)': dependencies: deepmerge: 4.3.1 json5: 2.2.3 reduce-configs: 1.1.0 - ts-checker-rspack-plugin: 1.1.1(@rspack/core@1.2.2(@swc/helpers@0.5.15))(typescript@5.7.3) + ts-checker-rspack-plugin: 1.1.1(@rspack/core@1.2.3(@swc/helpers@0.5.15))(typescript@5.7.3) optionalDependencies: - '@rsbuild/core': 1.2.3 + '@rsbuild/core': 1.2.7 transitivePeerDependencies: - '@rspack/core' - typescript - '@rslib/core@0.4.0(typescript@5.7.3)': + '@rslib/core@0.4.1(typescript@5.7.3)': dependencies: - '@rsbuild/core': 1.2.3 - rsbuild-plugin-dts: 0.4.0(@rsbuild/core@1.2.3)(typescript@5.7.3) + '@rsbuild/core': 1.2.7 + rsbuild-plugin-dts: 0.4.1(@rsbuild/core@1.2.7)(typescript@5.7.3) tinyglobby: 0.2.10 optionalDependencies: typescript: 5.7.3 transitivePeerDependencies: - '@rspack/tracing' - '@rspack/binding-darwin-arm64@1.2.2': + '@rspack/binding-darwin-arm64@1.2.3': optional: true - '@rspack/binding-darwin-x64@1.2.2': + '@rspack/binding-darwin-x64@1.2.3': optional: true - '@rspack/binding-linux-arm64-gnu@1.2.2': + '@rspack/binding-linux-arm64-gnu@1.2.3': optional: true - '@rspack/binding-linux-arm64-musl@1.2.2': + '@rspack/binding-linux-arm64-musl@1.2.3': optional: true - '@rspack/binding-linux-x64-gnu@1.2.2': + '@rspack/binding-linux-x64-gnu@1.2.3': optional: true - '@rspack/binding-linux-x64-musl@1.2.2': + '@rspack/binding-linux-x64-musl@1.2.3': optional: true - '@rspack/binding-win32-arm64-msvc@1.2.2': + '@rspack/binding-win32-arm64-msvc@1.2.3': optional: true - '@rspack/binding-win32-ia32-msvc@1.2.2': + '@rspack/binding-win32-ia32-msvc@1.2.3': optional: true - '@rspack/binding-win32-x64-msvc@1.2.2': + '@rspack/binding-win32-x64-msvc@1.2.3': optional: true - '@rspack/binding@1.2.2': + '@rspack/binding@1.2.3': optionalDependencies: - '@rspack/binding-darwin-arm64': 1.2.2 - '@rspack/binding-darwin-x64': 1.2.2 - '@rspack/binding-linux-arm64-gnu': 1.2.2 - '@rspack/binding-linux-arm64-musl': 1.2.2 - '@rspack/binding-linux-x64-gnu': 1.2.2 - '@rspack/binding-linux-x64-musl': 1.2.2 - '@rspack/binding-win32-arm64-msvc': 1.2.2 - '@rspack/binding-win32-ia32-msvc': 1.2.2 - '@rspack/binding-win32-x64-msvc': 1.2.2 - - '@rspack/core@1.2.2(@swc/helpers@0.5.15)': + '@rspack/binding-darwin-arm64': 1.2.3 + '@rspack/binding-darwin-x64': 1.2.3 + '@rspack/binding-linux-arm64-gnu': 1.2.3 + '@rspack/binding-linux-arm64-musl': 1.2.3 + '@rspack/binding-linux-x64-gnu': 1.2.3 + '@rspack/binding-linux-x64-musl': 1.2.3 + '@rspack/binding-win32-arm64-msvc': 1.2.3 + '@rspack/binding-win32-ia32-msvc': 1.2.3 + '@rspack/binding-win32-x64-msvc': 1.2.3 + + '@rspack/core@1.2.3(@swc/helpers@0.5.15)': dependencies: '@module-federation/runtime-tools': 0.8.4 - '@rspack/binding': 1.2.2 + '@rspack/binding': 1.2.3 '@rspack/lite-tapable': 1.0.1 caniuse-lite: 1.0.30001680 optionalDependencies: @@ -5085,21 +5096,21 @@ snapshots: glob: 11.0.0 package-json-from-dist: 1.0.0 - rsbuild-plugin-dts@0.4.0(@rsbuild/core@1.2.3)(typescript@5.7.3): + rsbuild-plugin-dts@0.4.1(@rsbuild/core@1.2.7)(typescript@5.7.3): dependencies: - '@rsbuild/core': 1.2.3 + '@rsbuild/core': 1.2.7 magic-string: 0.30.17 picocolors: 1.1.1 tinyglobby: 0.2.10 optionalDependencies: typescript: 5.7.3 - rsbuild-plugin-html-minifier-terser@1.1.1(@rsbuild/core@1.2.3): + rsbuild-plugin-html-minifier-terser@1.1.1(@rsbuild/core@1.2.7): dependencies: '@types/html-minifier-terser': 7.0.2 html-minifier-terser: 7.2.0 optionalDependencies: - '@rsbuild/core': 1.2.3 + '@rsbuild/core': 1.2.7 rxjs@7.8.1: dependencies: @@ -5264,10 +5275,18 @@ snapshots: stackframe@1.3.4: {} - storybook-builder-rsbuild@0.1.8(@rsbuild/core@1.2.3)(@rspack/core@1.2.2(@swc/helpers@0.5.15))(@types/react@18.3.18)(storybook@8.5.2(prettier@3.4.2))(typescript@5.7.3): + storybook-addon-rslib@0.1.9(@rsbuild/core@1.2.7)(@rslib/core@0.4.1(typescript@5.7.3))(storybook-builder-rsbuild@0.1.8(@rsbuild/core@1.2.7)(@rspack/core@1.2.3(@swc/helpers@0.5.15))(@types/react@18.3.18)(storybook@8.5.2(prettier@3.4.2))(typescript@5.7.3))(typescript@5.7.3): + dependencies: + '@rsbuild/core': 1.2.7 + '@rslib/core': 0.4.1(typescript@5.7.3) + storybook-builder-rsbuild: 0.1.8(@rsbuild/core@1.2.7)(@rspack/core@1.2.3(@swc/helpers@0.5.15))(@types/react@18.3.18)(storybook@8.5.2(prettier@3.4.2))(typescript@5.7.3) + optionalDependencies: + typescript: 5.7.3 + + storybook-builder-rsbuild@0.1.8(@rsbuild/core@1.2.7)(@rspack/core@1.2.3(@swc/helpers@0.5.15))(@types/react@18.3.18)(storybook@8.5.2(prettier@3.4.2))(typescript@5.7.3): dependencies: - '@rsbuild/core': 1.2.3 - '@rsbuild/plugin-type-check': 1.2.1(@rsbuild/core@1.2.3)(@rspack/core@1.2.2(@swc/helpers@0.5.15))(typescript@5.7.3) + '@rsbuild/core': 1.2.7 + '@rsbuild/plugin-type-check': 1.2.1(@rsbuild/core@1.2.7)(@rspack/core@1.2.3(@swc/helpers@0.5.15))(typescript@5.7.3) '@storybook/addon-docs': 8.5.1(@types/react@18.3.18)(storybook@8.5.2(prettier@3.4.2)) '@storybook/core-webpack': 8.2.4(storybook@8.5.2(prettier@3.4.2)) browser-assert: 1.2.1 @@ -5280,7 +5299,7 @@ snapshots: magic-string: 0.30.17 path-browserify: 1.0.1 process: 0.11.10 - rsbuild-plugin-html-minifier-terser: 1.1.1(@rsbuild/core@1.2.3) + rsbuild-plugin-html-minifier-terser: 1.1.1(@rsbuild/core@1.2.7) sirv: 2.0.4 storybook: 8.5.2(prettier@3.4.2) ts-dedent: 2.2.0 @@ -5293,10 +5312,10 @@ snapshots: - '@rspack/core' - '@types/react' - storybook-react-rsbuild@0.1.8(@rsbuild/core@1.2.3)(@rspack/core@1.2.2(@swc/helpers@0.5.15))(@storybook/test@8.5.2(storybook@8.5.2(prettier@3.4.2)))(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.5.2(prettier@3.4.2))(typescript@5.7.3)(webpack@5.96.1(esbuild@0.19.2)): + storybook-react-rsbuild@0.1.8(@rsbuild/core@1.2.7)(@rspack/core@1.2.3(@swc/helpers@0.5.15))(@storybook/test@8.5.2(storybook@8.5.2(prettier@3.4.2)))(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.5.2(prettier@3.4.2))(typescript@5.7.3)(webpack@5.96.1(esbuild@0.19.2)): dependencies: '@rollup/pluginutils': 5.1.4 - '@rsbuild/core': 1.2.3 + '@rsbuild/core': 1.2.7 '@storybook/react': 8.5.2(@storybook/test@8.5.2(storybook@8.5.2(prettier@3.4.2)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.5.2(prettier@3.4.2))(typescript@5.7.3) '@storybook/react-docgen-typescript-plugin': 1.0.1(typescript@5.7.3)(webpack@5.96.1(esbuild@0.19.2)) '@types/node': 18.19.9 @@ -5307,7 +5326,7 @@ snapshots: react-dom: 18.3.1(react@18.3.1) resolve: 1.22.10 storybook: 8.5.2(prettier@3.4.2) - storybook-builder-rsbuild: 0.1.8(@rsbuild/core@1.2.3)(@rspack/core@1.2.2(@swc/helpers@0.5.15))(@types/react@18.3.18)(storybook@8.5.2(prettier@3.4.2))(typescript@5.7.3) + storybook-builder-rsbuild: 0.1.8(@rsbuild/core@1.2.7)(@rspack/core@1.2.3(@swc/helpers@0.5.15))(@types/react@18.3.18)(storybook@8.5.2(prettier@3.4.2))(typescript@5.7.3) tsconfig-paths: 4.2.0 optionalDependencies: typescript: 5.7.3 @@ -5436,7 +5455,7 @@ snapshots: dependencies: tslib: 2.8.1 - ts-checker-rspack-plugin@1.1.1(@rspack/core@1.2.2(@swc/helpers@0.5.15))(typescript@5.7.3): + ts-checker-rspack-plugin@1.1.1(@rspack/core@1.2.3(@swc/helpers@0.5.15))(typescript@5.7.3): dependencies: '@babel/code-frame': 7.24.6 '@rspack/lite-tapable': 1.0.1 @@ -5446,7 +5465,7 @@ snapshots: picocolors: 1.1.1 typescript: 5.7.3 optionalDependencies: - '@rspack/core': 1.2.2(@swc/helpers@0.5.15) + '@rspack/core': 1.2.3(@swc/helpers@0.5.15) ts-dedent@2.2.0: {} diff --git a/rsbuild.config.ts b/rsbuild.config.ts deleted file mode 100644 index 877fa4c..0000000 --- a/rsbuild.config.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defineConfig } from '@rsbuild/core'; -import { pluginReact } from '@rsbuild/plugin-react'; -import { pluginSass } from '@rsbuild/plugin-sass'; - -export default defineConfig({ - plugins: [pluginReact(), pluginSass()], -}); diff --git a/src/env.d.ts b/src/env.d.ts index cddbb8b..0accf57 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -1 +1 @@ -/// +///