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
77
88## [ Unreleased]
99
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+
1015## [ 1.0.0] - 2019-06-29
1116
1217### 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:
6868
6969- PHP 5.5 or newer
7070
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+
7183## License
7284
7385This project is licensed under the Mozilla Public License Version 2.0.
Original file line number Diff line number Diff line change 1313 }
1414 ],
1515 "require" : {
16- "composer-plugin-api" : " ^1.0"
16+ "composer-plugin-api" : " ^1.0" ,
17+ "hari/pw-module" : " ^1.0.0"
1718 },
1819 "autoload" : {
1920 "psr-4" : {
You can’t perform that action at this time.
0 commit comments