I created a new site on Forge and I realized that the composer install command does not have the --no-dev flag by default so I found the development dependencies installed in the vendor/ folder.
Does anyone know if there is a specific reason for that or is this just the new default and we need to update the command for new sites?
you can create a service as stagging environment and you could install telescope as a dev package
you still want the ability to debug your service with
debugbar, telescope ,etc
when we want to create a production service is our responsibility
to change the script and install packages without dev and etc
and of course different env with production parameters only
@sos99 I just updated the composer install command to omit all dev dependencies 3 months ago :D. It was the default before, I just wondered why they changed it.
However I think --no-dev should still be the default. If I want to use a debugging tool on like a staging or production environment (telescope on prod is totally fine) I don't add the dependency as a dev-dependency.