RobLoach/component-installer — pull request #42 by jijoel (2013-08-04 19:51:35+00:00)
Title: Fixed issue with non-components using "component" flag in json

Hi, there!

I'm not sure if this was successfully set to you yesterday. It's a simple fix for a problem I ran into.

-joel

When non-component files use a "component" flag (see cartalyst/sentry as an example),
the component-installer script would start throwing errors like this:

> Script ComponentInstaller\Installer::postAutoloadDump handling the post-autoload-dump event terminated with an exception

> [ErrorException]
> Argument 2 passed to ComponentInstaller\Process\RequireJsProcess::aggregateScripts() must be an array, string given, called in /vendor/robloach/component-installer/src/ComponentInstaller/Process/RequireJsProcess.php on line 109 and defined

This fix removes everything it can identify as a non-component from the list of packages.