diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index fb866f49..193ff972 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/devcontainers/javascript-node:20-bookworm +FROM mcr.microsoft.com/devcontainers/javascript-node:22-bookworm # Install extra dependencies (mostly for Cypress) RUN apt-get update \ diff --git a/.devcontainer/README.md b/.devcontainer/README.md index f340d80d..a3e34969 100644 --- a/.devcontainer/README.md +++ b/.devcontainer/README.md @@ -4,7 +4,7 @@ Allows the project to be started in a [dev container] for [GitHub Codespaces] or - `devcontainer.json`: Defines the development environment. - `docker-compose.yml`: Defines the services (including the dev container) - extends the root `docker-compose.yml`. -- `Dockerfile`: Defines the app's dev container (Debian, Node 20, PostgreSQL client). +- `Dockerfile`: Defines the app's dev container (Debian, Node 22, PostgreSQL client). ## Setup diff --git a/.devcontainer/gitstub/Dockerfile b/.devcontainer/gitstub/Dockerfile index b3caf31e..44719e52 100644 --- a/.devcontainer/gitstub/Dockerfile +++ b/.devcontainer/gitstub/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine +FROM node:22-alpine USER node WORKDIR /home/node diff --git a/.nvmrc b/.nvmrc index 90756595..7af24b7d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.15.0 +22.11.0 diff --git a/package-lock.json b/package-lock.json index b46436ff..0a50471a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -83,8 +83,7 @@ "whatwg-fetch": "^3.6.20" }, "engines": { - "node": "^20.9", - "npm": "^10" + "node": "^22.11" } }, "node_modules/@adobe/css-tools": { diff --git a/package.json b/package.json index d699e3df..3433e860 100644 --- a/package.json +++ b/package.json @@ -128,7 +128,6 @@ "winston": "^3.16.0" }, "engines": { - "node": "^20.9", - "npm": "^10" + "node": "^22.11" } } diff --git a/server/.babelrc b/server/.babelrc index 4ef903ce..d34c837b 100644 --- a/server/.babelrc +++ b/server/.babelrc @@ -1,4 +1,4 @@ { "plugins": ["@babel/plugin-transform-runtime"], - "presets": [["@babel/preset-env", { "targets": { "node": 20 } }]] + "presets": [["@babel/preset-env", { "targets": { "node": 22 } }]] }