chore: improve storybook (#27111)

This commit is contained in:
非法操作
2025-10-20 10:17:17 +08:00
committed by GitHub
parent 7e9be4d3d9
commit dc1a380888
8 changed files with 974 additions and 762 deletions

View File

@@ -142,7 +142,7 @@
"devDependencies": {
"@antfu/eslint-config": "^5.0.0",
"@babel/core": "^7.28.3",
"@chromatic-com/storybook": "^3.1.0",
"@chromatic-com/storybook": "^4.1.1",
"@eslint-react/eslint-plugin": "^1.15.0",
"@happy-dom/jest-environment": "^20.0.2",
"@mdx-js/loader": "^3.1.0",
@@ -151,14 +151,12 @@
"@next/eslint-plugin-next": "15.5.4",
"@next/mdx": "15.5.4",
"@rgrove/parse-xml": "^4.1.0",
"@storybook/addon-essentials": "8.5.0",
"@storybook/addon-interactions": "8.5.0",
"@storybook/addon-links": "8.5.0",
"@storybook/addon-onboarding": "8.5.0",
"@storybook/addon-themes": "8.5.0",
"@storybook/nextjs": "8.5.0",
"@storybook/react": "8.5.0",
"@storybook/test": "8.5.0",
"@storybook/addon-docs": "9.1.13",
"@storybook/addon-links": "9.1.13",
"@storybook/addon-onboarding": "9.1.13",
"@storybook/addon-themes": "9.1.13",
"@storybook/nextjs": "9.1.13",
"@storybook/react": "9.1.13",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.0.1",
@@ -186,7 +184,7 @@
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.19",
"eslint-plugin-sonarjs": "^3.0.2",
"eslint-plugin-storybook": "^9.0.7",
"eslint-plugin-storybook": "^9.1.13",
"eslint-plugin-tailwindcss": "^3.18.0",
"globals": "^15.11.0",
"husky": "^9.1.6",
@@ -197,7 +195,7 @@
"magicast": "^0.3.4",
"postcss": "^8.4.47",
"sass": "^1.92.1",
"storybook": "8.5.0",
"storybook": "9.1.13",
"tailwindcss": "^3.4.14",
"typescript": "^5.8.3",
"uglify-js": "^3.19.3"
@@ -243,7 +241,8 @@
"object.fromentries": "npm:@nolyfill/object.fromentries@^1",
"object.groupby": "npm:@nolyfill/object.groupby@^1",
"object.values": "npm:@nolyfill/object.values@^1",
"safe-buffer": "npm:@nolyfill/safe-buffer@^1",
"safe-buffer": "^5.2.1",
"@nolyfill/safe-buffer": "npm:safe-buffer@^5.2.1",
"safe-regex-test": "npm:@nolyfill/safe-regex-test@^1",
"safer-buffer": "npm:@nolyfill/safer-buffer@^1",
"side-channel": "npm:@nolyfill/side-channel@^1",