update storybook
This commit is contained in:
parent
efa0c0113b
commit
b3c906f628
|
@ -2,19 +2,18 @@ import type { StorybookConfig } from "@storybook/react-vite";
|
|||
|
||||
const config: StorybookConfig = {
|
||||
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
||||
|
||||
addons: [
|
||||
"@storybook/addon-links",
|
||||
"@storybook/addon-essentials",
|
||||
"@storybook/addon-onboarding",
|
||||
"@storybook/addon-interactions"
|
||||
],
|
||||
|
||||
framework: {
|
||||
name: "@storybook/react-vite",
|
||||
options: {}
|
||||
},
|
||||
docs: {
|
||||
autodocs: "tag"
|
||||
},
|
||||
staticDirs: ["../public"]
|
||||
|
||||
staticDirs: ["../public"],
|
||||
};
|
||||
export default config;
|
||||
|
|
19
package.json
19
package.json
|
@ -23,14 +23,14 @@
|
|||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-essentials": "^8.0.2",
|
||||
"@storybook/addon-interactions": "^8.0.2",
|
||||
"@storybook/addon-links": "^8.0.2",
|
||||
"@storybook/addon-onboarding": "^8.0.2",
|
||||
"@storybook/blocks": "^8.0.2",
|
||||
"@storybook/react": "^8.0.2",
|
||||
"@storybook/react-vite": "^8.0.2",
|
||||
"@storybook/test": "^8.0.2",
|
||||
"storybook": "^8.1.6",
|
||||
"@storybook/addon-essentials": "^8.1.6",
|
||||
"@storybook/addon-interactions": "^8.1.6",
|
||||
"@storybook/addon-links": "^8.1.6",
|
||||
"@storybook/blocks": "^8.1.6",
|
||||
"@storybook/react": "^8.1.6",
|
||||
"@storybook/react-vite": "^8.1.6",
|
||||
"@storybook/test": "^8.1.6",
|
||||
"@types/react": "^18.2.43",
|
||||
"@types/react-dom": "^18.2.17",
|
||||
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
||||
|
@ -41,7 +41,6 @@
|
|||
"eslint-plugin-react-refresh": "^0.4.5",
|
||||
"eslint-plugin-storybook": "^0.8.0",
|
||||
"prettier": "3.3.1",
|
||||
"storybook": "^8.0.2",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.0.8"
|
||||
},
|
||||
|
@ -49,4 +48,4 @@
|
|||
"resolutions": {
|
||||
"jackspeak": "2.1.1"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue