From 23733f0b23b8b34eab0fb740c6f583e6e8ebb6d7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 13:30:37 +0000 Subject: [PATCH] Update Node.js to v20 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Dockerfile | 6 +++--- packages/app/package.json | 2 +- yarn.lock | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9c7efbbfa..4d6da15bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG ENVIRONMENT_CONFIG=heroku # Stage 1 - Create yarn install skeleton layer -FROM node:18-bookworm-slim AS packages +FROM node:20-bookworm-slim AS packages ARG ENVIRONMENT_CONFIG WORKDIR /app @@ -16,7 +16,7 @@ COPY packages packages RUN find packages \! -name "package.json" -mindepth 2 -maxdepth 2 -print | xargs rm -rf # Stage 2 - Install dependencies and build packages -FROM node:18-bookworm-slim AS build +FROM node:20-bookworm-slim AS build ARG ENVIRONMENT_CONFIG # Set Python interpreter for `node-gyp` to use @@ -50,7 +50,7 @@ RUN mkdir packages/backend/dist/skeleton packages/backend/dist/bundle \ && tar xzf packages/backend/dist/bundle.tar.gz -C packages/backend/dist/bundle # Stage 3 - Build the actual backend image and install production dependencies -FROM node:18-bookworm-slim +FROM node:20-bookworm-slim ARG ENVIRONMENT_CONFIG # Set Python interpreter for `node-gyp` to use diff --git a/packages/app/package.json b/packages/app/package.json index 919cfe632..e122a504c 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -42,7 +42,7 @@ "@playwright/test": "^1.32.3", "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^14.0.0", - "@types/node": "^12.0.0", + "@types/node": "^20.0.0", "@types/react-dom": "*", "@types/uuid": "^9.0.0", "uuid": "^9.0.1" diff --git a/yarn.lock b/yarn.lock index 30e841d54..1c0c2f6af 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10953,7 +10953,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:>=12.12.47, @types/node@npm:>=13.7.0, @types/node@npm:^20.1.1, @types/node@npm:^20.10.5": +"@types/node@npm:*, @types/node@npm:>=12.12.47, @types/node@npm:>=13.7.0, @types/node@npm:^20.0.0, @types/node@npm:^20.1.1, @types/node@npm:^20.10.5": version: 20.11.16 resolution: "@types/node@npm:20.11.16" dependencies: @@ -10962,7 +10962,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^12.0.0, @types/node@npm:^12.7.1": +"@types/node@npm:^12.7.1": version: 12.20.55 resolution: "@types/node@npm:12.20.55" checksum: e4f86785f4092706e0d3b0edff8dca5a13b45627e4b36700acd8dfe6ad53db71928c8dee914d4276c7fd3b6ccd829aa919811c9eb708a2c8e4c6eb3701178c37 @@ -12202,7 +12202,7 @@ __metadata: "@playwright/test": ^1.32.3 "@testing-library/jest-dom": ^6.0.0 "@testing-library/react": ^14.0.0 - "@types/node": ^12.0.0 + "@types/node": ^20.0.0 "@types/react-dom": "*" "@types/uuid": ^9.0.0 react: ^18.2.0