[Docs] Fix composer config to avoid modifying package.json automatically

This commit is contained in:
Thibault G
2025-09-20 15:40:27 +02:00
committed by Hugo Alliaume
parent 455bd23aa3
commit 15b1f8fac8

View File

@@ -14,7 +14,7 @@ composer require symfony/ux-translator:2.23.0
npm add @symfony/ux-translator@2.23.0
```
**Tip:** Your `package.json` file will be automatically modified by [Flex](https://github.com/symfony/flex) when installing or upgrading a PHP package. To prevent this behavior, ensure to **use at least Flex 1.22.0 or 2.5.0**, and run `composer config extra.symfony.flex.synchronize_package_json false`.
**Tip:** Your `package.json` file will be automatically modified by [Flex](https://github.com/symfony/flex) when installing or upgrading a PHP package. To prevent this behavior, ensure to **use at least Flex 1.22.0 or 2.5.0**, and run `composer config "extra.symfony/flex.synchronize_package_json" false`.
## Resources