deephaven / web-client-ui

Deephaven Web Client UI
Apache License 2.0
29 stars 31 forks source link

build: Upgrade to Vite 5 #2208

Closed mattrunyon closed 2 months ago

mattrunyon commented 2 months ago

Vite 5 release notes look like some possible performance gains. Another nice thing is aligning dev and preview servers because I think the inconsistency caused annoying DX when I tried to make embed-widget just a route in code-studio.

Vite React SWC. Main thing is 3.7.0 supporting HMR for class components. Should be a nice improvement for us.

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 46.74%. Comparing base (dcc95f6) to head (363decc).

Files with missing lines Patch % Lines
.../src/command-history/CommandHistoryItemTooltip.tsx 50.00% 1 Missing :warning:
...console-history/ConsoleHistoryResultInProgress.tsx 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2208 +/- ## ======================================= Coverage 46.74% 46.74% ======================================= Files 693 693 Lines 38602 38602 Branches 9838 9775 -63 ======================================= Hits 18046 18046 + Misses 20545 20503 -42 - Partials 11 53 +42 ``` | [Flag](https://app.codecov.io/gh/deephaven/web-client-ui/pull/2208/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deephaven) | Coverage Δ | | |---|---|---| | [unit](https://app.codecov.io/gh/deephaven/web-client-ui/pull/2208/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deephaven) | `46.74% <50.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deephaven#carryforward-flags-in-the-pull-request-comment) to find out more.

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