Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidchambers/remember-bower
:bird: Never forget to update dependencies in bower.json again
https://github.com/davidchambers/remember-bower
Last synced: 2 months ago
JSON representation
:bird: Never forget to update dependencies in bower.json again
- Host: GitHub
- URL: https://github.com/davidchambers/remember-bower
- Owner: davidchambers
- License: wtfpl
- Created: 2016-11-04T10:54:33.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-28T12:48:04.000Z (almost 5 years ago)
- Last Synced: 2024-10-03T20:18:44.179Z (3 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# remember-bower
When upgrading dependencies in a project which includes both __package.json__
and __bower.json__, it's easy to forget to update the latter. `remember-bower`
is a simple command-line utility which solves this problem.```console
$ node_modules/.bin/remember-bower $(pwd)
"sanctuary-type-classes" specified as 1.0.x in package.json but as 0.3.x in bower.json$ echo $?
1
```A project may have dependencies which are applicable to Bower but not to Node
(or vice versa).```console
$ node_modules/.bin/remember-bower $(pwd)
"foo" specified in bower.json but not in package.json
"bar" specified in bower.json but not in package.json$ echo $?
1
````--exclude` may be used to permit such discrepancies.
```console
$ node_modules/.bin/remember-bower --exclude foo --exclude bar $(pwd)$ echo $?
0
````remember-bower` should be run as part of a project's automated tests. Having
to *remember* to remember Bower would defeat the point. ;)