ezolenko / rollup-plugin-typescript2

Rollup plugin for typescript with compiler errors.
MIT License
819 stars 71 forks source link

deps: bump Rollup peerDep to 3.7.5+, remove tech debt #458

Open agilgur5 opened 1 year ago

agilgur5 commented 1 year ago

Summary

Bumping the Rollup peerDep and removing legacy tech debt workarounds

Details

Rollup upgrade

Other tech debt removals

Figured I'd remove some other deprecated code / tech debt while I'm at it

agilgur5 commented 1 year ago

Left this as a Draft PR for now as it is breaking, and I think we should get in a patch release and stabilize MTS/CTS support beforehand.

453 would be ideal to get in beforehand as well, although that is technically a breaking change as well

And potentially there is more tech debt we want to remove in this PR as well; thought I might be missing something?

agilgur5 commented 1 year ago

ooo tests caught that devDeps need updating too! awesome to see integration tests reaping rewards 🙂 updating Rollup to 3+ requires updating several plugins as well, so I'm gonna need to review some breaking changes for those

agilgur5 commented 1 year ago

Proactively bumped the repro template to use Rollup v3 (and TS v5 and rpt2 v0.35)

ezolenko commented 1 year ago

Last time I tried to just update everything updatable, I got a lot of grief from tsjest

agilgur5 commented 1 year ago

Yea I noticed from #447 😅 ESM adoption has (expectedly) caused a bit of churn in the ecosystem.

Though this PR specifically only needs to update all the Rollup deps, so maybe won't need updating the rest. But seems I might need to do so for #460 anyway