Skip to content

Commit

Permalink
chore: use [email protected] to be compatible with reef
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommytrg committed May 13, 2024
1 parent c19de12 commit e03da55
Show file tree
Hide file tree
Showing 5 changed files with 18,175 additions and 13,452 deletions.
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,12 @@ dist
# TernJS port file
.tern-port

package-lock.json
# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
5 changes: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine3.12
FROM node:16-alpine3.15

# Install dependencies not included in the base image
RUN apk update
Expand All @@ -16,7 +16,8 @@ COPY . /data

# Navigate to the nodejs root package, install dependencies and build the project
WORKDIR /data
RUN npm install yarn
RUN corepack enable
RUN corepack prepare [email protected] --activate
RUN yarn
RUN yarn build
RUN chmod +x dist/bin/*
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
],
"bin": {
"w3gw": "dist/bin/w3gw.js",
"w3gw-ethers": "dist/bin/ethers/index.js",
"w3gw-infura": "dist/bin/ethers/infura.js",
"w3gw-celo": "dist/bin/celo/index.js",
"w3gw-conflux": "dist/bin/conflux/index.js",
"w3gw-ethers": "dist/bin/ethers/index.js",
"w3gw-infura": "dist/bin/ethers/infura.js",
"w3gw-reef": "dist/bin/reef/index.js",
"w3gw-ten": "dist/bin/ethers/ten.js"
},
Expand Down
Loading

0 comments on commit e03da55

Please sign in to comment.