Perhaps out dated notes
$ # at the root folder protocol-monorepo
$ (C=SETHProxy;cd packages/ethereum-contracts;mkdir build/$C.json.d;cp build/contracts/$C.json build/$C.json.d;cat build/$C.json.d/$C.json | jq '.metadata | fromjson | .sources | keys | .[]' -r | while read i;do if [ "${i##/*}" != "" ];then i=$PWD/../../node_modules/$i;fi; echo $i;yes | cp -f $i build/$C.json.d/;done;)