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 = {
|
const config: StorybookConfig = {
|
||||||
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
||||||
|
|
||||||
addons: [
|
addons: [
|
||||||
"@storybook/addon-links",
|
"@storybook/addon-links",
|
||||||
"@storybook/addon-essentials",
|
"@storybook/addon-essentials",
|
||||||
"@storybook/addon-onboarding",
|
|
||||||
"@storybook/addon-interactions"
|
"@storybook/addon-interactions"
|
||||||
],
|
],
|
||||||
|
|
||||||
framework: {
|
framework: {
|
||||||
name: "@storybook/react-vite",
|
name: "@storybook/react-vite",
|
||||||
options: {}
|
options: {}
|
||||||
},
|
},
|
||||||
docs: {
|
|
||||||
autodocs: "tag"
|
staticDirs: ["../public"],
|
||||||
},
|
|
||||||
staticDirs: ["../public"]
|
|
||||||
};
|
};
|
||||||
export default config;
|
export default config;
|
||||||
|
17
package.json
17
package.json
@ -23,14 +23,14 @@
|
|||||||
"react-dom": "^18.2.0"
|
"react-dom": "^18.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@storybook/addon-essentials": "^8.0.2",
|
"storybook": "^8.1.6",
|
||||||
"@storybook/addon-interactions": "^8.0.2",
|
"@storybook/addon-essentials": "^8.1.6",
|
||||||
"@storybook/addon-links": "^8.0.2",
|
"@storybook/addon-interactions": "^8.1.6",
|
||||||
"@storybook/addon-onboarding": "^8.0.2",
|
"@storybook/addon-links": "^8.1.6",
|
||||||
"@storybook/blocks": "^8.0.2",
|
"@storybook/blocks": "^8.1.6",
|
||||||
"@storybook/react": "^8.0.2",
|
"@storybook/react": "^8.1.6",
|
||||||
"@storybook/react-vite": "^8.0.2",
|
"@storybook/react-vite": "^8.1.6",
|
||||||
"@storybook/test": "^8.0.2",
|
"@storybook/test": "^8.1.6",
|
||||||
"@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",
|
||||||
@ -41,7 +41,6 @@
|
|||||||
"eslint-plugin-react-refresh": "^0.4.5",
|
"eslint-plugin-react-refresh": "^0.4.5",
|
||||||
"eslint-plugin-storybook": "^0.8.0",
|
"eslint-plugin-storybook": "^0.8.0",
|
||||||
"prettier": "3.3.1",
|
"prettier": "3.3.1",
|
||||||
"storybook": "^8.0.2",
|
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.2.2",
|
||||||
"vite": "^5.0.8"
|
"vite": "^5.0.8"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user