contracts icon indicating copy to clipboard operation
contracts copied to clipboard

NPM package doesn't include contracts build artifacts

Open tmigone opened this issue 3 years ago • 2 comments
trafficstars

As reported by @fordN

Looks like the hardhat.config has them now configured to go to /build/abis and build/types, but the node package config doesn't include that dir

   "dist/**/*",
   "README.md",
   "LICENSE",
   "addresses.json"
 ],

tmigone avatar Jul 19 '22 16:07 tmigone

The prepublish script moves some of the artifacts (ABI and types) to the NPM package before we publish it. We never shipped the source code or anything else -> https://github.com/graphprotocol/contracts/blob/dev/scripts/prepublish

abarmat avatar Jul 19 '22 19:07 abarmat