-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Switch to npm 7. #13060
Switch to npm 7. #13060
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just few changes to avoid to update workflows with minor changes version of node and npm
.github/workflows/angular.yml
Outdated
@@ -73,6 +73,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
node_version: [14.15.0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to [14.15.x]
.github/workflows/angular.yml
Outdated
@@ -73,6 +73,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
node_version: [14.15.0] | |||
npm_version: [7.0.11] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to [7.0.x]
.github/workflows/generator.yml
Outdated
@@ -35,11 +35,14 @@ jobs: | |||
matrix: | |||
node_version: [14.15.0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to [14.15.x]
.github/workflows/generator.yml
Outdated
@@ -35,11 +35,14 @@ jobs: | |||
matrix: | |||
node_version: [14.15.0] | |||
os: [ubuntu-20.04] | |||
npm_version: [7.0.11] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to [7.0.x]
@@ -70,6 +70,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
node_version: [14.15.0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to [14.15.x]
.github/workflows/react.yml
Outdated
@@ -73,6 +73,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
node_version: [14.15.0] | |||
npm_version: [7.0.11] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to [7.0.x]
.github/workflows/vue.yml
Outdated
@@ -73,6 +73,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
node_version: [14.15.0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to [14.15.x]
.github/workflows/vue.yml
Outdated
@@ -73,6 +73,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
node_version: [14.15.0] | |||
npm_version: [7.0.11] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to [7.0.x]
.github/workflows/webflux.yml
Outdated
@@ -72,6 +72,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
node_version: [14.15.0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to [14.15.x]
.github/workflows/webflux.yml
Outdated
@@ -72,6 +72,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
node_version: [14.15.0] | |||
npm_version: [7.0.11] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to [7.0.x]
@DanielFran not sure Shouldn’t we stick with fixed version to match npm used at maven frontend? generator-jhipster/generators/generator-constants.js Lines 33 to 34 in 2419625
|
It was just a suggestion... No problem to keep it like that. |
yes, we should use an exact version in the CI, to match with |
Looks like most of backward incompatibilities was fixed. |
I've been using npm 7 for the last 24 hours with JHipster 7 and haven't experienced any issues.
|
Problems happens when mixing full build with without |
if it's stable enough, then we could have it for final v7 release |
@pascalgrimaud yep it's working great IMO, better then npm 6. |
Ok nice @mshima ! I'll test npm7 this Monday Can you resolve conflicts plz? So this PR can be merged |
Fixes #12747.
Please make sure the below checklist is followed for Pull Requests.
When you are still working on the PR, consider converting it to Draft (bellow reviewers) and adding
skip-ci
label, you can still see CI build result at your branch.