HSLdevcom / HSLdevcom/digitransit-ui

Update to NodeJS 18

Open
#4,756 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
267
Forks
145
Avg merge
1d 15h
Merged PRs (30d)
75

Description

If I see it correctly, Digitransit expects NodeJS 10.x. The current LTS version with support beyond 2023 is 18, however. At the very least, it should be possible to build the Dockerfile with the 18 version without errors.

For production environments, I'd rather not use an end-of-life NodeJS version. Especially, because Digitransit is the user-facing UI and not some backend service that could be better isolated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Dockerfile and checking how the current NodeJS 10.x image and build steps are configured. Verify whether the project builds with NodeJS 18 and identify any compatibility failures; done means the Dockerfile builds successfully with NodeJS 18 without leaving production on an end-of-life runtime.

Written by the indexing model from the issue text.

Assessment

Tech stack
dockerfile, nodejs
Domain
build-system, devops
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.