Description
The freetier_setup.md documentation specifies:
From the root of your site run install composer dependencies: composer require d8-contrib-modules/cloudflarephpsdk "1.0.0-alpha5"
When this command is run, Drupal core's composer.json is modified to add the new dependency. When a user then subsequently updates Drupal core; best case scenario they have to mentally account for that change and be sure it is not overwritten, worst case, they will unintentionally remove the dependency with the next core update. Is it not possible to add this dependency in a way that does not modify core?
Expected Result
I would expect the core-provided composer.json to not be modified.
Actual Result
Drupal core's composer.json is modified.
Proposed Resolution
Is it possible to include the dependency via a composer.json within the module itself?