konveyor / tackle2-ui

Tackle (2nd generation) UI component.
Apache License 2.0
8 stars 43 forks source link

:seedling: Refactor dist npm script #2061

Open sjd78 opened 3 months ago

sjd78 commented 3 months ago

Change the copy package used to generate the dist/ folder after building to use copy-files-from-to.

The package change allows us to have a configuration file with multiple includes and excludes to make sure we copy only exactly what is needed when the dist/ folder is built. The contents of the dist/ folder is what is copied into the runtime container. It should be as light as possible.

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 42.15%. Comparing base (b654645) to head (66190cd). Report is 225 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2061 +/- ## ========================================== + Coverage 39.20% 42.15% +2.95% ========================================== Files 146 174 +28 Lines 4857 5577 +720 Branches 1164 1325 +161 ========================================== + Hits 1904 2351 +447 - Misses 2939 3210 +271 - Partials 14 16 +2 ``` | [Flag](https://app.codecov.io/gh/konveyor/tackle2-ui/pull/2061/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor) | Coverage Δ | | |---|---|---| | [client](https://app.codecov.io/gh/konveyor/tackle2-ui/pull/2061/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor) | `42.15% <ø> (+2.95%)` | :arrow_up: | | [server](https://app.codecov.io/gh/konveyor/tackle2-ui/pull/2061/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor) | `?` | | 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=konveyor#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.