Node 16 is deprecated, it is receiving no sec updates, so it would be better to update node to 22, as it will soon move to LTS, and updating to any higher versions(20, as 19 is also deprecated) will need next to be updated to 14(Will be a huge refactor). So updating node to 22 would just do fine as it won't require nextjs update
Scope
Upgrade node to v22.x in both cli/ and webserver/
See if any dependency requires an update
Update the docker setup to use node 22.x instead of 16
Do the necessary clean-up if node16 still exists in repo
Description:
Node 16 is deprecated, it is receiving no sec updates, so it would be better to update node to 22, as it will soon move to LTS, and updating to any higher versions(20, as 19 is also deprecated) will need
next
to be updated to 14(Will be a huge refactor). So updating node to 22 would just do fine as it won't require nextjs updateScope