hardhat icon indicating copy to clipboard operation
hardhat copied to clipboard

Dependency tracking metric

Open kanej opened this issue 1 year ago • 1 comments

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.

kanej avatar Jun 10 '24 13:06 kanej

My initial proposal of things to track:

  1. Number of dependencies in an empty hardhat installation
  2. Number of dependencies in a default installation of hardhat (i.e. with the toolbox)

alcuadrado avatar Jun 11 '24 21:06 alcuadrado

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.

galargh avatar Aug 19 '24 13:08 galargh