Skip to content

Commit

Permalink
Merge pull request #1590 from elifesciences/renovate/node-20.x
Browse files Browse the repository at this point in the history
chore(deps): update node.js to v20
  • Loading branch information
scottaubrey authored Feb 26, 2024
2 parents 80ebe70 + 58cacb2 commit 57a51e5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/gallium
lts/iron
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM node:16@sha256:f77a1aef2da8d83e45ec990f45df50f1a286c5fe8bbfb8c6e4246c6389705c0b as deps
FROM --platform=$BUILDPLATFORM node:20@sha256:f3299f16246c71ab8b304d6745bb4059fa9283e8d025972e28436a9f9b36ed24 as deps
RUN mkdir /app
WORKDIR /app
RUN apt-get update && apt-get install -y git python3 build-essential libc-dev
Expand All @@ -9,7 +9,7 @@ ADD .yarn .yarn
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
RUN yarn

FROM --platform=$TARGETPLATFORM node:16@sha256:f77a1aef2da8d83e45ec990f45df50f1a286c5fe8bbfb8c6e4246c6389705c0b as platform_deps
FROM --platform=$TARGETPLATFORM node:20@sha256:f3299f16246c71ab8b304d6745bb4059fa9283e8d025972e28436a9f9b36ed24 as platform_deps
RUN mkdir /app
WORKDIR /app
RUN apt-get update && apt-get install -y git python3 build-essential libc-dev
Expand All @@ -21,7 +21,7 @@ COPY --from=deps /app/.yarnrc.yml .yarnrc.yml
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
RUN yarn

FROM node:16@sha256:f77a1aef2da8d83e45ec990f45df50f1a286c5fe8bbfb8c6e4246c6389705c0b as base
FROM node:20@sha256:f3299f16246c71ab8b304d6745bb4059fa9283e8d025972e28436a9f9b36ed24 as base
RUN mkdir /app
WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@types/decompress": "^4.2.5",
"@types/eslint": "8.56.3",
"@types/jest": "^29.2.5",
"@types/node": "^16.18.68",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"aws-sdk-client-mock": "^3.0.0",
Expand Down
11 changes: 2 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3209,7 +3209,7 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*, @types/node@npm:>=12.12.47, @types/node@npm:>=13.7.0":
"@types/node@npm:*, @types/node@npm:>=12.12.47, @types/node@npm:>=13.7.0, @types/node@npm:^20.0.0":
version: 20.11.20
resolution: "@types/node@npm:20.11.20"
dependencies:
Expand All @@ -3218,13 +3218,6 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:^16.18.68":
version: 16.18.83
resolution: "@types/node@npm:16.18.83"
checksum: 1874fc702ee1bfdd07f9b1d448283cac5aa6ff620fdd5b578145594f5bc841aabc75eb50fb1490f82accbd570718831814ec5249447881fed5c6da3c5439d864
languageName: node
linkType: hard

"@types/semver@npm:^7.5.0":
version: 7.5.0
resolution: "@types/semver@npm:7.5.0"
Expand Down Expand Up @@ -4879,7 +4872,7 @@ __metadata:
"@types/decompress": ^4.2.5
"@types/eslint": 8.56.3
"@types/jest": ^29.2.5
"@types/node": ^16.18.68
"@types/node": ^20.0.0
"@typescript-eslint/eslint-plugin": ^6.20.0
"@typescript-eslint/parser": ^6.20.0
aws-sdk-client-mock: ^3.0.0
Expand Down

0 comments on commit 57a51e5

Please sign in to comment.