Skip to content

Commit

Permalink
chore: upgrade storybook to v8.0.10
Browse files Browse the repository at this point in the history
from v7.6.19

```
> npx storybook@latest upgrade --config-dir packages/components/.storybook
> npx storybook@latest automigrate --config-dir packages/icons/.storybook
> npx storybook@latest automigrate --config-dir libs/storybook-host/.storybook
```
  • Loading branch information
WilliamKelley committed May 8, 2024
1 parent 9eb778c commit 182fb95
Show file tree
Hide file tree
Showing 7 changed files with 2,996 additions and 2,214 deletions.
14 changes: 11 additions & 3 deletions libs/storybook-host/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@ import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import { mergeConfig } from 'vite';

const config: StorybookConfig = {
stories: ['../src/lib/**/*.stories.@(js|jsx|ts|tsx|mdx)'],
addons: ['@storybook/addon-essentials', '@storybook/addon-mdx-gfm'],
stories: ['../src/lib/**/*.@(mdx|stories.@(js|jsx|ts|tsx))'],
addons: [
'@storybook/addon-essentials',
'@storybook/addon-mdx-gfm',
'@chromatic-com/storybook',
],
framework: {
name: '@storybook/react-vite',
options: {},
options: {
builder: {
viteConfigPath: 'libs/storybook-host/vite.config.ts',
},
},
},
refs: {
components: {
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions libs/storybook-host/vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';

export default defineConfig({
plugins: [react()],
});
Loading

0 comments on commit 182fb95

Please sign in to comment.