Skip to content

Commit

Permalink
Update to Storybook 8.2.9 and clean up some unneeded things
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Sep 6, 2024
1 parent 06b1103 commit 58cc32f
Show file tree
Hide file tree
Showing 3 changed files with 2,207 additions and 1,105 deletions.
17 changes: 2 additions & 15 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,17 @@ const configFileMap = {

const config: StorybookConfig = {
addons: [
{
name: "@storybook/addon-essentials",
options: {
backgrounds: false,
viewport: false,
},
},
"@storybook/addon-interactions",
"@storybook/addon-designs",
"@storybook/addon-mdx-gfm",
{
name: useDistVersion ? "../dist/preset.js" : "../src/dev.ts",
options: {
configFile: configFileMap[CHROMATIC_BASE_URL || '"https://www.chromatic.com"'],
},
},
"@storybook/addon-mdx-gfm",
],
docs: {
autodocs: "tag",
},
framework: {
name: "@storybook/react-vite",
options: {},
},
framework: "@storybook/react-vite",
logLevel: "debug",
staticDirs: ["../public"],
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,24 @@
"strip-ansi": "^7.1.0"
},
"peerDependencies": {
"storybook": "~8.2.0-beta.0 || ^8.2.0"
"storybook": "^8.2.0"
},
"devDependencies": {
"@emotion/weak-memoize": "^0.3.1",
"@graphql-codegen/cli": "^4.0.1",
"@graphql-codegen/client-preset": "^4.0.1",
"@graphql-typed-document-node/core": "^3.2.0",
"@storybook/addon-actions": "~8.2.0-beta.0",
"@storybook/addon-designs": "^8.0.0",
"@storybook/addon-essentials": "~8.2.0-beta.0",
"@storybook/addon-interactions": "~8.2.0-beta.0",
"@storybook/addon-mdx-gfm": "~8.2.0-beta.0",
"@storybook/blocks": "~8.2.0-beta.0",
"@storybook/eslint-config-storybook": "^3.1.2",
"@storybook/icons": "^1.2.8",
"@storybook/react": "~8.2.0-beta.0",
"@storybook/react-vite": "~8.2.0-beta.0",
"@storybook/test": "~8.2.0-beta.0",
"@storybook/addon-actions": "^8.2.9",
"@storybook/addon-designs": "^8.0.3",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/addon-mdx-gfm": "^8.2.9",
"@storybook/blocks": "^8.2.9",
"@storybook/eslint-config-storybook": "^4.0.0",
"@storybook/icons": "^1.2.10",
"@storybook/react": "^8.2.9",
"@storybook/react-vite": "^8.2.9",
"@storybook/test": "^8.2.9",
"@storybook/testing-library": "^0.2.2",
"@types/jsonfile": "^6.1.1",
"@types/node": "^18.15.0",
Expand All @@ -95,10 +95,10 @@
"eslint": "^8.42.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-storybook": "^0.8.0",
"graphql": "^16.8.1",
"msw": "^2.0.0",
"msw-storybook-addon": "^2.0.2",
"msw-storybook-addon": "^2.0.3",
"npm-run-all": "^4.1.5",
"pluralize": "^8.0.0",
"polished": "^4.2.2",
Expand All @@ -109,7 +109,7 @@
"react-dom": "^16.14.0",
"react-joyride": "^2.7.2",
"rimraf": "^3.0.2",
"storybook": "^8.2.0-beta.0",
"storybook": "^8.2.9",
"ts-dedent": "^2.2.0",
"tsup": "^6.6.3",
"typescript": "^4.9.5",
Expand Down
Loading

0 comments on commit 58cc32f

Please sign in to comment.