Skip to content

Commit

Permalink
Upgrade to Node.js LTS 22
Browse files Browse the repository at this point in the history
  • Loading branch information
Gekkio committed Dec 9, 2024
1 parent 6a0fe2f commit fb6ce20
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.11
22.12
2 changes: 1 addition & 1 deletion apigw/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: LGPL-2.1-or-later

FROM node:20.18.1-bookworm-slim AS base
FROM node:22.12.0-bookworm-slim AS base
ARG CACHE_BUST

WORKDIR /project
Expand Down
2 changes: 1 addition & 1 deletion apigw/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gateway between eVaka frontends and backend services

## Requirements

- [Node.js](https://nodejs.org/en/) – a JavaScript runtime built on Chrome's V8 JavaScript engine, version 20.9+
- [Node.js](https://nodejs.org/en/) – a JavaScript runtime built on Chrome's V8 JavaScript engine, version 22.12+
- Install correct version automatically with [nvm](https://github.com/nvm-sh/nvm): `nvm install` (see [`.nvmrc`](../.nvmrc))
- [Yarn](https://yarnpkg.com/getting-started/install) – Package manager for Node, version 1.22+

Expand Down
2 changes: 1 addition & 1 deletion apigw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"trailingComma": "none"
},
"engines": {
"node": ">= 20.9.0"
"node": ">= 22.12.0"
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Please note that all the dependencies should be installed as
current user. Do not use elevated privileges, e.g. sudo to install
packages.

- [Node.js](https://nodejs.org/en/) – a JavaScript runtime built on Chrome's V8 JavaScript engine, version 18.17+
- [Node.js](https://nodejs.org/en/) – a JavaScript runtime built on Chrome's V8 JavaScript engine, version 22.12+
- Install correct version automatically with [nvm](https://github.com/nvm-sh/nvm): `nvm install` (see [`.nvmrc`](../.nvmrc))
- [Yarn](https://yarnpkg.com/getting-started/install) – Package manager for Node, version 1.22+
- [JDK](https://openjdk.java.net/projects/jdk/21/) – Java Development
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

ARG NGINX_VERSION=1.26.0

FROM node:20.18.1-bookworm-slim AS builder
FROM node:22.12.0-bookworm-slim AS builder
ARG CACHE_BUST

USER root
Expand Down
2 changes: 1 addition & 1 deletion frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ environment's package manager, or alternatively download binaries
from websites provided below.

- [Node.js](https://nodejs.org/en/) – a JavaScript runtime built on
Chrome's V8 JavaScript engine, version 20.9+
Chrome's V8 JavaScript engine, version 22.12+
- Install correct version automatically with [nvm](https://github.com/nvm-sh/nvm): `nvm install` (see [`.nvmrc`](../.nvmrc))
- [Yarn](https://yarnpkg.com/getting-started/install) – Package manager for Node, version 1.22+. The globally installed
yarn is only used as a launcher, and a specific yarn version included in the eVaka repository is automatically used
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"@react-leaflet/core@npm:^2.1.0": "patch:@react-leaflet/core@npm%3A2.1.0#~/.yarn/patches/@react-leaflet-core-npm-2.1.0-de483ca53f.patch"
},
"engines": {
"node": ">= 20.9.0"
"node": ">= 22.12.0"
},
"browserslist": [
"Firefox ESR",
Expand Down

0 comments on commit fb6ce20

Please sign in to comment.