File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [ Unreleased]
9
9
10
+ ## [ 1.0.1] - 2019-06-30
11
+
12
+ ### Added
13
+ - Added hari/pw-module as a dependency to force Composer to install it before this package.
14
+
10
15
## [ 1.0.0] - 2019-06-29
11
16
12
17
### Added
Original file line number Diff line number Diff line change @@ -68,6 +68,18 @@ And here's an equally stripped-down sample composer.json for a site profile:
68
68
69
69
- PHP 5.5 or newer
70
70
71
+ ### Why does this project require other installers via composer.json?
72
+
73
+ In case you're wondering why we currently have hari/pw-module as a requirement for this package,
74
+ there's actually a good reason for this, even though it is admittedly a bit of a hack:
75
+
76
+ * Composer doesn't let us define package install order, but it prioritizes Composer installers.
77
+ * If multiple installers compete for one package, the installer installed or loaded later wins.
78
+
79
+ By adding other installers (currently only hari/pw-module) as a dependency for this project we're
80
+ actually effectively forcing Composer to install it * before* this project, which in turn allows us
81
+ to override other installers when it comes to choosing an installer for pw-* packages.
82
+
71
83
## License
72
84
73
85
This project is licensed under the Mozilla Public License Version 2.0.
Original file line number Diff line number Diff line change 13
13
}
14
14
],
15
15
"require" : {
16
- "composer-plugin-api" : " ^1.0"
16
+ "composer-plugin-api" : " ^1.0" ,
17
+ "hari/pw-module" : " ^1.0.0"
17
18
},
18
19
"autoload" : {
19
20
"psr-4" : {
You can’t perform that action at this time.
0 commit comments