Skip to content

Commit a7b5c87

Browse files
authored
UIREQMED-23 Use caret for react peerDep
https://folio-org.atlassian.net/browse/UIREQMED-23 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. The version specified in the ui-module exists here because it’s the version from ui-app-template that’s automatically copied over when the create command is executed with stripes-cli
1 parent 80d78cb commit a7b5c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
"peerDependencies": {
4848
"@folio/stripes": "^9.0.0",
49-
"react": "18.2.0",
49+
"react": "^18.2.0",
5050
"react-intl": "^6.4.4",
5151
"react-router": "^5.2.0",
5252
"react-router-dom": "^5.2.0"

0 commit comments

Comments
 (0)