NomicFoundation / hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
https://hardhat.org
Other
7k stars 1.36k forks source link

`hardhat-viem`: `typescript` dependency conflicts #5412

Open marcelomorgado opened 2 weeks ago

marcelomorgado commented 2 weeks ago

The hardhat-viem@2.0.2 package has its typescript version set to ~5.0.0 and it's conflicting with the project I'm working on which uses version ^5.4.5. Worth noting that ~5.0.0 only allows range from 5.0.0 until 5.1.0.

Is there a reason for that? Can you set it to ^5.0.0 instead (which will support up to <6.0.0 versions)?