From 047d4a07731dfe4a5a1a703b06a47bdf6647b2b5 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Tue, 26 Jul 2022 15:05:11 +0100 Subject: [PATCH] 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> --- apps/storybook/.storybook/main.js | 2 +- apps/storybook/package.json | 7 +++---- yarn.lock | 7 ------- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/apps/storybook/.storybook/main.js b/apps/storybook/.storybook/main.js index 55a0703097..31885a65ff 100644 --- a/apps/storybook/.storybook/main.js +++ b/apps/storybook/.storybook/main.js @@ -12,7 +12,7 @@ module.exports = { ], framework: "@storybook/react", core: { - builder: "@storybook/builder-webpack5", + builder: "webpack5", }, webpackFinal: async (config) => { /** diff --git a/apps/storybook/package.json b/apps/storybook/package.json index c00e814d0d..85fac65d65 100644 --- a/apps/storybook/package.json +++ b/apps/storybook/package.json @@ -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" diff --git a/yarn.lock b/yarn.lock index ced93b522a..080c1f2b40 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"