My team has been using hardhat + OpenZeppelin Upgrades for deploying our projects for roughly a year, and everything has been great. We also use OpenZeppelin Relay in our API endpoints with ease.
We are in the process of opening up more of our services to clients as a API endpoint, so users can deploy their own contracts via a fee. At this time, a developers time is used to run the commands locally whenever we need a deployment. This is a NestJs API endpoint is to save on our developer time and is separate from our hardhat repo.
I want to leverage the OpenZeppelin upgrades for this endpoint, however it does not have hardhat/truffle and I do not really want to add that for just deploying. Ethers + OpenDefender relay has been enough up until this point, and now I just want to pull in the deployProxy and upgradeProxy commands as well.
I understand that the reason it's a plugin is for full integration into the development environment. However, this is not a development environment, tests are in a separate repo, this is strictly for deploying.
Is there any way I can access the safety of OpenZeppelin's Upgrades without integrating the entire hardhat or truffle stack into our endpoint?