From 5ff646ca8e5b17fda83372a25f855ecb88758e70 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Thu, 7 Feb 2019 10:53:14 +0000 Subject: re-add postinstall hack --- package.json | 4 +- yarn.lock | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index dccfe6513..a077f3224 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,9 @@ "generate_doc": "node ./packages/monorepo-scripts/lib/doc_generate_and_upload.js", "test:generate_docs:circleci": "for i in ${npm_package_config_packagesWithDocPages}; do yarn generate_doc --package $i --shouldUpload false --isStaging true || break -1; done;", "bundlewatch": "bundlewatch", - "lint": "wsrun lint $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 symlink properly for types. We temporarily make it manually. Remove this ASAP!", + "postinstall": "shx cp -R node_modules/@0x/order-utils contracts/erc20/node_modules/@0x/contracts-exchange-libs/node_modules/@0x/contracts-utils/node_modules/@0x;" }, "config": { "contractsPackages": "@0x/contracts-asset-proxy @0x/contracts-erc20 @0x/contracts-erc721 @0x/contracts-exchange @0x/contracts-exchange-forwarder @0x/contracts-exchange-libs @0x/contracts-extensions @0x/contracts-multisig @0x/contracts-test-utils @0x/contracts-utils", diff --git a/yarn.lock b/yarn.lock index 858187f96..41795e163 100644 --- a/yarn.lock +++ b/yarn.lock @@ -472,6 +472,121 @@ npmlog "^4.1.2" write-file-atomic "^2.3.0" +"@0x/contracts-asset-proxy@1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@0x/contracts-asset-proxy/-/contracts-asset-proxy-1.0.2.tgz#48a432a52a019ee632e50456f2687c85a5b57535" + dependencies: + "@0x/base-contract" "^4.0.1" + "@0x/contracts-erc20" "^1.0.2" + "@0x/contracts-erc721" "^1.0.2" + "@0x/contracts-test-utils" "^3.0.1" + "@0x/contracts-utils" "^2.0.1" + "@0x/order-utils" "^5.0.0" + "@0x/types" "^2.0.1" + "@0x/typescript-typings" "^4.0.0" + "@0x/utils" "^4.0.2" + "@0x/web3-wrapper" "^4.0.1" + ethereum-types "^2.0.0" + lodash "^4.17.5" + +"@0x/contracts-erc20@1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@0x/contracts-erc20/-/contracts-erc20-1.0.2.tgz#67cfefd4458b262d575bb1b07f63bc3dfed4daeb" + dependencies: + "@0x/base-contract" "^4.0.1" + "@0x/contracts-exchange-libs" "^1.0.2" + "@0x/contracts-utils" "^2.0.1" + "@0x/types" "^2.0.1" + "@0x/typescript-typings" "^4.0.0" + "@0x/utils" "^4.0.2" + "@0x/web3-wrapper" "^4.0.1" + ethereum-types "^2.0.0" + lodash "^4.17.5" + +"@0x/contracts-erc721@1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@0x/contracts-erc721/-/contracts-erc721-1.0.2.tgz#e7309ae57de266bb9c4947de50ba16a89203ad08" + dependencies: + "@0x/base-contract" "^4.0.1" + "@0x/contracts-utils" "^2.0.1" + "@0x/types" "^2.0.1" + "@0x/typescript-typings" "^4.0.0" + "@0x/utils" "^4.0.2" + "@0x/web3-wrapper" "^4.0.1" + ethereum-types "^2.0.0" + lodash "^4.17.5" + +"@0x/contracts-exchange-libs@1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@0x/contracts-exchange-libs/-/contracts-exchange-libs-1.0.2.tgz#0682c01cdb3e36100bda0ffbdf9badb5b8a01fc4" + dependencies: + "@0x/base-contract" "^4.0.1" + "@0x/contracts-utils" "^2.0.1" + "@0x/order-utils" "^5.0.0" + "@0x/types" "^2.0.1" + "@0x/typescript-typings" "^4.0.0" + "@0x/utils" "^4.0.2" + "@0x/web3-wrapper" "^4.0.1" + ethereum-types "^2.0.0" + lodash "^4.17.5" + +"@0x/contracts-exchange@1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@0x/contracts-exchange/-/contracts-exchange-1.0.2.tgz#4c02378b26a7bf6324e16a41f2851c43fed82c63" + dependencies: + "@0x/base-contract" "^4.0.1" + "@0x/contracts-asset-proxy" "^1.0.2" + "@0x/contracts-erc20" "^1.0.2" + "@0x/contracts-erc721" "^1.0.2" + "@0x/contracts-exchange-libs" "^1.0.2" + "@0x/contracts-test-utils" "^3.0.1" + "@0x/contracts-utils" "^2.0.1" + "@0x/order-utils" "^5.0.0" + "@0x/types" "^2.0.1" + "@0x/typescript-typings" "^4.0.0" + "@0x/utils" "^4.0.2" + "@0x/web3-wrapper" "^4.0.1" + ethereum-types "^2.0.0" + ethereumjs-util "^5.1.1" + lodash "^4.17.5" + +"@0x/contracts-utils@2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@0x/contracts-utils/-/contracts-utils-2.0.1.tgz#32e298ab5e6edb045c37294063ff928b629db0a4" + dependencies: + "@0x/base-contract" "^4.0.1" + "@0x/order-utils" "^5.0.0" + "@0x/types" "^2.0.1" + "@0x/typescript-typings" "^4.0.0" + "@0x/utils" "^4.0.2" + "@0x/web3-wrapper" "^4.0.1" + bn.js "^4.11.8" + ethereum-types "^2.0.0" + ethereumjs-util "^5.1.1" + lodash "^4.17.5" + +"@0x/order-utils@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@0x/order-utils/-/order-utils-5.0.0.tgz#7f43e0310ace31738895881501c8dda9c3a3aefa" + dependencies: + "@0x/abi-gen-wrappers" "^3.0.1" + "@0x/assert" "^2.0.1" + "@0x/base-contract" "^4.0.1" + "@0x/contract-addresses" "^2.2.1" + "@0x/contract-artifacts" "^1.3.0" + "@0x/json-schemas" "^3.0.1" + "@0x/types" "^2.0.1" + "@0x/typescript-typings" "^4.0.0" + "@0x/utils" "^4.0.2" + "@0x/web3-wrapper" "^4.0.1" + "@types/node" "*" + bn.js "^4.11.8" + ethereum-types "^2.0.0" + ethereumjs-abi "0.6.5" + ethereumjs-util "^5.1.1" + ethers "~4.0.4" + lodash "^4.17.11" + "@0xproject/npm-cli-login@^0.0.11": version "0.0.11" resolved "https://registry.yarnpkg.com/@0xproject/npm-cli-login/-/npm-cli-login-0.0.11.tgz#3f1ec06112ce62aad300ff0575358f68aeecde2e" @@ -13395,6 +13510,8 @@ react-highlight@0xproject/react-highlight#react-peer-deps: dependencies: highlight.js "^9.11.0" highlightjs-solidity "^1.0.5" + react "^16.4.2" + react-dom "^16.4.2" react-hot-loader@^4.3.3: version "4.3.4" -- cgit v1.2.3