Skip to content

Commit

Permalink
upgrade storybook 6
Browse files Browse the repository at this point in the history
  • Loading branch information
freshollie committed Feb 28, 2024
1 parent 2700de9 commit 3a8b1c1
Show file tree
Hide file tree
Showing 3 changed files with 1,939 additions and 1,227 deletions.
3 changes: 3 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ module.exports = {
builder: "webpack5",
},
framework: "@storybook/react",
typescript: {
reactDocgen: "react-docgen-typescript-plugin",
},
webpackFinal: (config) => {
config.resolve.modules = [...(config.resolve.modules || []), "./src"];

Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,13 @@
"@graphql-codegen/typescript-apollo-client-helpers": "^2.1.8",
"@playwright-testing-library/test": "^4.0.1",
"@playwright/test": "^1.29.1",
"@storybook/addon-actions": "^6.4.9",
"@storybook/addon-docs": "^6.4.9",
"@storybook/addon-essentials": "^6.4.9",
"@storybook/addon-links": "^6.4.9",
"@storybook/builder-webpack5": "^6.4.9",
"@storybook/manager-webpack5": "^6.4.9",
"@storybook/react": "^6.4.9",
"@storybook/addon-actions": "6",
"@storybook/addon-docs": "6",
"@storybook/addon-essentials": "6",
"@storybook/addon-links": "6",
"@storybook/builder-webpack5": "6",
"@storybook/manager-webpack5": "6",
"@storybook/react": "6",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
Expand Down Expand Up @@ -212,6 +212,7 @@
"prettier": "^2.5.1",
"range-parser": "^1.2.1",
"react-dev-utils": "^11.0.4",
"react-docgen-typescript-plugin": "^1.0.5",
"react-svg-loader": "^3.0.3",
"serve": "^13.0.2",
"snapshot-diff": "0.9.0",
Expand Down
Loading

0 comments on commit 3a8b1c1

Please sign in to comment.