Dependency tracking metric
We have put significant effort into reducing and clarifying our dependencies. To build on this effort we should establish a metric or mechanism for measuring the number and size of our dependencies that we can use to benchmark of dependencies as the project progresses.
My initial proposal of things to track:
- Number of dependencies in an empty hardhat installation
- Number of dependencies in a default installation of hardhat (i.e. with the toolbox)
I put together a design doc for this as per the description - https://www.notion.so/nomicfoundation/Hardhat-Dependency-Tracking-4da1bbd17a7443b7a2ab9f9da1931903?pvs=4
The solution I proposed is already implemented at https://github.com/NomicFoundation/hardhat/pull/5653 because it came together as I explored the problem space. Of course, we can go in a different direction if the design discussion takes us elsewhere.