Skip to content

Commit

Permalink
Merge pull request #2 from somewonderfulguy/rollback-storybook
Browse files Browse the repository at this point in the history
Rollback storybook
  • Loading branch information
somewonderfulguy authored Apr 10, 2024
2 parents ef2e977 + 88ada9a commit 6d27723
Show file tree
Hide file tree
Showing 4 changed files with 1,863 additions and 1,241 deletions.
1 change: 0 additions & 1 deletion .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ const multiselect: AddonConfig = {
queryKey: 'test',
localStorageKey: 'test',
onChange: `(values, api) => {
console.log('onChange works', values)
const { emit } = api
emit('customEmit', values)
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"clean": "rimraf ./dist",
"prebuild": "yarn clean",
"build": "export NODE_OPTIONS=--max_old_space_size=9126 && tsup",
"build": "tsup",
"build:watch": "yarn build --watch",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "run-p build:watch storybook",
Expand All @@ -33,13 +33,13 @@
"format": "prettier --list-different --write ."
},
"devDependencies": {
"@storybook/addon-essentials": "^8.0.6",
"@storybook/addon-interactions": "^8.0.6",
"@storybook/addon-links": "^8.0.6",
"@storybook/addon-mdx-gfm": "^8.0.6",
"@storybook/react": "^8.0.6",
"@storybook/react-vite": "^8.0.6",
"@storybook/test": "^8.0.6",
"@storybook/addon-essentials": "^7.6.7",
"@storybook/addon-interactions": "^7.6.7",
"@storybook/addon-links": "^7.6.7",
"@storybook/addon-mdx-gfm": "7.6.7",
"@storybook/react": "^7.6.7",
"@storybook/react-vite": "^7.6.7",
"@storybook/testing-library": "^0.2.2",
"@types/node": "^18.15.0",
"@types/react": "^18.0.34",
"@vitejs/plugin-react": "^3.1.0",
Expand All @@ -56,7 +56,7 @@
"react-dom": "^18.0.0",
"react-error-boundary": "^4.0.10",
"rimraf": "^3.0.2",
"storybook": "^8.0.6",
"storybook": "^7.6.7",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vite": "^5.0.10",
Expand Down
2 changes: 1 addition & 1 deletion src/testComponents/Page/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 { within, userEvent } from '@storybook/test'
import { within, userEvent } from '@storybook/testing-library'

import Page from './Page'

Expand Down
Loading

0 comments on commit 6d27723

Please sign in to comment.