Skip to content
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
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
package-manager-strict=true
engine-strict=true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.19.1
v20.17.0
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nodejs 18.19.1
pnpm 9.3.0
nodejs 20.17.0
pnpm 9.12.1
rust 1.78.0
python 3.12.4
4 changes: 2 additions & 2 deletions Dockerfile.node
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.19.1-slim@sha256:246bf34b0c7cf8d9ff7cbe0c1ff44b178051f06c432c8e7df1645f1bd20b0352 as builder-base
FROM node:20.17.0-slim@sha256:246bf34b0c7cf8d9ff7cbe0c1ff44b178051f06c432c8e7df1645f1bd20b0352 as builder-base
WORKDIR /usr/src/pyth
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
Expand All @@ -7,7 +7,7 @@ COPY ./ .
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile


FROM node:18.19.1-alpine@sha256:c7620fdecfefb96813da62519897808775230386f4c8482e972e37b8b18cb460 as runner-base
FROM node:20.17.0-alpine@sha256:c7620fdecfefb96813da62519897808775230386f4c8482e972e37b8b18cb460 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 .
Expand Down
2 changes: 1 addition & 1 deletion apps/api-reference/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"engines": {
"node": "18"
"node": "20"
},
"scripts": {
"build": "next build",
Expand Down
2 changes: 1 addition & 1 deletion apps/staking/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"engines": {
"node": "18"
"node": "20"
},
"scripts": {
"build": "next build",
Expand Down
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
flake-utils.lib.eachDefaultSystem
(
system: let
nodejs-overlay = _: prev: {
nodejs = prev.nodejs_18;
};

cli-overlay = _: prev: {
cli = let
pnpm = "${prev.pnpm}/bin/pnpm i && ${prev.pnpm}/bin/pnpm";
Expand Down Expand Up @@ -48,7 +44,7 @@

pkgs = import nixpkgs {
inherit system;
overlays = [mkCli.overlays.default cli-overlay nodejs-overlay];
overlays = [mkCli.overlays.default cli-overlay];
config = {};
};
in {
Expand All @@ -63,6 +59,7 @@
pkgs.pnpm
pkgs.pre-commit
pkgs.python3
pkgs.python3Packages.distutils
];
};
}
Expand Down
4 changes: 2 additions & 2 deletions governance/xc_admin/packages/xc_admin_cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
},
"dependencies": {
"@coral-xyz/anchor": "^0.29.0",
"@ledgerhq/hw-transport": "^6.27.10",
"@ledgerhq/hw-transport-node-hid": "^6.27.10",
"@ledgerhq/hw-transport": "^6.31.4",
"@ledgerhq/hw-transport-node-hid": "^6.29.5",
"@pythnetwork/client": "^2.22.0",
"@pythnetwork/pyth-solana-receiver": "workspace:*",
"@pythnetwork/solana-utils": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion governance/xc_admin/packages/xc_admin_cli/src/ledger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ async function send(
buffer
);
if (response.length !== 2)
throw TransportStatusError(StatusCodes.INCORRECT_DATA);
throw new TransportStatusError(StatusCodes.INCORRECT_DATA);

p2 |= P2_EXTEND;
offset += MAX_PAYLOAD;
Expand Down
3 changes: 3 additions & 0 deletions governance/xc_admin/packages/xc_admin_frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "@pythnetwork/xc-admin-frontend",
"version": "0.1.0",
"private": true,
"engines": {
"node": "20"
},
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"private": true,
"packageManager": "pnpm@9.2.0",
"packageManager": "pnpm@9.12.1",
"engines": {
"node": "^18.19.1",
"pnpm": "^9.2.0"
"node": "^20.17.0",
"pnpm": "^9.12.1"
},
"devDependencies": {
"lerna": "^6.4.1",
Expand Down
Loading
Loading