Skip to content

Commit

Permalink
Update Node.js and pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Feb 19, 2025
1 parent a33afad commit 909947b
Show file tree
Hide file tree
Showing 15 changed files with 155 additions and 76 deletions.
12 changes: 6 additions & 6 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ FROM docker.io/ubuntu:24.04

ARG TARGETARCH

ENV NODE_VERSION 22.13.1
ENV PNPM_VERSION 10.0.0
ENV NODE_VERSION 22.14.0
ENV PNPM_VERSION 10.4.1

ENV NODE_CHECKSUM_ARM64 911d9c07af38c82be22cd0a3db613aabc578ba940b35380aeedadd6d48070bc1
ENV PNPM_CHECKSUM_ARM64 9bb1b569890eee8a7f535fadda6f9a78ffeb818a780b8c591e92478089eafafd
ENV NODE_CHECKSUM_X64 666148b9fe0c7e1301cc1b029e33a45e9e4a893f68d2d2bb1cc88a931a88a004
ENV PNPM_CHECKSUM_X64 e1025c55ae220c66a980272ecb343c4860b129687e4e1c41bc5f343ee127d455
ENV NODE_CHECKSUM_ARM64 8cf30ff7250f9463b53c18f89c6c606dfda70378215b2c905d0a9a8b08bd45e0
ENV PNPM_CHECKSUM_ARM64 cb4c55b43033577719df2918e83c09ff7cc5ad04872c1959b36f39362399d999
ENV NODE_CHECKSUM_X64 9d942932535988091034dc94cc5f42b6dc8784d6366df3a36c4c9ccb3996f0c2
ENV PNPM_CHECKSUM_X64 24fdba5caab4190d9f1b0f4e7e2a7557f534519047ac7277430e048986775381

RUN apt-get update \
&& apt-get install -y eza zsh git tig ripgrep bat curl tar micro psmisc \
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.13.1
22.14.0
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"engines": {
"node": "^22.13.0",
"node": "^22.14.0",
"pnpm": "^10.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"engines": {
"node": "^22.13.0",
"node": "^22.14.0",
"pnpm": "^10.0.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"engines": {
"node": "^22.13.0",
"node": "^22.14.0",
"pnpm": "^10.0.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion loader-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"engines": {
"node": "^22.13.0",
"node": "^22.14.0",
"pnpm": "^10.0.0"
},
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"private": true,
"type": "module",
"engines": {
"node": "^22.13.0",
"node": "^22.14.0",
"pnpm": "^10.0.0"
},
"packageManager": "pnpm@10.0.0",
"packageManager": "pnpm@10.4.1",
"scripts": {
"test": "FORCE_COLOR=1 pnpm run -r --include-workspace-root /^test:/",
"offline": "FORCE_COLOR=1 pnpm run -r --include-workspace-root '/^test:(?!audit\\b|markdown\\b|loaders\\b)/'",
Expand Down Expand Up @@ -60,7 +60,7 @@
"svelte": "5.19.3",
"svelte-check": "4.1.4",
"svgo": "3.3.2",
"typescript": "5.7.3"
"typescript": "5.8.0-dev.20250127"
},
"pnpm": {
"overrides": {
Expand Down
187 changes: 133 additions & 54 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# syntax=docker/dockerfile:1.6
FROM registry.access.redhat.com/ubi9/ubi:9.4 as builder

ENV NODE_VERSION 22.13.1
ENV NODE_CHECKSUM sha256:666148b9fe0c7e1301cc1b029e33a45e9e4a893f68d2d2bb1cc88a931a88a004
ENV NODE_VERSION 22.14.0
ENV NODE_CHECKSUM sha256:9d942932535988091034dc94cc5f42b6dc8784d6366df3a36c4c9ccb3996f0c2

ADD --checksum=$NODE_CHECKSUM https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz /node.tar.gz
RUN tar --remove-files -C /usr/local/ -xz --strip-components=1 -f /node.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"engines": {
"node": "^22.13.0",
"node": "^22.14.0",
"pnpm": "^10.0.0"
},
"exports": {
Expand Down
1 change: 0 additions & 1 deletion scripts/update-env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ let latestNode = await getLatestNodeVersion(
process.argv[2] ?? currentNode.split('.')[0]!
)
let latestPnpm = await getLatestPnpmVersion()
latestPnpm = '10.0.0'

if (currentNode !== latestNode) {
printUpdate('Node.js', currentNode, latestNode)
Expand Down
4 changes: 2 additions & 2 deletions server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# syntax=docker/dockerfile:1.6
FROM registry.access.redhat.com/ubi9/ubi:9.4 as builder

ENV NODE_VERSION 22.13.1
ENV NODE_CHECKSUM sha256:666148b9fe0c7e1301cc1b029e33a45e9e4a893f68d2d2bb1cc88a931a88a004
ENV NODE_VERSION 22.14.0
ENV NODE_CHECKSUM sha256:9d942932535988091034dc94cc5f42b6dc8784d6366df3a36c4c9ccb3996f0c2

ADD --checksum=$NODE_CHECKSUM https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz /node.tar.gz
RUN tar --remove-files -C /usr/local/ -xz --strip-components=1 -f /node.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"engines": {
"node": "^22.13.0",
"node": "^22.14.0",
"pnpm": "^10.0.0"
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"noUncheckedIndexedAccess": true,
"experimentalDecorators": true,
"verbatimModuleSyntax": true,
"erasableSyntaxOnly": true,
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"skipLibCheck": true,
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"engines": {
"node": "^22.13.0",
"node": "^22.14.0",
"pnpm": "^10.0.0"
},
"scripts": {
Expand Down

0 comments on commit 909947b

Please sign in to comment.