Skip to content

Commit

Permalink
refactor: update storybook:^7.5.3, addon-knobs:^7.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mdalpozzo committed May 31, 2024
1 parent 03913b2 commit 1576f25
Show file tree
Hide file tree
Showing 3 changed files with 5,967 additions and 6,150 deletions.
11 changes: 10 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = {
'../src/**/*.stories.{js,tsx}',
'./stories/More.stories.js',
],

addons: [
{
name: '@storybook/addon-essentials',
Expand Down Expand Up @@ -32,5 +33,13 @@ module.exports = {
},
},
],
framework: '@storybook/react',

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

docs: {
autodocs: true
}
};
24 changes: 13 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"format:fix": "prettier --write src",
"test": "jest --coverage",
"test:watch": "jest --watch",
"start": "start-storybook -p 6006",
"docs": "build-storybook -o docs",
"start": "storybook dev -p 6006",
"docs": "storybook build -o docs",
"version": "yarn docs && git add -A docs",
"clean": "rm -rf esm lib",
"dist:types": "tsc --project tsconfig.build.json",
Expand Down Expand Up @@ -91,15 +91,16 @@
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@jest/types": "^27.5.1",
"@storybook/addon-a11y": "^6.3.11",
"@storybook/addon-actions": "^6.3.11",
"@storybook/addon-essentials": "^6.3.11",
"@storybook/addon-knobs": "^6.3.1",
"@storybook/addon-links": "^6.3.11",
"@storybook/addon-storysource": "^6.3.11",
"@storybook/addon-viewport": "^6.3.11",
"@storybook/addons": "^6.3.11",
"@storybook/react": "^6.3.11",
"@storybook/addon-a11y": "^7.5.3",
"@storybook/addon-actions": "^7.5.3",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-knobs": "^7.1.1",
"@storybook/addon-links": "^7.5.3",
"@storybook/addon-storysource": "^7.5.3",
"@storybook/addon-viewport": "^7.5.3",
"@storybook/addons": "^7.5.3",
"@storybook/react": "^7.5.3",
"@storybook/react-webpack5": "^7.5.3",
"@testing-library/dom": "^8.13.0",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^11.2.6",
Expand Down Expand Up @@ -151,6 +152,7 @@
"react-dom": "^16.14.0",
"regenerator-runtime": "^0.13.7",
"sinon": "^9.2.1",
"storybook": "^7.5.3",
"ts-node": "^10.7.0",
"typescript": "^4.6.3",
"uncontrollable": "^4.1.0"
Expand Down
Loading

0 comments on commit 1576f25

Please sign in to comment.