chore(deps): pin Node 22.22+ for frontend builds

CodeRabbit on PR #49: the Docker build stages still used node:20-alpine,
which vite 7 (>=20.19/22.12) and react-router 8 (>=22.22) no longer
support. Bump NODE_VERSION to 22 in both Dockerfiles and declare
engines.node >=22.22.0 in both app manifests so local installs on an
old Node fail loudly instead of at build time.
This commit is contained in:
Alexa
2026-08-02 01:05:49 +03:00
parent 1d7801b3c0
commit e6e5c9990f
6 changed files with 14 additions and 2 deletions
+3
View File
@@ -22,6 +22,9 @@
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3",
"vite": "^7.3.6"
},
"engines": {
"node": ">=22.22.0"
}
},
"node_modules/@alloc/quick-lru": {
+3
View File
@@ -3,6 +3,9 @@
"private": true,
"version": "0.1.0",
"type": "module",
"engines": {
"node": ">=22.22.0"
},
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",