Skip to content

Commit

Permalink
build(deps-dev): Bump Storybook to v7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
diogoredin committed Oct 12, 2023
1 parent fa03c3a commit 7779741
Show file tree
Hide file tree
Showing 3 changed files with 4,817 additions and 8,281 deletions.
12 changes: 12 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ module.exports = {
'../src/**/*.stories.@(ts|js|tsx)',
'../docs/**/*.stories.@(mdx|tsx)',
],

addons: ['@storybook/addon-essentials'],

typescript: {
check: true, // type-check stories during Storybook build
reactDocgen: 'none',
},

webpackFinal: async config => {
return {
...config,
Expand All @@ -24,4 +27,13 @@ module.exports = {
},
}
},

framework: {
name: '@storybook/react-webpack5',
options: {},
},

docs: {
autodocs: true,
},
}
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"dev-pack": "yarn build && cd dist && npm pack",
"prepublishOnly": "yarn build",
"prettier": "prettier \"**/*.+(js|jsx|json|yml|yaml|css|scss|ts|tsx|md|mdx|graphql)\"",
"storybook": "start-storybook -p 9001 -c .storybook",
"storybook": "storybook dev -p 6006",
"storybook:deploy": "storybook-to-ghpages",
"build-storybook": "build-storybook",
"build-storybook": "storybook build",
"format": "yarn prettier -- --write",
"validate": "yarn test && yarn prettier -- --list-different",
"semantic-release": "semantic-release"
Expand Down Expand Up @@ -77,8 +77,9 @@
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^23.0.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@storybook/addon-essentials": "^6.5.14",
"@storybook/react": "^6.5.13",
"@storybook/addon-essentials": "^7.4.1",
"@storybook/react": "^7.4.1",
"@storybook/react-webpack5": "^7.4.1",
"@storybook/storybook-deployer": "^2.8.16",
"@testing-library/dom": "^8.19.0",
"@testing-library/jest-dom": "^5.16.5",
Expand Down Expand Up @@ -115,9 +116,13 @@
"rollup-plugin-terser": "^7.0.2",
"semantic-release": "^21.0.9",
"size-limit": "^9.0.0",
"storybook": "^7.4.1",
"storybook-addon-theme-toggle": "^0.0.1",
"storybook-addon-themes": "^6.1.0",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
},
"resolutions": {
"jackspeak": "2.1.1"
}
}
Loading

0 comments on commit 7779741

Please sign in to comment.