70 Commits

Author SHA1 Message Date
André Cruz
3a0cb8b35c Tweaks to PR #672. 2013-07-28 17:17:42 +01:00
Hemanth.HM
f0ed7f22db Close GH-672: Fix for #670. 2013-07-28 17:14:24 +01:00
André Cruz
ac91f07d22 Set debug logs to grey. 2013-07-28 16:43:34 +01:00
André Cruz
38fb72ece9 Use fstream stack for more meaningful stack traces. 2013-07-27 19:23:23 +01:00
André Cruz
c738bc1e96 Do not show success message if register was aborted. 2013-07-23 01:02:04 +01:00
André Cruz
729bdd9c68 Home as wide command. 2013-07-21 14:51:22 +01:00
André Cruz
8e51d1eaf3 Add force-latest option, closes #629. 2013-07-18 18:34:04 +01:00
André Cruz
b45a1bd913 Fix usage of trim. 2013-07-09 20:41:23 +01:00
André Cruz
34a2f1ad65 Add insightful message after registering. 2013-07-07 17:43:16 +01:00
André Cruz
42b498654b N/A if there's no error stack. 2013-07-07 10:17:58 +01:00
André Cruz
bb76621b7f Add origin to progress messages for compact terminals. 2013-07-06 12:59:56 +01:00
André Cruz
3b3e64e752 Implement removal of invalid links in the cache clean command. 2013-07-04 23:09:24 +01:00
André Cruz
08b53410b4 Add console.trace back again to complement errors. 2013-07-03 16:25:32 +01:00
André Cruz
92d98c8d59 Show latest versions always. 2013-07-03 14:41:20 +01:00
André Cruz
7becb19da4 Implement check of newer versions in the list command.
Also:
- Fix some errors not being emitted when a command failed.
- Update semver module; no need to check .valid against null.
2013-07-03 14:37:28 +01:00
André Cruz
561bc42259 Show stack trace if errors comes from node. 2013-07-02 13:29:10 +01:00
André Cruz
a2f9662a99 Wrong doc placement. 2013-06-28 23:50:03 +01:00
André Cruz
2132384736 Add small note. 2013-06-28 23:05:43 +01:00
André Cruz
28baf4de5e Use err.stack, integrates better with Q. 2013-06-27 23:42:57 +01:00
André Cruz
6020d06038 Move root flag to a more appropriate place. 2013-06-25 21:19:46 +01:00
André Cruz
a61e31f646 Use String.prototype.trim instead of mout's one. 2013-06-25 00:26:06 +01:00
André Cruz
c800670f39 Add link command help, tweak some other usage helps. 2013-06-25 00:17:56 +01:00
André Cruz
c9e1159c42 Merge branch 'rewrite' of github.com:bower/bower into rewrite 2013-06-24 23:20:28 +01:00
André Cruz
f9f8f7aebd Implement link command.
Also:
- CS fixes
- Remove options argument from commands that do not have them
- Use console.trace instead of err.stack (more reliable)
2013-06-24 23:19:59 +01:00
Sindre Sorhus
870d57bfa5 Use single-quotes in bower info 2013-06-23 22:03:04 +02:00
André Cruz
a02f26f0eb Add register command, CS fixes. 2013-06-23 17:48:45 +01:00
André Cruz
97edd21784 Add lookup command, minor tweaks to the info command. 2013-06-23 14:58:54 +01:00
André Cruz
eb18c0a505 Use stringily object when printing package meta in the info command. 2013-06-23 01:49:48 +01:00
André Cruz
4c3802878a Another huge commit.
- Add info command
- Fix list --paths
- Fix search with no name
- Fix conflict detection when uninstalling
- Mix tweaks and fixes
2013-06-23 01:14:08 +01:00
André Cruz
23e560b638 Forgot to update to canonical dir in some comments/docs. 2013-06-22 17:15:06 +01:00
André Cruz
83b6820458 Huge commit.
- Add search command
- Cache clean now clears the registry cache
- Fix error when accessing an unknown deep command in the cli
- Change from 'roaming' to 'path' in the config
- Change from 'canonicalPackage' to 'canonicalDir'
- Fix dev dependencies of nested packages being fetched
- Ignore invalid installed packages
- Various cache fixes and improvements
- Fix .bower.json being deleted if a package specified ignorables
- Use fstream instead of ncp to solve the EMFILE errors
2013-06-22 17:04:50 +01:00
André Cruz
3a7b4fd404 Unnecessary line. 2013-06-15 23:44:03 +01:00
André Cruz
578557f3d7 Minor tweaks. 2013-06-15 23:12:17 +01:00
André Cruz
92b7668067 Add list command, some other fixes and improvements.
- Fix cache clean command
- Lots of improvements and fixes of the Manager
- Only save json if the contents changed
- Add nom like tree to installed/updated packages
- Fix help usages.
2013-06-15 21:43:01 +01:00
André Cruz
95f9170736 Tweak cache list and clean output. 2013-06-14 11:25:19 +01:00
André Cruz
94a24b3f57 Protect against empty origins. 2013-06-11 19:16:26 +01:00
André Cruz
8eed440840 Fix error logging. 2013-06-11 16:20:53 +01:00
André Cruz
6ec31cc7f9 Fix cache list not displaying the correct version. 2013-06-11 08:56:31 +01:00
André Cruz
6d3b3e6de2 Add cache clean and list commands.
This was an huge commit.
- Allow nested commands
- Switch resolve cache in memory object cache to LRU
- Store non-semver packages in the cache
- Tweak help messages
- Various fixes and tweaks
2013-06-11 00:39:18 +01:00
André Cruz
e704733743 Read, use and update persistent resolutions.
Add --save-resolutions to deal with this.
Also:
  - Adjust logging when using compact
  - Minor code adjustments.
2013-06-07 13:05:07 +01:00
André Cruz
79522194f1 Inform the user when a conflict was resolved with a configured resolution. 2013-06-06 01:05:55 +01:00
André Cruz
ef610ab7de Sort of picks must be done by the Manager, otherwise indexes are messed up.
Little code simplification on the Project.
2013-06-05 01:13:15 +01:00
André Cruz
68454492e9 Add conflict resolve, presenting choices to the user.
This commit also contains:
- Simplified Manager and Project
- Add warning when an extraneous package is found.
- Fix a lot of bugs in the overall resolve process
- Made templates rendering synchronous
-
2013-06-05 00:50:23 +01:00
André Cruz
4593b652c4 Fix log of errors not rendering the error message/data in the JSON renderer. 2013-06-05 00:29:27 +01:00
André Cruz
49be1638ba Minor tweaks. 2013-06-03 16:54:09 +01:00
André Cruz
afd01cc40c Change from promise progress events to hierarchical logger.
This is an huge commit, contains other small tweaks/fixes.
2013-06-03 16:31:19 +01:00
André Cruz
e811236973 Print only the stack trace when verbose or the error has no code (usually something strange). 2013-06-02 11:49:01 +01:00
André Cruz
41486d44ee Tweaks. 2013-05-31 19:11:21 +01:00
André Cruz
7fb326245e Print update notice. 2013-05-31 18:17:32 +01:00
André Cruz
57a9b313c4 Finish the help command and help usages for the implemented commands.
Introduce templating based on handlebars.
Minor tweaks.
2013-05-31 16:18:00 +01:00