Skip to content

Commit fbf9534

Browse files
committed
Draft 5.0 update process
1 parent c4ed2a5 commit fbf9534

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

docs/update_and_migration/from_4.6/update_to_5.0.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,29 @@ TODO: list of features deprecated in 4.6 removed in 5.0?
4949
composer recipes:install ibexa/commerce --force -v
5050
```
5151

52-
### composer.json clean-up
52+
### composer.json
53+
54+
#### Sort commands
55+
56+
Recipe appends a command to `composer.json`'s `auto-scripts`.
57+
You have to manually resort the commands so the `tsconfig.json` file
58+
is created by `yarn ibexa-generate-tsconfig`
59+
before being used by `ibexa:encore:compile`.
60+
Your `auto-scripts` entry should look like this:
61+
62+
```json
63+
"auto-scripts": {
64+
"cache:clear": "symfony-cmd",
65+
"assets:install %PUBLIC_DIR%": "symfony-cmd",
66+
"yarn install": "script",
67+
"ibexa:encore:compile --config-name app": "symfony-cmd",
68+
"bazinga:js-translation:dump %PUBLIC_DIR%/assets --merge-domains": "symfony-cmd",
69+
"yarn ibexa-generate-tsconfig": "script",
70+
"ibexa:encore:compile": "symfony-cmd"
71+
},
72+
```
73+
74+
#### Clean-up
5375

5476
If you have required 4.6 LTS Update packages,
5577
they're included by default in 5.0.

docs/update_and_migration/from_5.0/update_from_5.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ month_change: true
88
Ibexa DXP v5.0.0 is the latest version for now. If you have it, you're update-to-date.
99
Come back to this page later to discover if some patch has been released and how to install it.
1010

11-
To update from v4.6.x, see [Update from v4.6 to v5.0](update_to_5.0.md)
12-
From older version, explore [this section](update_ibexa_dxp.md).
11+
To update from v4.6.x, see [Update from v4.6 to v5.0](update_to_5.0.md).
12+
From an older version, explore [this section](update_ibexa_dxp.md).

0 commit comments

Comments
 (0)