128 Commits

Author SHA1 Message Date
insanehong
4af17f0e40 Fixed bower list --paths` fails with TypeError, fixes #1383 2014-07-03 15:00:53 +01:00
Tim Monks
deb39b8f34 Publish to coveralls.io from travis 2014-07-02 11:16:10 +01:00
Adam Stankiewicz
7b11a57c6f Merge pull request #1365 from sheerun/fix/force
[#931] Make --force always re-run installation
2014-07-02 10:26:50 +01:00
Adam Stankiewicz
442aa72ccc [fixes 5c839724] Prevent command like "bower info" from crashing on render 2014-06-24 11:39:44 +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
John Schulz
eebe115b78 Mirror npm version format for git tags
See https://github.com/bower/bower/pull/961#issuecomment-33981712 and  https://github.com/bower/bower/pull/961#issuecomment-35591108 for more context.
2014-05-04 15:11:47 -07:00
Sindre Sorhus
ba554d5f45 use opn instead of open
`open` is buggy on Linux

https://github.com/sindresorhus/opn
2014-04-22 15:07:33 +02:00
Adam Stankiewicz
3cb21d128f Forward all events from wrapped command, fixes #1232 2014-04-18 14:41:27 +02:00
Adam Stankiewicz
ba33bb6aa4 Cache clean and cache list work again, fixes #1232 2014-04-13 01:45:56 +02:00
toshipon
0316fedd4c Fix considering extended directory using .bowerrc 2014-04-12 14:40:45 +02:00
Thomas Scholtes
2167c7b6d4 Loading commands on demand increases performance 2014-04-11 06:07:42 +02:00
Eric Ferraiuolo
961d1775e5 Squashed commit of the following:
commit d5ab6721b6d0014b25ec7e5da2078627f0e794dd
Author: Eric Ferraiuolo <eferraiuolo@gmail.com>
Date:   Thu Feb 20 19:07:04 2014 -0500

    Add YUI modules as a `moduleType` choice

Closes gh-1129.
2014-04-06 18:13:37 -07:00
Ray Shan
d031ab5ceb Tweak insight tracking for search command
- Tracking should be consistent with `info` command; tracking should register upon user calling the command, not when the command is completed
- Vocabulary should be consistent with other tracking - if only tracking upon calling the command, should use the present tense of the verb without -"ed"

This is an improvement for tracking and reporting consistency, please see https://github.com/bower/bower/issues/1164#issuecomment-39385297
2014-04-05 23:00:38 -07:00
André Cruz
7120ad5014 Merge branch 'master' of github.com:bower/bower into link-install-deps 2014-03-25 11:51:40 +00:00
André Cruz
6286cfac28 Merge branch 'master' into link-install-deps 2014-03-25 11:49:05 +00:00
Christian Schmidt
9749a398c0 Add --production switch to "prune" command 2014-03-12 18:38:17 +01:00
Mat Scales
e6cb497d1a Added a .bowerrc option to make bower install assume --save (#1040) 2014-01-27 21:00:57 +00:00
Mat Scales
89c2a64008 Merge pull request #961 from sebastianseilund/version-command
Added bower version command, like npm version
2014-01-20 12:23:07 -08:00
Sebastian Seilund
c1f992b11f Added bower version command 2014-01-20 11:29:14 -08:00
Sindre Sorhus
f739a1141d Merge pull request #934 from wibblymat/module-type-init
Add the 'moduleType' property to bower init
2014-01-18 05:37:02 -08:00
André Cruz
b11ef97b7d Forgot to return promise, fixes #1023 2013-12-25 23:33:40 +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
Sindre Sorhus
1d079c0879 remove unicode space symbol thingy 2013-10-25 18:31:59 +02:00
Mat Scales
14dc86e9ea Add the 'moduleType' property to bower init 2013-10-21 15:14:08 +01:00
André Cruz
194a09f21d Some fixes. 2013-09-30 18:25:54 +01:00
André Cruz
b87b8ea931 Install linked package dependencies, closes #673.
Also add a "unlink" alias to "uninstall".
2013-09-30 02:33:06 +01:00
André Cruz
1f8417041d Add configured directory in bowerrc to the ignores in bower init. 2013-09-28 00:31:37 +01:00
André Cruz
f405877a16 Oops. 2013-09-09 00:29:43 +01:00
André Cruz
d22c6f9d66 Only convert & warn if necessary. 2013-09-09 00:28:35 +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
491027b048 Do not translate urls for custom registry servers. 2013-08-29 19:56:29 +01:00
André Cruz
f64f672b20 Reuse code. 2013-08-29 09:14:16 +01:00
André Cruz
639c2290b7 Do not list versions if a property was requested, #684. 2013-08-22 18:27:41 +01:00
André Cruz
46ae1e759c Improve non-interactive shell error message. 2013-08-20 09:26:01 +01:00
André Cruz
0eaa43c05d Missing default answer for the "Looks good?" question. 2013-08-20 00:50:21 +01:00
André Cruz
c6a370309d Project install now accepts decomposed endpoints instead of endpoints. 2013-08-19 19:38:30 +01:00
Andre Cruz
9fa08fee99 Close GH-797: Decoupled prompting from the inner architecture.. Fixes #645 2013-08-19 01:16:19 +01:00
Andre Cruz
13839e9384 Normalize paths on windows only if --paths. 2013-08-18 18:37:20 +01:00
Andre Cruz
cf802c368d Unnecessary check. 2013-08-18 13:14:49 +01:00
André Cruz
906990d9b5 Close GH-789: Install dependencies that have different sources, fixes #788.. Fixes #788 2013-08-17 11:50:39 +01:00
Trask Stalnaker
518f3d2a8f Close GH-773: Order tags by semver build metadata. Fixes #0, Fixes #0, Fixes #0, Fixes #0, Fixes #0, Fixes #0, Fixes #0, Fixes #0 2013-08-17 11:39:51 +01:00
Martin Hansen
6e28e79b29 , is a valid character in a path, just wrap in array if string 2013-08-16 09:33:27 +02:00
André Cruz
49d4c96ddf Fix list command when there is a missing dependency. 2013-08-15 22:42:41 +01:00
André Cruz
adcc368238 Close GH-784: Several main files are outputted as an array with --paths, fixes #781.. Fixes #781 2013-08-15 09:05:44 +01:00
André Cruz
d2aeed7a0c Enable relative by default when used with --paths, fixes #785. 2013-08-15 00:55:33 +01:00
André Cruz
098753520f Use the latest tag as the version by default for the init command.
Also fix some bugs.
2013-08-12 21:25:34 +01:00
André Cruz
43ae12f63b Merge pull request #754 from bower/link-meaningful-error
Try to create a junction when a regular symlink fails, fixes #472
2013-08-12 06:34:52 -07:00
André Cruz
f124fd4c23 Parse array items correctly in bower init. 2013-08-12 00:33:01 +01:00
André Cruz
99ca255aad Tweaks to PR #763.
#693.
2013-08-12 00:11:03 +01:00