Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
felicio committed Oct 29, 2024
1 parent 18c8934 commit f3f47cc
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"typecheck": "turbo run typecheck",
"format": "prettier --ignore-path .gitignore --write .",
"clean": "turbo run clean && rimraf node_modules",
"storybook": "pnpm --workspace @status-im/components storybook"
"storybook": "pnpm --filter @status-im/components storybook"
},
"resolutions": {
"@types/react": "18.0.33",
Expand Down
3 changes: 3 additions & 0 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
},
"devDependencies": {
"@status-im/eslint-config": "workspace:*",
"@storybook/addon-actions": "^8.3.0",
"@storybook/addon-designs": "^8.0.3",
"@storybook/addon-essentials": "^8.3.0",
"@storybook/addon-interactions": "^8.3.0",
Expand All @@ -73,6 +74,8 @@
"@storybook/react": "^8.3.0",
"@storybook/react-vite": "^8.3.0",
"@storybook/testing-library": "^0.2.2",
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react-swc": "^3.7.0",
"autoprefixer": "^10.4.16",
"eslint-plugin-tailwindcss": "^3.17.4",
Expand Down
8 changes: 6 additions & 2 deletions packages/components/src/toast/toast.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ const Actions = () => {
)
}

const meta = {
/**
* > error TS2742: The inferred type of 'meta' cannot be named without a reference to '.pnpm/@[email protected]/node_modules/@storybook/csf'. This is likely not portable. A type annotation is necessary.
* > – @see https://github.com/storybookjs/storybook/issues/24656
*/
const meta: Meta<typeof Toast> = {
component: Toast,
title: 'Components/Toast',
parameters: {
Expand Down Expand Up @@ -75,7 +79,7 @@ const meta = {
</>
),
],
} satisfies Meta<typeof Toast>
}

type Story = StoryObj<typeof Toast>

Expand Down
19 changes: 10 additions & 9 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 f3f47cc

Please sign in to comment.