Skip to content

Commit 8a60802

Browse files
committed
[Docs] Add step to disable package.json synchronization while upgrading PHP package
1 parent 025606d commit 8a60802

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

assets/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ composer require symfony/ux-live-component:2.23.0
1414
npm add @symfony/[email protected]
1515
```
1616

17+
**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`.
18+
1719
## Resources
1820

1921
- [Documentation](https://symfony.com/bundles/ux-live-component/current/index.html)

0 commit comments

Comments
 (0)