Hi. We want to organize our contract families similar to OpenZeppelin to collect base contracts in a separate repository in order to import them in custom projects.
I can't find anything that describes how to do that. Every tutorial I could find is rather about "how to import external contracts" but not "how to export contracts".
I have seen in OpenZeppelin repository, that they have created a bunch of JS-scripts regarding the release process, but it is not easy to understand if it is more related to OZ or if we should exactly do the same on our side.
So what is our requirement:
I. we want to have a repository on GitHub that contains a bunch of smart contracts
II. we want to be able to import these contracts into new projects like this:
npm install @companyName/our-basecontracts
Can someone pleeeeease push me into the right direction, how to start?
Thank you very much in advance!