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

build: change version of react peerDependency #798

Merged
merged 4 commits into from
Nov 13, 2020

Conversation

xballoy
Copy link
Contributor

@xballoy xballoy commented Nov 6, 2020

When installing react-toolkit in a real project we have this warning on all dependencies:

npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN @axa-fr/[email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.

That's because we "force" the version of react in the peerDependencies to an exact version (16.8.0) while it's working with newer React version.

@xballoy xballoy added the dependencies Pull requests that update a dependency file label Nov 6, 2020
arnaudforaison
arnaudforaison previously approved these changes Nov 6, 2020
johnmeunier
johnmeunier previously approved these changes Nov 6, 2020
arnaudforaison
arnaudforaison previously approved these changes Nov 6, 2020
youf-olivier
youf-olivier previously approved these changes Nov 9, 2020
@xballoy xballoy dismissed stale reviews from youf-olivier and arnaudforaison via 9e67559 November 9, 2020 15:01
@xballoy xballoy force-pushed the feature/reactPeerDependencies branch from 9de46cb to 9e67559 Compare November 9, 2020 15:01
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@mergify mergify bot merged commit 590dba9 into master Nov 13, 2020
@delete-merged-branch delete-merged-branch bot deleted the feature/reactPeerDependencies branch November 13, 2020 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants