Document Node.js version requirement and add it to package.json
This commit is contained in:
parent
0457c959dd
commit
f86cc0dc7a
@ -3,7 +3,7 @@ version: 2
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: circleci/node:6.12
|
||||
- image: circleci/node:8.11
|
||||
environment:
|
||||
CONTRACTS_COMMIT_HASH: '9ed05f5'
|
||||
working_directory: ~/repo
|
||||
@ -29,7 +29,7 @@ jobs:
|
||||
- ~/repo
|
||||
test-installation:
|
||||
docker:
|
||||
- image: circleci/node:6.12
|
||||
- image: circleci/node:8.11
|
||||
working_directory: ~/repo
|
||||
steps:
|
||||
- restore_cache:
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
- run: yarn test:installation
|
||||
test-0xjs:
|
||||
docker:
|
||||
- image: circleci/node:6.12
|
||||
- image: circleci/node:8.11
|
||||
working_directory: ~/repo
|
||||
steps:
|
||||
- restore_cache:
|
||||
@ -55,7 +55,7 @@ jobs:
|
||||
- ~/repo/packages/0x.js/coverage/lcov.info
|
||||
test-contracts:
|
||||
docker:
|
||||
- image: circleci/node:6.12
|
||||
- image: circleci/node:8.11
|
||||
working_directory: ~/repo
|
||||
steps:
|
||||
- restore_cache:
|
||||
@ -72,7 +72,7 @@ jobs:
|
||||
- ~/repo/packages/contracts/coverage/lcov.info
|
||||
test-sol-compiler:
|
||||
docker:
|
||||
- image: circleci/node:6.12
|
||||
- image: circleci/node:8.11
|
||||
working_directory: ~/repo
|
||||
steps:
|
||||
- restore_cache:
|
||||
@ -89,7 +89,7 @@ jobs:
|
||||
- ~/repo/packages/sol-compiler/coverage/lcov.info
|
||||
test-rest:
|
||||
docker:
|
||||
- image: circleci/node:6.12
|
||||
- image: circleci/node:8.11
|
||||
working_directory: ~/repo
|
||||
steps:
|
||||
- restore_cache:
|
||||
@ -131,7 +131,7 @@ jobs:
|
||||
lint:
|
||||
working_directory: ~/repo
|
||||
docker:
|
||||
- image: circleci/node:6.12
|
||||
- image: circleci/node:8.11
|
||||
steps:
|
||||
- restore_cache:
|
||||
keys:
|
||||
@ -140,7 +140,7 @@ jobs:
|
||||
prettier:
|
||||
working_directory: ~/repo
|
||||
docker:
|
||||
- image: circleci/node:6.12
|
||||
- image: circleci/node:8.11
|
||||
steps:
|
||||
- restore_cache:
|
||||
keys:
|
||||
@ -148,7 +148,7 @@ jobs:
|
||||
- run: yarn prettier:ci
|
||||
submit-coverage:
|
||||
docker:
|
||||
- image: circleci/node:6.12
|
||||
- image: circleci/node:8.11
|
||||
working_directory: ~/repo
|
||||
steps:
|
||||
- restore_cache:
|
||||
|
@ -62,6 +62,8 @@ Dedicated documentation pages:
|
||||
* [Sol-cov](https://0xproject.com/docs/sol-cov)
|
||||
* [Standard Relayer API](https://github.com/0xProject/standard-relayer-api/blob/master/README.md)
|
||||
|
||||
Node version >= 8.0 is required.
|
||||
|
||||
Most of the packages require additional typings for external dependencies.
|
||||
You can include those by prepending @0xproject/typescript-typings package to your [`typeRoots`](http://www.typescriptlang.org/docs/handbook/tsconfig-json.html) config.
|
||||
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "0x-monorepo",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "0x.js",
|
||||
"version": "0.37.2",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "A javascript library for interacting with the 0x protocol",
|
||||
"keywords": [
|
||||
"0x.js",
|
||||
@ -62,9 +65,6 @@
|
||||
"url": "https://github.com/0xProject/0x-monorepo"
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"node": ">=6.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@0xproject/sol-compiler": "^0.4.3",
|
||||
"@0xproject/dev-utils": "^0.4.1",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/abi-gen",
|
||||
"version": "0.2.13",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "Generate contract wrappers from ABI and handlebars templates",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/assert",
|
||||
"version": "0.2.9",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "Provides a standard way of performing type and schema validation across 0x projects",
|
||||
"main": "lib/src/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/base-contract",
|
||||
"version": "0.3.1",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "0x Base TS contract",
|
||||
"main": "lib/src/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/connect",
|
||||
"version": "0.6.12",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "A javascript library for interacting with the standard relayer api",
|
||||
"keywords": [
|
||||
"connect",
|
||||
@ -42,9 +45,6 @@
|
||||
},
|
||||
"author": "Brandon Millman",
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"node": ">=6.0.0"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/0xProject/0x-monorepo/issues"
|
||||
},
|
||||
|
@ -2,6 +2,9 @@
|
||||
"private": true,
|
||||
"name": "contracts",
|
||||
"version": "2.1.28",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "Smart contract components of 0x protocol",
|
||||
"main": "index.js",
|
||||
"directories": {
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/dev-utils",
|
||||
"version": "0.4.1",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "0x dev TS utils",
|
||||
"main": "lib/src/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/json-schemas",
|
||||
"version": "0.7.23",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "0x-related json schemas",
|
||||
"main": "lib/src/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/metacoin",
|
||||
"version": "0.0.6",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"private": true,
|
||||
"description": "Example solidity project using 0x dev tools",
|
||||
"scripts": {
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/migrations",
|
||||
"version": "0.0.5",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "0x smart contract migrations",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/monorepo-scripts",
|
||||
"version": "0.1.19",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "Helper scripts for the monorepo",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/order-utils",
|
||||
"version": "0.0.4",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "0x order utils",
|
||||
"main": "lib/src/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
|
@ -2,6 +2,9 @@
|
||||
"private": true,
|
||||
"name": "@0xproject/react-docs-example",
|
||||
"version": "0.0.11",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "An example app using react-docs",
|
||||
"scripts": {
|
||||
"lint": "tslint --project .",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/react-docs",
|
||||
"version": "0.0.11",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "React documentation component for rendering TypeDoc & Doxity generated JSON",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/react-shared",
|
||||
"version": "0.1.6",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "0x shared react components",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/sol-compiler",
|
||||
"version": "0.4.3",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "Solidity compiler wrapper and artifactor",
|
||||
"main": "lib/src/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/sol-cov",
|
||||
"version": "0.0.10",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "Generate coverage reports for Solidity code",
|
||||
"main": "lib/src/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/sol-resolver",
|
||||
"version": "0.0.4",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "Import resolver for smart contracts dependencies",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/sra-report",
|
||||
"version": "0.0.14",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "Generate reports for standard relayer API compliance",
|
||||
"main": "lib/src/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/subproviders",
|
||||
"version": "0.10.1",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"main": "lib/src/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -2,6 +2,9 @@
|
||||
"private": true,
|
||||
"name": "@0xproject/testnet-faucets",
|
||||
"version": "1.0.29",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "A faucet micro-service that dispenses test ERC20 tokens or Ether",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/tslint-config",
|
||||
"version": "0.4.17",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "Lint rules related to 0xProject for TSLint",
|
||||
"main": "tslint.json",
|
||||
"scripts": {
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/types",
|
||||
"version": "0.6.3",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "0x types",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/typescript-typings",
|
||||
"version": "0.3.1",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "0x project typescript type definitions",
|
||||
"scripts": {
|
||||
"build": "tsc && copyfiles -u 1 './lib/**/*' ./scripts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/utils",
|
||||
"version": "0.6.1",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "0x TS utils",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/web3-wrapper",
|
||||
"version": "0.6.3",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"description": "Wraps around web3 and gives a nicer interface",
|
||||
"main": "lib/src/index.js",
|
||||
"types": "lib/src/index.d.ts",
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"name": "@0xproject/website",
|
||||
"version": "0.0.32",
|
||||
"engines": {
|
||||
"node" : ">=8.0.0"
|
||||
},
|
||||
"private": true,
|
||||
"description": "Website and 0x portal dapp",
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user