diff --git a/.github/workflows/ci-lazer-solana-contract.yml b/.github/workflows/ci-lazer-solana-contract.yml index 38a260d61b..44b96952bc 100644 --- a/.github/workflows/ci-lazer-solana-contract.yml +++ b/.github/workflows/ci-lazer-solana-contract.yml @@ -25,7 +25,7 @@ jobs: run: cargo install --locked taplo-cli@0.9.3 - uses: actions/setup-node@v4 with: - node-version: 20.18.0 + node-version-file: "package.json" - name: Install Solana Cli run: | sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)" diff --git a/.nvmrc b/.nvmrc index 67e145bf0f..2c022021b8 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.18.0 +v22.13.0 diff --git a/.tool-versions b/.tool-versions index 9fd7dec9ab..ec3ffe2502 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,4 +1,4 @@ -nodejs 20.18.0 -pnpm 9.12.3 +nodejs 22.13.0 +pnpm 9.15.4 rust 1.78.0 python 3.12.4 diff --git a/Dockerfile.node b/Dockerfile.node index 4e951923c2..a67bc02c47 100644 --- a/Dockerfile.node +++ b/Dockerfile.node @@ -1,4 +1,4 @@ -FROM node:20.18.0-slim@sha256:ec35a66c9a0a275b027debde05247c081f8b2f0c43d7399d3a6ad5660cee2f6a as builder-base +FROM node:22.13.0-slim@sha256:f5a0871ab03b035c58bdb3007c3d177b001c2145c18e81817b71624dcf7d8bff as builder-base WORKDIR /usr/src/pyth ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" @@ -7,7 +7,7 @@ COPY ./ . RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile -FROM node:20.18.0-alpine3.20@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9 as runner-base +FROM node:22.13.0-alpine3.21@sha256:f2dc6eea95f787e25f173ba9904c9d0647ab2506178c7b5b7c5a3d02bc4af145 as runner-base WORKDIR /srv ENV NODE_ENV production RUN addgroup --system --gid 1001 pyth && adduser --system --uid 1001 pyth -g pyth && chown pyth:pyth . diff --git a/apps/api-reference/package.json b/apps/api-reference/package.json index 20945a99ca..b40379fe82 100644 --- a/apps/api-reference/package.json +++ b/apps/api-reference/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "engines": { - "node": "20" + "node": "22" }, "scripts": { "build": "next build", diff --git a/apps/insights/package.json b/apps/insights/package.json index 6e66ba54cb..288eb6e9b5 100644 --- a/apps/insights/package.json +++ b/apps/insights/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "engines": { - "node": "20" + "node": "22" }, "scripts": { "build": "next build", diff --git a/apps/staking/package.json b/apps/staking/package.json index 8de93a5d1c..5691bb75bf 100644 --- a/apps/staking/package.json +++ b/apps/staking/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "engines": { - "node": "20" + "node": "22" }, "scripts": { "build": "next build", diff --git a/flake.lock b/flake.lock index 7991dc53f7..78a5445220 100644 --- a/flake.lock +++ b/flake.lock @@ -5,11 +5,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1726560853, - "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -72,11 +72,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1730766284, - "narHash": "sha256-tcnXzz0R44syorl18AeAU/JoUpfz3XfCQNIu/qzM9p4=", + "lastModified": 1736916747, + "narHash": "sha256-ZqZQVXR1tIjfXGpZ+A3YuJzUuOKT7JfTAO/FTrQBQug=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f218f8ffb4b3ec17809a657cc22ce58ef28de8f1", + "rev": "e6b98fad93f8c937bc20ee3fbc2e1897266fe59c", "type": "github" }, "original": { diff --git a/governance/xc_admin/packages/xc_admin_frontend/package.json b/governance/xc_admin/packages/xc_admin_frontend/package.json index de0043ea8c..8d618457e4 100644 --- a/governance/xc_admin/packages/xc_admin_frontend/package.json +++ b/governance/xc_admin/packages/xc_admin_frontend/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "engines": { - "node": "20" + "node": "22" }, "scripts": { "build": "next build", diff --git a/package.json b/package.json index 6a62122726..e999dca988 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "@pythnetwork/pyth-crosschain", "private": true, - "packageManager": "pnpm@9.12.3", + "packageManager": "pnpm@9.15.4", "engines": { - "node": "^20.18.0", - "pnpm": "^9.12.3" + "node": "^22.11.0", + "pnpm": "^9.15.3" }, "scripts": { "build:ci": "turbo build --filter=!./apps/api-reference --filter=!./apps/insights --filter=!./apps/staking", diff --git a/packages/component-library/package.json b/packages/component-library/package.json index 91e5d61e14..ae081ae252 100644 --- a/packages/component-library/package.json +++ b/packages/component-library/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "engines": { - "node": "20" + "node": "22" }, "exports": { "./*": "./src/*/index.tsx",