diff --git a/Dockerfile b/Dockerfile index 4df59505..8891be8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16 as build +FROM node:20 as build ENV CYPRESS_INSTALL_BINARY=0 WORKDIR /app @@ -13,7 +13,7 @@ COPY server ./server/ RUN npm run build --workspaces -FROM node:16 +FROM node:20 ENV NODE_ENV=production WORKDIR /app diff --git a/client/package.json b/client/package.json index f81051a0..c429f422 100644 --- a/client/package.json +++ b/client/package.json @@ -25,7 +25,7 @@ "@types/jest": "27.5.2", "@types/lodash": "4.17.4", "@types/luxon": "2.4.0", - "@types/node": "18.19.33", + "@types/node": "20.16.1", "@types/react": "17.0.80", "@types/react-dom": "17.0.25", "@types/react-router-dom": "5.3.3", @@ -59,7 +59,7 @@ ] }, "engines": { - "node": "16.x", + "node": "20.x", "npm": "8.x" } } diff --git a/package-lock.json b/package-lock.json index 072ad5e6..81455484 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "typescript": "4.9.5" }, "engines": { - "node": "16.x", + "node": "20.x", "npm": "8.x" } }, @@ -50,7 +50,7 @@ "@types/jest": "27.5.2", "@types/lodash": "4.17.4", "@types/luxon": "2.4.0", - "@types/node": "18.19.33", + "@types/node": "20.16.1", "@types/react": "17.0.80", "@types/react-dom": "17.0.25", "@types/react-router-dom": "5.3.3", @@ -64,17 +64,17 @@ "vite": "2.9.18" }, "engines": { - "node": "16.x", + "node": "20.x", "npm": "8.x" } }, "client/node_modules/@types/node": { - "version": "18.19.33", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.33.tgz", - "integrity": "sha512-NR9+KrpSajr2qBVp/Yt5TU/rp+b5Mayi3+OlMlcg2cVCfRmcG5PWZ7S4+MG9PZ5gWBoc9Pd0BKSRViuBCRPu0A==", + "version": "20.16.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.1.tgz", + "integrity": "sha512-zJDo7wEadFtSyNz5QITDfRcrhqDvQI1xQNQ0VoizPjM/dVAODqqIUWbJPkvsxmTI0MYRGRikcdjMPhOssnPejQ==", "dev": true, "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "client/node_modules/@types/sinonjs__fake-timers": { @@ -1796,11 +1796,11 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.12.12", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz", - "integrity": "sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==", + "version": "22.4.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.4.1.tgz", + "integrity": "sha512-1tbpb9325+gPnKK0dMm+/LMriX0vKxf6RnB0SZUqfyVkQ4fMgUSySqhxE/y8Jvs4NyF1yHzTfG9KlnkIODxPKg==", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "node_modules/@types/passport": { @@ -8831,9 +8831,9 @@ "dev": true }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "version": "6.19.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.6.tgz", + "integrity": "sha512-e/vggGopEfTKSvj4ihnOLTsqhrKRN3LeO6qSN/GxohhuRv8qH9bNQ4B8W7e/vFL+0XTnmHPB4/kegunZGA4Org==" }, "node_modules/universalify": { "version": "2.0.0", @@ -9296,7 +9296,7 @@ "@types/jest": "27.5.2", "@types/lodash": "4.17.4", "@types/luxon": "2.4.0", - "@types/node": "18.19.33", + "@types/node": "20.16.1", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1", @@ -9315,17 +9315,17 @@ "typescript": "4.9.5" }, "engines": { - "node": "16.x", + "node": "20.x", "npm": "8.x" } }, "server/node_modules/@types/node": { - "version": "18.19.33", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.33.tgz", - "integrity": "sha512-NR9+KrpSajr2qBVp/Yt5TU/rp+b5Mayi3+OlMlcg2cVCfRmcG5PWZ7S4+MG9PZ5gWBoc9Pd0BKSRViuBCRPu0A==", + "version": "20.16.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.1.tgz", + "integrity": "sha512-zJDo7wEadFtSyNz5QITDfRcrhqDvQI1xQNQ0VoizPjM/dVAODqqIUWbJPkvsxmTI0MYRGRikcdjMPhOssnPejQ==", "dev": true, "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "server/node_modules/@types/sinonjs__fake-timers": { @@ -10668,11 +10668,11 @@ "dev": true }, "@types/node": { - "version": "20.12.12", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz", - "integrity": "sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==", + "version": "22.4.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.4.1.tgz", + "integrity": "sha512-1tbpb9325+gPnKK0dMm+/LMriX0vKxf6RnB0SZUqfyVkQ4fMgUSySqhxE/y8Jvs4NyF1yHzTfG9KlnkIODxPKg==", "requires": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "@types/passport": { @@ -16016,9 +16016,9 @@ "dev": true }, "undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "version": "6.19.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.6.tgz", + "integrity": "sha512-e/vggGopEfTKSvj4ihnOLTsqhrKRN3LeO6qSN/GxohhuRv8qH9bNQ4B8W7e/vFL+0XTnmHPB4/kegunZGA4Org==" }, "universalify": { "version": "2.0.0", @@ -16147,7 +16147,7 @@ "@types/jest": "27.5.2", "@types/lodash": "4.17.4", "@types/luxon": "2.4.0", - "@types/node": "18.19.33", + "@types/node": "20.16.1", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1", @@ -16188,12 +16188,12 @@ }, "dependencies": { "@types/node": { - "version": "18.19.33", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.33.tgz", - "integrity": "sha512-NR9+KrpSajr2qBVp/Yt5TU/rp+b5Mayi3+OlMlcg2cVCfRmcG5PWZ7S4+MG9PZ5gWBoc9Pd0BKSRViuBCRPu0A==", + "version": "20.16.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.1.tgz", + "integrity": "sha512-zJDo7wEadFtSyNz5QITDfRcrhqDvQI1xQNQ0VoizPjM/dVAODqqIUWbJPkvsxmTI0MYRGRikcdjMPhOssnPejQ==", "dev": true, "requires": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "@types/sinonjs__fake-timers": { @@ -16224,7 +16224,7 @@ "@types/jest": "27.5.2", "@types/lodash": "4.17.4", "@types/luxon": "2.4.0", - "@types/node": "18.19.33", + "@types/node": "20.16.1", "@types/react": "17.0.80", "@types/react-dom": "17.0.25", "@types/react-router-dom": "5.3.3", @@ -16248,12 +16248,12 @@ }, "dependencies": { "@types/node": { - "version": "18.19.33", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.33.tgz", - "integrity": "sha512-NR9+KrpSajr2qBVp/Yt5TU/rp+b5Mayi3+OlMlcg2cVCfRmcG5PWZ7S4+MG9PZ5gWBoc9Pd0BKSRViuBCRPu0A==", + "version": "20.16.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.1.tgz", + "integrity": "sha512-zJDo7wEadFtSyNz5QITDfRcrhqDvQI1xQNQ0VoizPjM/dVAODqqIUWbJPkvsxmTI0MYRGRikcdjMPhOssnPejQ==", "dev": true, "requires": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "@types/sinonjs__fake-timers": { diff --git a/package.json b/package.json index 1f2b0927..5664bf58 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "virtual-office", "version": "0.1.0", "engines": { - "node": "16.x", + "node": "20.x", "npm": "8.x" }, "devDependencies": { diff --git a/server/package.json b/server/package.json index ceca60a7..e3ef8827 100644 --- a/server/package.json +++ b/server/package.json @@ -37,7 +37,7 @@ "uuid": "8.3.2" }, "engines": { - "node": "16.x", + "node": "20.x", "npm": "8.x" }, "devDependencies": { @@ -49,7 +49,7 @@ "@types/jest": "27.5.2", "@types/lodash": "4.17.4", "@types/luxon": "2.4.0", - "@types/node": "18.19.33", + "@types/node": "20.16.1", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1",