unjs / mkdist

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

fix(dts): compatible with `vue-tsc` 2.0.x #242

Closed Teages closed 2 months ago

Teages commented 2 months ago

Fixed Comment in #240

This PR fixes forward compatibility with vue-tsc@~2.0.12 and the wrong test case, now mkdist should work well with all vue-tsc matching the peerDependence requirement.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 97.36842% with 2 lines in your changes missing coverage. Please review.

Project coverage is 80.50%. Comparing base (9000888) to head (1a9e3e8). Report is 42 commits behind head on main.

Files with missing lines Patch % Lines
src/utils/vue-dts.ts 97.36% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #242 +/- ## ========================================== - Coverage 82.86% 80.50% -2.37% ========================================== Files 12 12 Lines 852 800 -52 Branches 133 165 +32 ========================================== - Hits 706 644 -62 - Misses 144 154 +10 Partials 2 2 ```

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

TomKriek commented 2 months ago

@danielroe Is there an ETA for a tag/release including this fix?

danielroe commented 2 months ago

released 🙏