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

chore: upgrading storybook to 8.1.2 #690

Merged
merged 2 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 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,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


typescript: {
reactDocgen: 'react-docgen-typescript',
},

docs: {}
};
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']
Copy link
Collaborator Author

@georgewrmarshall georgewrmarshall May 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

};

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.2",
"@storybook/addon-interactions": "^8.1.2",
"@storybook/addon-links": "^8.1.2",
"@storybook/blocks": "^8.1.2",
"@storybook/react": "^8.1.2",
"@storybook/react-vite": "^8.1.2",
"@storybook/test": "^8.1.2",
"@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.2",
"ts-jest": "^28.0.7",
"ts-node": "^10.7.0",
"tsup": "^7.2.0",
Expand Down
Loading