webpack / webpack-cli

Webpack's Command Line Interface
https://webpack.js.org/api/cli
MIT License
2.55k stars 597 forks source link

Feat: modular and scalable refactor, --template flag and react template support #4211

Closed maverox closed 4 days ago

maverox commented 1 month ago

What kind of change does this PR introduce?

Did you add tests for your changes? yes If relevant, did you update the documentation? yes Summary refactored core, introduced template flag and react template support

Does this PR introduce a breaking change?

Other information

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 68.52%. Comparing base (31f634a) to head (4bd0950). Report is 64 commits behind head on master.

:exclamation: There is a different number of reports uploaded between BASE (31f634a) and HEAD (4bd0950). Click for more details.

HEAD has 36 uploads less than BASE | Flag | BASE (31f634a) | HEAD (4bd0950) | |------|------|------| ||40|4|
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/webpack/webpack-cli/pull/4211/graphs/tree.svg?width=650&height=150&src=pr&token=6B6NxtsZc3&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack)](https://app.codecov.io/gh/webpack/webpack-cli/pull/4211?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack) ```diff @@ Coverage Diff @@ ## master #4211 +/- ## =========================================== - Coverage 90.18% 68.52% -21.67% =========================================== Files 22 9 -13 Lines 1702 1366 -336 Branches 491 427 -64 =========================================== - Hits 1535 936 -599 - Misses 167 430 +263 ``` [see 18 files with indirect coverage changes](https://app.codecov.io/gh/webpack/webpack-cli/pull/4211/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/webpack/webpack-cli/pull/4211?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/webpack/webpack-cli/pull/4211?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack). Last update [cd1099a...4bd0950](https://app.codecov.io/gh/webpack/webpack-cli/pull/4211?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webpack).