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..ed3713a0 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.2", "@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..13c778b6 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.2", "@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.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.2.tgz", + "integrity": "sha512-OOHK4sjXqkL7yQ7VEEHcf6+0jSvKjWqwnaCtY7AKD/VLEvRHMsxxu7eI8ErnjxHS8VwmekD4PeVCpu4qZEZSxg==", "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.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.2.tgz", + "integrity": "sha512-NzaRNFV+FZkvK/KLCsNdTvID0SThyrs5SHB6tsD/lajr22FGC73N2QeDPM2wHtVde8mgcXuSsHQkH5cX1pbPLw==", "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.2", "@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.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.2.tgz", + "integrity": "sha512-OOHK4sjXqkL7yQ7VEEHcf6+0jSvKjWqwnaCtY7AKD/VLEvRHMsxxu7eI8ErnjxHS8VwmekD4PeVCpu4qZEZSxg==", "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.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.2.tgz", + "integrity": "sha512-NzaRNFV+FZkvK/KLCsNdTvID0SThyrs5SHB6tsD/lajr22FGC73N2QeDPM2wHtVde8mgcXuSsHQkH5cX1pbPLw==", "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.2", "@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.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.2.tgz", + "integrity": "sha512-OOHK4sjXqkL7yQ7VEEHcf6+0jSvKjWqwnaCtY7AKD/VLEvRHMsxxu7eI8ErnjxHS8VwmekD4PeVCpu4qZEZSxg==", "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.2", "@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.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.2.tgz", + "integrity": "sha512-OOHK4sjXqkL7yQ7VEEHcf6+0jSvKjWqwnaCtY7AKD/VLEvRHMsxxu7eI8ErnjxHS8VwmekD4PeVCpu4qZEZSxg==", "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..276feded 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.2", "@types/passport": "1.0.9", "@types/passport-http": "0.3.11", "@types/sinonjs__fake-timers": "8.1.1",