I am building a composer.json file for my project which involves core Drupal, contributed Drupal modules, Drupal related libraries, core CiviCRM. All initialisation of the empty prototype and customisation is done with both Drupal modules and CiviCRM extensions, whichever seems easier.
The question is how do we install and upgrade the core CiviCRM code? composer search reveals that civicrm is not part of packagist, but I do see a composer.json and a bower.json file in the civicrm folder.
Before I start trying out doing it on my own, could you please give me some hints and examples how I could do this. My goal is that composer update would take care of upgrading both drupal and CiviCRM code, without following the usual documented upgrade instructions.