boundary-ui icon indicating copy to clipboard operation
boundary-ui copied to clipboard

Upgrade node engines to work with node 20 and 22

Open calcaide opened this issue 1 year ago • 9 comments
trafficstars

Description

Upgrade node engines to work with node 20 and 22.

calcaide avatar Sep 12 '24 20:09 calcaide

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
boundary-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 11, 2025 1:19am
boundary-ui-desktop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 11, 2025 1:19am

vercel[bot] avatar Sep 12 '24 20:09 vercel[bot]

Since node 21 is already past it's maintenance window, should we try going straight to v22 instead?

cameronperera avatar Sep 12 '24 21:09 cameronperera

should we also consider using the same version in boundary-ui-releases?

DhariniJeeva avatar Sep 12 '24 21:09 DhariniJeeva

@cameronperera

Good point.

Some thinking loud:

  • Right now 20 is LTS, so we should keep node 20 support IMHO.
  • As you mention 22 is current.
  • So we should keep support for: 20 and 22.

is that correct?

calcaide avatar Sep 12 '24 21:09 calcaide

@cameronperera

Good point.

Some thinking loud:

  • Right now 20 is LTS, so we should keep node 20 support IMHO.
  • As you mention 22 is current.
  • So we should keep support for: 20 and 22.

is that correct?

Correct. If we are going to upgrade our supported node version, we should probably stick to the LTS versions. Plus v22 doesn't start it's maintenance schedule until a year from now. So this should hold us for a while.

cameronperera avatar Sep 12 '24 21:09 cameronperera

@cameronperera

Awesome!! pushing changes 😃

calcaide avatar Sep 12 '24 21:09 calcaide

@DhariniJeeva

We keep supporting node 20. For now, I will suggest to keep the pipeline with node 20. Upgrading node in the pipeline requires more work, specially testing. We just upgrade the pipeline from 18 to 20 so IMHo its fine for a while. Something I will like to explore once TS is released.

Thoughts?

calcaide avatar Sep 12 '24 21:09 calcaide

@DhariniJeeva

We keep supporting node 20. For now, I will suggest to keep the pipeline with node 20. Upgrading node in the pipeline requires more work, specially testing. We just upgrade the pipeline from 18 to 20 so IMHo its fine for a while. Something I will like to explore once TS is released.

Thoughts?

that sounds good!

DhariniJeeva avatar Sep 12 '24 22:09 DhariniJeeva

@DhariniJeeva Due to reverting the node20 upgrade changes within boundary-ui-releases I will hold this PR until we can run node20 within the pipeline.

calcaide avatar Sep 13 '24 23:09 calcaide

@calcaide did you run a script to update node v in different files, or was this manual? Just wondering how we handle upgrades.

@laurenolivia

I did perform this manually.

This PR updates the engines key within package.json, it will be developer responsability to upgrade acordingly the node version use within the dev enviornment.

calcaide avatar Jan 28 '25 18:01 calcaide