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..7d6ab9d9 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.17.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 4e3e0d4c..e7e977ff 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.17.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.17.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.1.tgz", + "integrity": "sha512-j2VlPv1NnwPJbaCNv69FO/1z4lId0QmGvpT41YxitRtWlg96g/j8qcv2RKsLKe2F6OJgyXhupN1Xo17b2m139Q==", "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.8.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.0.tgz", + "integrity": "sha512-84rafSBHC/z1i1E3p0cJwKA+CfYDNSXX9WSZBRopjIzLET8oNt6ht2tei4C7izwDeEiLLfdeSVBv1egOH916hg==", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.8" } }, "node_modules/@types/passport": { @@ -8995,9 +8995,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.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" }, "node_modules/universalify": { "version": "2.0.0", @@ -9460,7 +9460,7 @@ "@types/jest": "27.5.2", "@types/lodash": "4.17.4", "@types/luxon": "2.4.0", - "@types/node": "18.19.33", + "@types/node": "20.17.1", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1", @@ -9479,17 +9479,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.17.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.1.tgz", + "integrity": "sha512-j2VlPv1NnwPJbaCNv69FO/1z4lId0QmGvpT41YxitRtWlg96g/j8qcv2RKsLKe2F6OJgyXhupN1Xo17b2m139Q==", "dev": true, "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "server/node_modules/@types/sinonjs__fake-timers": { @@ -10832,11 +10832,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.8.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.0.tgz", + "integrity": "sha512-84rafSBHC/z1i1E3p0cJwKA+CfYDNSXX9WSZBRopjIzLET8oNt6ht2tei4C7izwDeEiLLfdeSVBv1egOH916hg==", "requires": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.8" } }, "@types/passport": { @@ -16289,9 +16289,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.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" }, "universalify": { "version": "2.0.0", @@ -16420,7 +16420,7 @@ "@types/jest": "27.5.2", "@types/lodash": "4.17.4", "@types/luxon": "2.4.0", - "@types/node": "18.19.33", + "@types/node": "20.17.1", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1", @@ -16461,12 +16461,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.17.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.1.tgz", + "integrity": "sha512-j2VlPv1NnwPJbaCNv69FO/1z4lId0QmGvpT41YxitRtWlg96g/j8qcv2RKsLKe2F6OJgyXhupN1Xo17b2m139Q==", "dev": true, "requires": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "@types/sinonjs__fake-timers": { @@ -16497,7 +16497,7 @@ "@types/jest": "27.5.2", "@types/lodash": "4.17.4", "@types/luxon": "2.4.0", - "@types/node": "18.19.33", + "@types/node": "20.17.1", "@types/react": "17.0.80", "@types/react-dom": "17.0.25", "@types/react-router-dom": "5.3.3", @@ -16521,12 +16521,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.17.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.1.tgz", + "integrity": "sha512-j2VlPv1NnwPJbaCNv69FO/1z4lId0QmGvpT41YxitRtWlg96g/j8qcv2RKsLKe2F6OJgyXhupN1Xo17b2m139Q==", "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 9e1548b8..232320ee 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.17.1", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1",