cost-of-modules
cost-of-modules copied to clipboard
Add --exclude=package1,package2 flag
As per #70
The tests are broken (the dependency counts do not correspond to the counts), seems to have been noted in https://github.com/siddharthkp/cost-of-modules/pull/49 before but not merged.
The tests are broken (the dependency counts do not correspond to the counts)
Not sure why that is honestly, it's not because the test-data has always been wrong. I'm pretty sure it's because the saved sizes were based on an older node/npm/lockfile version which don't match the size with newer versions 🤔
I'd be happy accepting another PR before this one that bring the test to Node LTS and current. I also understand if this is a more of an effort than you initially expected and want to skip!