Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
chore: upgrading storybook to 8.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewrmarshall committed May 16, 2024
1 parent 6718d92 commit 0e92533
Show file tree
Hide file tree
Showing 4 changed files with 974 additions and 444 deletions.
11 changes: 8 additions & 3 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const config: StorybookConfig = {
// All other stories here
'../**/*.stories.@(js|jsx|mjs|ts|tsx)',
],

addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
Expand All @@ -25,12 +26,16 @@ const config: StorybookConfig = {
},
},
],

framework: {
name: '@storybook/react-vite',
options: {},
},
docs: {
autodocs: true,
},

docs: {},

typescript: {
reactDocgen: 'react-docgen-typescript'
}
};
export default config;
2 changes: 2 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ const preview: Preview = {
],
},
},

tags: ['autodocs']
};

export default preview;
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,21 @@
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@chromatic-com/storybook": "^1.3.3",
"@chromatic-com/storybook": "^1.4.0",
"@lavamoat/allow-scripts": "^3.0.4",
"@lavamoat/preinstall-always-fail": "^2.0.0",
"@metamask/auto-changelog": "^3.4.3",
"@metamask/eslint-config": "^12.2.0",
"@metamask/eslint-config-jest": "^12.1.0",
"@metamask/eslint-config-nodejs": "^12.1.0",
"@metamask/eslint-config-typescript": "^12.1.0",
"@storybook/addon-essentials": "^8.0.9",
"@storybook/addon-interactions": "^8.0.9",
"@storybook/addon-links": "^8.0.9",
"@storybook/blocks": "^8.0.9",
"@storybook/react": "^8.0.9",
"@storybook/react-vite": "^8.0.9",
"@storybook/test": "^8.0.9",
"@storybook/addon-essentials": "^8.1.1",
"@storybook/addon-interactions": "^8.1.1",
"@storybook/addon-links": "^8.1.1",
"@storybook/blocks": "^8.1.1",
"@storybook/react": "^8.1.1",
"@storybook/react-vite": "^8.1.1",
"@storybook/test": "^8.1.1",
"@types/babel__core": "^7",
"@types/jest": "^28.1.6",
"@types/node": "^18",
Expand Down Expand Up @@ -100,7 +100,7 @@
"react-dom": "^18.3.1",
"remark-gfm": "^4.0.0",
"sass": "^1.75.0",
"storybook": "^8.0.9",
"storybook": "^8.1.1",
"ts-jest": "^28.0.7",
"ts-node": "^10.7.0",
"tsup": "^7.2.0",
Expand Down
Loading

0 comments on commit 0e92533

Please sign in to comment.