Skip to content

Commit

Permalink
Merge pull request #165 from storybookjs/use-preview-api
Browse files Browse the repository at this point in the history
Support Storybook 8
  • Loading branch information
JReinhold authored Feb 9, 2024
2 parents 11994eb + 7a12aa9 commit 65626fb
Show file tree
Hide file tree
Showing 8 changed files with 1,470 additions and 3,680 deletions.
5 changes: 4 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ const config: StorybookConfig = {
'@storybook/addon-essentials',
'@storybook/addon-interactions',
],
docs: {
autodocs: 'tag'
}
};
export default config;
export default config;
37 changes: 15 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
"types": "./dist/preset/index.d.ts",
"default": "./dist/preset/index.js"
},
"./manager": {
"types": "./dist/preset/manager.d.ts",
"default": "./dist/preset/manager.js"
},
"./package.json": "./package.json"
},
"files": [
Expand Down Expand Up @@ -57,23 +53,21 @@
},
"devDependencies": {
"@auto-it/released": "^10.32.6",
"@storybook/addon-actions": "^7.5.2",
"@storybook/addon-essentials": "^7.5.2",
"@storybook/addon-interactions": "^7.5.2",
"@storybook/client-api": "^7.5.2",
"@storybook/client-logger": "^7.5.2",
"@storybook/core-client": "^7.5.2",
"@storybook/core-server": "^7.5.2",
"@storybook/addon-actions": "^8.0.0-beta.1",
"@storybook/addon-essentials": "^8.0.0-beta.1",
"@storybook/addon-interactions": "^8.0.0-beta.1",
"@storybook/blocks": "^8.0.0-beta.1",
"@storybook/client-logger": "^8.0.0-beta.1",
"@storybook/components": "^8.0.0-beta.1",
"@storybook/csf": "^0.1.1",
"@storybook/eslint-config-storybook": "^3.1.2",
"@storybook/jest": "^0.1.0",
"@storybook/manager-api": "^7.5.2",
"@storybook/node-logger": "^7.5.2",
"@storybook/svelte": "^7.5.2",
"@storybook/svelte-vite": "^7.5.2",
"@storybook/test-runner": "^0.11.0",
"@storybook/testing-library": "^0.2.0",
"@storybook/types": "^7.5.2",
"@storybook/node-logger": "^8.0.0-beta.1",
"@storybook/preview-api": "^8.0.0-beta.1",
"@storybook/svelte": "^8.0.0-beta.1",
"@storybook/svelte-vite": "^8.0.0-beta.1",
"@storybook/test": "^8.0.0-beta.1",
"@storybook/theming": "^8.0.0-beta.1",
"@storybook/types": "^8.0.0-beta.1",
"@sveltejs/package": "^2.2.0",
"@sveltejs/vite-plugin-svelte": "^2.4.2",
"@tsconfig/svelte": "^5.0.0",
Expand All @@ -88,7 +82,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"storybook": "^7.5.2",
"storybook": "^8.0.0-beta.1",
"svelte": "^4.2.2",
"svelte-check": "^3.5.0",
"svelte-jester": "^2.3.2",
Expand All @@ -98,8 +92,7 @@
"vitest": "^0.33.0"
},
"peerDependencies": {
"@storybook/svelte": "^7.0.0",
"@storybook/theming": "^7.0.0",
"@storybook/svelte": "^7.0.0 || ^8.0.0 || ^8.0.0-beta.0",
"@sveltejs/vite-plugin-svelte": "^2.0.0 || ^3.0.0",
"svelte": "^4.0.0",
"svelte-loader": "^3.1.2",
Expand Down
Loading

0 comments on commit 65626fb

Please sign in to comment.