-
Notifications
You must be signed in to change notification settings - Fork 438
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
Update dependencies for Node v20 #2356
Conversation
Just a sidenote: We should test these changes using Node 18 & 16 as well. If these updates work for v16, 18 and 20, we may want to consider backporting this to |
The automated tests build with Node 16 and 18. Do we need additional testing with those versions? |
@mwoodiupui : I'd recommend a quick manual test as well. Since the automated tests work, that's an excellent sign. But, for safety sake, I'd really like to spin up the UI in Node 16 & 18 to ensure nothing strange occurs, especially since our e2e (integration) tests are still very minimal. Just very hesitant to backport this to |
I did some basic tests on
No errors in the console or logs. Here are the versions resolved at the time I built and tested @mwoodiupui's patch: $ npx ng version
...
Angular CLI: 16.1.4
Node: 18.16.0
Package Manager: yarn 1.22.19
OS: linux x64
Angular: 15.2.8
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, platform-server, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1502.5
@angular-devkit/build-angular 15.2.6
@angular-devkit/core 12.2.18
@angular-devkit/schematics 12.2.18
@angular/cli 16.1.4
@ngtools/webpack 15.2.6
@nguniversal/builders 15.2.1
@nguniversal/express-engine 15.2.1
@schematics/angular 16.1.4
rxjs 7.8.0
typescript 4.8.4
webpack 5.76.1 |
Built and run on Gallium (v16 LTS). Browse, search, submit seem to work.
|
Hi @mwoodiupui, |
Hi @mwoodiupui, |
Locally tested this day with |
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.
👍 Thanks @mwoodiupui ! I figured this be good to apply before other dependency updates. Tested this locally using Node 18 and I found no adverse effects. Merging immediately.
NOTE: I've setup the automatic backporting on this PR...but I'm uncertain how well that will work with the yarn.lock
file. So, if it doesn't work, we'll need to manually port this to 7.6.x for 7.6.2
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin dspace-7_x
git worktree add -d .worktree/backport-2356-to-dspace-7_x origin/dspace-7_x
cd .worktree/backport-2356-to-dspace-7_x
git switch --create backport-2356-to-dspace-7_x
git cherry-pick -x ed5267820e6619d0723bbbd4e0859a069b9a26e5 faa2089d5cda4ff76e9588fbb87eeae3eb37d84f 5e8a767c1f1394ff5b146cf0b726e04b91035611 44cb4ec9c9e72e8c594e3fa0149d8d12e406587d |
@mwoodiupui : As I feared, this couldn't be ported automatically. If you can find time to create a corresponding PR for the |
Port of DSpace#2356 by @mwoodiupui to dspace-7_x.
Port of DSpace#2356 by @mwoodiupui to dspace-7_x.
Ported to 7.x in #2849 |
References
Description
Updated dependencies to make the project build with Node v20.
Instructions for Reviewers
List of changes in this PR:
@angular/cli
andeslint-plugin-jsdoc
enough to fix build failures.Checklist
yarn lint
yarn check-circ-deps
)package.json
), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.