- Issue created by @deepakkm
- 🇫🇷France cdestrait
cdestrait → changed the visibility of the branch 3457583-add-composer.json-file to hidden.
We should add composer.json file in our module root so that it fulfils Drupal standard.
Missing composer.json file will not allow you to add module using vcs, example:
- Add module using vcs path in root composer repository section as shown below.
"moderation_sidebar": {
"type": "path",
"url": "git@git.drupal.org:issue/moderation_sidebar-3448524.git"
}
- Then run composer require drupal/moderation_sidebar:dev-3448524-d11-ready and you will notice below error.
No valid composer.json was found in any branch or tag of git@git.drupal.org:issue/moderation_sidebar-3448524.git, could not load a package from it.
Needs work
1.0
Code
cdestrait → changed the visibility of the branch 3457583-add-composer.json-file to hidden.