Thinking about simplifying our repo's dependency management, particularly in the oapp subdirectory, by replacing npm dependencies with direct path mappings like so:
remappings = [
'@openzeppelin/contracts/=../lib/openzeppelin-contracts/contracts/',
'@openzeppelin/contracts-upgradeable/=../lib/openzeppelin-contracts-upgradeable/contracts/',
'solidity-bytes-utils/=../lib/solidity-bytes-utils',
'hardhat-deploy/=../lib/hardhat-deploy/',
]
This could make integration easier for Foundry users but might have trade-offs, such as compatibility issues with tools like pnp-berry. I'm considering implementing this refactor unless there are significant downsides. Thoughts?