unjs / mkdist

Lightweight file-to-file transpiler.
MIT License
357 stars 25 forks source link

refactor: replace globby w/ fast-glob #230

Closed SukkaW closed 3 months ago

SukkaW commented 3 months ago

Under the hood, globby is powered by fast-glob with extra features, but none of them are utilized by the mkdist.

Since the mkdist doesn't utilize those extra features, the PR replaces globby with fast-glob to reduce the installation size.

See also https://github.com/unjs/unbuild/pull/418, https://github.com/typescript-eslint/typescript-eslint/issues/9453

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.86%. Comparing base (9000888) to head (cd9514e). Report is 27 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #230 +/- ## ========================================== - Coverage 82.86% 78.86% -4.01% ========================================== Files 12 12 Lines 852 965 +113 Branches 133 146 +13 ========================================== + Hits 706 761 +55 - Misses 144 202 +58 Partials 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.