Skip to content

Commit 5b4dab0

Browse files
committed
[Docs] Add step to disable package.json synchronization while upgrading PHP package
1 parent e9403a6 commit 5b4dab0

File tree

17 files changed

+204
-0
lines changed

17 files changed

+204
-0
lines changed

src/Autocomplete/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-autocomplete/current/index.html)

src/Chartjs/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-chartjs/current/index.html)

src/Cropperjs/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-cropperjs/current/index.html)

src/Dropzone/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-dropzone/current/index.html)

src/LazyImage/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-lazy-image/current/index.html)

src/LiveComponent/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

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

src/Map/src/Bridge/Google/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://github.com/symfony/ux/tree/2.x/src/Map/src/Bridge/Google)

src/Map/src/Bridge/Leaflet/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://github.com/symfony/ux/tree/2.x/src/Map/src/Bridge/Google)

src/Notify/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-notify/current/index.html)

src/React/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-react/current/index.html)

src/Svelte/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-svelte/current/index.html)

src/Swup/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-swup/current/index.html)

src/TogglePassword/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-toggle-password/current/index.html)

src/Translator/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-translator/current/index.html)

src/Turbo/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-turbo/current/index.html)

src/Typed/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-typed/current/index.html)

src/Vue/assets/README.md

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

17+
To prevent your `package.json` file from being overwritten by Symfony Flex when upgrading the PHP package, you must **use at least Symfony Flex ^1.22.0 or ^2.5.0**, and configure your `composer.json` file like this:
18+
19+
```json
20+
{
21+
"extra": {
22+
"symfony/flex": {
23+
"synchronize_package_json": false
24+
}
25+
}
26+
}
27+
```
28+
1729
## Resources
1830

1931
- [Documentation](https://symfony.com/bundles/ux-vue/current/index.html)

0 commit comments

Comments
 (0)