aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-05 03:45:35 +0800
committerFabio Berger <me@fabioberger.com>2018-06-05 03:45:35 +0800
commitc5e5c8288e551d0768afccc38b2e7c2129d28aa6 (patch)
tree864dbb0ab8932a3b5007a946585e6d5f97c77ad1
parentf5c74d123a2fea47ba2671171b2d299146c1332d (diff)
downloaddexon-sol-tools-c5e5c8288e551d0768afccc38b2e7c2129d28aa6.tar
dexon-sol-tools-c5e5c8288e551d0768afccc38b2e7c2129d28aa6.tar.gz
dexon-sol-tools-c5e5c8288e551d0768afccc38b2e7c2129d28aa6.tar.bz2
dexon-sol-tools-c5e5c8288e551d0768afccc38b2e7c2129d28aa6.tar.lz
dexon-sol-tools-c5e5c8288e551d0768afccc38b2e7c2129d28aa6.tar.xz
dexon-sol-tools-c5e5c8288e551d0768afccc38b2e7c2129d28aa6.tar.zst
dexon-sol-tools-c5e5c8288e551d0768afccc38b2e7c2129d28aa6.zip
Update fill-scenarios to depend on v2 updated order-utils and types. Needed to re-employ the symlink hack.
-rw-r--r--package.json2
-rw-r--r--packages/fill-scenarios/package.json4
-rw-r--r--yarn.lock15
3 files changed, 17 insertions, 4 deletions
diff --git a/package.json b/package.json
index 2ddde3484..74d32c3ef 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,7 @@
"stage_docs": "wsrun docs:stage $PKG --fast-exit --parallel --exclude-missing",
"lint": "wsrun lint $PKG --fast-exit --parallel --exclude-missing",
"comment:postinstall": "HACK: For some reason `yarn` is not setting up symlinks properly for order-utils. We temporarily set them manually. Remove this after V2 refactor is complete.",
- "postinstall": "rm -rf `pwd`/packages/order-utils/node_modules/@0xproject; mkdir `pwd`/packages/order-utils/node_modules/@0xproject; ln -s `pwd`/packages/json-schemas `pwd`/packages/order-utils/node_modules/@0xproject/json-schemas; ln -s `pwd`/packages/types `pwd`/packages/order-utils/node_modules/@0xproject/types; rm -f `pwd`/packages/contracts/node_modules/@0xproject/types; ln -s `pwd`/packages/types `pwd`/packages/contracts/node_modules/@0xproject/types"
+ "postinstall": "rm -rf `pwd`/packages/order-utils/node_modules/@0xproject; mkdir `pwd`/packages/order-utils/node_modules/@0xproject; ln -s `pwd`/packages/json-schemas `pwd`/packages/order-utils/node_modules/@0xproject/json-schemas; ln -s `pwd`/packages/types `pwd`/packages/order-utils/node_modules/@0xproject/types; rm -f `pwd`/packages/contracts/node_modules/@0xproject/types; ln -s `pwd`/packages/types `pwd`/packages/contracts/node_modules/@0xproject/types; mkdir -p `pwd`/packages/fill-scenarios/node_modules/@0xproject; ln -s `pwd`/packages/types `pwd`/packages/fill-scenarios/node_modules/@0xproject/types; ln -s `pwd`/packages/order-utils `pwd`/packages/fill-scenarios/node_modules/@0xproject/order-utils"
},
"config": {
"mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic"
diff --git a/packages/fill-scenarios/package.json b/packages/fill-scenarios/package.json
index d0d3d9ec4..f94344b2d 100644
--- a/packages/fill-scenarios/package.json
+++ b/packages/fill-scenarios/package.json
@@ -37,8 +37,8 @@
},
"dependencies": {
"@0xproject/base-contract": "^0.3.2",
- "@0xproject/order-utils": "0.0.5",
- "@0xproject/types": "0.7.0",
+ "@0xproject/order-utils": "^0.0.6",
+ "@0xproject/types": "1.0.0",
"ethereum-types": "^0.0.1",
"@0xproject/typescript-typings": "^0.3.2",
"@0xproject/utils": "^0.6.2",
diff --git a/yarn.lock b/yarn.lock
index 95d4eda5e..405e7aad6 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -20,6 +20,19 @@
query-string "^5.0.1"
websocket "^1.0.25"
+"@0xproject/fill-scenarios@^0.0.2":
+ version "0.0.2"
+ resolved "https://registry.yarnpkg.com/@0xproject/fill-scenarios/-/fill-scenarios-0.0.2.tgz#176ac2cba13f527e84346fbf06da84965a852bab"
+ dependencies:
+ "@0xproject/base-contract" "^0.3.2"
+ "@0xproject/order-utils" "^0.0.5"
+ "@0xproject/types" "^0.7.0"
+ "@0xproject/typescript-typings" "^0.3.2"
+ "@0xproject/utils" "^0.6.2"
+ "@0xproject/web3-wrapper" "^0.6.4"
+ ethers "^3.0.15"
+ lodash "^4.17.4"
+
"@0xproject/json-schemas@0.7.22":
version "0.7.22"
resolved "https://registry.yarnpkg.com/@0xproject/json-schemas/-/json-schemas-0.7.22.tgz#95cbdc9ec0eff3d1920903960284d491eb668f28"
@@ -38,7 +51,7 @@
jsonschema "^1.2.0"
lodash.values "^4.3.0"
-"@0xproject/order-utils@0.0.5":
+"@0xproject/order-utils@0.0.5", "@0xproject/order-utils@^0.0.5":
version "0.0.5"
resolved "https://registry.yarnpkg.com/@0xproject/order-utils/-/order-utils-0.0.5.tgz#c8d92a112740b0020e08f13137844f8c183c863b"
dependencies: