From 958db856da729e193108b1d67763e8611b7bc907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sami=20M=C3=A4kinen?= Date: Tue, 3 Sep 2024 11:58:01 +0300 Subject: [PATCH] Remove storybook for now as it doesnt work properly with other dependency updates --- .storybook/README.md | 5 +++++ package.json | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .storybook/README.md diff --git a/.storybook/README.md b/.storybook/README.md new file mode 100644 index 0000000000..ea5da22ed3 --- /dev/null +++ b/.storybook/README.md @@ -0,0 +1,5 @@ +This config is for `"@storybook/react": "6.3.7"` but after other dependency updates, running storybook no longer works properly. Newer version of storybook uses webpack 5 while we are still using webpack 4. + +When we have time we should make it work and generate a gallery to show available UI components on oskari.org. + +As for now, since it doesn't work currently, it's easier to just remove the dependency as it flags vulnerable dependencies even when its not used. diff --git a/package.json b/package.json index 59c584222d..cc3e7c01e9 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,6 @@ "@babel/preset-react": "7.24.7", "@babel/runtime-corejs3": "7.25.0", "@cesium/engine": "10.1.0", - "@storybook/react": "6.3.7", "@testing-library/jest-dom": "5.7.0", "@testing-library/react": "12.1.5", "@testing-library/user-event": "14.4.3",