From 1818c42495cbeee8abe177f51bea994fc4a9a153 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 09:14:14 +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 7394a2d11..26ed53a73 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 29c754810..423b4f5ba 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..e70b3aebd 100644 --- a/templates/react-ts/.nvmrc +++ b/templates/react-ts/.nvmrc @@ -1 +1 @@ -18.20 \ No newline at end of file +22.12 \ 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..e70b3aebd 100644 --- a/templates/react/.nvmrc +++ b/templates/react/.nvmrc @@ -1 +1 @@ -18.20 \ No newline at end of file +22.12 \ 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 .