Migrate to node 14; make it clear we require npm 7 in dev docs

This commit is contained in:
Willian Mitsuda 2021-07-16 18:31:34 -03:00
parent 03e7dfbcc4
commit 9ff483e85b
5 changed files with 11 additions and 10 deletions

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
v14.17.3

View File

@ -1,4 +1,4 @@
FROM node:12.22.3-alpine AS builder FROM node:14.17.3-alpine3.14 AS builder
RUN npm i -g npm@7.19.1 RUN npm i -g npm@7.19.1
WORKDIR /otterscan-build WORKDIR /otterscan-build
COPY ["package.json", "package-lock.json", "/otterscan-build/"] COPY ["package.json", "package-lock.json", "/otterscan-build/"]

View File

@ -40,7 +40,7 @@ First, a brief explanation about the app:
These instructions are subjected to changes in future for the sake of simplification. These instructions are subjected to changes in future for the sake of simplification.
Make sure you have a working node 12/npm installation. Make sure you have a working node 14/npm 7 installation.
By default, it assumes your Erigon `rpcdaemon` processs is serving requests at `http://localhost:8545`. You can customize this URL by changing the `public/config.json` file. By default, it assumes your Erigon `rpcdaemon` processs is serving requests at `http://localhost:8545`. You can customize this URL by changing the `public/config.json` file.

14
package-lock.json generated
View File

@ -23,7 +23,7 @@
"@testing-library/react": "^11.1.0", "@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10", "@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.24", "@types/jest": "^26.0.24",
"@types/node": "^12.20.16", "@types/node": "^14.17.5",
"@types/react": "^17.0.14", "@types/react": "^17.0.14",
"@types/react-blockies": "^1.4.1", "@types/react-blockies": "^1.4.1",
"@types/react-dom": "^17.0.9", "@types/react-dom": "^17.0.9",
@ -3031,9 +3031,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "12.20.16", "version": "14.17.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.16.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.17.5.tgz",
"integrity": "sha512-6CLxw83vQf6DKqXxMPwl8qpF8I7THFZuIwLt4TnNsumxkp1VsRZWT8txQxncT/Rl2UojTsFzWgDG4FRMwafrlA==" "integrity": "sha512-bjqH2cX/O33jXT/UmReo2pM7DIJREPMnarixbQ57DOOzzFaI6D2+IcwaJQaJpv0M1E9TIhPCYVxrkcityLjlqA=="
}, },
"node_modules/@types/normalize-package-data": { "node_modules/@types/normalize-package-data": {
"version": "2.4.0", "version": "2.4.0",
@ -21040,9 +21040,9 @@
"version": "3.0.3" "version": "3.0.3"
}, },
"@types/node": { "@types/node": {
"version": "12.20.16", "version": "14.17.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.16.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.17.5.tgz",
"integrity": "sha512-6CLxw83vQf6DKqXxMPwl8qpF8I7THFZuIwLt4TnNsumxkp1VsRZWT8txQxncT/Rl2UojTsFzWgDG4FRMwafrlA==" "integrity": "sha512-bjqH2cX/O33jXT/UmReo2pM7DIJREPMnarixbQ57DOOzzFaI6D2+IcwaJQaJpv0M1E9TIhPCYVxrkcityLjlqA=="
}, },
"@types/normalize-package-data": { "@types/normalize-package-data": {
"version": "2.4.0" "version": "2.4.0"

View File

@ -19,7 +19,7 @@
"@testing-library/react": "^11.1.0", "@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10", "@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.24", "@types/jest": "^26.0.24",
"@types/node": "^12.20.16", "@types/node": "^14.17.5",
"@types/react": "^17.0.14", "@types/react": "^17.0.14",
"@types/react-blockies": "^1.4.1", "@types/react-blockies": "^1.4.1",
"@types/react-dom": "^17.0.9", "@types/react-dom": "^17.0.9",