From bf557733492c39ac110aa52b380a189325fd10ce Mon Sep 17 00:00:00 2001 From: mashal-m Date: Tue, 15 Nov 2022 17:27:32 +0500 Subject: [PATCH] refactor: remove prop-types from peer dep and add it in dep --- package-lock.json | 5 ++--- package.json | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8d326706..92c6f55b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,8 @@ "@fortawesome/free-solid-svg-icons": "5.11.2", "@fortawesome/react-fontawesome": "0.1.14", "babel-polyfill": "6.26.0", - "eventemitter3": "^4.0.7" + "eventemitter3": "^4.0.7", + "prop-types": "^15.7.2" }, "devDependencies": { "@edx/frontend-build": "^5.6.11", @@ -31,7 +32,6 @@ "glob": "7.1.6", "husky": "3.1.0", "jest": "25.4.0", - "prop-types": "15.7.2", "react": "16.12.0", "react-dom": "16.12.0", "react-intl": "^5.25.0", @@ -47,7 +47,6 @@ "@edx/frontend-platform": "^2.3.0", "@edx/paragon": "^19.14.1", "@reduxjs/toolkit": "^1.5.1", - "prop-types": "^15.7.2", "react": "^16.13.1", "react-dom": "^16.13.1", "react-redux": "^7.1.3", diff --git a/package.json b/package.json index 3330f88e..17e235c9 100644 --- a/package.json +++ b/package.json @@ -49,12 +49,12 @@ "@fortawesome/free-solid-svg-icons": "5.11.2", "@fortawesome/react-fontawesome": "0.1.14", "babel-polyfill": "6.26.0", + "prop-types": "^15.7.2", "eventemitter3": "^4.0.7" }, "peerDependencies": { "@edx/frontend-platform": "^2.3.0", "@edx/paragon": "^19.14.1", - "prop-types": "^15.7.2", "react": "^16.13.1", "react-dom": "^16.13.1", "react-redux": "^7.1.3", @@ -76,7 +76,6 @@ "glob": "7.1.6", "husky": "3.1.0", "jest": "25.4.0", - "prop-types": "15.7.2", "react": "16.12.0", "react-dom": "16.12.0", "react-redux": "^7.2.9",