Commit Graph

54 Commits

Author SHA1 Message Date
André Cruz
1553d67d4b Fix help for the ls command. 2012-12-14 10:59:46 +00:00
André Cruz
549f857aed Fix end event not being fired in the uninstall command. 2012-12-14 10:51:55 +00:00
André Cruz
4fb74b326f Remove unused options. 2012-12-14 10:50:10 +00:00
André Cruz
3dec991e7e Fetch versions only if necessary and if the offline option is not passed. 2012-12-14 10:40:25 +00:00
André Cruz
f9c1e81fb3 Fix error while executing an unknown command, fixes #179. 2012-12-13 09:49:13 +00:00
André Cruz
999519bd94 Typo. 2012-12-10 18:01:12 +00:00
André Cruz
fa81d7831b Fix two important issues.
- Fix reading invalid component.json in the manager
- Fix --force flag in uninstall in some cases
2012-12-10 17:54:27 +00:00
André Cruz
10d7487f2e Fix previous two commits. 2012-12-10 16:33:25 +00:00
André Cruz
26503f8ee3 Add silent option to the register command. 2012-12-10 16:08:29 +00:00
André Cruz
879f19c70a Fix uninstall removing packages not saved in the component.json, fixes #178.
Also fix possible issues with options in other commands.
2012-12-10 16:03:57 +00: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