I had to remove the vendor/craftcms/ directory (because I edited some core files, for test purposes, and I want to discard all changes). After I run composer install again, the craftcms dependencies are installed correctly, but the plugins.php only contains the craftcms plugins (eq. the contactform etc.). The other plugins are not back in because they were not installed again ofcourse.
I had to remove the whole vendor/ directory and that recovered the plugins.php
Description
I had to remove the vendor/craftcms/ directory (because I edited some core files, for test purposes, and I want to discard all changes). After I run composer install again, the craftcms dependencies are installed correctly, but the plugins.php only contains the craftcms plugins (eq. the contactform etc.). The other plugins are not back in because they were not installed again ofcourse.
I had to remove the whole vendor/ directory and that recovered the plugins.php
Steps to reproduce
Additional info