bigspring / lunchbox

A composer config that downloads WordPress and some essential plugins in a few seconds
MIT License
16 stars 5 forks source link

v2 refactor? #16

Closed juliotaylor closed 10 years ago

juliotaylor commented 10 years ago

@korovacow is there a better way we can implement Lunchbox in a new release? For example using grunt / bower instead of a bash script.

Any ideas?

hibernius commented 10 years ago

Very much worth looking into Composer, I feel.

Native composer wordpress install - http://roots.io/using-composer-with-wordpress/ Wordpress-specific Wordpress composer dependency management - http://wpackagist.org/

Packagist looks really useful - just define Wordpress dependencies in composer.json (like with package.json, specifying plugins and version limits) and when composer is initialised it installs the lot.

A potential issue is that it is just for Wordpress, but I could always write a script which runs each of the dependency managers in order to setup the project (i.e. it would run WPpackagist then bower then npm). The script itself would therefore be tiny and require almost no maintenance as the dependency config would be set via the respective .json files tailored to each system.