chore: upgrade to Node.js 25.2.1

- Update .nvmrc to Node 25
- Update all Dockerfiles to use node:25-alpine
- Update package.json engines to >=25.0.0
- Update CI/CD workflows for Node 25
- Update @types/node in packages
- Fix ESLint config to use ES module syntax
- Update OpenTelemetry imports for compatibility

All services tested and working with Node.js 25.2.1
This commit is contained in:
Ho Ngoc Hai
2026-01-07 17:15:25 +07:00
parent 9c74b86837
commit 63f5b10fe2
21 changed files with 1226 additions and 1504 deletions

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine AS base
FROM node:25-alpine AS base
RUN apk add --no-cache libc6-compat
WORKDIR /app

View File

@@ -20,7 +20,7 @@
"axios": "^1.6.5",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"lucide-react": "^0.344.0",
"lucide-react": "^0.562.0",
"next": "^14.1.0",
"next-intl": "^4.7.0",
"react": "^18.2.0",
@@ -28,7 +28,7 @@
"react-hook-form": "^7.49.3",
"recharts": "^2.10.3",
"zod": "^3.22.4",
"zustand": "^4.4.7"
"zustand": "^5.0.9"
},
"devDependencies": {
"@goodgo/eslint-config": "workspace:*",

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine AS base
FROM node:25-alpine AS base
RUN apk add --no-cache libc6-compat
WORKDIR /app

View File

@@ -31,7 +31,7 @@
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"framer-motion": "^12.23.26",
"lucide-react": "^0.344.0",
"lucide-react": "^0.562.0",
"next": "^14.1.0",
"next-intl": "^4.7.0",
"react": "^18.2.0",
@@ -41,7 +41,7 @@
"react-hook-form": "^7.49.3",
"react-stately": "^3.43.0",
"zod": "^3.22.4",
"zustand": "^4.4.7"
"zustand": "^5.0.9"
},
"devDependencies": {
"@axe-core/react": "^4.11.0",