Skip to content

Commit

Permalink
use preview-api instead of client-api
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Jan 23, 2024
1 parent 63b7be9 commit a642183
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 21 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@
"@storybook/addon-actions": "^7.1.1",
"@storybook/addon-essentials": "^7.1.1",
"@storybook/addon-interactions": "^7.1.1",
"@storybook/client-api": "^7.1.1",
"@storybook/preview-api": "^7.1.1",
"@storybook/client-logger": "^7.1.1",
"@storybook/core-client": "^7.1.1",
"@storybook/core-server": "^7.1.1",
"@storybook/csf": "^0.1.1",
"@storybook/eslint-config-storybook": "^3.1.2",
Expand Down
33 changes: 15 additions & 18 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/parser/collect-stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import RegisterContext from '../components/RegisterContext.svelte';
import RenderContext from '../components/RenderContext.svelte';
import { combineParameters } from '@storybook/client-api';
import { combineParameters } from '@storybook/preview-api';
import { extractId } from './extract-id.js';
import { logger } from '@storybook/client-logger';

Expand Down

0 comments on commit a642183

Please sign in to comment.