Skip to content

yarn install and laravel mix called more times than needed during gitpod initialization #61

Closed
@apolopena

Description

@apolopena

Describe the bug

There are extranoues yarn installs and laravel mix compiles happening when more than one optional install from starter.ini is set.

Screenshots

Steps to reproduce

set phpmyadmin and react to install, there will be three total calls to yarn install and laravel mix.

Expected behavior

yarn install and laravel mix could be called alot less. once if there are not optiona installs and twice if there are multiple optional installs. maybe even just once for all of it.

Additional information

An API for getting installation information from starter.ini should be built into bash/helpers.sh and used for this feature.
has_installs: echos 1 if anything is installed, echos 0 if otherwise
has_only_phpmyadmin_install: echos 1 if only phpmyadmin is installed but no frontend scaffolding is installed, echos 0 if otherwise
has_only_frontend_scaffolding_install: echos 1 if no phpmyadmin is installed and at least 1 frontend scaffolding is installed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions