Skip to content

Commit

Permalink
chore(deps): add storybook measure addon
Browse files Browse the repository at this point in the history
  • Loading branch information
MFarabi619 committed Sep 14, 2024
1 parent d130a64 commit a6dfb3a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions libs/storybook-host/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'
import { mergeConfig } from 'vite'

const config: StorybookConfig = {
// Pick up any files ending in .mdx, or stories.{js,jsx,ts,tsx} as stories
stories: ['../src/**/*.@(mdx|stories.@(js|jsx|ts|tsx))'],
// Did not use @storybook/addon-essentials due to lack of toolbar ordering API
addons: [
'@storybook/addon-essentials',
// Ruler
'@storybook/addon-measure',
// '@storybook/addon-essentials',
'@storybook/addon-interactions',
'@chromatic-com/storybook',
],

framework: {
name: '@storybook/react-vite',
options: {},
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@remix-run/node": "^2.8.1",
"@remix-run/react": "^2.8.1",
"@remix-run/serve": "^2.8.1",
"@storybook/addon-measure": "^8.3.0",
"fumadocs-core": "^13.0.4",
"fumadocs-docgen": "^1.1.0",
"fumadocs-mdx": "^9.0.0",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a6dfb3a

Please sign in to comment.