Skip to content

Update nodejs to latest LTS #477

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

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Update nodejs to latest LTS #477

wants to merge 4 commits into from

Conversation

CocoisBuggy
Copy link
Contributor

A noisy one for sure. I strongly feel this will be necessary for us since node 18 is end of life and v22 is the next one on the list.

  • Update node
  • update typescript
  • remove ts-standard and move to eslint
  • propogate compliance (hence the noise, since some of our files were ignored by the previous lint system)

I'd like to slowly enable many of the rules that I have suppressed in the linter config, since many of them represent modern best practice but I will make issues for each one individually so as not to dump too many changes here

I've skipped 19 since it's not an lts. No needed changes needed to bump
to 20

Server runs, tests pass, yarn is happy
This is the current LTS, so we NEED to get here, but upgrading gives us
a couple of problems:

1. ts-standard doesn't jive well with modern typescript, and the mystery
   of import assertions has only deepened with age.
2. I have therefore moved to the non-deprecated versions of these tools
   (which leaves us with a tasty >2k lint issues)

resolves #473

There are now two choices: Disable the failing rules to get rid of the
two thousand lint issues, or simply fix them so we can go forward with
modern eslint standards. The rules do appear to relate to newer TS
practices, rather than noise caused by adding semicolons or changing
every instance of a single quote to a double quote. I will make a
seperate branch so we can look at the fixes as opposed to just silencing
them
@CocoisBuggy
Copy link
Contributor Author

Ah yes, that was always going to fail in CI. woops

@CocoisBuggy
Copy link
Contributor Author

@vnugent will need to comment on if there are any ramifications for production that I need to account for

@CocoisBuggy CocoisBuggy changed the title Update/#473 Update nodejs to latest LTS May 14, 2025
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.

1 participant