Skip to content

Commit

Permalink
UIREQMED-23 Use caret for react peerDep (#16)
Browse files Browse the repository at this point in the history
* 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

* Update CHANGELOG.md
  • Loading branch information
JohnC-80 authored Jun 11, 2024
1 parent 80d78cb commit ea35535
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Update github actions. Refs UIREQMED-14.
* Add landing page actions: Confirm item arrival, Mediated requests activities and Send item in transit. Refs UIREQMED-2.
* Hide permission that should not be visible. Refs UIREQMED-20.
* Add caret to `react` peer dependency. Refs UIREQMED-23.

## 1.0.0
* New app created with stripes-cli. Updated module after created with stripes-cli. Refs UIREQMED-1.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"peerDependencies": {
"@folio/stripes": "^9.0.0",
"react": "18.2.0",
"react": "^18.2.0",
"react-intl": "^6.4.4",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0"
Expand Down

0 comments on commit ea35535

Please sign in to comment.