Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Bump Node.js and NPM (#18814)

Oliver Güntherfdea795a7755
diff --git a/docker/ci/Dockerfile b/docker/ci/Dockerfile
index 5b252dc6f5d..4838d91ab47 100644
--- a/docker/ci/Dockerfile
+++ b/docker/ci/Dockerfile
@@ -2,7 +2,7 @@
ARG RUBY_VERSION
FROM ruby:${RUBY_VERSION}-bookworm
-ENV NODE_VERSION="20.9.0"
+ENV NODE_VERSION="22.15.0"
ENV DEBIAN_FRONTEND=noninteractive
ENV BUNDLE_WITHOUT="development:production:docker"
diff --git a/docker/dev/frontend/Dockerfile b/docker/dev/frontend/Dockerfile
index 7862c1aa075..bee3e9470e3 100644
--- a/docker/dev/frontend/Dockerfile
+++ b/docker/dev/frontend/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:20.9
+FROM node:22.15.0
MAINTAINER [email protected]
ARG DEV_UID=1000
@@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y chromium
ENV CHROME_BIN=/usr/bin/chromium
-RUN npm i -g [email protected]
+RUN npm i -g [email protected]
RUN groupadd $USER || true
RUN groupmod -g $DEV_GID $USER || true
diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile
index b8cd91f0d2a..424637340f3 100755
--- a/docker/prod/Dockerfile
+++ b/docker/prod/Dockerfile
@@ -2,7 +2,7 @@ ARG RUBY_VERSION="3.4.2"
FROM ruby:${RUBY_VERSION}-bookworm AS base
LABEL maintainer="[email protected]"
-ARG NODE_VERSION="20.9.0"
+ARG NODE_VERSION="22.15.0"
ARG BIM_SUPPORT=true
ENV USE_JEMALLOC=false
ENV DEBIAN_FRONTEND=noninteractive
diff --git a/docs/development/development-environment/linux/README.md b/docs/development/development-environment/linux/README.md
index aa668294bcc..4f457226bb3 100644
--- a/docs/development/development-environment/linux/README.md
+++ b/docs/development/development-environment/linux/README.md
@@ -161,11 +161,11 @@ git clone https://github.com/nodenv/node-build.git $(nodenv root)/plugins/node-b
You can find the latest LTS version here: [nodejs.org/en/download/](https://nodejs.org/en/download/)
-At the time of writing this is v20.9.0 Install and activate it with:
+At the time of writing this is v22.15.0 Install and activate it with:
```shell
-nodenv install 20.9.0
-nodenv global 20.9.0
+nodenv install 22.15.0
+nodenv global 22.15.0
nodenv rehash
```
@@ -187,7 +187,7 @@ bundler --version
Bundler version 2.6.3
node --version
-v20.9.0
+v22.15.0
npm --version
10.5.0
diff --git a/docs/development/development-environment/macos/README.md b/docs/development/development-environment/macos/README.md
index 1f466d4876f..8a0b033cc18 100644
--- a/docs/development/development-environment/macos/README.md
+++ b/docs/development/development-environment/macos/README.md
@@ -115,11 +115,11 @@ nodenv init
You can find the latest LTS version here: [nodejs.org/en/download](https://nodejs.org/en/download/)
-At the time of writing this is v20.9.0. Install and activate it with:
+At the time of writing this is v22.15.0. Install and activate it with:
```shell
-nodenv install 20.9.0
-nodenv global 20.9.0
+nodenv install 22.15.0
+nodenv global 22.15.0
```
#### Update NPM to the latest version
@@ -140,7 +140,7 @@ $ bundler --version
Bundler version 2.6.3
node --version
-v20.9.0
+v22.15.0
npm --version
10.5.0
diff --git a/docs/installation-and-operations/installation/manual/README.md b/docs/installation-and-operations/installation/manual/README.md
index 0ff3784e266..b3a21e34e7f 100644
--- a/docs/installation-and-operations/installation/manual/README.md
+++ b/docs/installation-and-operations/installation/manual/README.md
@@ -149,7 +149,7 @@ time to finish.
To check our Node installation we run `node --version`. It should output something very similar to:
```text
-v20.9.0
+v22.15.0
```
## Installation of OpenProject
diff --git a/package.json b/package.json
index c9810f0595b..3161272aea9 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,7 @@
},
"private": true,
"engines": {
- "node": "^20.9.0",
+ "node": "^22.15.0",
"npm": "^10.1.0"
},
"devDependencies": {