Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIREQMED-23 Use caret for react peerDep #16

Merged
merged 2 commits into from
Jun 11, 2024
Merged

UIREQMED-23 Use caret for react peerDep #16

merged 2 commits into from
Jun 11, 2024

Conversation

JohnC-80
Copy link
Contributor

@JohnC-80 JohnC-80 commented Jun 7, 2024

Purpose

As package managers become more strict about peerDep specifications all being in agreement with eachother, we want apps to have coordinating versions with their anticipated platform… (pnpm complains about a hard dependency on [email protected] in the app while the platform, stripes, etc, ask for ^18.2.0 or ~18.2.0 - incompatible since the caret or tilde will both pull in a later version.)

The reason this version is specified this way here is because it is from ui-app-template that is automatically copied over when the create command is executed with stripes-cli.

There is a PR on that repo that remedies this. (Merged)

Refs

UIREQMED-23

JohnC-80 added 2 commits June 7, 2024 14:38
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
Copy link

sonarqubecloud bot commented Jun 7, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@JohnC-80 JohnC-80 merged commit ea35535 into master Jun 11, 2024
6 checks passed
@JohnC-80 JohnC-80 deleted the UIREQMED-23 branch June 11, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants