Skip to content

Commit

Permalink
chore(deps): update node.js to v22
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Dec 4, 2024
1 parent 182a5b5 commit 6494f14
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 22 deletions.
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:20@sha256:ae35d80b4f9b81b80749197117c2d94e8d5c74e0e2e3a389e66b6b31f3ac96cc as deps
FROM --platform=$BUILDPLATFORM node:22@sha256:1f0aa340dba56b9de84f817e6ce1df1d1edd77e1d7597f9d56087bd64582d7ff as deps

Check warning on line 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / test

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
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:20@sha256:ae35d80b4f9b81b80749197117c2d94e8d5c74e0e2e3a389e66b6b31f3ac96cc as platform_deps
FROM --platform=$TARGETPLATFORM node:22@sha256:1f0aa340dba56b9de84f817e6ce1df1d1edd77e1d7597f9d56087bd64582d7ff as platform_deps

Check warning on line 12 in Dockerfile

View workflow job for this annotation

GitHub Actions / test

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 12 in Dockerfile

View workflow job for this annotation

GitHub Actions / test

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
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:20@sha256:ae35d80b4f9b81b80749197117c2d94e8d5c74e0e2e3a389e66b6b31f3ac96cc as base
FROM node:22@sha256:1f0aa340dba56b9de84f817e6ce1df1d1edd77e1d7597f9d56087bd64582d7ff as base

Check warning on line 24 in Dockerfile

View workflow job for this annotation

GitHub Actions / test

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
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 @@ -27,7 +27,7 @@
"@tsconfig/node16": "^16.0.0",
"@types/eslint": "8.56.12",
"@types/jest": "^29.2.5",
"@types/node": "^20.0.0",
"@types/node": "^22.0.0",
"@types/unzipper": "^0.10.9",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
Expand Down
20 changes: 2 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3309,7 +3309,7 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*, @types/node@npm:>=13.7.0":
"@types/node@npm:*, @types/node@npm:>=13.7.0, @types/node@npm:^22.0.0":
version: 22.10.1
resolution: "@types/node@npm:22.10.1"
dependencies:
Expand All @@ -3318,15 +3318,6 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:^20.0.0":
version: 20.17.9
resolution: "@types/node@npm:20.17.9"
dependencies:
undici-types: "npm:~6.19.2"
checksum: 10c0/1c37c3618407d56b76301578edabcb4c6a7ef093d0811c50fc4df8df68fc546797a294cafac0e50789f4e0e485cd1d6871964d8e6222fd420658bdae89c1fb4a
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 @@ -4768,7 +4759,7 @@ __metadata:
"@tsconfig/node16": "npm:^16.0.0"
"@types/eslint": "npm:8.56.12"
"@types/jest": "npm:^29.2.5"
"@types/node": "npm:^20.0.0"
"@types/node": "npm:^22.0.0"
"@types/unzipper": "npm:^0.10.9"
"@typescript-eslint/eslint-plugin": "npm:^7.0.0"
"@typescript-eslint/parser": "npm:^7.0.0"
Expand Down Expand Up @@ -8776,13 +8767,6 @@ __metadata:
languageName: node
linkType: hard

"undici-types@npm:~6.19.2":
version: 6.19.6
resolution: "undici-types@npm:6.19.6"
checksum: 10c0/9b2264c5700e7169c6c62c643aac56cd8984c5fd7e18ed31ff11780260e137f6340dee8317a2e6e0ae3c49f5e5ef6fa577ea07193cbaa535265cba76a267cae9
languageName: node
linkType: hard

"undici-types@npm:~6.20.0":
version: 6.20.0
resolution: "undici-types@npm:6.20.0"
Expand Down

0 comments on commit 6494f14

Please sign in to comment.