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..adf66911 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.13", "@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..63d63abf 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.13", "@types/react": "17.0.80", "@types/react-dom": "17.0.25", "@types/react-router-dom": "5.3.3", @@ -64,14 +64,14 @@ "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.14.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.13.tgz", + "integrity": "sha512-+bHoGiZb8UiQ0+WEtmph2IWQCjIqg8MDZMAV+ppRRhUZnquF5mQkP/9vpSwJClEiSM/C7fZZExPzfU0vJTyp8w==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -1796,13 +1796,18 @@ "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.0.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.0.0.tgz", + "integrity": "sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw==", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.11.1" } }, + "node_modules/@types/node/node_modules/undici-types": { + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.11.1.tgz", + "integrity": "sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ==" + }, "node_modules/@types/passport": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@types/passport/-/passport-1.0.9.tgz", @@ -8833,7 +8838,8 @@ "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==" + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true }, "node_modules/universalify": { "version": "2.0.0", @@ -9296,7 +9302,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.13", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1", @@ -9315,14 +9321,14 @@ "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.14.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.13.tgz", + "integrity": "sha512-+bHoGiZb8UiQ0+WEtmph2IWQCjIqg8MDZMAV+ppRRhUZnquF5mQkP/9vpSwJClEiSM/C7fZZExPzfU0vJTyp8w==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -10668,11 +10674,18 @@ "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.0.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.0.0.tgz", + "integrity": "sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw==", "requires": { - "undici-types": "~5.26.4" + "undici-types": "~6.11.1" + }, + "dependencies": { + "undici-types": { + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.11.1.tgz", + "integrity": "sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ==" + } } }, "@types/passport": { @@ -16018,7 +16031,8 @@ "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==" + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true }, "universalify": { "version": "2.0.0", @@ -16147,7 +16161,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.13", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1", @@ -16188,9 +16202,9 @@ }, "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.14.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.13.tgz", + "integrity": "sha512-+bHoGiZb8UiQ0+WEtmph2IWQCjIqg8MDZMAV+ppRRhUZnquF5mQkP/9vpSwJClEiSM/C7fZZExPzfU0vJTyp8w==", "dev": true, "requires": { "undici-types": "~5.26.4" @@ -16224,7 +16238,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.13", "@types/react": "17.0.80", "@types/react-dom": "17.0.25", "@types/react-router-dom": "5.3.3", @@ -16248,9 +16262,9 @@ }, "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.14.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.13.tgz", + "integrity": "sha512-+bHoGiZb8UiQ0+WEtmph2IWQCjIqg8MDZMAV+ppRRhUZnquF5mQkP/9vpSwJClEiSM/C7fZZExPzfU0vJTyp8w==", "dev": true, "requires": { "undici-types": "~5.26.4" 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..0dfdc550 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.13", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1",