Skip to content

Commit

Permalink
fix: Update storybook to v8
Browse files Browse the repository at this point in the history
  • Loading branch information
roderickhsiao committed Dec 14, 2024
1 parent 63e6f6f commit fcd5aa6
Show file tree
Hide file tree
Showing 3 changed files with 1,422 additions and 4,041 deletions.
6 changes: 5 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
module.exports = {
stories: ['../src/**/*.stories.tsx'],
addons: ['@storybook/addon-docs'],
addons: [
'@storybook/addon-docs',
'@storybook/addon-webpack5-compiler-babel',
'@chromatic-com/storybook'
],
framework: {
name: '@storybook/react-webpack5',
options: {}
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@
"@babel/plugin-transform-typescript": "^7.16.8",
"@babel/preset-env": "^7.24.5",
"@babel/preset-typescript": "^7.24.1",
"@storybook/addon-docs": "^7.0.0",
"@storybook/react": "^7.0.0",
"@storybook/react-webpack5": "^7.0.0",
"@chromatic-com/storybook": "^3",
"@storybook/addon-docs": "^8.4.7",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/react": "^8.4.7",
"@storybook/react-webpack5": "^8.4.7",
"@types/jest": "^29.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
Expand All @@ -67,7 +69,7 @@
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-test-renderer": "^18.0.0",
"storybook": "^7.0.0",
"storybook": "^8.4.7",
"ts-loader": "^9.2.8",
"typescript": "^5.0.0"
},
Expand All @@ -92,6 +94,5 @@
"path": "./dist/es/*.js",
"maxSize": "2 kB"
}
],
"dependencies": {}
]
}
Loading

0 comments on commit fcd5aa6

Please sign in to comment.