Closed SukkaW closed 7 months ago
Currently, the installation size of taze is 14 MiB, twice the size of npm-check-updated which is 7.3 MiB.
taze
npm-check-updated
It turns out that the pacote could be the culprit. pacote introduces tons of npm core functionality while taze only utilize its package metadata fetching.
pacote
N/A
See also https://github.com/antfu/unconfig/pull/27
The tests are failing, converting the PR to draft now.
All tests pass on my machine, the PR is ready for review now @antfu
We did it! We reduce the installation size of taze by 35%!
Description
Currently, the installation size of
taze
is 14 MiB, twice the size ofnpm-check-updated
which is 7.3 MiB.It turns out that the
pacote
could be the culprit.pacote
introduces tons of npm core functionality whiletaze
only utilize its package metadata fetching.Linked Issues
N/A
Additional context
See also https://github.com/antfu/unconfig/pull/27