Closed satazor closed 7 years ago
Some tests comparing before vs after on some mono repositories.
react-router
: 0.39 vs 0.90!babel-jest
: 0.34 vs 0.84!create-react-app
: 0.27 vs 0.76! makestatic
: 0.23 vs 0.63react-scripts
: 0.26 vs 0.76!babel
: 0.38 vs 0.73!pouchdb
: 0.30 vs 0.78!Do not merge it yet, TODO:
mergePackageJson
because of empty props, such as scripts
in bower
package
The
downloaded
object that is returned by downloaders has the following shape:Though, in mono repositories, the package is not
downloaded.dir
but a directory inside it. Therefore,packageDir
was added that basically points to the correct package directory. Note that for standard repositories,downloaded.dir === downloaded.packageDir
.The collectors were updated to use
downladed.packageDir
whenever appropriate, thanks @bebraw!Extraneous stuff in this PR:
refOverrides
since it's no longer necessary: this was created to circumvent issues solved by this PRrepositorySize