Skip to content

Commit

Permalink
chore: move storybook deps to dev deps
Browse files Browse the repository at this point in the history
Since we use storybooks only locally for now, move them to the
development dependencies rather than dependencies required for the
production run of the dashboard.

AI from vulnerability report from MP+.

Signed-off-by: Matej Focko <[email protected]>
  • Loading branch information
mfocko committed Sep 4, 2023
1 parent 286ae01 commit 2f8bdf3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
"@patternfly/react-log-viewer": "^4.87.100",
"@patternfly/react-styles": "^4.92.6",
"@patternfly/react-table": "^4.113.0",
"@storybook/components": "^7.0.24",
"@storybook/core-events": "^7.0.24",
"@storybook/manager-api": "^7.0.24",
"@storybook/preview-api": "^7.0.24",
"@storybook/theming": "^7.0.24",
"@storybook/types": "^7.0.24",
"@tanstack/react-query": "^4.29.7",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.16.5",
Expand All @@ -27,7 +21,6 @@
"@vitejs/plugin-react": "^4.0.1",
"eslint": "^8.43.0",
"msw": "^1.2.1",
"msw-storybook-addon": "^1.8.0",
"prettier": "^2.8.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down Expand Up @@ -102,12 +95,19 @@
"@storybook/addon-links": "^7.0.9",
"@storybook/blocks": "^7.0.18",
"@storybook/builder-vite": "^7.0.18",
"@storybook/components": "^7.4.0",
"@storybook/core-events": "^7.4.0",
"@storybook/manager-api": "^7.4.0",
"@storybook/node-logger": "^7.0.9",
"@storybook/preview-api": "^7.4.0",
"@storybook/react": "^7.0.9",
"@storybook/react-vite": "^7.0.18",
"@storybook/testing-library": "^0.1.0",
"@storybook/theming": "^7.4.0",
"@storybook/types": "^7.4.0",
"babel-plugin-named-exports-order": "^0.0.2",
"eslint-plugin-storybook": "^0.6.12",
"msw-storybook-addon": "^1.8.0",
"prop-types": "^15.8.1",
"storybook": "^7.0.9",
"storybook-addon-react-router-v6": "^1.0.0"
Expand Down
12 changes: 6 additions & 6 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2247,7 +2247,7 @@
prettier "^2.8.0"
recast "^0.23.1"

"@storybook/[email protected]", "@storybook/components@^7.0.24":
"@storybook/[email protected]", "@storybook/components@^7.4.0":
version "7.4.0"
resolved "https://registry.yarnpkg.com/@storybook/components/-/components-7.4.0.tgz#0cc83ff89dd9cdcde3eaeeb7b3fbcf2036ba6fb8"
integrity sha512-GGnQrI4NXwri/PqNjhO1vNv4tC7RBjY87ce9WHBq1ueat3kBakdqV97NzScoldXarkkKK6grBqmhw9jE5PfzhQ==
Expand Down Expand Up @@ -2299,7 +2299,7 @@
resolve-from "^5.0.0"
ts-dedent "^2.0.0"

"@storybook/[email protected]", "@storybook/core-events@^7.0.24":
"@storybook/[email protected]", "@storybook/core-events@^7.4.0":
version "7.4.0"
resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-7.4.0.tgz#0d50d254d65a678065d5906ac1dcab64396f2f6a"
integrity sha512-JavEo4dw7TQdF5pSKjk4RtqLgsG2R/eWRI8vZ3ANKa0ploGAnQR/eMTfSxf6TUH3ElBWLJhi+lvUCkKXPQD+dw==
Expand Down Expand Up @@ -2424,7 +2424,7 @@
"@storybook/global" "^5.0.0"
"@storybook/preview-api" "7.4.0"

"@storybook/[email protected]", "@storybook/manager-api@^7.0.24":
"@storybook/[email protected]", "@storybook/manager-api@^7.4.0":
version "7.4.0"
resolved "https://registry.yarnpkg.com/@storybook/manager-api/-/manager-api-7.4.0.tgz#aee0153df1583459b7e1e64e1d8c46fb49a584c8"
integrity sha512-sBfkkt0eZGTozeKrbzMtWLEOQrgqdk24OUJlkc2IDaucR1CBNjoCMjNeYg7cLDw0rXE8W3W3AdWtJnfsUbLMAQ==
Expand Down Expand Up @@ -2465,7 +2465,7 @@
resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-7.4.0.tgz#81f3bef31b566e26d616f9c3ce567f07ff143cc7"
integrity sha512-ZVBZggqkuj7ysfuHSCd/J7ovWV06zY9uWf+VU+Zw7ZeojDT8QHFrCurPsN7D9679j9vRU1/kSzqvAiStALS33g==

"@storybook/[email protected]", "@storybook/preview-api@^7.0.24":
"@storybook/[email protected]", "@storybook/preview-api@^7.4.0":
version "7.4.0"
resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-7.4.0.tgz#46818910545735bef43965651eef380a6f481f4b"
integrity sha512-ndXO0Nx+eE7ktVE4EqHpQZ0guX7yYBdruDdJ7B739C0+OoPWsJN7jAzUqq0NXaBcYrdaU5gTy+KnWJUt8R+OyA==
Expand Down Expand Up @@ -2570,7 +2570,7 @@
"@testing-library/user-event" "^13.2.1"
ts-dedent "^2.2.0"

"@storybook/[email protected]", "@storybook/theming@^7.0.24":
"@storybook/[email protected]", "@storybook/theming@^7.4.0":
version "7.4.0"
resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-7.4.0.tgz#f5d9f8f55c41e08c0f50b57d9fb0e159ed595274"
integrity sha512-eLjEf6G3cqlegfutF/iUrec9LrUjKDj7K4ZhGdACWrf7bQcODs99EK62e9/d8GNKr4b+QMSEuM6XNGaqdPnuzQ==
Expand All @@ -2580,7 +2580,7 @@
"@storybook/global" "^5.0.0"
memoizerific "^1.11.3"

"@storybook/[email protected]", "@storybook/types@^7.0.24":
"@storybook/[email protected]", "@storybook/types@^7.4.0":
version "7.4.0"
resolved "https://registry.yarnpkg.com/@storybook/types/-/types-7.4.0.tgz#71ce550d4d469f6aaf9777fc7432db9fb67f53f9"
integrity sha512-XyzYkmeklywxvElPrIWLczi/PWtEdgTL6ToT3++FVxptsC2LZKS3Ue+sBcQ9xRZhkRemw4HQHwed5EW3dO8yUg==
Expand Down

0 comments on commit 2f8bdf3

Please sign in to comment.