Mickael Daniel
e11651648f
Add completion handler for each command
2012-12-01 21:32:34 +01:00
Mickael Daniel
174c37d75d
Tab completion, handler for install command
...
- results of the first lookup is cached to
~/.bower/completion/install.json
- consider caching in ~/.bower/cache instead, so that cache-clean
command also removes completion cache.
2012-12-01 21:32:07 +01:00
André Cruz
667b094bb7
CS.
2012-12-01 00:40:05 +00:00
André Cruz
9505f3763c
Fix uninstall --save when there is no component.json.
2012-11-23 09:21:48 +00:00
André Cruz
3b69d1a4d5
Fix uninstall when the project has no deps saved, closes #153 .
2012-11-23 00:49:44 +00:00
André Cruz
951013c006
Remove unnecessary if.
2012-11-21 23:45:17 +00:00
André Cruz
4a81edf5da
Fix removal while using link, do not proceed if a local repo is detected.
2012-11-21 22:44:37 +00:00
André Cruz
8dcc2d5979
Typo.
2012-11-21 01:22:46 +00:00
André Cruz
75b9e21e77
Oops.
2012-11-21 01:21:25 +00:00
André Cruz
648fcace0f
Add link command, change cache dirs.
2012-11-21 01:10:22 +00:00
André Cruz
30d95d3751
Fix resolve event emitting data in the install/update commands.
2012-11-20 20:51:56 +00:00
André Cruz
15cd35efb9
Change register prompt.
2012-11-20 20:12:00 +00:00
André Cruz
3793267c52
Add confirm prompt to the register command.
2012-11-19 19:55:40 +00:00
André Cruz
3b1642a52f
Fix warn template, add missing command types.
2012-11-19 00:15:43 +00:00
André Cruz
bc598a334b
Add jshintrc and fix all CS issues related to it.
2012-11-18 20:44:41 +00:00
André Cruz
aa30fe885a
Uninstall now removes also nested deps if not shared.
...
The uninstall now warns and halts uninstalling shared packages.
Though it can be forced with the --force flag.
Also fix CS, and fix small bug.
2012-11-18 16:49:25 +00:00
André Cruz
c06d8b271e
Move name guessing logic to the package itself.
2012-11-18 11:01:36 +00:00
André Cruz
b85a565798
Report upgradeable local packages and packages without tags.
2012-11-17 23:23:16 +00:00
André Cruz
82c20e8a6b
Print warning when the tag differs from the version specified in the json.
2012-11-17 23:12:42 +00:00
André Cruz
01d2ee079c
Fix some bugs related with latest changes, fix CS, add local repo tests.
2012-11-17 20:27:20 +00:00
André Cruz
e9514423ce
Remove package.json support, remove console.logs.
2012-11-17 15:35:59 +00:00
André Cruz
822efbe34c
Huge commit.
...
- Support local path repositories
- Fix various issues with the list command
- If no component.json is detected, bower now creates one if the --save option is true
- Save command now saves in the form of ~tag instead of latest
2012-11-17 15:03:42 +00:00
André Cruz
376788f385
Fix ls command, closes #126 .
2012-11-07 20:28:22 +00:00
André Cruz
496eeb1336
Oops, fix little regression.
2012-11-05 02:17:01 +00:00
André Cruz
4ab8cd398b
Fix update for asset packages.
2012-11-05 01:53:43 +00:00
André Cruz
d23adeef5a
Fix force flag.
2012-11-03 13:21:00 +00:00
André Cruz
8684078437
Merge pull request #109 from twitter/cache-id
...
Same package names but different endpoints now have different caches.
2012-10-30 14:57:47 -07:00
André Cruz
4ea387ed35
Merge branch 'master' of github.com:twitter/bower
2012-10-27 14:38:30 +01:00
André Cruz
83661eec48
Quick fix.
2012-10-27 14:38:05 +01:00
André Cruz
07b93ffe60
Generate a resource id everytime the gitUrl is set, fixes list command.
2012-10-27 11:17:00 +01:00
André Cruz
381c5fea77
Remove dot from error message.
2012-10-26 10:49:02 +02:00
André Cruz
9c81c3ce29
Use custom fileExists that returns true if the file exists but cannot be stat'ed.
...
This is needed because fs.exists was returning false values when it should actually return true.
2012-10-24 02:26:31 +01:00
André Cruz
8dc17f64f8
Important fixes to the update command.
...
- Update command now correctly process passed packages
- Fix packages in which the name couldn't be correctly extracted from the remote URL
- Add --force flag, just like the install command
2012-10-24 01:28:18 +01:00
André Cruz
b371dd2cf7
Return early.
2012-10-22 21:44:35 +01:00
André Cruz
a74f6630df
Add tests for cache-clean, unified some return values.
2012-10-20 16:41:19 +01:00
Andre Cruz
708d68aee7
Prevent errors when passing duplicate packages to cache-clean.
2012-10-16 01:01:54 +00:00
André Cruz
3bcd2e08e8
Revert "Ability to disable colors with the --no-colors arg."
...
This reverts commit 008e0d8c8a .
2012-10-15 20:16:48 +01:00
André Cruz
5967acb15e
Add cache-clean command, remove unnecessary code.
2012-10-15 19:27:48 +01:00
André Cruz
c589625b01
Add --no-colors options to the help templates, add missing --no-colors to the uninstall.
2012-10-15 01:44:15 +01:00
André Cruz
a403585e1e
Fix update command on non tagged repos.
2012-10-15 01:37:04 +01:00
André Cruz
008e0d8c8a
Ability to disable colors with the --no-colors arg.
2012-10-15 01:27:33 +01:00
André Cruz
058524ca53
Add -f option to the install command.
2012-10-11 23:16:00 +01:00
Andre Cruz
fd31f247a6
Unit of work implementation.
...
A unit of work is a simple storage with write lock/unlock.
The manager/package now share a unit of work instance.
The unit of work is used to prevent shared dependencies from being cloned/copied "at the same time" fixing issue #81 .
The prune and version resolving algorithm was also not correct. It now resolves versions correctly, fixing issue #57 .
- Fix I/O errors caused by copying/clone repos simultaneously to the same dest.
- Optimize the clone/copy step by avoiding it if the last resolved resource is the same.
- Fix failing test (at least on my windows machine)
- Add some more tests
- Fix CS.
2012-10-11 13:40:54 +01:00
Jacob Thornton
d4626f449c
if dependencies object is not present in json, don't try to warn
2012-09-16 13:13:21 -07:00
John-David Dalton
a7dca30d9d
Replace Underscore with Lo-Dash.
2012-09-11 22:45:02 -07:00
Chris Aniszczyk
c220329337
Initial Release
...
Signed-off-by: Chris Aniszczyk <zx@twitter.com >
2012-09-06 17:11:42 -07:00