Skip to content

Commit

Permalink
chore(deps): update dependency node to v22
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Nov 4, 2024
1 parent 8017e42 commit 6d85570
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion templates/koa-ts/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.*
22.*
4 changes: 2 additions & 2 deletions templates/koa-ts/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-slim as BUILDER
FROM node:22-slim as BUILDER

WORKDIR /home/app

Expand All @@ -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* ./
Expand Down
2 changes: 1 addition & 1 deletion templates/koa-ts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion templates/koa-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "./src/index.ts",
"private": "true",
"engines": {
"node": "18.*"
"node": "22.*"
},
"scripts": {
"test": "jest",
Expand Down
2 changes: 1 addition & 1 deletion templates/react-ts/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.20
22.11
2 changes: 1 addition & 1 deletion templates/react-ts/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-slim AS builder
FROM node:22-slim AS builder

WORKDIR /app
ADD package*.json .
Expand Down
2 changes: 1 addition & 1 deletion templates/react/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.20
22.11
2 changes: 1 addition & 1 deletion templates/react/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-slim AS builder
FROM node:22-slim AS builder

WORKDIR /app
ADD package*.json .
Expand Down

0 comments on commit 6d85570

Please sign in to comment.