Skip to content

Commit

Permalink
Merge pull request #9207 from bbc/storybook-upgrade
Browse files Browse the repository at this point in the history
Simorgh - Storybook Upgrade
  • Loading branch information
ryanmccombe authored Jul 7, 2021
2 parents 32a7708 + 70153b3 commit 541c1cd
Show file tree
Hide file tree
Showing 4 changed files with 1,196 additions and 182 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ simorgh.report.json
cypress/integration/123PlaygroundForTests/*
src/app/lib/config/services/*.test.js
.env
yarn-error.log
2 changes: 2 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ module.exports = {
'@storybook/addon-knobs',
'@storybook/addon-a11y',
'@storybook/addon-viewport',
'@storybook/addon-docs',
'@storybook/addon-controls',
],
webpackFinal: async config => {
config.plugins.push(
Expand Down
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@
"@emotion/sheet": "1.0.1",
"@emotion/utils": "1.0.0",
"moment": "2.29.1",
"ssri": "8.0.1",
"hosted-git-info": "3.0.8",
"postcss": "8.3.0",
"browserslist": "4.16.5",
"multicast-dns": "7.2.3",
"web-vitals": "1.1.1",
"ws": "7.4.6",
"trim-newlines": "3.0.1",
"css-what": "5.0.1",
"glob-parent": "5.1.2",
"prismjs": "1.24.0"
"prismjs": "1.24.0",
"trim": "0.0.3"
},
"scripts": {
"amp:validate": "wait-on -t 20000 http://localhost:7080/status && node ./scripts/ampHtmlValidator/cli.js",
Expand Down Expand Up @@ -171,9 +166,13 @@
"@emotion/jest": "11.3.0",
"@loadable/babel-plugin": "5.13.2",
"@loadable/webpack-plugin": "5.15.0",
"@storybook/addon-a11y": "6.3.1",
"@storybook/addon-controls": "6.3.1",
"@storybook/addon-docs": "6.3.1",
"@storybook/addon-knobs": "6.2.9",
"@storybook/react": "6.2.9",
"@storybook/theming": "6.2.9",
"@storybook/addon-viewport": "6.3.1",
"@storybook/react": "6.3.1",
"@storybook/theming": "6.3.1",
"@testing-library/dom": "7.31.0",
"@testing-library/jest-dom": "5.12.0",
"@testing-library/react": "11.2.7",
Expand Down
Loading

0 comments on commit 541c1cd

Please sign in to comment.