diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-12 09:09:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-12 09:09:00 +0800 |
commit | b3fa0c8dacb86e8e84ccad3451215402e1894cb9 (patch) | |
tree | cd1dcca5e6c17032a5e4fbae3e459b584b555fc3 | |
parent | 318e7d5b575419aecacdea97d822606c75e6853b (diff) | |
download | dexon-sol-tools-b3fa0c8dacb86e8e84ccad3451215402e1894cb9.tar dexon-sol-tools-b3fa0c8dacb86e8e84ccad3451215402e1894cb9.tar.gz dexon-sol-tools-b3fa0c8dacb86e8e84ccad3451215402e1894cb9.tar.bz2 dexon-sol-tools-b3fa0c8dacb86e8e84ccad3451215402e1894cb9.tar.lz dexon-sol-tools-b3fa0c8dacb86e8e84ccad3451215402e1894cb9.tar.xz dexon-sol-tools-b3fa0c8dacb86e8e84ccad3451215402e1894cb9.tar.zst dexon-sol-tools-b3fa0c8dacb86e8e84ccad3451215402e1894cb9.zip |
Fix project references for contracts packages (#1419)
- Removed /packages/contracts
- Removed /contracts/core
- Added `yarn build:ts` to CI tests
- Added each contracts "project" to root tsconfig.json
-rw-r--r-- | .circleci/config.yml | 1 | ||||
-rw-r--r-- | tsconfig.json | 12 |
2 files changed, 11 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 61e0bc5d3..68d8041a2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,6 +18,7 @@ jobs: name: yarn command: yarn --frozen-lockfile install || yarn --frozen-lockfile install - run: yarn build:ci:no_website + - run: yarn build:ts - save_cache: key: repo-{{ .Environment.CIRCLE_SHA1 }} paths: diff --git a/tsconfig.json b/tsconfig.json index b8b795aab..751115554 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,9 +20,18 @@ // any top-level TypeScript code. "include": [], "references": [ + { "path": "./contracts/examples" }, + { "path": "./contracts/extensions" }, + { "path": "./contracts/interfaces" }, + { "path": "./contracts/libs" }, + { "path": "./contracts/multisig" }, + { "path": "./contracts/protocol" }, + { "path": "./contracts/test-utils" }, + { "path": "./contracts/tokens" }, + { "path": "./contracts/utils" }, { "path": "./packages/0x.js" }, - { "path": "./packages/abi-gen" }, { "path": "./packages/abi-gen-wrappers" }, + { "path": "./packages/abi-gen" }, { "path": "./packages/assert" }, { "path": "./packages/asset-buyer" }, { "path": "./packages/base-contract" }, @@ -30,7 +39,6 @@ { "path": "./packages/contract-addresses" }, { "path": "./packages/contract-artifacts" }, { "path": "./packages/contract-wrappers" }, - { "path": "./contracts/core" }, { "path": "./packages/dev-utils" }, { "path": "./packages/ethereum-types" }, { "path": "./packages/fill-scenarios" }, |