You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -33,16 +35,9 @@ It's (kind-of) an alternative to two other great plugins (differences will becom
33
35
| Apply patches to root package/directory | yes | no | TBD |
34
36
35
37
<small>
36
-
<sup>1</sup> Root package patching is the exception, please see [applying patches to root package](Applying patches to rootpackage (rootprojectfolder)) in usage docs section.
38
+
<sup>1</sup> Root package patching is the exception, please see [applying patches to root package](docs/usage.md#applying-patches-to-root-package-root-project-folder) in usage docs.
37
39
</small>
38
40
39
-
40
-
Test2: [applying patches to root package](#sth)
41
-
42
-
Test1: [applying patches to root package](Applying patches to root package (root project folder))
43
-
44
-
45
-
46
41
### Some feature hilights
47
42
48
43
- Apply patches from dedicated composer packages (package your patchset!).
@@ -91,28 +86,6 @@ plugins have done their work so patching source files in vendor will have no eff
91
86
purpose. I can hardly imagine a legit use case when it would be desirable that installing package X will automatically
92
87
patch some other package Y in your project without explicitly being advertised as a patchset.
93
88
94
-
## Usage
95
-
96
-
### Create *patchset* composer package
97
-
98
-
### Define patches in your root package
99
-
100
-
### Applying patches to root package (root project folder)
101
-
102
-
Define patches as you normally would. If your root package is not named the you should use special
103
-
`__root__` as package name.
104
-
105
-
**CAUTION** Since root package cannot be reinstalled once patches are applied they cannot be removed!
106
-
This means that if you want to remove patches applied to root package you should reinstall the whole
107
-
project manually. The plugin will warn you when this is the case but will not fail. It will try
108
-
to apply any new root package patches though.
109
-
110
-
__New patches will be applied to the root package but then _application order_ is not guaranteed.__
111
-
112
-
### Options
113
-
114
-
#### Strip defined number of components when applying patch (`-pX`)
0 commit comments