aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorF. Eugene Aumson <gene@aumson.org>2018-08-30 19:31:04 +0800
committerF. Eugene Aumson <gene@aumson.org>2018-08-30 22:08:35 +0800
commit5088b7f23c087366559259c832b7a390b892e2e5 (patch)
tree3f9185d2f07d22dcb8ec4cf34b052f5e9bd7d38a /package.json
parent28246abec3b974ae0a4fb2e9bdd0b8f337e829ce (diff)
downloaddexon-sol-tools-5088b7f23c087366559259c832b7a390b892e2e5.tar
dexon-sol-tools-5088b7f23c087366559259c832b7a390b892e2e5.tar.gz
dexon-sol-tools-5088b7f23c087366559259c832b7a390b892e2e5.tar.bz2
dexon-sol-tools-5088b7f23c087366559259c832b7a390b892e2e5.tar.lz
dexon-sol-tools-5088b7f23c087366559259c832b7a390b892e2e5.tar.xz
dexon-sol-tools-5088b7f23c087366559259c832b7a390b892e2e5.tar.zst
dexon-sol-tools-5088b7f23c087366559259c832b7a390b892e2e5.zip
hack postinstall to correct types package symlink
yarn is not doing this properly :( even on v1.9.4. confirmed with @albrow .
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 8d4aff4ca..871a9f718 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,8 @@
"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;",
"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."
+ "comment:postinstall": "HACK: For some reason `yarn` is not setting up symlink properly for types. We temporarily make it manually. Remove this ASAP!",
+ "postinstall": "mv node_modules/@0xproject/types node_modules/@0xproject/types-0.8.1; for i in website sra-report; do cp -R node_modules/@0xproject/types-0.8.1 packages/$i/node_modules/@0xproject/types; done; ln -s ../../packages/types node_modules/@0xproject/types"
},
"config": {
"mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic",