diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-12 09:09:00 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-13 01:20:29 +0800 |
commit | 13648808123ad7c574272fd43acf9370c22ab941 (patch) | |
tree | fb3058e887c53ced1246810b97a2505ae0fdf7ed | |
parent | ddc1f34c3090a276d593c78747ae4c94a74cab63 (diff) | |
download | dexon-sol-tools-13648808123ad7c574272fd43acf9370c22ab941.tar dexon-sol-tools-13648808123ad7c574272fd43acf9370c22ab941.tar.gz dexon-sol-tools-13648808123ad7c574272fd43acf9370c22ab941.tar.bz2 dexon-sol-tools-13648808123ad7c574272fd43acf9370c22ab941.tar.lz dexon-sol-tools-13648808123ad7c574272fd43acf9370c22ab941.tar.xz dexon-sol-tools-13648808123ad7c574272fd43acf9370c22ab941.tar.zst dexon-sol-tools-13648808123ad7c574272fd43acf9370c22ab941.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" }, |