Little script to generate composer.json files for all modules/themes/profiles from root Drupal directory.
Usage
- Copy script and template from this repo into root of
8.x branch of Drupal repo.
- Run
ruby -e "require './generate-composer-json-files.rb'; generate_composer_files"
TODO
- Add ability to generate
composer.json for Drupal components.
- Add script to split out repos with
git subtree split and push to github.
- Add script to edit Drupal core’s
composer.json to pull in projects.
generate-composer-json-files.rb