ufssd / ufssd-website

Source for https://ufssd.org
MIT License
2 stars 1 forks source link

(Sprint 2) Update dependencies #20

Closed WillBAnders closed 11 months ago

WillBAnders commented 11 months ago

Update all dependencies to the latest versions (package.json & package-lock.json).

Requirements

angel1254mc commented 11 months ago

Output from running npm outdated

image

[Question]: Do we want to update to Next 14? Most breaking changes don't affect us, but the minimum node version got bumped up to >=18.17.0. We'd probably need to bump up the node version on our actions workflows as well. I don't really have a preference so let me know what you think is best 😊.

WillBAnders commented 11 months ago

I'm inclined to update to Next.js 14 myself - our project is pretty low risk, so might as well jump on that for the learning experience and it's easier to do so now than delay until later. However, it's good practice to do these larger framework updates separately to minimize risk (also noticing there's a v14.0.1 pre-release, so no harm in waiting a little bit for that to settle).

Regarding Node version, our actions are configured for 18.x - you can see it's running the latest 18.18.2 in this job, so there's no conflict there. I am, however, noticing that we have @types/node v20 instead - this is not correct as it corresponds to Node v20, and thus one of these will need to change. Ignore this for now; I'll open a separate ticket to update to Node v20 as well.

TLDR: We should update to Next.js v14 and Node v20, but will do both of these separately.

angel1254mc commented 11 months ago

Got it sounds good 😎👍