Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Upgrade to new Node LTS v22
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed Nov 16, 2024
1 parent 05b98f4 commit b7b5e1f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/javascript-node:20-bookworm
FROM mcr.microsoft.com/devcontainers/javascript-node:22-bookworm

# Install extra dependencies (mostly for Cypress)
RUN apt-get update \
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Allows the project to be started in a [dev container] for [GitHub Codespaces] or

- `devcontainer.json`: Defines the development environment.
- `docker-compose.yml`: Defines the services (including the dev container) - extends the root `docker-compose.yml`.
- `Dockerfile`: Defines the app's dev container (Debian, Node 20, PostgreSQL client).
- `Dockerfile`: Defines the app's dev container (Debian, Node 22, PostgreSQL client).

## Setup

Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/gitstub/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:22-alpine

USER node
WORKDIR /home/node
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.15.0
22.11.0
3 changes: 1 addition & 2 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"winston": "^3.16.0"
},
"engines": {
"node": "^20.9",
"npm": "^10"
"node": "^22.11"
}
}
2 changes: 1 addition & 1 deletion server/.babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"plugins": ["@babel/plugin-transform-runtime"],
"presets": [["@babel/preset-env", { "targets": { "node": 20 } }]]
"presets": [["@babel/preset-env", { "targets": { "node": 22 } }]]
}

0 comments on commit b7b5e1f

Please sign in to comment.