Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update node.js to v22 #904

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.13
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.13
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
Loading