Hey team!
Can I create a PR to factor out JS/npm dependency throughout the repository?
Example for the oapp subdirectory:
remappings = [
# note: map to package level only, required for pnp-berry to work with foundry
# ok - solidity-stringutils/=node_modules/solidity-stringutils/
# not ok - solidity-stringutils/=node_modules/solidity-stringutils/src/
'@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/',
'@layerzerolabs/lz-evm-protocol-v2/=../protocol/',
'@layerzerolabs/lz-evm-messagelib-v2/=../messagelib/',
'@layerzerolabs/lz-evm-v1-0.7/=../lib/LayerZero/'
]
Let's discuss whether there are any downside to this (eg. the comment wrt pnp-berry). If no downside- I'd like to go ahead with this refactor as the current setup is maybe unnecessarily cumbersome to integrate for foundry users?
Happy holidays, Marco
Hey team!
Can I create a PR to factor out JS/npm dependency throughout the repository?
Example for the oapp subdirectory:
Let's discuss whether there are any downside to this (eg. the comment wrt pnp-berry). If no downside- I'd like to go ahead with this refactor as the current setup is maybe unnecessarily cumbersome to integrate for foundry users?
Happy holidays, Marco