581 Commits

Author SHA1 Message Date
Vladimir Alaev
83f4b7b699 Fix callstack error when processing installed packages with circular dependencies 2014-07-04 12:53:50 +01:00
insanehong
9b81ddf4d5 It should shows an error when bower install failed, fixes #922
- reason no bower.json in current directory
2014-07-03 15:10:38 +01:00
insanehong
4af17f0e40 Fixed bower list --paths` fails with TypeError, fixes #1383 2014-07-03 15:00:53 +01:00
Adam Stankiewicz
232be333ad Add tests for removeIgnores utility 2014-07-02 11:37:56 +01:00
Tim Monks
deb39b8f34 Publish to coveralls.io from travis 2014-07-02 11:16:10 +01:00
Adam Stankiewicz
197b41d97a Merge pull request #1366 from sheerun/fix/local
[#1356] Disable caching for local resources
2014-07-02 10:31:30 +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
17bd60e3e9 [#1356] Disable caching for local resources 2014-06-22 22:05:13 +02:00
Adam Stankiewicz
1d24e82276 [#931] Make --force always re-run installation 2014-06-21 00:33:51 +02:00
Adam Stankiewicz
e42d3d5620 [#1329] Check if pkgMeta is undefined 2014-06-20 21:57:41 +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
Martin Hansen
b8df18481f Ignore does now not apply to any file in main #547 2014-06-20 19:48:00 +02:00
Andrew Eisenberg
1690dd4728 Warn users when installing package with missing properties.
Fix for issue #694. Test case included.
2014-06-20 19:00:19 +02:00
Adam Stankiewicz
2f02e49716 Always ignore bower.json as said in spec 2014-06-08 18:46:39 +02:00
Adam Stankiewicz
034326c984 Add some tests and documentation for #1310 2014-06-05 23:52:48 +02:00
Sergey Tatarintsev
a965b05400 Search compatible versions in fetching packages
Previous version of code reported endpoints that does not have pckMeta
(not downloaded) yet and does not have exactly equal targets as
incompatible. This caused some package to be downloaded multiple times
and caused conflict errors (#1147).

This patch adds proper code for searching compatible version in
currently fetching packages basing on targets.

It also simplifies check for case when we have resolvedVersion and
candidate's target is range.
2014-06-05 19:41:37 +02:00
Mat Scales
efe3a78499 Merge pull request #1278 from jfsiii/patch-1
Mirror `npm version` format for git tags
2014-05-27 19:37:53 +01:00
Mat Scales
23fbbb5191 Resolve a situation in which the install process gets into an infinite loop 2014-05-20 14:46:41 +01: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
Adam Stankiewicz
ac29e24c1b Allow for short commit SHA, closes #990 2014-04-25 02:09:10 +02:00
Adam Stankiewicz
87faa4f108 Do not cache moving targets like branches, fixes #1242 2014-04-24 20:31:36 +02: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
Paul Irish
1b8d5d0648 Merge pull request #1234 from ahmadnassri/svn-export
using 'svn export' for efficiency. Closes #1224
2014-04-14 12:47:02 -07:00
Adam Stankiewicz
ba33bb6aa4 Cache clean and cache list work again, fixes #1232 2014-04-13 01:45:56 +02:00
Sindre Sorhus
2898c0507e Merge pull request #1237 from bower/fix/bower-list
Fix considering extended directory using .bowerrc
2014-04-12 23:41:32 +02:00
Adam Stankiewicz
74d568b1e7 Improve noninteractive loading performance 2x, fixes #1221 2014-04-12 21:11:17 +02:00
toshipon
0316fedd4c Fix considering extended directory using .bowerrc 2014-04-12 14:40:45 +02:00
Chris Hiester
bda5312917 clarified uniinstall warning message
improved uninstall message

edits to uninstall message

revisions per conversation with core team

fixed lint errors

reverted mode changes

reverted test.js mode change
2014-04-11 12:35:28 -04:00
Ahmad Nassri
e8c071304c using 'svn export' for efficiency. Closes #1224 2014-04-11 09:00:41 -04: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
Ben Schwarz
a90cc018dd Merge pull request #1216 from benschwarz/master
Revert 1077, merge 1211
2014-04-07 10:53:39 +10: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
Ben Schwarz
cd541c7a20 Merge pull request #1077 from neoziro/fix-concurrent-renaming
Fix bug with concurrent renaming
2014-04-05 15:41:39 +11:00
Adam Stankiewicz
5a5cf31aba Make bower concurrent friendly, fixes #933 2014-04-04 19:09:18 +02: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
Nick Schonning
dfae97a8d7 Don't turn on analytics on CI unless explicit 2014-03-11 16:51:41 -04:00
jevakallio
b049bdb33f Fix problem with dashes and underscores in branch/tag names 2014-02-27 17:31:01 +02:00
Greg Bergé
8016bd4e1f Use new Q() shortcut. 2014-02-13 16:30:39 +01:00
Mat Scales
cb8b25da53 Merge pull request #1104 from SevInf/fix/circular
Allow circular dependencies to be installed
2014-02-11 10:44:58 +00:00
Mat Scales
c517b98bae Merge pull request #1055 from ahmadnassri/master
Subversion Support
2014-02-10 13:22:39 +00:00
Sergey Tatarintsev
ad31df09fb Allow circular dependencies to be installed 2014-02-08 12:28:14 +02:00
Chris Gross
1831e507fe scripts/hooks functionality added 2014-02-06 15:40:38 -05:00
Sindre Sorhus
b12a58632d upgrade chalk 2014-02-06 19:25:03 +01:00
Sindre Sorhus
8442373be9 use is-root instead of sudo-block
since sudo-block isn't really used anyways
2014-02-06 19:13:55 +01:00
Luke Fender
c3e6199ecf fix error message 2014-02-04 14:15:54 -05:00