From ab763c8c660e225cd802ae5cd242af4c1a61121f Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 7 Dec 2022 10:22:35 +0100 Subject: [PATCH] remove unused dependencies which actually leak peerDeps up --- code/presets/react-webpack/package.json | 3 --- code/yarn.lock | 3 --- 2 files changed, 6 deletions(-) diff --git a/code/presets/react-webpack/package.json b/code/presets/react-webpack/package.json index 892abcbc4f7b..15767544b115 100644 --- a/code/presets/react-webpack/package.json +++ b/code/presets/react-webpack/package.json @@ -88,15 +88,12 @@ "semver": "^7.3.7" }, "devDependencies": { - "@types/util-deprecate": "^1.0.0", "typescript": "~4.9.3" }, "peerDependencies": { "@babel/core": "^7.11.5", - "jest-specific-snapshot": "^7.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", - "require-from-string": "^2.0.2", "webpack": "5" }, "peerDependenciesMeta": { diff --git a/code/yarn.lock b/code/yarn.lock index 1cf898c5f586..e1ea0fc1bac6 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -6801,7 +6801,6 @@ __metadata: "@storybook/react-docgen-typescript-plugin": 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0 "@types/node": ^16.0.0 "@types/semver": ^7.3.4 - "@types/util-deprecate": ^1.0.0 babel-plugin-add-react-displayname: ^0.0.5 babel-plugin-react-docgen: ^4.2.1 fs-extra: ^9.0.1 @@ -6810,10 +6809,8 @@ __metadata: typescript: ~4.9.3 peerDependencies: "@babel/core": ^7.11.5 - jest-specific-snapshot: ^7.0.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - require-from-string: ^2.0.2 webpack: 5 peerDependenciesMeta: "@babel/core":