Skip to content

Conversation

@jrdrew
Copy link

@jrdrew jrdrew commented Feb 11, 2025

Description of Change(s) Introduced:

Updated the node version 22

@jrdrew jrdrew self-assigned this Feb 11, 2025
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


jrdrew seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

bin/reset_dev Outdated
mix deps.get
mix deps.compile
mix compile No newline at end of file
rm -rf _build/ && mix deps.clean --all && mix deps.get && mix deps.compile && mix compile No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why one line?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. Probably an auto-formatter/linter making this change, I would guess?

The only difference I see is that the new version is dependent on the former steps/invocations completing successfully before executing the next one in sequence. The original would still execute the statements regardless of whether or not the prior one(s) completed successfully or not. Generally, that's not what we want I would think.

# install project version of node (18.19.0) and use it
nvm install 18.19.0 && nvm use 18.19.0
# install project version of node (22.0.0) and use it
nvm install 22.0.0 && nvm use 22.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does nvm use .tool-versions file? I believe asdf introduced this file and is part of the instructions for managing erlang and elixir.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NVM would use an .nvmrc file. We no longer need the .tool-versions file since we eliminated ASDF.

package.json Outdated
@@ -1,4 +1,7 @@
{
"engines": {
"node": ">=22"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be pinned at 22? Are we targeting LTS or trying to upgrade more frequently?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants