Skip to content

Commit

Permalink
Upgrade to node:12.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryNguyen5 committed Oct 6, 2020
1 parent 7d07098 commit c77f524
Show file tree
Hide file tree
Showing 17 changed files with 59 additions and 54 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
core-go-test:
resource_class: xlarge
docker:
- image: smartcontract/builder:1.0.33
- image: smartcontract/builder:1.0.36
- image: circleci/postgres:11-alpine
environment:
POSTGRES_USER: circleci_postgres
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
solidity:
resource_class: xlarge
docker:
- image: smartcontract/builder:1.0.33
- image: smartcontract/builder:1.0.36
steps:
- checkout
- run: echo $CACHE_VERSION > cache.version
Expand All @@ -70,7 +70,7 @@ jobs:
operator-ui:
resource_class: xlarge
docker:
- image: smartcontract/builder:1.0.33
- image: smartcontract/builder:1.0.36
steps:
- checkout
- run: echo $CACHE_VERSION > cache.version
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
tools/ci/push_image "${CIRCLE_BRANCH}" "${CIRCLE_TAG}" test-external-adapter
reportcoverage:
docker:
- image: smartcontract/builder:1.0.33
- image: smartcontract/builder:1.0.36
steps:
- checkout
- run: ./tools/ci/init_gcloud
Expand All @@ -233,7 +233,7 @@ jobs:
resource_class: large
working_directory: ~/chainlink
docker:
- image: smartcontract/builder:1.0.33
- image: smartcontract/builder:1.0.36
steps:
- checkout
- run: echo $CACHE_VERSION > cache.version
Expand All @@ -250,7 +250,7 @@ jobs:
prepublish_npm:
resource_class: xlarge
docker:
- image: smartcontract/builder:1.0.33
- image: smartcontract/builder:1.0.36
environment:
NODE_OPTIONS: --max_old_space_size=512
steps:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v10.16.3
v12.18.4
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ regarding Chainlink social accounts, news, and networking.
## Install

1. [Install Go 1.14](https://golang.org/doc/install?download=go1.14.9.darwin-amd64.pkg), and add your GOPATH's [bin directory to your PATH](https://golang.org/doc/code.html#GOPATH)
- Example Path for macOS `export PATH=$GOPATH/bin:$PATH` & `export GOPATH=/Users/$USER/go`
2. Install [NodeJS 10.16](https://nodejs.org/en/download/package-manager/) & [Yarn](https://yarnpkg.com/lang/en/docs/install/)
- It might be easier long term to use [nvm](https://nodejs.org/en/download/package-manager/#nvm) to switch between node versions for different projects: `nvm install 10.16 && nvm use 10.16`
- Example Path for macOS `export PATH=$GOPATH/bin:$PATH` & `export GOPATH=/Users/$USER/go`
2. Install [NodeJS 12.18](https://nodejs.org/en/download/package-manager/) & [Yarn](https://yarnpkg.com/lang/en/docs/install/)
- It might be easier long term to use [nvm](https://nodejs.org/en/download/package-manager/#nvm) to switch between node versions for different projects: `nvm install 12.18 && nvm use 12.18`
3. Install [Postgres (>= 9.6)](https://wiki.postgresql.org/wiki/Detailed_installation_guides).
- You should [configure Postgres](https://www.postgresql.org/docs/12/ssl-tcp.html) to use SSL connection
4. Download Chainlink: `git clone https://github.com/smartcontractkit/chainlink && cd chainlink`
Expand Down
19 changes: 12 additions & 7 deletions belt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,36 @@ This cli tool is currently used within `@chainlink/contracts` for the usage of r
build and development tools across multiple solidity contract versions.

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->

- [Usage](#usage)
- [Commands](#commands)
<!-- tocstop -->

# Usage

<!-- usage -->

```sh-session
$ npm install -g @chainlink/belt
$ belt COMMAND
running command...
$ belt (-v|--version|version)
@chainlink/belt/0.0.3 darwin-x64 node-v10.16.3
@chainlink/belt/0.0.3 darwin-x64 node-v12.18.4
$ belt --help [COMMAND]
USAGE
$ belt COMMAND
...
```

<!-- usagestop -->

# Commands

<!-- commands -->
* [`belt box [PATH]`](#belt-box-path)
* [`belt compile [COMPILER]`](#belt-compile-compiler)
* [`belt help [COMMAND]`](#belt-help-command)

- [`belt box [PATH]`](#belt-box-path)
- [`belt compile [COMPILER]`](#belt-compile-compiler)
- [`belt help [COMMAND]`](#belt-help-command)

## `belt box [PATH]`

Expand Down Expand Up @@ -118,4 +122,5 @@ OPTIONS
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.3/src/commands/help.ts)_

<!-- commandsstop -->
2 changes: 1 addition & 1 deletion integration-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "MIT",
"private": true,
"engines": {
"node": "~10.16"
"node": "^12.0.0"
},
"scripts": {
"generate-typings": "typechain --target ethers --outDir src/generated \"dist/artifacts/*\"",
Expand Down
2 changes: 1 addition & 1 deletion integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.6.0",
"license": "MIT",
"engines": {
"node": "~10.16"
"node": "^12.0.0"
},
"scripts": {
"depcheck": "echo '@chainlink/integration' && depcheck || true",
Expand Down
12 changes: 6 additions & 6 deletions operator_ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"license": "MIT",
"engines": {
"node": "~10.16"
"node": "^12.0.0"
},
"scripts": {
"start": "NODE_ENV=development webpack-dev-server --open",
Expand All @@ -19,10 +19,10 @@
},
"dependencies": {
"@babel/polyfill": "7.7.0",
"@chainlink/json-api-client": "0.0.1",
"@chainlink/local-storage": "0.0.1",
"@chainlink/redux": "0.0.1",
"@chainlink/styleguide": "0.0.1",
"@chainlink/json-api-client": "0.0.2",
"@chainlink/local-storage": "0.0.2",
"@chainlink/redux": "0.0.2",
"@chainlink/styleguide": "0.0.2",
"@material-ui/core": "^3.9.2",
"@material-ui/icons": "^4.5.1",
"autobind-decorator": "^2.4.0",
Expand Down Expand Up @@ -68,7 +68,7 @@
"@babel/preset-env": "7.8.2",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "7.9.0",
"@chainlink/ts-helpers": "0.0.1",
"@chainlink/ts-helpers": "0.0.3",
"@types/classnames": "^2.2.8",
"@types/cookie": "^0.3.3",
"@types/enzyme": "^3.10.5",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"belt"
],
"engines": {
"node": "~10.16"
"node": "^12.0.0"
},
"scripts": {
"lint": "eslint --ext js,jsx,ts,tsx .",
Expand Down
2 changes: 1 addition & 1 deletion tools/ci-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": "https://github.com/smartcontractkit/chainlink",
"license": "MIT",
"engines": {
"node": "~10.16"
"node": "^12.0.0"
},
"scripts": {
"setup": "tsc -b",
Expand Down
2 changes: 1 addition & 1 deletion tools/cypress-job-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10.16.3-alpine
FROM node:12.18.4-alpine

ARG SRCROOT=/usr/local/src/chainlink
WORKDIR ${SRCROOT}
Expand Down
2 changes: 1 addition & 1 deletion tools/cypress-job-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": "https://github.com/smartcontractkit/chainlink",
"license": "MIT",
"engines": {
"node": "~10.16"
"node": "^12.0.0"
},
"scripts": {
"start": "node .",
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/ts-integration.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10.16
FROM node:12.18

# Install docker and docker compose
RUN apt-get update \
Expand Down
2 changes: 1 addition & 1 deletion tools/echo-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10.16-alpine
FROM node:12.18-alpine

ARG SRCROOT=/usr/local/src/chainlink
WORKDIR ${SRCROOT}
Expand Down
2 changes: 1 addition & 1 deletion tools/echo-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": "https://github.com/smartcontractkit/chainlink",
"license": "MIT",
"engines": {
"node": "~10.16"
"node": "^12.0.0"
},
"scripts": {
"start": "node .",
Expand Down
2 changes: 1 addition & 1 deletion tools/external-adapter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10.16.3-alpine
FROM node:12.18.4-alpine

ARG SRCROOT=/usr/local/src/chainlink
WORKDIR ${SRCROOT}
Expand Down
2 changes: 1 addition & 1 deletion tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"depcheck": "echo '@chainlink/tools' && depcheck || true"
},
"engines": {
"node": "~10.16"
"node": "^12.0.0"
},
"dependencies": {
"axios": "^0.19.2"
Expand Down
40 changes: 20 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1523,38 +1523,38 @@
"@truffle/contract" "^4.1.8"
ethers "^4.0.44"

"@chainlink/[email protected].1":
version "0.0.1"
resolved "https://registry.npmjs.org/@chainlink/json-api-client/-/json-api-client-0.0.1.tgz#d09f70f142e310e791de2c46a1b13a4060b8bd97"
integrity sha512-HzuXoxPH98opEY0MbQ+DiLUUQJziB2ZKymyCN2Z5lNlBH3vvFYBEsPeoycZCQnJW6ll1ZXJcDEGpTNJuW+v2Rg==
"@chainlink/[email protected].2":
version "0.0.2"
resolved "https://registry.npmjs.org/@chainlink/json-api-client/-/json-api-client-0.0.2.tgz#0675bc94cee09c9fa1dc1fbccd089843f7284d4f"
integrity sha512-ifWxR2HahMmYQ9v64uPXEydZjsCuFwQ07chZqC3c45RTl9r5/5p+SPwWeqtregY9cawK65QKlp+LDp414x8CJQ==
dependencies:
isomorphic-unfetch "^3.0.0"
json-api-normalizer "^0.4.13"
path-to-regexp "^3.0.0"
typescript "^3.7.4"
url "^0.11.0"

"@chainlink/[email protected].1":
version "0.0.1"
resolved "https://registry.npmjs.org/@chainlink/local-storage/-/local-storage-0.0.1.tgz#b6873aa80b35761e08c1aff1fbcb629f9e1b3f6b"
integrity sha512-e64mgFJ74bpl/vxib7+D74gNgGRnOkvHQiNrHrnzU+iCUtzjDREZtQbAxj9k4OXNgFgZ3azbK0/GKPFU7jaxww==
"@chainlink/[email protected].2":
version "0.0.2"
resolved "https://registry.npmjs.org/@chainlink/local-storage/-/local-storage-0.0.2.tgz#9ca005ed17768527d8ddc18a8baaf125fa7d8d40"
integrity sha512-Eqip3o8dcgjRqmGwSIhKWuusC0V9/Yd3DQEcltQb2NdAwR9L6czAdHycQ8gjwoGhTs0KjRk5zeHQiKfKNwH+vw==
dependencies:
local-storage-fallback "^4.1.1"
typescript "^3.7.4"

"@chainlink/[email protected].1":
version "0.0.1"
resolved "https://registry.npmjs.org/@chainlink/redux/-/redux-0.0.1.tgz#9277c0c68fc875bb2cf5608403afe3259ad53620"
integrity sha512-fCCZm7QEfyWULFrickFK4CASuP3B0hEvMU8MfDHKIm+FRX53JLaBzsLQsslYLOm+j0zjYAFHmNSfERcbZ8FtjA==
"@chainlink/[email protected].2":
version "0.0.2"
resolved "https://registry.npmjs.org/@chainlink/redux/-/redux-0.0.2.tgz#173ceb2095b84a57a003ee8f5fe27e1c650fa245"
integrity sha512-50TFyADuc9CfXhCo1S5BR35hjOvw2ygg6YL/gj87rb6bmeicZkfc35otbV9brtToZENU/rsyP47Zptx5RcQi+Q==
dependencies:
redux "^4.0.5"
redux-devtools-extension "^2.13.8"
redux-logger "^3.0.6"

"@chainlink/[email protected].1":
version "0.0.1"
resolved "https://registry.npmjs.org/@chainlink/styleguide/-/styleguide-0.0.1.tgz#617771cce59c22d90629d50eb3c172013bd9b336"
integrity sha512-1fMgFTMQrcQg63q7Ra259X/jY7Y3tDXzSffSuFi/hyyMxiL2lXHcyNU81d07hU6aBiSYQSFHQqrrGY76vpVXAg==
"@chainlink/[email protected].2":
version "0.0.2"
resolved "https://registry.npmjs.org/@chainlink/styleguide/-/styleguide-0.0.2.tgz#c88a110dc8bc60d093c2cd56b3dc48811d5d2752"
integrity sha512-U9mKO1LSQGblOEWnlSp0shFDkqtxOOK70F6BYxNdi99aeK8AYFwpUbZnoQGleGFH6sBc6JlLz8EF2WIDn4nSDw==
dependencies:
"@material-ui/core" "^3.9.2"
change-case "^4.1.1"
Expand All @@ -1569,10 +1569,10 @@
title-case "^3.0.2"
typescript "^3.7.4"

"@chainlink/[email protected].1":
version "0.0.1"
resolved "https://registry.npmjs.org/@chainlink/ts-helpers/-/ts-helpers-0.0.1.tgz#716e269996326ef91a842de536924c83386045a3"
integrity sha512-IdfZc0cJM5+AjZYSQK1/hJpEK/sb1CGyJo37ndWNdOUIoZ7uOesFzl+7FC86SFOJex/TsNpHz8lAgbD4Mnl7jg==
"@chainlink/[email protected].3":
version "0.0.3"
resolved "https://registry.npmjs.org/@chainlink/ts-helpers/-/ts-helpers-0.0.3.tgz#e8356f62d50f9abef8678a07829eaacdf527d995"
integrity sha512-MS7Vx2N0snqnqoOOK+qFDnpbWpjsZfmDzDM1Kfmc/FYakFgZUCgnz5zgN1drArv05nHHA20ggH/kZ86JvCOfEA==
dependencies:
typescript "^3.7.4"

Expand Down

0 comments on commit c77f524

Please sign in to comment.