Alexander Gugel
2f6d680b6c
Add --save-exact flag
2015-01-11 17:12:19 +01:00
Adam Stankiewicz
0b9acc18cc
Test reading commands arguments
2015-01-10 12:56:15 +01:00
Adam Stankiewicz
5bb77b1e03
[refactor] Prepare command argv readers for testing
2015-01-10 05:49:42 +01:00
Adam Stankiewicz
33842b6f92
Remove dummy completion command
2015-01-09 02:29:18 +01:00
Adam Stankiewicz
06a8f2afab
Read .bowerrc from specified cwd, fixes #1301
2014-09-06 02:38:40 +02:00
Adam Stankiewicz
1d24e82276
[ #931 ] Make --force always re-run installation
2014-06-21 00:33:51 +02:00
Thomas Scholtes
5c83972401
Use promise interface for commands
...
This commit changes the interface of the command functions exported by the
files in `lib/commands`. The functions now return a promise and accept a logger
as the first argument. This has several advantages
* The promise style is consistent with the rest of the code.
* It removes a lot of duplicate code.
* The command factory does not need to proxy the logger object.
2014-06-20 21:14:26 +02:00
Mat Scales
e6cb497d1a
Added a .bowerrc option to make bower install assume --save ( #1040 )
2014-01-27 21:00:57 +00:00
Pascal Hartig
e84f71cd37
Basic usage tracking with insight
...
The user is prompted with a question whether he would like to provide usage data
on the first start, when run in interactive mode. The current implementation
tracks calls to `install`, `info`, `search` and `uninstall` when run with at
least one parameter.
Fixes #260
Closes gh-796.
2013-12-05 22:37:32 +01:00
André Cruz
0866c93573
Do not swallow sync errors from commands event handlers, fixes #849 .
2013-09-04 09:58:50 +01:00
André Cruz
c6a370309d
Project install now accepts decomposed endpoints instead of endpoints.
2013-08-19 19:38:30 +01:00
André Cruz
91779a67fb
Pass logger to the registry client, get rid of unnecessary emitter in commands.
2013-07-20 22:08:30 +01:00
André Cruz
0cf8af00b3
Separate logger into its own module.
2013-07-20 20:37:05 +01:00
André Cruz
8e51d1eaf3
Add force-latest option, closes #629 .
2013-07-18 18:34:04 +01:00
André Cruz
56679d2a8e
Fix passing configuration into commands on programmatic usage, fixes #608 .
2013-07-11 07:56:53 +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
88b4847ba9
Remove --save-resolutions in favor of prefixing choices with !.
...
Also improve the manager resolution process by avoiding to fetch incompatible packages always.
Now lazy fetches them when necessary.
2013-06-12 22:34:53 +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
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
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
41486d44ee
Tweaks.
2013-05-31 19:11:21 +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
André Cruz
454436905c
Huge commit.
...
- Changed way renderers work
- Move worker to a separate module
- Improve loglevel
- Minor tweaks
- Fix tests
2013-05-27 22:59:13 +01:00
André Cruz
005b3356f2
Several things changed.
...
- Make force and offline part of config, clearing all the options mess in the architecture
- Fix some bugs with the renderer
- Parse cli options
2013-05-26 13:47:13 +01:00
André Cruz
c4bfbd3f94
CS fix based on suggestions.
2013-05-23 23:42:24 +01:00
André Cruz
27b39c29b8
Fix tests.
2013-05-23 20:02:18 +01:00
André Cruz
cfb3d14028
Initial take on the commands + renderers + cli.
2013-05-23 19:55:59 +01:00