ProjectEvergreen / greenwood

Greenwood is your workbench for the web, embracing web standards from the ground up to empower your stack from front to back.
https://www.greenwoodjs.io
MIT License
96 stars 9 forks source link

upgrade Rollup and all plugins to `3.x` #1087

Closed thescientist13 closed 6 months ago

thescientist13 commented 1 year ago

Type of Change

Enhancement

Summary

We are a little behind on our Rollup version, in fact at the time of this writing, Rollup v3 was out, but now v4 is also out!

Big things that come with this are:

Details

We should go through the v3 docs and upgrade guide test that everything is compatible .

If that goes well, we should try and upgrade to v4. 🤞


Some notes to self :

  1. Want to call out I ran into this issue with fs/promises - https://github.com/rollup/plugins/issues/1120
  2. avoiding JSON in escodegen somehow? - https://github.com/estools/escodegen/issues/455 this is due to https://github.com/ProjectEvergreen/wcc/issues/116
  3. Per https://github.com/ProjectEvergreen/greenwood/pull/1110, had to add this work around for Lit, should see if it can be removed - https://github.com/ProjectEvergreen/greenwood/pull/1110/files#diff-57634df7e2b1ba3ea0031d8adc1e73230ca3c93bbecfdea7b44d00c7e100ec8bR251
thescientist13 commented 7 months ago

So based on research I add to #923 it looks like this task will have to cap out the Rollup upgrade to 3.x