From d9bbf01940126646c2c6d76b4d097cf6372d5428 Mon Sep 17 00:00:00 2001 From: John Coburn Date: Fri, 7 Jun 2024 14:24:35 -0500 Subject: [PATCH 1/3] Update react peerDependency to caret for latest. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As package managers become more strict about peerDeps specifications all being in agreement with eachother, we want apps to have coordinating versions with their anticipated platform… (pnpm complained about an 18.2.0 hard dependency in the app while the platform, stripes, etc, ask for ^18.2.0 - incompatible since the caret pulls in a later version. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4ee82b2..8d332bc 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ }, "peerDependencies": { "@folio/stripes": "^9.0.0", - "react": "18.2.0", + "react": "^18.3.1", "react-intl": "^6.4.4", "react-router": "^5.2.0", "react-router-dom": "^5.2.0" From 2631df9423c345f5f23e82bbc40d1757775b87ab Mon Sep 17 00:00:00 2001 From: John Coburn Date: Fri, 7 Jun 2024 14:26:20 -0500 Subject: [PATCH 2/3] woah, not that far... only add a caret --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8d332bc..736bc2d 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ }, "peerDependencies": { "@folio/stripes": "^9.0.0", - "react": "^18.3.1", + "react": "^18.2.0", "react-intl": "^6.4.4", "react-router": "^5.2.0", "react-router-dom": "^5.2.0" From 3eb012af9589d1b1f224db06e438980b6a5f3c84 Mon Sep 17 00:00:00 2001 From: John Coburn Date: Fri, 7 Jun 2024 14:30:03 -0500 Subject: [PATCH 3/3] log changes --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3952859..faf9e4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 1.1.0 (IN PROGRESS) +* Add caret to react peer dependency. ## 1.0.0