-
Notifications
You must be signed in to change notification settings - Fork 109
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
Upgrade Frontend dependencies #1874
Upgrade Frontend dependencies #1874
Conversation
7c3b21c
to
8dd5d01
Compare
8dd5d01
to
f179b83
Compare
f179b83
to
117181f
Compare
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.
I haven't tested but this looks good to me. I defer to Douglas for the final decision. It would be great if we can use the latest LTS available.
"webpack": { | ||
"loader-utils": "1.4.2" | ||
} |
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.
I didn't know overrides can do this, cool.
@@ -51,25 +51,18 @@ RUN set -ex \ | |||
&& add-apt-repository --no-update --yes "deb http://archive.ubuntu.com/ubuntu/ jammy multiverse" \ | |||
&& add-apt-repository --no-update --yes "deb http://archive.ubuntu.com/ubuntu/ jammy-security universe" \ | |||
&& add-apt-repository --no-update --yes "deb http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse" \ | |||
&& curl -sS https://deb.nodesource.com/setup_14.x | bash - \ |
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.
Can we use 18.x or 20.x? Related: https://endoflife.date/nodejs.
RUN set ex \ | ||
&& npm install -g [email protected] |
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.
Why 9.8.1 and not the latest 9.x, e.g. 9.9.2?
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.
Thank you and noted all your suggestions. I made changes accordingly in #1875
Closing this PR since npm and node are upgraded in #1875 |
Frontend dependencies are upgraded by removing yarn packages and installing npm version 9.
overrides
feature of npm is used to upgrade specific version ofdevDependencies
anddependencies
.Reference : https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides