Skip to content

Commit

Permalink
feat: storybook 8 support (#73)
Browse files Browse the repository at this point in the history
Before this fix, the dependencies were forcing old (v7) versions of builder-vite to be installed, which caused problems.
  • Loading branch information
literalpie authored Mar 9, 2024
1 parent d572f93 commit 61cf0bb
Show file tree
Hide file tree
Showing 5 changed files with 1,143 additions and 1,315 deletions.
10 changes: 5 additions & 5 deletions packages/qwik-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"devDependencies": {
"@builder.io/qwik": "1.4.1",
"@builder.io/qwik-city": "1.4.1",
"@storybook/addon-a11y": "7.6.16",
"@storybook/addon-essentials": "7.6.16",
"@storybook/addon-interactions": "7.6.16",
"@storybook/builder-vite": "7.6.16",
"@storybook/addon-a11y": "8.0.0-rc.1",
"@storybook/addon-essentials": "8.0.0-rc.1",
"@storybook/addon-interactions": "8.0.0-rc.1",
"@storybook/builder-vite": "8.0.0-rc.1",
"@storybook/jest": "0.2.3",
"@storybook/test-runner": "0.15.0",
"@types/eslint": "8.56.2",
Expand All @@ -44,7 +44,7 @@
"prettier": "3.2.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"storybook": "7.6.16",
"storybook": "8.0.0-rc.1",
"storybook-framework-qwik": "workspace:*",
"typescript": "5.3.3",
"undici": "6.6.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/qwik-app/src/components/header/header.docs.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Canvas, Meta, Story, ArgsTable } from "@storybook/blocks";
import { Header } from "./header.tsx";
import { Canvas, Meta } from "@storybook/blocks";
import * as HeaderStories from "./header.stories.tsx";

<Meta of={HeaderStories} />
Expand Down
10 changes: 5 additions & 5 deletions packages/qwik-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"devDependencies": {
"@builder.io/qwik": "1.4.1",
"@builder.io/qwik-city": "1.4.1",
"@storybook/addon-essentials": "7.6.16",
"@storybook/addon-interactions": "7.6.16",
"@storybook/addon-links": "7.6.16",
"@storybook/blocks": "7.6.16",
"@storybook/addon-essentials": "8.0.0-rc.1",
"@storybook/addon-interactions": "8.0.0-rc.1",
"@storybook/addon-links": "8.0.0-rc.1",
"@storybook/blocks": "8.0.0-rc.1",
"@storybook/testing-library": "^0.2.2",
"@types/eslint": "^8.56.2",
"@types/node": "^18.19.17",
Expand All @@ -56,7 +56,7 @@
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook": "7.6.16",
"storybook": "8.0.0-rc.1",
"storybook-framework-qwik": "workspace:*",
"typescript": "^5.3.3",
"undici": "^6.6.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/storybook-framework-qwik/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@
"fmt.check": "prettier --check ."
},
"dependencies": {
"@storybook/builder-vite": "^7.6.16",
"@storybook/docs-tools": "^7.6.16",
"@storybook/builder-vite": "^7.6.16 || ^8.0.0-rc.1",
"@storybook/docs-tools": "^7.6.16 || ^8.0.0-rc.1",
"magic-string": "^0.30.7",
"react-docgen-typescript": "^2.2.2"
},
Expand All @@ -95,7 +95,7 @@
"@builder.io/qwik-city": "1.4.1"
},
"devDependencies": {
"@storybook/types": "^7.6.16",
"@storybook/types": "^8.0.0-rc.1",
"@suin/semantic-release-yarn": "1.1.0",
"@types/node": "^18.19.17",
"semantic-release": "^22.0.12",
Expand Down
Loading

0 comments on commit 61cf0bb

Please sign in to comment.