Project

General

Profile

Feature #7573

Use bower?

Added by Julio Montoya over 4 years ago. Updated over 4 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
Category:
System
Target version:
Start date:
04/03/2015
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

http://bower.io/search/

What do you think?

We could put files in:

web/js/

Associated revisions

Revision f84f1da0 (diff)
Added by Julio Montoya over 4 years ago

Remove js code added by composer see #7573

Revision 063a81f8 (diff)
Added by Julio Montoya over 4 years ago

Change js lib path see #7573

Note: To load js libraries you need to execute composer update.

History

#1

Updated by Marko Kastelic over 4 years ago

what's wrong with composer and asset-plugin [https://github.com/francoispluchino/composer-asset-plugin] ?
you can get what you want (assets can be maintained from composer.json) and 'compatibility' with npm and bower without installing for eg. bower.
and look at this one also [https://github.com/koala-framework/composer-extra-assets]

#2

Updated by Julio Montoya over 4 years ago

Marko Kastelic wrote:

what's wrong with composer and asset-plugin [https://github.com/francoispluchino/composer-asset-plugin] ?
you can get what you want (assets can be maintained from composer.json) and 'compatibility' with npm and bower without installing for eg. bower.
and look at this one also [https://github.com/koala-framework/composer-extra-assets]

There's nothing wrong with "asset-plugin". Asking for the use of bower means to use a js package handler to download files.
If asset-plugin can do it, then we can use that. I'm going to test those alternatives.

#3

Updated by Julio Montoya over 4 years ago

  • Status changed from New to Needs testing
  • % Done changed from 0 to 90
#4

Updated by Yannick Warnier over 4 years ago

  • Category set to System
  • Status changed from Needs testing to Feature implemented
  • Assignee set to Julio Montoya
  • % Done changed from 90 to 100

That's currently working well.
Sometimes (it already happened several times) composer reports that it cannot find the libraries. Apparently this is mostly a problem with the repository not being available, but it is very frustrating (makes you delete your vendor, relaunch composer install && update several times, etc, before you realize it isn't you... it's them).

Anyway... I hope this will get better in the future.

Also available in: Atom PDF