André Cruz
424f99cea4
Fix cacheName not being correctly set sometimes, closes #429 .
...
This was causing issues in the list command and install/update --save flag.
2013-04-27 11:26:59 +01:00
André Cruz
c904c81d1c
Close GH-418: Fix --save not working with urls that get redirected.. Fixes #417
2013-04-25 22:29:49 +01:00
André Cruz
fac7e1692c
Fix --save and --save-dev when installing via shorthands.
2013-03-16 17:08:32 +00:00
André Cruz
f5d19d43d4
Preserve trailing new line when saving component.json, closes #285 .
2013-03-01 11:36:18 +00:00
André Cruz
82ae977ba6
Only fire end event when end saving reps to the component,json, #258 .
2013-02-24 12:10:05 +00:00
André Cruz
674b02bda6
Fix another typo in the save command.
2013-02-19 13:39:19 +00:00
André Cruz
e8684ded7d
Typo.
2013-02-19 13:36:37 +00:00
André Cruz
e7299b1125
Add --save-dev flag to the install command, #258 .
2013-02-17 16:42:44 +00:00
Miloš Hadžić
7429e62d9d
Don't save dependency to component.json when it doesn't resolve
...
Fixes the case when install is called with --save and the dependecy
is saved to component.json even if it wasn't resolved.
2013-02-05 19:51:01 +01:00
André Cruz
9ac919b7af
Simplify util/save.
2013-02-01 00:22:31 +00:00
Joshua Johnson
1d06f7e93c
Fix typo.
2013-01-09 13:27:17 -05:00
André Cruz
e021276072
Extract and present errors from the shell (e.g.: git commands).
2012-11-20 20:13:17 +00:00
André Cruz
88d674848f
Fix save flag for asset packages.
2012-11-19 20:00:56 +00:00
André Cruz
c645768267
Remove unused code.
2012-11-18 16:56:05 +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
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
Merrick Christensen
eb747d7508
If the dependencies object doesn't exist on a --save. Create it.
2012-11-03 14:34:36 -06:00
André Cruz
3af267669e
Return early.
2012-10-22 22:34:59 +01:00
André Cruz
97f8efcbb9
Use the lookup name when using the --save option whenever possible.
...
Also fix important bug regarding the checkout process in some edge cases.
2012-10-18 23:19:37 +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
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