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

[TECH] Montée de version de NPM. #505

Closed
wants to merge 2 commits into from
Closed

[TECH] Montée de version de NPM. #505

wants to merge 2 commits into from

Conversation

jbuget
Copy link
Contributor

@jbuget jbuget commented May 15, 2019

[Edit - 15/05/2019 13h40]

La montée de version s’est mal passée. De nombreux modules importants ne sont pas compatibles Node 12 ~ nodejs/node#25060

Autant bcrypt semble passé côté API (malgré la présence dans le tableau) ~ kelektiv/node.bcrypt.js#684 , autant uglify-js casse le build ~ mishoo/UglifyJS#3304.

Il faudrait effectuer la montée version des apps Ember en 3.10 (depuis hier), pour voir si ça passe.
Mais là ça nous emmène beaucoup plus loin que mon intention première. J’annule. On va continuer à se taper le message de warning un certain temps. Désolé.


🦄 Problème

NPM a effectué une mise à jour dont les changements sont décrits ici.

🤖 Solution

Mise à jour de tous les fichiers package.json, package-lock.json et du README.md.

🌈 Remarques

Au passage, cette PR corrige dans CircleCI une vieille configuration de Node (10.15.1 au lieu de 10.15.3).

En fait, non. Ce n'est pas un oubli. Il y avait un bug avec la version 10.15.3.

According to Node 10.15.3 (LTS) we are currently in NPM v6.4.1. Few days
ago, NPM released the 6.9.0 (cf. https://npm.community/t/release-npm-6-9-0/5911).

Upgrading the NPM version will add a step in the environment
installation. But not doing so, display a waring during each `npm
install` command execution.

In the next steps, we will try to upgrade Node version (with the risk of
leaving a comfortable LTS version). If the upgrade does not work, we
will have to take a decision about the version we keep of Node / NPM.

Maybe the PR associated to this commit will never finished in production. 🤷‍♀️
@jbuget jbuget closed this May 15, 2019
@jbuget jbuget deleted the tech-update-npm branch May 15, 2019 11:51
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.

None yet

1 participant