Some optimisations to the storybook (#3526)

* Some optimisations to the storybook

* Fixed merge artifact

Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
pull/3522/head
Alex van Andel 2022-07-26 15:05:11 +01:00 committed by GitHub
parent ef6ed6050b
commit 047d4a0773
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 12 deletions

View File

@ -12,7 +12,7 @@ module.exports = {
],
framework: "@storybook/react",
core: {
builder: "@storybook/builder-webpack5",
builder: "webpack5",
},
webpackFinal: async (config) => {
/**

View File

@ -29,10 +29,7 @@
"react": "18.1.0",
"react-dom": "18.1.0",
"react-feather": "^2.0.9",
"react-hot-toast": "^2.2.0",
"storybook-addon-designs": "^6.3.1",
"storybook-addon-next": "^1.6.7",
"storybook-addon-next-router": "^4.0.0"
"react-hot-toast": "^2.2.0"
},
"devDependencies": {
"@babel/core": "^7.18.6",
@ -55,6 +52,8 @@
"eslint": "^8.15.0",
"postcss": "^8.4.13",
"postcss-loader": "^7.0.0",
"storybook-addon-designs": "^6.3.1",
"storybook-addon-next": "^1.6.7",
"tailwindcss": "^3.1.3",
"tsconfig-paths-webpack-plugin": "^3.5.2",
"typescript": "^4.6.4"

View File

@ -21062,13 +21062,6 @@ storybook-addon-designs@^6.3.1:
dependencies:
"@figspec/react" "^1.0.0"
storybook-addon-next-router@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/storybook-addon-next-router/-/storybook-addon-next-router-4.0.0.tgz#d0719e6e27cbd2c374d23fad821157f2b053b045"
integrity sha512-zaEo/RI9IXzxlaiWeFBMBkjxYabLZGFibD82xH9AcKYcN/5yZq7VKo+NckMuTVu2WBaCUR4jA/O+ftcrQEvvfA==
dependencies:
tslib "^2.3.0"
storybook-addon-next@^1.6.7:
version "1.6.7"
resolved "https://registry.yarnpkg.com/storybook-addon-next/-/storybook-addon-next-1.6.7.tgz#f4b40bc8a6014e3b20508e31fec3f2e0d48379dd"