|
1 | | -# Jack to raise your dependency version |
| 1 | +# Raise your Dependency Versions with Jack |
2 | 2 |
|
3 | 3 | **Experimental**: Jack is an experimental project under active development. It is not yet stable, may contain bugs or undergo breaking changes. It's build it in the open with the community feedback. |
4 | 4 |
|
@@ -26,23 +26,29 @@ composer require rector/jack --dev |
26 | 26 |
|
27 | 27 | ## Usage |
28 | 28 |
|
29 | | -## 1. Let your CI tell you, if there is too many outdated dependencies |
| 29 | +## 1. Too many outdated dependencies? Let your CI tell you |
30 | 30 |
|
31 | 31 | We tend to postpone upgrade and to them in big jumps = once a couple years. The postponing turns upgrades to harder and more costly project. Also, we can face more errors, as some newer version of packages no longer work with our PHP version. |
32 | 32 |
|
33 | | -Let CI pay attention to this issue for us. Too many outdated major packages? CI will fail. |
| 33 | +Let CI pay attention to this issue for us. |
| 34 | + |
| 35 | +Too many outdated major packages? CI will fail. |
34 | 36 |
|
35 | 37 | ```bash |
36 | 38 | vendor/bin/jack breakpoint |
37 | 39 | ``` |
38 | 40 |
|
39 | | -Default limit of outdated packages is 5. Do you 15 outdated packages? Make it fit your needs - goal of this command is not to get stressed, but to keep raising your dependencies one step at a time: |
| 41 | +<br> |
| 42 | + |
| 43 | +Default limit of outdated packages is 5. |
| 44 | + |
| 45 | +Do you 15 outdated packages? Make it fit your needs - goal of this command is not to get stressed, but **to keep raising your dependencies one step at a time**: |
40 | 46 |
|
41 | 47 | ```bash |
42 | 48 | vendor/bin/jack breakpoint --limit 13 |
43 | 49 | ``` |
44 | 50 |
|
45 | | -This way, the upgrade will be bring to our focus, if we're lacking behind for too long. |
| 51 | +This way, the upgrade will be come to our focus, if we're lacking behind for way too long. |
46 | 52 | No more: "oops, all our dependencies are 3 years old, let's update them all at once" mayhem. |
47 | 53 |
|
48 | 54 | <br> |
|
0 commit comments