I have 2 sites a dev site and the production site. Need to convert them from drupal/drupal composer sites to the newer format allowing continued support for composer. The syntax is unclear to me as detailed below. From https://github.com/grasmash/composerize-drupal
The 'composer-root' is supposed to be where .git is. Composer is at /home dir, their is a Git directory a .composer (dir) .gitconfig (file) (I have always ran composer from terminal /opt/lampp/htdocs/d8/web directory)
So is composer-root=./home ??
The Drupal dev site is located in /opt/lampp/htdocs/d8/web where in the web dir the index.php, composer.json, composer.lock, update.php files are. This is where I ran composer from previously.
So is --drupal-root=./opt/lampp/htdocs/d8/web ??
And I run the command from /opt/lampp/htdocs/d8/web as I have done previously?
If correct: composer composerize-drupal --composer-root=./home --drupal-root=./opt/lampp/htdocs/d8/web --no-update
Many thanks for any suggestions!
ls -laoutput of those directories?