From 66f1fe8c5b7c339674b81e369574c61b2519d486 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 27 Feb 2023 17:25:35 +0100 Subject: [PATCH] change to a regular dependencies removing peerDep warnings replaces: https://github.com/storybookjs/storybook/pull/21223 --- code/presets/react-webpack/package.json | 6 +++--- code/yarn.lock | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/presets/react-webpack/package.json b/code/presets/react-webpack/package.json index 48c765cdcc6e..c0cb949b3c98 100644 --- a/code/presets/react-webpack/package.json +++ b/code/presets/react-webpack/package.json @@ -77,7 +77,8 @@ "babel-plugin-react-docgen": "^4.2.1", "fs-extra": "^11.1.0", "react-refresh": "^0.11.0", - "semver": "^7.3.7" + "semver": "^7.3.7", + "webpack": "5" }, "devDependencies": { "typescript": "~4.9.3" @@ -85,8 +86,7 @@ "peerDependencies": { "@babel/core": "^7.11.5", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", - "webpack": "5" + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "peerDependenciesMeta": { "@babel/core": { diff --git a/code/yarn.lock b/code/yarn.lock index f04baa08d84d..2e04226bfb78 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -6639,11 +6639,11 @@ __metadata: react-refresh: ^0.11.0 semver: ^7.3.7 typescript: ~4.9.3 + webpack: 5 peerDependencies: "@babel/core": ^7.11.5 react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - webpack: 5 peerDependenciesMeta: "@babel/core": optional: true