README.md in bower_vendor-0.0.18 vs README.md in bower_vendor-0.1.0
- old
+ new
@@ -1,9 +1,9 @@
# BowerVendor
Simple rake tasks to manage vendor assets for rails application
-using bower. This gem is inspired by bower-rails.
+using bower or yarn. This gem is inspired by bower-rails.
Reason for the existence of this gem is to have improved assets control, which is lacking
in bower-rails. This gem not only fetches assets using bower, but also contains logic to
maintain actually used assets in "vendor/asests" so that they can be committed safely into
repository.
@@ -92,9 +92,37 @@
tag: v0.9.13
assets:
- dist/css/bootstrap-multiselect.css
- dist/js/bootstrap-multiselect.js
- dist/js/bootstrap-multiselect-collapsible-groups.js
+```
+
+vendor_yarn.yml
+```yaml
+bootstrap:
+ assets:
+ - scss/*.scss
+ - mixins:
+ - scss/mixins/*.scss
+ - utilities:
+ - scss/utilities/*.scss
+ - js/dist/*.js
+
+jquery:
+ assets:
+ - dist/jquery.js
+
+lodash:
+ assets:
+ - lodash.js
+
+url.js:
+ assets:
+ - url.js
+
+vue:
+ assets:
+ - dist/vue.js
```
2) Install assets
```bash