fix: align Node.js version to >=22 across Dockerfile and package.json

Dockerfile used node:20-slim but the project requires Node >=22
(--experimental-sqlite in tests, CI matrix). package.json had a
duplicate engines block where the second (>=20.0.0) silently
overwrote the correct first one (>=22.0.0).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ulas
2026-04-02 14:16:49 +02:00
parent 59791df248
commit 5cb71bb424
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:20-slim
FROM node:22-slim
# SQLCipher-Abhängigkeiten
RUN apt-get update && apt-get install -y \
-3
View File
@@ -36,9 +36,6 @@
"tsdav": "^2.0.10"
},
"license": "MIT",
"engines": {
"node": ">=20.0.0"
},
"devDependencies": {
"sharp": "^0.34.5"
}