Skip to content

Commit

Permalink
HAAR-3434: update to node 22 and use csrf-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
mpbostock committed Dec 23, 2024
1 parent 07295f1 commit 7f66dfa
Show file tree
Hide file tree
Showing 7 changed files with 409 additions and 216 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ parameters:

node-version:
type: string
default: 20.12-browsers
default: 22.12-browsers

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage: base image
FROM node:20.17-bookworm-slim as base
FROM node:22.12-bookworm-slim as base

ARG BUILD_NUMBER
ARG GIT_REF
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ To start the main services excluding the example typescript template app:

`docker compose up --scale=app=0`

Install dependencies using `npm install`, ensuring you are using `node v18.x` and `npm v9.x`
Install dependencies using `npm install`, ensuring you are using `node v22.x` and `npm v11.x`

Note: Using `nvm` (or [fnm](https://github.com/Schniz/fnm)), run `nvm install --latest-npm` within the repository folder to use the correct version of node, and the latest version of npm. This matches the `engines` config in `package.json` and the CircleCI build config.

Expand Down
Loading

0 comments on commit 7f66dfa

Please sign in to comment.