eliashaeussler / typo3-badges

🌍 Symfony project with SVG and JSON endpoints for beautiful TYPO3 badges
https://typo3-badges.dev
GNU General Public License v3.0
11 stars 2 forks source link

[TASK] Update @symfony/webpack-encore to v5 #839

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 2 weeks ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@symfony/webpack-encore ^4.0.0 -> ^5.0.0 age adoption passing confidence

Release Notes

symfony/webpack-encore (@​symfony/webpack-encore) ### [`v5.0.0`](https://redirect.github.com/symfony/webpack-encore/blob/HEAD/CHANGELOG.md#500) [Compare Source](https://redirect.github.com/symfony/webpack-encore/compare/v4.7.0...v5.0.0) This is a new major version that contains several backwards-compatibility breaks. ##### Features - [#​1344](https://redirect.github.com/symfony/webpack-encore/issues/1344) Add options configuration callback to `Encore.enableReactPreset()` ([@​Kocal](https://redirect.github.com/Kocal)) - [#​1345](https://redirect.github.com/symfony/webpack-encore/issues/1345) Add support for integrity hashes when asset names contain a query string ([@​Kocal](https://redirect.github.com/Kocal)) ##### BC Breaks - [#​1321](https://redirect.github.com/symfony/webpack-encore/issues/1321) Drop support of Node.js 19 and 21 ([@​Kocal](https://redirect.github.com/Kocal)) - [#​1307](https://redirect.github.com/symfony/webpack-encore/issues/1307) Drop `webpack-cli` 4 support, only `webpack-cli` ^5.1.4 is supported ([@​Kocal](https://redirect.github.com/Kocal)) - [#​1318](https://redirect.github.com/symfony/webpack-encore/issues/1318) Drop webpack-dev-server 4 support, only webpack-dev-server 5 is supported ([@​Kocal](https://redirect.github.com/Kocal)) The dev-server options have changed between versions 4 and 5, see [the official migration guide to v5](https://redirect.github.com/webpack/webpack-dev-server/blob/master/migration-v5.md). For example: ```js // With webpack-dev-server 4: Encore.configureDevServerOptions((options) => { options.https = { ca: "./path/to/server.pem", pfx: "./path/to/server.pfx", key: "./path/to/server.key", cert: "./path/to/server.crt", passphrase: "webpack-dev-server", requestCert: true, }; }); // With webpack-dev-server 5 (now): Encore.configureDevServerOptions((options) => { options.server = { type: 'https', options: { ca: "./path/to/server.pem", pfx: "./path/to/server.pfx", key: "./path/to/server.key", cert: "./path/to/server.crt", passphrase: "webpack-dev-server", requestCert: true, } }; }); ``` - [#​1336](https://redirect.github.com/symfony/webpack-encore/issues/1336) Make `webpack-dev-server` dependency optional ([@​Kocal](https://redirect.github.com/Kocal)) The `webpack-dev-server` package is now an optional peer dependency. It has been removed because some projects may not use it, and it was installing a bunch of unnecessary dependencies. Removing the `webpack-dev-server` dependency from Encore reduces the number of dependencies from **626** to **295** (**-331**!), it helps to reduce the size of the `node_modules` directory and the number of possible vulnerabilities. To use the `webpack-dev-server` again, you need to install it manually: ```shell npm install webpack-dev-server --save-dev ```

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

codeclimate[bot] commented 2 weeks ago

Code Climate has analyzed commit 1d489ebe and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 98.9% (0.0% change).

View more on Code Climate.

coveralls commented 2 weeks ago

Pull Request Test Coverage Report for Build 11173346462

Details


Totals Coverage Status
Change from base Build 11173336797: 0.0%
Covered Lines: 471
Relevant Lines: 476

💛 - Coveralls