-
Notifications
You must be signed in to change notification settings - Fork 329
Description
Installer Version
5.14
Description
When using a userland starter using the --using
flag, the installer is doing too much. If no post-root-package-install
is set the installer just flat out kills and doesn't finish any steps (not all starters may need this script), and if the starter doesn't necessarily need other things such as running npm install and build, it still prompts for and runs those.
Those extra steps should only happen for the official Laravel starters. Otherwise you get unintended side effects.
For example, I use Skeletor in all my starters and since Skeletor prompts the user for additional information specific to that starter, the laravel installer clobbers that and outputs similar information and asks things that shouldn't be asked.

As you can see from this screenshot, the > @php -r "file_exists('.env') || copy('.env.example', '.env');"
is the beginning of the additional unnecessary steps performed by the installer.
I can submit a PR fixing this if necessary.
Steps To Reproduce
laravel new --using starter/laravel my-app