Skip to content

Commit

Permalink
build: ⬆️ Update Storybook to 8.1.3 (#2072)
Browse files Browse the repository at this point in the history
  • Loading branch information
mimarz authored May 27, 2024
1 parent 1e5c966 commit 8bb8ee9
Show file tree
Hide file tree
Showing 3 changed files with 849 additions and 1,180 deletions.
13 changes: 5 additions & 8 deletions apps/storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import { dirname, join, resolve } from 'path';
import type { StorybookConfig } from '@storybook/react-vite';

const config: StorybookConfig = {
docs: {
autodocs: true,
},
typescript: {
reactDocgen: 'react-docgen-typescript',
},
Expand Down Expand Up @@ -33,13 +30,13 @@ const config: StorybookConfig = {
},
},
getAbsolutePath('@storybook/addon-mdx-gfm'),
'@chromatic-com/storybook',
getAbsolutePath('@chromatic-com/storybook'),
],
core: {
builder: '@storybook/builder-vite', // 👈 The builder enabled here.
},
staticDirs: ['./assets'],
framework: getAbsolutePath('@storybook/react-vite'),
framework: {
name: '@storybook/react-vite',
options: {},
},
async viteFinal(config) {
// Merge custom configuration into the default config
const { mergeConfig } = await import('vite');
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@
"@babel/preset-env": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.23.3",
"@chromatic-com/storybook": "^1.3.3",
"@chromatic-com/storybook": "^1.4.0",
"@next/eslint-plugin-next": "^14.0.4",
"@prettier/sync": "^0.5.2",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@storybook/addon-a11y": "^8.0.9",
"@storybook/addon-essentials": "^8.0.9",
"@storybook/addon-interactions": "^8.0.9",
"@storybook/addon-links": "^8.0.9",
"@storybook/addon-mdx-gfm": "^8.0.9",
"@storybook/blocks": "^8.0.9",
"@storybook/react": "^8.0.9",
"@storybook/react-vite": "^8.0.9",
"@storybook/theming": "^8.0.9",
"@storybook/addon-a11y": "^8.1.3",
"@storybook/addon-essentials": "^8.1.3",
"@storybook/addon-interactions": "^8.1.3",
"@storybook/addon-links": "^8.1.3",
"@storybook/addon-mdx-gfm": "^8.1.3",
"@storybook/blocks": "^8.1.3",
"@storybook/react": "^8.1.3",
"@storybook/react-vite": "^8.1.3",
"@storybook/theming": "^8.1.3",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
Expand Down Expand Up @@ -92,7 +92,7 @@
"rollup": "^4.12.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"storybook": "^8.0.9",
"storybook": "^8.1.3",
"storybook-css-modules": "^1.0.8",
"stylelint": "^16.0.2",
"stylelint-config-css-modules": "^4.4.0",
Expand Down
Loading

0 comments on commit 8bb8ee9

Please sign in to comment.