Remove `jquery` from required packages
Created by: klimov-paul
Relates to #22194 (closed)
jQuery
should be removed from the mandatory dependencies for Bootstrap library.
Since Bootstrap is posioned as CSS framework (not JS one) and it is declared it can function without JQuery (even while it is limiting its features), there should be a way to install pure Bootstrap without JQuery from the repositories like Bower/Npm.
In particular, these lines should be removed: https://github.com/twbs/bootstrap/blob/v4-dev/bower.json#L34-L35
In the modern web application development more and more projects relies on suhc JS libraries like AngularJS, ReactJs, EmberJS and so on, in pursuit for 'on-page-site' feature implementation.
If particular developer wishes to use AngularJS and Bootstrap, why should he install a 'jquery' package, which will lie as a garbage among the project source files? Keeping 'jquery' as mandatory dependency looks unprofessional.
Ideally JS related code should be moved into a separated repository, which will depend on 'twbs/bootstrap' and 'jquery', while 'twbs/bootstrap' itself will be requirement free.
If this be a Composer installation, the quick solution will be move 'jquery' into suggest section, but for Bower/Npm - I can not say.