From e03939449270bc74572e7193cd52f06e82642322 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 22:10:31 +0000 Subject: [PATCH] chore(deps): update node.js to v22 --- templates/koa-ts/.nvmrc | 2 +- templates/koa-ts/Dockerfile | 4 ++-- templates/koa-ts/package-lock.json | 2 +- templates/koa-ts/package.json | 2 +- templates/react-ts/.nvmrc | 2 +- templates/react-ts/Dockerfile | 2 +- templates/react/.nvmrc | 2 +- templates/react/Dockerfile | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/koa-ts/.nvmrc b/templates/koa-ts/.nvmrc index f8824128a..23222029f 100644 --- a/templates/koa-ts/.nvmrc +++ b/templates/koa-ts/.nvmrc @@ -1 +1 @@ -v18.* +22.* diff --git a/templates/koa-ts/Dockerfile b/templates/koa-ts/Dockerfile index af20bd45c..9e0699508 100644 --- a/templates/koa-ts/Dockerfile +++ b/templates/koa-ts/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-slim as BUILDER +FROM node:22-slim as BUILDER WORKDIR /home/app @@ -14,7 +14,7 @@ ENV NODE_ENV production RUN npm prune --production # A slimmed down runner image with only the bare necessities -FROM node:18-slim AS runner +FROM node:22-slim AS runner WORKDIR /home/app COPY --from=BUILDER /home/app/node_modules ./node_modules COPY --from=BUILDER /home/app/package* ./ diff --git a/templates/koa-ts/package-lock.json b/templates/koa-ts/package-lock.json index 44e4828a4..5b5ada916 100644 --- a/templates/koa-ts/package-lock.json +++ b/templates/koa-ts/package-lock.json @@ -37,7 +37,7 @@ "typescript": "5.7.2" }, "engines": { - "node": "18.*" + "node": "22.*" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/templates/koa-ts/package.json b/templates/koa-ts/package.json index d44236d5c..56bcda87b 100644 --- a/templates/koa-ts/package.json +++ b/templates/koa-ts/package.json @@ -5,7 +5,7 @@ "main": "./src/index.ts", "private": "true", "engines": { - "node": "18.*" + "node": "22.*" }, "scripts": { "test": "jest", diff --git a/templates/react-ts/.nvmrc b/templates/react-ts/.nvmrc index 7c254fbf0..f07cdfac4 100644 --- a/templates/react-ts/.nvmrc +++ b/templates/react-ts/.nvmrc @@ -1 +1 @@ -18.20 \ No newline at end of file +22.11 \ No newline at end of file diff --git a/templates/react-ts/Dockerfile b/templates/react-ts/Dockerfile index 6c16f53a4..14bb8b97e 100644 --- a/templates/react-ts/Dockerfile +++ b/templates/react-ts/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-slim AS builder +FROM node:22-slim AS builder WORKDIR /app ADD package*.json . diff --git a/templates/react/.nvmrc b/templates/react/.nvmrc index 7c254fbf0..f07cdfac4 100644 --- a/templates/react/.nvmrc +++ b/templates/react/.nvmrc @@ -1 +1 @@ -18.20 \ No newline at end of file +22.11 \ No newline at end of file diff --git a/templates/react/Dockerfile b/templates/react/Dockerfile index 6c16f53a4..14bb8b97e 100644 --- a/templates/react/Dockerfile +++ b/templates/react/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-slim AS builder +FROM node:22-slim AS builder WORKDIR /app ADD package*.json .