Skip to content

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

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

Open
wants to merge 2 commits 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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
- uses: bahmutov/npm-install@v1
- name: Build back
run: cd api && yarn build
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
- uses: bahmutov/npm-install@v1
- run: cd web
- name: 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.api
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine as build
FROM node:22-alpine as build
RUN apk add --no-cache \
git \
openssh-client \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.web
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build step
FROM node:20-alpine as build
FROM node:22-alpine as build
WORKDIR /app
COPY package.json yarn.lock ./
COPY api/package.json api/
Expand Down
5 changes: 4 additions & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@types/express": "4.17.21",
"@types/jsdom": "^21.1.7",
"@types/memoizee": "^0.4.7",
"@types/node": "^18.19.64",
"@types/node": "^22.0.0",
"@types/node-fetch": "^2.5.7",
"@types/semver": "^7.5.3",
"@types/ungap__structured-clone": "^0.3.0",
Expand All @@ -72,6 +72,8 @@
"vitest": "^1.2.2"
},
"dependencies": {
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@octokit/graphql": "^7.0.2",
"@trpc/server": "^10.18.0",
"@types/pg": "^8.11.6",
Expand All @@ -80,6 +82,7 @@
"jwt-decode": "^3.1.2",
"kysely": "^0.27.4",
"kysely-ctl": "^0.12.0",
"lefthook": "^1.10.10",
"oidc-spa": "^6.1.9",
"pg": "^8.11.5",
"semver": "^7.5.4",
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@
"turbo": "^1.12.5"
},
"engines": {
"node": "^20"
"node": "^22"
},
"workspaces": [
"api",
"web"
]
],
"dependencies": {}
}
4 changes: 2 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"i18next-http-backend": "^3.0.2",
"i18nifty": "^3.2.2",
"memoizee": "^0.4.14",
"oidc-spa": "^6.1.9",
"oidc-spa": "^6.14.0",
"path": "^0.12.7",
"powerhooks": "^1.0.12",
"react": "^18.2.0",
Expand Down Expand Up @@ -66,7 +66,7 @@
"@storybook/react": "^6.5.10",
"@types/flexsearch": "^0.7.3",
"@types/memoizee": "^0.4.4",
"@types/node": "^18.19.64",
"@types/node": "^22.0.0",
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.62.0",
Expand Down
3 changes: 2 additions & 1 deletion web/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { MuiDsfrThemeProvider } from "@codegouvfr/react-dsfr/mui";
import { startReactDsfr } from "@codegouvfr/react-dsfr/spa";
import { assert } from "tsafe/assert";
import "./ui/i18n/i18next";
import { handleOidcCallback } from "oidc-spa/oidc/handleOidcCallback";
import { handleOidcCallback } from "oidc-spa/core/handleOidcCallback";

handleOidcCallback();

startReactDsfr({ defaultColorScheme: "system" });
Expand Down
3,283 changes: 1,585 additions & 1,698 deletions yarn.lock

Large diffs are not rendered by default.