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

Npm 7 et les versions de React #850

Closed
youf-olivier opened this issue Feb 11, 2021 · 7 comments · Fixed by #853
Closed

Npm 7 et les versions de React #850

youf-olivier opened this issue Feb 11, 2021 · 7 comments · Fixed by #853
Assignees
Labels
Type: Bug Something isn't working
Milestone

Comments

@youf-olivier
Copy link
Contributor

Hello

Je suis passé sur Npm7 et j'ai voulu faire un npm install sur mon projet.

https://github.blog/2021-02-02-npm-7-is-now-generally-available/#peer-dependencies

Et ça pète un peu de partout sur la gestion des versions

image

@samuel-gomez-axa samuel-gomez-axa added the Type: Bug Something isn't working label Feb 11, 2021
@arnaudforaison arnaudforaison added this to the v1.4.0 milestone Feb 11, 2021
@arnaudforaison arnaudforaison self-assigned this Feb 12, 2021
@arnaudforaison
Copy link
Contributor

Est ce que tu constates le problème de React 17 sur la version latest (1.4.0-alpha2) ? Car @xballoy avait fait cette PR #798
Je regarde pour npm 7

@jforatier
Copy link
Contributor

jforatier commented Feb 12, 2021

J'ai fait face à des problématiques aussi => Issue #841
Peite propal pour 'monitorer' les futurs changes ici : #842

@arnaudforaison
Copy link
Contributor

arnaudforaison commented Feb 12, 2021

En complément, je me posais la question si Lerna avait fait le nécessaire.
Il est parti en burnout - lerna/lerna#2703 (comment)

mais il semble qu'une nouvelle version (il y a 2 jours) arrive
lerna/lerna#2703 (comment)
Avec la release note https://github.com/lerna/lerna/releases/tag/v4.0.0

@xballoy
Copy link
Contributor

xballoy commented Feb 12, 2021

A tester mais quand tu vois le changelog de la version 4.0.0 ça ne va pas changer grand chose...

@xballoy
Copy link
Contributor

xballoy commented Feb 12, 2021

A voir si on a toujours besoin de lerna comme on publie toujours tous les composants ¯_(ツ)_/¯

@arnaudforaison
Copy link
Contributor

Encore plus avec les changements de cette version 7 de npm:

@jforatier
Copy link
Contributor

jforatier commented Feb 12, 2021

J'arrive sûrement après la bataille mais lerna m'a pas fait une belle impression. Ok la lib fait de belle promesse en standalone mais le coût d'appropriation dans un sujet type tooling est énorme. Ça peut décourager.

Sur les sujets consommateur que j'ai croisé j'ai toujours vu des import all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants