Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
694c3b6a88 |
@@ -20,7 +20,7 @@ jobs:
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '24'
|
||||
node-version: '22'
|
||||
|
||||
- name: Server — install & typecheck
|
||||
working-directory: server
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
# Imagen única: construye el front (Vite) y lo sirve desde el servidor (Fastify + Socket.IO).
|
||||
|
||||
# ---- build del front ----
|
||||
FROM node:24-alpine AS web
|
||||
FROM node:22-alpine AS web
|
||||
WORKDIR /web
|
||||
COPY web/package.json web/package-lock.json* ./
|
||||
RUN npm install
|
||||
@@ -10,7 +10,7 @@ COPY web/ ./
|
||||
RUN npm run build # -> /web/dist
|
||||
|
||||
# ---- producción ----
|
||||
FROM node:24-alpine AS production
|
||||
FROM node:22-alpine AS production
|
||||
WORKDIR /app
|
||||
# deps del servidor (incluye tsx y drizzle-kit; NODE_ENV se fija DESPUÉS para no
|
||||
# saltarse las devDependencies durante la instalación)
|
||||
|
||||
Generated
+4
-4
@@ -18,7 +18,7 @@
|
||||
"drizzle-kit": "^0.31.0",
|
||||
"socket.io-client": "^4.8.1",
|
||||
"tsx": "^4.19.2",
|
||||
"typescript": "^6.0.0",
|
||||
"typescript": "^5.7.2",
|
||||
"vitest": "^4.0.0"
|
||||
}
|
||||
},
|
||||
@@ -3888,9 +3888,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "6.0.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
|
||||
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
|
||||
"version": "5.9.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
||||
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@
|
||||
"drizzle-kit": "^0.31.0",
|
||||
"socket.io-client": "^4.8.1",
|
||||
"tsx": "^4.19.2",
|
||||
"typescript": "^6.0.0",
|
||||
"typescript": "^5.7.2",
|
||||
"vitest": "^4.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+4
-4
@@ -18,7 +18,7 @@
|
||||
"@types/react": "^19.0.0",
|
||||
"@types/react-dom": "^19.0.0",
|
||||
"@vitejs/plugin-react": "^6.0.0",
|
||||
"typescript": "^6.0.0",
|
||||
"typescript": "^5.7.2",
|
||||
"vite": "^8.0.0"
|
||||
}
|
||||
},
|
||||
@@ -1099,9 +1099,9 @@
|
||||
"license": "0BSD"
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "6.0.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
|
||||
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
|
||||
"version": "5.9.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
||||
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
"@types/react": "^19.0.0",
|
||||
"@types/react-dom": "^19.0.0",
|
||||
"@vitejs/plugin-react": "^6.0.0",
|
||||
"typescript": "^6.0.0",
|
||||
"typescript": "^5.7.2",
|
||||
"vite": "^8.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
/// <reference types="vite/client" />
|
||||
Reference in New Issue
Block a user