Remove fxp/composer-asset-plugin from management by composer and push assets directly
As the result of a developers conversation around composer and the many issues we are facing when installing development version of Chamilo (repeated requirements of auth token, considerable slowliness vs relatively rare required updates of the corresponding libraries, disappearances of repositories that have been renamed without notification through composer, unjustified conflicts between versions, etc), we have decided to try and live without fxp/composer-asset-plugin.
Please remove this dependency from composer and "git add" the fixed libraries to composer in a way that we can still manage them (as developers) through bower directly.
I would like to have this ready as soon as possible. Ideally before releasing 1.10.4.
Updated by Julio Montoya almost 4 years ago
- Status changed from Assigned to Needs more info
I added bower.json file to update js and css, to do this:
bower install /var/www/html/chamilo/src/Chamilo/CoreBundle/Resources/config/bower.json
Then files are added in /var/www/html/chamilo/app/Resources/public/assets
Then with a "composer update" this files will be copied inside public/assets.
This bower install should be only run when there's a new js/css library.
In "non developer" (bower not installed) just "git pull + composer update"