aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-27 21:05:05 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-27 23:47:05 +0800
commitec06d8d6067488b53183db392b4da91be0cc219e (patch)
tree5326f5b5789cc30ea6c5262a4ac19978737081ef
parenta2e4aaa9a394c359b9bf817ff154572eb33d4fb5 (diff)
downloaddexon-sol-tools-ec06d8d6067488b53183db392b4da91be0cc219e.tar
dexon-sol-tools-ec06d8d6067488b53183db392b4da91be0cc219e.tar.gz
dexon-sol-tools-ec06d8d6067488b53183db392b4da91be0cc219e.tar.bz2
dexon-sol-tools-ec06d8d6067488b53183db392b4da91be0cc219e.tar.lz
dexon-sol-tools-ec06d8d6067488b53183db392b4da91be0cc219e.tar.xz
dexon-sol-tools-ec06d8d6067488b53183db392b4da91be0cc219e.tar.zst
dexon-sol-tools-ec06d8d6067488b53183db392b4da91be0cc219e.zip
Add typeRoots
-rw-r--r--.circleci/config.yml1
-rw-r--r--package.json1
-rw-r--r--packages/monorepo-scripts/src/test_installation.ts1
3 files changed, 1 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index d4ffe62ea..615980e88 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -35,7 +35,6 @@ jobs:
- restore_cache:
keys:
- repo-{{ .Environment.CIRCLE_SHA1 }}
- - run: yarn lerna:exec 'yarn pack --filename package.tgz'
- run: yarn test:installation
test-0xjs:
docker:
diff --git a/package.json b/package.json
index 1a2d917c0..457268454 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,6 @@
"report_coverage": "lcov-result-merger 'packages/*/coverage/lcov.info' | coveralls",
"test:installation": "node ./packages/monorepo-scripts/lib/test_installation.js",
"lerna:run": "lerna run",
- "lerna:exec": "lerna exec",
"lerna:rebuild": "lerna run clean; lerna run build;",
"lerna:publish":
"yarn install; lerna run clean; lerna run build; lerna publish --registry=https://registry.npmjs.org/"
diff --git a/packages/monorepo-scripts/src/test_installation.ts b/packages/monorepo-scripts/src/test_installation.ts
index 116b70f3a..195b64b2a 100644
--- a/packages/monorepo-scripts/src/test_installation.ts
+++ b/packages/monorepo-scripts/src/test_installation.ts
@@ -34,6 +34,7 @@ import { utils } from './utils';
fs.writeFileSync(indexFilePath, `import * as Package from '${packageName}'`);
const tsConfig = {
compilerOptions: {
+ typeRoots: ['node_modules/@0xproject/typescript-typings/types', 'node_modules/@types'],
module: 'commonjs',
target: 'es5',
lib: ['es2017', 'dom'],