Bump node version to newest (20) and update corresponding dependencies

This commit is contained in:
Theo 2023-07-24 06:06:24 -07:00
parent 098a4687cf
commit 8e8346e651
5 changed files with 1685 additions and 2010 deletions

2
.nvmrc

@ -1 +1 @@
v16.15
v20.3.0

@ -1,4 +1,4 @@
FROM node:16-alpine as dev
FROM node:20-alpine as dev
ENV NODE_ENV=development
@ -12,7 +12,7 @@ COPY . ./
RUN yarn build
FROM node:16-alpine as prod
FROM node:20-alpine as prod
ENV NODE_ENV=production
WORKDIR /app

@ -50,7 +50,7 @@ function install_node(){
. ~/.nvm/nvm.sh;
. ~/.profile;
. ~/.bashrc;
nvm install 14.21.3;
nvm install 20.3.0;
}
function install_relayer_repo(){

@ -38,7 +38,7 @@
"json-schema-to-ts": "^2.2.0",
"node-fetch": "2",
"reflect-metadata": "^0.1.13",
"telegraf": "^4.8.2",
"telegraf": "^4.12.3-canary.1",
"torn-token": "^1.0.8",
"tsyringe": "^4.8.0",
"tx-manager": "^0.4.9",

3685
yarn.lock

File diff suppressed because it is too large Load Diff