Merge pull request #3583 from virtuoushub/virtuoushub/upgrade-storybook

feat(storybook): upgrade storybook and remove duplicate dependencies
This commit is contained in:
Patrik Oldsberg
2020-12-15 18:14:33 +01:00
committed by GitHub
4 changed files with 531 additions and 641 deletions
+1
View File
@@ -43,6 +43,7 @@
"version": "1.0.0",
"devDependencies": {
"@changesets/cli": "^2.11.0",
"@octokit/openapi-types": "^2.0.0",
"@spotify/eslint-config-oss": "^1.0.1",
"@spotify/prettier-config": "^8.0.0",
"command-exists": "^1.2.9",
+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = {
// Remove the default babel-loader for js files, we're using sucrase instead
const [jsLoader] = config.module.rules.splice(0, 1);
if (jsLoader.use[0].loader !== 'babel-loader') {
if (!jsLoader.use[0].loader.includes('babel-loader')) {
throw new Error(
`Unexpected loader removed from storybook config, ${jsLoader.use[0].loader}`,
);
+6 -6
View File
@@ -17,11 +17,11 @@
"@backstage/theme": "^0.2.0"
},
"devDependencies": {
"@storybook/addon-actions": "^6.0.21",
"@storybook/addon-links": "^6.0.21",
"@storybook/addon-storysource": "^6.0.21",
"@storybook/addons": "^6.0.21",
"@storybook/react": "^6.0.21",
"storybook-dark-mode": "^1.0.2"
"@storybook/addon-actions": "^6.1.11",
"@storybook/addon-links": "^6.1.11",
"@storybook/addon-storysource": "^6.1.11",
"@storybook/addons": "^6.1.11",
"@storybook/react": "^6.1.11",
"storybook-dark-mode": "^1.0.3"
}
}
+523 -634
View File
File diff suppressed because it is too large Load Diff