Change the location of the .openzeppelin manifestDir?

Openzeppelin normally writes to something like .openzeppelin/ropsten.json. Is there a way to change the path to the .openzeppelin directory?

We deploy multiple environments for testing and development, so it'd be nice to be able to just tell openzeppelin to use a different directory for each deployment.

Looking at @openzeppelin/upgrades-core/src/manifest.ts, it doesn't look like there's any code that would let us change the path, but I might be missing something.

1 Like

Currently not possible, except indirectly by changing the working directory of the process. You can try using process.chdir!

1 Like