OriginProtocol / origin-dollar

OUSD and OETH are stablecoins that passively accrue yield while you are holding it
https://originprotocol.com
MIT License
112 stars 73 forks source link

Add Rollup Visualizer #2104

Closed sparrowDom closed 1 week ago

sparrowDom commented 2 weeks ago

This adds a practical visualizer of the dependency graph when rollup is building the file. See this example:

Screenshot 2024-06-21 at 13 57 23

The plugin has a downside where it only builds the graph for the last export. So if you want the graph of stakeValidators.js you need to comment out the doAccounting.js export in the rollup.config.cjs.

codecov[bot] commented 2 weeks ago

Codecov Report

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

Project coverage is 61.86%. Comparing base (21d6b5c) to head (2ba9a03).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2104 +/- ## ========================================== + Coverage 61.55% 61.86% +0.30% ========================================== Files 66 66 Lines 3322 3322 Branches 863 649 -214 ========================================== + Hits 2045 2055 +10 + Misses 1274 1264 -10 Partials 3 3 ```

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