| [Examples](./rspack) | [Document](https://rspack.rs/) |
-| :---------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------: | :----------------------------------: |
-| [Rsbuild](https://github.com/web-infra-dev/rsbuild) |
| [Examples](./rsbuild) | [Document](https://rsbuild.rs/) |
-| [Rspress](https://github.com/web-infra-dev/rspress) |
| [Examples](./rspress/) | [Document](https://rspress.rs/) |
-| [Rsdoctor](https://github.com/web-infra-dev/rsdoctor) |
| [Examples](./rsdoctor/) | [Document](https://rsdoctor.rs/) |
-| [Rslib](https://github.com/web-infra-dev/rslib) |
| [Examples](./rslib) | [Document](https://rslib.rs/) |
+| [Rspack](https://github.com/web-infra-dev/rspack) |
| [Examples](./rspack) | [Document](https://rspack.rs/) |
+| :---------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------: | :------------------------------: |
+| [Rsbuild](https://github.com/web-infra-dev/rsbuild) |
| [Examples](./rsbuild) | [Document](https://rsbuild.rs/) |
+| [Rspress](https://github.com/web-infra-dev/rspress) |
| [Examples](./rspress/) | [Document](https://rspress.rs/) |
+| [Rsdoctor](https://github.com/web-infra-dev/rsdoctor) |
| [Examples](./rsdoctor/) | [Document](https://rsdoctor.rs/) |
+| [Rslib](https://github.com/web-infra-dev/rslib) |
| [Examples](./rslib) | [Document](https://rslib.rs/) |
## How to Use
diff --git a/biome.json b/biome.json
deleted file mode 100644
index 135e84195..000000000
--- a/biome.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
- "vcs": {
- "enabled": true,
- "defaultBranch": "main",
- "clientKind": "git",
- "useIgnoreFile": true
- },
- "files": {
- "includes": [
- "**/rspack/**",
- "**/rsbuild/**",
- "**/rspress/**",
- "**/rsdoctor/**",
- "**/rslib/**",
- "**/rstest/**",
- "!**/dist",
- "!**/dist-*",
- "!**/doc_build",
- "!**/auto-imports.d.ts",
- "!**/components.d.ts",
- "!**/__snapshots__"
- ],
- "ignoreUnknown": true
- },
- "javascript": {
- "formatter": {
- "quoteStyle": "single"
- }
- },
- "formatter": {
- "enabled": true,
- "indentStyle": "space",
- "indentWidth": 2,
- "lineWidth": 100,
- "lineEnding": "lf"
- },
- "linter": {
- "rules": {
- "recommended": false,
- "suspicious": {
- "recommended": true,
- "noExplicitAny": "off",
- "noArrayIndexKey": "off"
- },
- "correctness": {
- "recommended": true,
- "useExhaustiveDependencies": "off"
- }
- }
- },
- "overrides": [
- {
- "includes": [
- "**/.vscode/*.json",
- "**/tsconfig.json",
- "**/tsconfig.*.json",
- "**/tsconfig-*.json"
- ],
- "json": {
- "parser": {
- "allowComments": true,
- "allowTrailingCommas": true
- }
- }
- },
- {
- "includes": ["**/worker.js", "**/*-worker.js"],
- "linter": {
- "rules": {
- "suspicious": {
- "noGlobalAssign": "off"
- }
- }
- }
- }
- ]
-}
diff --git a/package.json b/package.json
index 3270e4a46..8cbdc9c8d 100644
--- a/package.json
+++ b/package.json
@@ -11,21 +11,28 @@
"build:rspack": "pnpm --filter \"@rspack-example/*\" --stream build",
"build:rspress": "pnpm --filter \"@rspress-example/*\" --stream build",
"bump": "taze -l",
+ "lint": "rslint && prettier -c \"*.{json,jsonc,md,yml,yaml,ts}\" \".vscode/*.json\" \"{rspack,rsbuild,rspress,rsdoctor,rslib,rstest}/**/*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}\"",
+ "lint:write": "rslint --fix && prettier -w \"*.{json,jsonc,md,yml,yaml,ts}\" \".vscode/*.json\" \"{rspack,rsbuild,rspress,rsdoctor,rslib,rstest}/**/*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}\"",
"prepare": "husky",
"sort-package-json": "npx sort-package-json \"rspack/*/package.json\" \"rsbuild/*/package.json\" \"rspress/*/package.json\" \"rsdoctor/*/package.json\" \"rslib/*/package.json\" \"rstest/*/package.json\"",
"test:rspack": "pnpm --filter \"@rspack-example/*\" --stream test",
"test:rstest": "pnpm --filter \"@rstest-example/*\" --stream test"
},
"lint-staged": {
- "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [
- "npx @biomejs/biome check --write --no-errors-on-unmatched"
+ "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx}": [
+ "rslint --fix",
+ "prettier --write"
+ ],
+ "*.{json,jsonc,md,mdx,yml,yaml,css,scss,less,html,vue}": [
+ "prettier --write"
]
},
"devDependencies": {
- "@biomejs/biome": "^2.4.13",
+ "@rslint/core": "^0.5.0",
"cross-env": "10.1.0",
"husky": "9.1.7",
"lint-staged": "16.4.0",
+ "prettier": "^3.8.3",
"taze": "^19.11.0"
},
"packageManager": "pnpm@10.33.2"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 84a015e53..ddb5957dc 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -9,9 +9,9 @@ importers:
.:
devDependencies:
- '@biomejs/biome':
- specifier: ^2.4.13
- version: 2.4.13
+ '@rslint/core':
+ specifier: ^0.5.0
+ version: 0.5.1(jiti@2.6.1)
cross-env:
specifier: 10.1.0
version: 10.1.0
@@ -21,6 +21,9 @@ importers:
lint-staged:
specifier: 16.4.0
version: 16.4.0
+ prettier:
+ specifier: ^3.8.3
+ version: 3.8.3
taze:
specifier: ^19.11.0
version: 19.11.0
@@ -1056,7 +1059,7 @@ importers:
version: 19.2.5(react@19.2.5)
storybook:
specifier: ^10.3.5
- version: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ version: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
storybook-addon-rslib:
specifier: ^3.3.3
version: 3.3.3(@rsbuild/core@2.0.1)(@rslib/core@0.21.3)(storybook-builder-rsbuild@3.3.3)(typescript@5.9.3)
@@ -1299,7 +1302,7 @@ importers:
version: 19.2.5(react@19.2.5)
storybook:
specifier: ^10.3.5
- version: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ version: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
storybook-addon-rslib:
specifier: ^3.3.3
version: 3.3.3(@rsbuild/core@1.7.5)(@rslib/core@0.21.3)(storybook-builder-rsbuild@3.3.3)(typescript@5.9.3)
@@ -1481,7 +1484,7 @@ importers:
version: 10.3.5(storybook@10.3.5)(vue@3.5.33)
storybook:
specifier: ^10.3.5
- version: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ version: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
storybook-addon-rslib:
specifier: ^3.3.3
version: 3.3.3(@rsbuild/core@1.7.5)(@rslib/core@0.21.3)(storybook-builder-rsbuild@3.3.3)(typescript@5.9.3)
@@ -4968,63 +4971,6 @@ packages:
resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==}
engines: {node: '>=6.9.0'}
- '@biomejs/biome@2.4.13':
- resolution: {integrity: sha512-gLXOwkOBBg0tr7bDsqlkIh4uFeKuMjxvqsrb1Tukww1iDmHcfr4Uu8MoQxp0Rcte+69+osRNWXwHsu/zxT6XqA==}
- engines: {node: '>=14.21.3'}
- hasBin: true
-
- '@biomejs/cli-darwin-arm64@2.4.13':
- resolution: {integrity: sha512-2KImO1jhNFBa2oWConyr0x6flxbQpGKv6902uGXpYM62Xyem8U80j441SyUJ8KyngsmKbQjeIv1q2CQfDkNnYg==}
- engines: {node: '>=14.21.3'}
- cpu: [arm64]
- os: [darwin]
-
- '@biomejs/cli-darwin-x64@2.4.13':
- resolution: {integrity: sha512-BKrJklbaFN4p1Ts4kPBczo+PkbsHQg57kmJ+vON9u2t6uN5okYHaSr7h/MutPCWQgg2lglaWoSmm+zhYW+oOkg==}
- engines: {node: '>=14.21.3'}
- cpu: [x64]
- os: [darwin]
-
- '@biomejs/cli-linux-arm64-musl@2.4.13':
- resolution: {integrity: sha512-U5MsuBQW25dXaYtqWWSPM3P96H6Y+fHuja3TQpMNnylocHW0tEbtFTDlUj6oM+YJLntvEkQy4grBvQNUD4+RCg==}
- engines: {node: '>=14.21.3'}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
- '@biomejs/cli-linux-arm64@2.4.13':
- resolution: {integrity: sha512-NzkUDSqfvMBrPplKgVr3aXLHZ2NEELvvF4vZxXulEylKWIGqlvNEcwUcj9OLrn75TD3lJ/GIqCVlBwd1MZCuYQ==}
- engines: {node: '>=14.21.3'}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
- '@biomejs/cli-linux-x64-musl@2.4.13':
- resolution: {integrity: sha512-Z601MienRgTBDza/+u2CH3RSrWoXo9rtr8NK6A4KJzqGgfxx+H3VlyLgTJ4sRo40T3pIsqpTmiOQEvYzQvBRvQ==}
- engines: {node: '>=14.21.3'}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
- '@biomejs/cli-linux-x64@2.4.13':
- resolution: {integrity: sha512-Az3ZZedYRBo9EQzNnD9SxFcR1G5QsGo6VEc2hIyVPZ1rdKwee/7E9oeBBZFpE8Z44ekxsDQBqbiWGW5ShOhUSQ==}
- engines: {node: '>=14.21.3'}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
- '@biomejs/cli-win32-arm64@2.4.13':
- resolution: {integrity: sha512-Px9PS2B5/Q183bUwy/5VHqp3J2lzdOCeVGzMpphYfl8oSa7VDCqenBdqWpy6DCy/en4Rbf/Y1RieZF6dJPcc9A==}
- engines: {node: '>=14.21.3'}
- cpu: [arm64]
- os: [win32]
-
- '@biomejs/cli-win32-x64@2.4.13':
- resolution: {integrity: sha512-tTcMkXyBrmHi9BfrD2VNHs/5rYIUKETqsBlYOvSAABwBkJhSDVb5e7wPukftsQbO3WzQkXe6kaztC6WtUOXSoQ==}
- engines: {node: '>=14.21.3'}
- cpu: [x64]
- os: [win32]
-
'@bufbuild/protobuf@2.9.0':
resolution: {integrity: sha512-rnJenoStJ8nvmt9Gzye8nkYd6V22xUAnu4086ER7h1zJ508vStko4pMvDeQ446ilDTFpV5wnoc5YS7XvMwwMqA==}
@@ -7172,6 +7118,45 @@ packages:
typescript:
optional: true
+ '@rslint/core@0.5.1':
+ resolution: {integrity: sha512-UGcalhkpNvm4zN7E2DiQsuwM10LMi3CazOiANVevf5hn+NB7WKEMWYKn3bFySptg7Ll042IKMUlIXaFQjWs9lQ==}
+ hasBin: true
+ peerDependencies:
+ jiti: ^2.0.0
+ peerDependenciesMeta:
+ jiti:
+ optional: true
+
+ '@rslint/darwin-arm64@0.5.1':
+ resolution: {integrity: sha512-grbPKhrRv0BTKvdByIIlS5avc4ttF9vylaStJh/TTYS96cTkjCcTv7RAUv/ZI3VSaSZdRBcW4f6wW9pPWpt41w==}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@rslint/darwin-x64@0.5.1':
+ resolution: {integrity: sha512-v7P5AYWzm4Xrly5nl5yXSAyHn6j9pwZyFFUTD9UCOodZMEVmBxW3WxdL9iq8PfnG5n8GXHqTqBSYwWfG1WWD0g==}
+ cpu: [x64]
+ os: [darwin]
+
+ '@rslint/linux-arm64@0.5.1':
+ resolution: {integrity: sha512-czDNVvgea0LpTlqaRvZHulJn8RmmDso2DufIWedxIA9yfK+nEK4H0tANNVQL4NBTHiv/6cqQw8NveP3KD5I93g==}
+ cpu: [arm64]
+ os: [linux]
+
+ '@rslint/linux-x64@0.5.1':
+ resolution: {integrity: sha512-D0isbtok26OSjSQkWDDfTWPLQDqrufbTbiihMFxkDlIRKDGcU9HvnfTlEmgnwzkxt6Jm7CBZZiXdFtyhPgnWEg==}
+ cpu: [x64]
+ os: [linux]
+
+ '@rslint/win32-arm64@0.5.1':
+ resolution: {integrity: sha512-XnU369fuTR9EqFhRMmbg+rHO3T/gwC+VV2AC1HAvZ62/pgNjFQmlK6IEsU293sgXHOUnRIQ6IsC9J0imyrCMXQ==}
+ cpu: [arm64]
+ os: [win32]
+
+ '@rslint/win32-x64@0.5.1':
+ resolution: {integrity: sha512-7++ELodvfVPFDSYEMVWb7OA+BD2JeONXtwXP/vmbrcawBTff7E/6VREB8dGPYCNh/ypBuSQ2WYXUtYAxQxwSiQ==}
+ cpu: [x64]
+ os: [win32]
+
'@rspack/binding-darwin-arm64@1.6.7':
resolution: {integrity: sha512-QiIAP8JTAtht0j8/xZZEQTJRB9e+KrOm9c7JJm73CewVg55rDWRrwopiVfBNlTu1coem1ztUHJYdQhg2uXfqww==}
cpu: [arm64]
@@ -12852,9 +12837,9 @@ packages:
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'}
- prettier@2.8.8:
- resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}
- engines: {node: '>=10.13.0'}
+ prettier@3.8.3:
+ resolution: {integrity: sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==}
+ engines: {node: '>=14'}
hasBin: true
pretty-bytes@5.6.0:
@@ -15374,7 +15359,7 @@ snapshots:
fzf: 0.5.2
package-manager-detector: 1.6.0
tinyexec: 1.1.1
- tinyglobby: 0.2.15
+ tinyglobby: 0.2.16
'@apideck/better-ajv-errors@0.3.6(ajv@8.12.0)':
dependencies:
@@ -17106,41 +17091,6 @@ snapshots:
'@babel/helper-string-parser': 7.27.1
'@babel/helper-validator-identifier': 7.28.5
- '@biomejs/biome@2.4.13':
- optionalDependencies:
- '@biomejs/cli-darwin-arm64': 2.4.13
- '@biomejs/cli-darwin-x64': 2.4.13
- '@biomejs/cli-linux-arm64': 2.4.13
- '@biomejs/cli-linux-arm64-musl': 2.4.13
- '@biomejs/cli-linux-x64': 2.4.13
- '@biomejs/cli-linux-x64-musl': 2.4.13
- '@biomejs/cli-win32-arm64': 2.4.13
- '@biomejs/cli-win32-x64': 2.4.13
-
- '@biomejs/cli-darwin-arm64@2.4.13':
- optional: true
-
- '@biomejs/cli-darwin-x64@2.4.13':
- optional: true
-
- '@biomejs/cli-linux-arm64-musl@2.4.13':
- optional: true
-
- '@biomejs/cli-linux-arm64@2.4.13':
- optional: true
-
- '@biomejs/cli-linux-x64-musl@2.4.13':
- optional: true
-
- '@biomejs/cli-linux-x64@2.4.13':
- optional: true
-
- '@biomejs/cli-win32-arm64@2.4.13':
- optional: true
-
- '@biomejs/cli-win32-x64@2.4.13':
- optional: true
-
'@bufbuild/protobuf@2.9.0': {}
'@csstools/color-helpers@6.0.2': {}
@@ -18349,7 +18299,7 @@ snapshots:
optionalDependencies:
'@module-federation/sdk': 2.3.3(node-fetch@2.7.0)
'@rsbuild/core': 2.0.1(@module-federation/runtime-tools@2.3.3)(core-js@3.49.0)
- storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
webpack: 5.102.1
webpack-virtual-modules: 0.6.2
transitivePeerDependencies:
@@ -18778,7 +18728,7 @@ snapshots:
dependencies:
'@types/estree': 1.0.8
estree-walker: 2.0.2
- picomatch: 4.0.3
+ picomatch: 4.0.4
optionalDependencies:
rollup: 2.80.0
@@ -18786,7 +18736,7 @@ snapshots:
dependencies:
'@types/estree': 1.0.8
estree-walker: 2.0.2
- picomatch: 4.0.3
+ picomatch: 4.0.4
optionalDependencies:
rollup: 4.46.2
@@ -19210,6 +19160,37 @@ snapshots:
- '@typescript/native-preview'
- core-js
+ '@rslint/core@0.5.1(jiti@2.6.1)':
+ dependencies:
+ picomatch: 4.0.4
+ tinyglobby: 0.2.15
+ optionalDependencies:
+ '@rslint/darwin-arm64': 0.5.1
+ '@rslint/darwin-x64': 0.5.1
+ '@rslint/linux-arm64': 0.5.1
+ '@rslint/linux-x64': 0.5.1
+ '@rslint/win32-arm64': 0.5.1
+ '@rslint/win32-x64': 0.5.1
+ jiti: 2.6.1
+
+ '@rslint/darwin-arm64@0.5.1':
+ optional: true
+
+ '@rslint/darwin-x64@0.5.1':
+ optional: true
+
+ '@rslint/linux-arm64@0.5.1':
+ optional: true
+
+ '@rslint/linux-x64@0.5.1':
+ optional: true
+
+ '@rslint/win32-arm64@0.5.1':
+ optional: true
+
+ '@rslint/win32-x64@0.5.1':
+ optional: true
+
'@rspack/binding-darwin-arm64@1.6.7':
optional: true
@@ -19814,7 +19795,7 @@ snapshots:
'@storybook/react-dom-shim': 10.3.5(react-dom@19.2.5)(react@19.2.5)(storybook@10.3.5)
react: 19.2.5
react-dom: 19.2.5(react@19.2.5)
- storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
ts-dedent: 2.2.0
transitivePeerDependencies:
- '@types/react'
@@ -19825,11 +19806,11 @@ snapshots:
'@storybook/addon-onboarding@10.3.5(storybook@10.3.5)':
dependencies:
- storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
'@storybook/csf-plugin@10.3.5(esbuild@0.28.0)(rollup@4.46.2)(storybook@10.3.5)(vite@7.1.1)(webpack@5.102.1)':
dependencies:
- storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
unplugin: 2.3.10
optionalDependencies:
esbuild: 0.28.0
@@ -19862,7 +19843,7 @@ snapshots:
dependencies:
react: 19.2.5
react-dom: 19.2.5(react@19.2.5)
- storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
'@storybook/react@10.3.5(react-dom@19.2.5)(react@19.2.5)(storybook@10.3.5)(typescript@5.9.3)':
dependencies:
@@ -19872,7 +19853,7 @@ snapshots:
react-docgen: 8.0.3
react-docgen-typescript: 2.4.0(typescript@5.9.3)
react-dom: 19.2.5(react@19.2.5)
- storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
optionalDependencies:
typescript: 5.9.3
transitivePeerDependencies:
@@ -19881,7 +19862,7 @@ snapshots:
'@storybook/vue3@10.3.5(storybook@10.3.5)(vue@3.5.33)':
dependencies:
'@storybook/global': 5.0.0
- storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
type-fest: 2.19.0
vue: 3.5.33(typescript@5.9.3)
vue-component-type-helpers: 3.2.7
@@ -22969,10 +22950,6 @@ snapshots:
dependencies:
reusify: 1.0.4
- fdir@6.5.0(picomatch@4.0.3):
- optionalDependencies:
- picomatch: 4.0.3
-
fdir@6.5.0(picomatch@4.0.4):
optionalDependencies:
picomatch: 4.0.4
@@ -26159,8 +26136,7 @@ snapshots:
prelude-ls@1.2.1: {}
- prettier@2.8.8:
- optional: true
+ prettier@3.8.3: {}
pretty-bytes@5.6.0: {}
@@ -27474,7 +27450,7 @@ snapshots:
process: 0.11.10
rsbuild-plugin-html-minifier-terser: 1.1.3(@rsbuild/core@1.7.5)
sirv: 2.0.4
- storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
ts-dedent: 2.2.0
url: 0.11.4
util: 0.12.5
@@ -27506,7 +27482,7 @@ snapshots:
process: 0.11.10
rsbuild-plugin-html-minifier-terser: 1.1.3(@rsbuild/core@2.0.1)
sirv: 2.0.4
- storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
ts-dedent: 2.2.0
url: 0.11.4
util: 0.12.5
@@ -27534,7 +27510,7 @@ snapshots:
react-docgen-typescript: 2.4.0(typescript@5.9.3)
react-dom: 19.2.5(react@19.2.5)
resolve: 1.22.11
- storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
storybook-builder-rsbuild: 3.3.3(@rsbuild/core@1.7.5)(@rspack/core@2.0.0)(react-dom@19.2.5)(react@19.2.5)(storybook@10.3.5)(typescript@5.9.3)(vite@7.1.1)
tsconfig-paths: 4.2.0
optionalDependencies:
@@ -27561,7 +27537,7 @@ snapshots:
react-docgen-typescript: 2.4.0(typescript@5.9.3)
react-dom: 19.2.5(react@19.2.5)
resolve: 1.22.11
- storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
storybook-builder-rsbuild: 3.3.3(@rsbuild/core@2.0.1)(@rspack/core@2.0.0)(react-dom@19.2.5)(react@19.2.5)(storybook@10.3.5)(typescript@5.9.3)(vite@7.1.1)
tsconfig-paths: 4.2.0
optionalDependencies:
@@ -27579,7 +27555,7 @@ snapshots:
dependencies:
'@rsbuild/core': 1.7.5
'@storybook/vue3': 10.3.5(storybook@10.3.5)(vue@3.5.33)
- storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5)
+ storybook: 10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5)
storybook-builder-rsbuild: 3.3.3(@rsbuild/core@1.7.5)(@rspack/core@2.0.0)(react-dom@19.2.5)(react@19.2.5)(storybook@10.3.5)(typescript@5.9.3)(vite@7.1.1)
vue: 3.5.33(typescript@5.9.3)
vue-docgen-api: 4.79.2(vue@3.5.33)
@@ -27596,7 +27572,7 @@ snapshots:
- vite
- webpack
- storybook@10.3.5(@testing-library/dom@10.4.1)(prettier@2.8.8)(react-dom@19.2.5)(react@19.2.5):
+ storybook@10.3.5(@testing-library/dom@10.4.1)(prettier@3.8.3)(react-dom@19.2.5)(react@19.2.5):
dependencies:
'@storybook/global': 5.0.0
'@storybook/icons': 2.0.1(react-dom@19.2.5)(react@19.2.5)
@@ -27612,7 +27588,7 @@ snapshots:
use-sync-external-store: 1.6.0(react@19.2.5)
ws: 8.20.0
optionalDependencies:
- prettier: 2.8.8
+ prettier: 3.8.3
transitivePeerDependencies:
- '@testing-library/dom'
- bufferutil
@@ -28097,8 +28073,8 @@ snapshots:
tinyglobby@0.2.15:
dependencies:
- fdir: 6.5.0(picomatch@4.0.3)
- picomatch: 4.0.3
+ fdir: 6.5.0(picomatch@4.0.4)
+ picomatch: 4.0.4
tinyglobby@0.2.16:
dependencies:
@@ -28366,11 +28342,11 @@ snapshots:
magic-string: 0.30.21
mlly: 1.8.0
pathe: 2.0.3
- picomatch: 4.0.3
+ picomatch: 4.0.4
pkg-types: 2.3.0
scule: 1.3.0
strip-literal: 3.1.0
- tinyglobby: 0.2.15
+ tinyglobby: 0.2.16
unplugin: 2.3.11
unplugin-utils: 0.3.1
@@ -28491,7 +28467,7 @@ snapshots:
unplugin-utils@0.3.1:
dependencies:
pathe: 2.0.3
- picomatch: 4.0.3
+ picomatch: 4.0.4
unplugin-vue-components@31.1.0(vue@3.5.33):
dependencies:
@@ -28517,20 +28493,20 @@ snapshots:
dependencies:
'@jridgewell/remapping': 2.3.5
acorn: 8.16.0
- picomatch: 4.0.3
+ picomatch: 4.0.4
webpack-virtual-modules: 0.6.2
unplugin@2.3.11:
dependencies:
'@jridgewell/remapping': 2.3.5
acorn: 8.16.0
- picomatch: 4.0.3
+ picomatch: 4.0.4
webpack-virtual-modules: 0.6.2
unplugin@3.0.0:
dependencies:
'@jridgewell/remapping': 2.3.5
- picomatch: 4.0.3
+ picomatch: 4.0.4
webpack-virtual-modules: 0.6.2
unraw@3.0.0: {}
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 8ce9505bd..10d6ebd08 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -1,10 +1,10 @@
packages:
- - "rspack/**"
- - "rsbuild/**"
- - "rslib/**"
- - "rspress/**"
- - "rsdoctor/**"
- - "rstest/**"
- - "!**/dist"
+ - 'rspack/**'
+ - 'rsbuild/**'
+ - 'rslib/**'
+ - 'rspress/**'
+ - 'rsdoctor/**'
+ - 'rstest/**'
+ - '!**/dist'
dedupePeers: true
diff --git a/rsbuild/express/server.mjs b/rsbuild/express/server.mjs
index aa784e78f..5e4eac4b4 100644
--- a/rsbuild/express/server.mjs
+++ b/rsbuild/express/server.mjs
@@ -1,5 +1,5 @@
-import express from "express";
-import { createRsbuild, loadConfig } from "@rsbuild/core";
+import express from 'express';
+import { createRsbuild, loadConfig } from '@rsbuild/core';
export async function startDevServer() {
const { content } = await loadConfig({});
diff --git a/rsbuild/fastify/server.mjs b/rsbuild/fastify/server.mjs
index f011e23cc..fe032fae2 100644
--- a/rsbuild/fastify/server.mjs
+++ b/rsbuild/fastify/server.mjs
@@ -1,5 +1,5 @@
-import Fastify from "fastify";
-import { createRsbuild, loadConfig } from "@rsbuild/core";
+import Fastify from 'fastify';
+import { createRsbuild, loadConfig } from '@rsbuild/core';
export async function startDevServer() {
const { content } = await loadConfig({});
@@ -11,7 +11,7 @@ export async function startDevServer() {
const fastify = Fastify();
- const middie = await import("@fastify/middie");
+ const middie = await import('@fastify/middie');
await fastify.register(middie);
diff --git a/rsbuild/react-eslint/.eslintrc.cjs b/rsbuild/react-eslint/.eslintrc.cjs
index 81b959450..3d50001d3 100644
--- a/rsbuild/react-eslint/.eslintrc.cjs
+++ b/rsbuild/react-eslint/.eslintrc.cjs
@@ -2,10 +2,10 @@ module.exports = {
root: true,
env: { browser: true, es2021: true },
extends: [
- "eslint:recommended",
- "plugin:@typescript-eslint/recommended",
- "plugin:react-hooks/recommended",
+ 'eslint:recommended',
+ 'plugin:@typescript-eslint/recommended',
+ 'plugin:react-hooks/recommended',
],
- ignorePatterns: ["dist", ".eslintrc.cjs"],
- parser: "@typescript-eslint/parser",
+ ignorePatterns: ['dist', '.eslintrc.cjs'],
+ parser: '@typescript-eslint/parser',
};
diff --git a/rsbuild/shadcn-ui/src/components/ui/button.tsx b/rsbuild/shadcn-ui/src/components/ui/button.tsx
index 0ecf8afbe..0390bf6a8 100644
--- a/rsbuild/shadcn-ui/src/components/ui/button.tsx
+++ b/rsbuild/shadcn-ui/src/components/ui/button.tsx
@@ -31,8 +31,7 @@ const buttonVariants = cva(
);
export interface ButtonProps
- extends React.ButtonHTMLAttributes