Upgrade to storybook 8 #526

This commit is contained in:
Joseph Garrone 2024-03-21 11:55:34 +01:00
parent 34072186f3
commit 5e27831edb
3 changed files with 824 additions and 1443 deletions

View file

@ -2,7 +2,6 @@ import type { Preview } from "@storybook/react";
const preview: Preview = { const preview: Preview = {
parameters: { parameters: {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: { controls: {
matchers: { matchers: {
color: /(background|color)$/i, color: /(background|color)$/i,

View file

@ -29,14 +29,14 @@
"zod": "^3.22.4" "zod": "^3.22.4"
}, },
"devDependencies": { "devDependencies": {
"@storybook/addon-essentials": "^7.6.14", "@storybook/addon-essentials": "^8.0.2",
"@storybook/addon-interactions": "^7.6.14", "@storybook/addon-interactions": "^8.0.2",
"@storybook/addon-links": "^7.6.14", "@storybook/addon-links": "^8.0.2",
"@storybook/addon-onboarding": "^1.0.11", "@storybook/addon-onboarding": "^8.0.2",
"@storybook/blocks": "^7.6.14", "@storybook/blocks": "^8.0.2",
"@storybook/react": "^7.6.14", "@storybook/react": "^8.0.2",
"@storybook/react-vite": "^7.6.14", "@storybook/react-vite": "^8.0.2",
"@storybook/test": "^7.6.14", "@storybook/test": "^8.0.2",
"@types/react": "^18.2.43", "@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17", "@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/eslint-plugin": "^6.14.0",
@ -45,8 +45,8 @@
"eslint": "^8.55.0", "eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5", "eslint-plugin-react-refresh": "^0.4.5",
"eslint-plugin-storybook": "^0.6.15", "eslint-plugin-storybook": "^0.8.0",
"storybook": "^7.6.14", "storybook": "^8.0.2",
"typescript": "^5.2.2", "typescript": "^5.2.2",
"vite": "^5.0.8", "vite": "^5.0.8",
"vite-plugin-commonjs": "^0.10.1" "vite-plugin-commonjs": "^0.10.1"

2246
yarn.lock

File diff suppressed because it is too large Load diff