From 30032f9583cf1829d3ff24fd57c9dcd3501b0f36 Mon Sep 17 00:00:00 2001 From: dyedwiper Date: Fri, 8 Nov 2024 10:36:52 +0100 Subject: [PATCH] Raise node version to 22 --- .nvmrc | 2 +- Dockerfile | 2 +- package-lock.json | 3 +-- package.json | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.nvmrc b/.nvmrc index 2edeafb..2bd5a0a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 \ No newline at end of file +22 diff --git a/Dockerfile b/Dockerfile index 3727ab6..a7fed54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/node:20-alpine +FROM docker.io/node:22-alpine ENV NODE_ENV=production WORKDIR /schulcloud-calendar diff --git a/package-lock.json b/package-lock.json index b3abdb8..c4a1988 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,6 @@ "packages": { "": { "name": "schulcloud-calendar", - "version": "27.12.0", "license": "AGPL-3.0", "dependencies": { "body-parser": "^1.19.0", @@ -32,7 +31,7 @@ "supertest": "^4.0.2" }, "engines": { - "node": ">=20", + "node": "22", "npm": ">=9" } }, diff --git a/package.json b/package.json index f8938a1..9ae037c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ ], "license": "AGPL-3.0", "engines": { - "node": "20", + "node": "22", "npm": ">=9" }, "scripts": {