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..141fead7 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.14.10", "@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..8cdcee84 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.14.10", "@types/react": "17.0.80", "@types/react-dom": "17.0.25", "@types/react-router-dom": "5.3.3", @@ -64,19 +64,10 @@ "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==", - "dev": true, - "dependencies": { - "undici-types": "~5.26.4" - } - }, "client/node_modules/@types/sinonjs__fake-timers": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.1.tgz", @@ -1796,9 +1787,9 @@ "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": "20.14.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.10.tgz", + "integrity": "sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==", "dependencies": { "undici-types": "~5.26.4" } @@ -9296,7 +9287,7 @@ "@types/jest": "27.5.2", "@types/lodash": "4.17.4", "@types/luxon": "2.4.0", - "@types/node": "18.19.33", + "@types/node": "20.14.10", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1", @@ -9315,19 +9306,10 @@ "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==", - "dev": true, - "dependencies": { - "undici-types": "~5.26.4" - } - }, "server/node_modules/@types/sinonjs__fake-timers": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.1.tgz", @@ -10668,9 +10650,9 @@ "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": "20.14.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.10.tgz", + "integrity": "sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==", "requires": { "undici-types": "~5.26.4" } @@ -16147,7 +16129,7 @@ "@types/jest": "27.5.2", "@types/lodash": "4.17.4", "@types/luxon": "2.4.0", - "@types/node": "18.19.33", + "@types/node": "20.14.10", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1", @@ -16187,15 +16169,6 @@ "uuid": "8.3.2" }, "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==", - "dev": true, - "requires": { - "undici-types": "~5.26.4" - } - }, "@types/sinonjs__fake-timers": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.1.tgz", @@ -16224,7 +16197,7 @@ "@types/jest": "27.5.2", "@types/lodash": "4.17.4", "@types/luxon": "2.4.0", - "@types/node": "18.19.33", + "@types/node": "20.14.10", "@types/react": "17.0.80", "@types/react-dom": "17.0.25", "@types/react-router-dom": "5.3.3", @@ -16247,15 +16220,6 @@ "vite": "2.9.18" }, "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==", - "dev": true, - "requires": { - "undici-types": "~5.26.4" - } - }, "@types/sinonjs__fake-timers": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.1.tgz", 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..79b2b7b0 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.14.10", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1",