From a3f4238cf0d33cc1615841a583f9981ec911d971 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Wed, 21 Jul 2021 16:46:59 +0200 Subject: [PATCH 1/3] Set lodash or lodash-es as peer dependency --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f8c36406..623036d7 100644 --- a/package.json +++ b/package.json @@ -45,15 +45,15 @@ ], "dependencies": { "@icons/material": "^0.2.4", - "lodash": "^4.17.15", - "lodash-es": "^4.17.15", "material-colors": "^1.2.1", "prop-types": "^15.5.10", "reactcss": "^1.2.0", "tinycolor2": "^1.4.1" }, "peerDependencies": { - "react": "*" + "react": "*", + "lodash": "^4.17.15", + "lodash-es": "^4.17.15" }, "devDependencies": { "@case/eslint-config": "^0.3.1", From b6491ce6b3b265f480dc794f3a4c8ea7e00edf62 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Wed, 21 Jul 2021 17:00:22 +0200 Subject: [PATCH 2/3] Define lodash as peerDependencies --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 623036d7..2633813c 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,9 @@ "babel-register": "^6.5.2", "chai": "^3.3.0", "chai-spies": "^0.7.1", - "css-loader": "^0.24.0", + "css-loader": "^0.24.0",, + "lodash": "^4.17.15", + "lodash-es": "^4.17.15" "enzyme": "2.8.2", "event-stream": "^3.3.1", "fbjs": "^0.8.6", From e32952c9c80e0cf0eba64e55fdc39e3e41371d95 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Wed, 21 Jul 2021 17:00:37 +0200 Subject: [PATCH 3/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2633813c..43c1f5e0 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "babel-register": "^6.5.2", "chai": "^3.3.0", "chai-spies": "^0.7.1", - "css-loader": "^0.24.0",, + "css-loader": "^0.24.0", "lodash": "^4.17.15", "lodash-es": "^4.17.15" "enzyme": "2.8.2",