Skip to content

Commit

Permalink
Update Storybook to ^8.4.5 (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding authored Nov 27, 2024
1 parent ec0f7c3 commit 4c8c284
Show file tree
Hide file tree
Showing 7 changed files with 1,078 additions and 6,804 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@changesets/cli": "^2.25.2",
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"@vitejs/plugin-react": "^4.0.0",
"react": "^18.0.0",
"typescript": "^4.3.0",
"unbuild": "^2.0.0",
Expand Down
3 changes: 0 additions & 3 deletions playground/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ const config: StorybookConfig = {
name: getAbsolutePath("@storybook/react-vite"),
options: {},
},
docs: {
autodocs: "tag",
},
typescript: {
reactDocgen: "react-docgen-typescript",
},
Expand Down
1 change: 0 additions & 1 deletion playground/.storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { Preview } from "@storybook/react";

const preview: Preview = {
parameters: {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
Expand Down
18 changes: 9 additions & 9 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"url": "https://github.com/joshwooding/vite-plugin-react-docgen-typescript.git"
},
"dependencies": {
"@storybook/addon-essentials": "7.4.6",
"@storybook/addon-interactions": "7.4.6",
"@storybook/addon-links": "7.4.6",
"@storybook/addon-onboarding": "1.0.8",
"@storybook/blocks": "7.4.6",
"@storybook/react": "7.4.6",
"@storybook/react-vite": "7.4.6",
"@storybook/testing-library": "0.2.2",
"@storybook/addon-essentials": "^8.4.5",
"@storybook/addon-interactions": "^8.4.5",
"@storybook/addon-links": "^8.4.5",
"@storybook/addon-onboarding": "^8.4.5",
"@storybook/blocks": "^8.4.5",
"@storybook/react": "^8.4.5",
"@storybook/react-vite": "^8.4.5",
"@storybook/test": "8.4.5",
"react-dom": "18.2.0",
"storybook": "7.4.6"
"storybook": "^8.4.5"
},
"private": true
}
2 changes: 1 addition & 1 deletion playground/stories/Page.stories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import { userEvent, within } from "@storybook/testing-library";
import { userEvent, within } from "@storybook/test";

import { Page } from "./Page";

Expand Down
6 changes: 6 additions & 0 deletions playground/vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";

export default defineConfig({
plugins: [react()],
});
Loading

0 comments on commit 4c8c284

Please sign in to comment.