Skip to content

Commit

Permalink
Pin Node.js version for development (#1635)
Browse files Browse the repository at this point in the history
Update `.nvmrc` to pin the Node.js version to be used during
development. Obviously anyone is still free to use any version in the
same major version range (though earlier versions might not work). The
motivation for this is two incidents where the latest Node.js release
had problems within the span of one year (currently, Node.js 22.5.0 is
latest and has a breaking bug when installing dependencies, in Sept of
last year 20.6.0 had a bug affecting development tooling [1]).

This overrides the change made in [2] which moved from a pinned version
to a major version range. The commit is light on details but I believe I
made this decision because I didn't want to force anyone to use a
specific version, as long as it's 20 (then, 22 now) its fine. I still
believe this, but unfortunately being on the edge all the time is a bit
too unstable.

I don't see any particular need to stay on the edge, at least for this
project. Hence, I do not intent to regularly update the version used,
probably not until the next major LTS release.

--
1. 9c96c65
2. 02d4f1c
  • Loading branch information
ericcornelissen authored Jul 19, 2024
1 parent 873598b commit c65c91d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22
22.4.1

0 comments on commit c65c91d

Please sign in to comment.