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

front, ci: bump node js (18 -> 20) #8089

Merged
merged 1 commit into from
Jul 17, 2024
Merged
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 flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

pythonPackages = ps: (import ./nix/python_env.nix {inherit ps;});

fixedNode = pkgs.nodejs-18_x;
fixedNode = pkgs.nodejs_20;
fixedNodePackages = pkgs.nodePackages.override {
nodejs = fixedNode;
};
Expand Down
1 change: 1 addition & 0 deletions front/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
2 changes: 1 addition & 1 deletion front/docker/Dockerfile.devel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY docker/exec-as.c .
RUN gcc -std=c99 -static -o /exec-as exec-as.c


FROM node:18
FROM node:20

# Install dependencies
RUN apt-get update -yqq && \
Expand Down
2 changes: 1 addition & 1 deletion front/docker/Dockerfile.nginx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### BUILD STAGE

FROM node:18-bookworm as build
FROM node:20-bookworm as build

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion front/docker/Dockerfile.storybook
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build Storybook with node
FROM node:18-alpine as build
FROM node:20-alpine as build

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"@types/d3-drag": "^3.0.7",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.14.202",
"@types/node": "^20.11.16",
"@types/node": "^20",
"@types/react": "^18.2.53",
"@types/react-beautiful-dnd": "^13.1.8",
"@types/react-dom": "^18.2.18",
Expand Down
9 changes: 8 additions & 1 deletion front/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4420,7 +4420,7 @@
"@types/node" "*"
form-data "^4.0.0"

"@types/node@*", "@types/node@^20.11.16", "@types/node@^20.4.1":
"@types/node@*", "@types/node@^20.4.1":
version "20.12.7"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.7.tgz#04080362fa3dd6c5822061aa3124f5c152cff384"
integrity sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==
Expand All @@ -4434,6 +4434,13 @@
dependencies:
undici-types "~5.26.4"

"@types/node@^20":
version "20.14.11"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.11.tgz#09b300423343460455043ddd4d0ded6ac579b74b"
integrity sha512-kprQpL8MMeszbz6ojB5/tU8PLN4kesnN8Gjzw349rDlNgsSzg90lAVj3llK99Dh7JON+t9AuscPPFW6mPbTnSA==
dependencies:
undici-types "~5.26.4"

"@types/normalize-package-data@^2.4.0":
version "2.4.4"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz#56e2cc26c397c038fab0e3a917a12d5c5909e901"
Expand Down
Loading