Adam Stankiewicz
74d568b1e7
Improve noninteractive loading performance 2x, fixes #1221
2014-04-12 21:11:17 +02:00
Nick Schonning
dfae97a8d7
Don't turn on analytics on CI unless explicit
2014-03-11 16:51:41 -04: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
Adam Stankiewicz
40dbb0ffaf
Ignore prerelease versions if possible, fixes #1017
2013-12-31 15:43:36 +01: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
Mat Scales
247b7ee1ab
Let's use a library instead of rolling our own solution
2013-11-28 13:09:26 +00:00
Mat Scales
58eafce947
Slightly reworked the code for readability
2013-11-27 10:06:51 +00:00
Mat Scales
ed25cf9d23
A queueing system for the cmd module to limit the number of open handles.
2013-11-26 22:26:58 +00:00
Gabriel Herrera
84c693ad22
Added config fallback for allow-root check
2013-11-19 16:43:15 -05:00
Mat Scales
d3991ee672
Close GH-900: Merge all the decompress-zip work and add small improvements. Fixes #873 , Fixes #896
2013-10-07 00:29:29 +01:00
André Cruz
cc9c440614
Give priority to mime type header, except for octet-stream.
2013-09-29 22:50:06 +01:00
André Cruz
b8b03c88e4
Close GH-844: Ensure that the whole file was downloaded.. Fixes #792 , Fixes #824 , Fixes #830
2013-09-01 22:25:20 +01:00
André Cruz
3d84bcc7ad
Fix ignore of nested folders, fixes #814 .
2013-08-23 13:57:15 +01:00
André Cruz
2eea214a42
Fix linked dependencies in windows, fixes #813 .
2013-08-22 18:45:34 +01:00
André Cruz
13e2514830
Simplify.
2013-08-19 19:26:44 +01:00
André Cruz
1b505cc0e6
Fix maxSatisfying throwing on invalid versions, fixes #800
2013-08-19 19:20:29 +01:00
Andre Cruz
d42a564de8
Small tweaks to util/semver.
2013-08-18 13:16:35 +01:00
Andre Cruz
71d083a552
Use graceful-fs.
2013-08-18 13:15:12 +01:00
Andre Cruz
72e6e61970
Close GH-795: Ignore file symlinks when reading project, fixes #791 and #783.. Fixes #791 , Fixes #783
2013-08-17 22:39:59 +01:00
Andre Cruz
3f0dbef7ea
Minor change to util/readJson (consistency).
2013-08-17 14:01:01 +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
Andre Cruz
6ba6ea0084
Prevent deferred from being resolved because of a failed request.
2013-08-17 11:09:58 +01:00
André Cruz
60d9bfb2b8
Try junctions on windows before erroring out.
2013-08-11 10:05:40 +01:00
André Cruz
fb12fc03bf
Add meaningful error when executing bower link on windows when user is not elevated.
...
#472
2013-08-10 21:37:13 +01:00
Sindre Sorhus
4ae1b5e04d
Replace colors with chalk
...
colors.js has serious deficiencies like extending String.prototype which can cause all kinds of problems. Two modules using colors.js can conflict with each others, and it infects imported child modules. It's also better to explicit.
[chalk](https://github.com/sindresorhus/chalk )
2013-08-07 22:06:47 +02:00
André Cruz
f332de8ba9
Do not follow symlinks, closes #730 .
2013-08-07 01:50:49 +01:00
André Cruz
b282d02a77
Fix jshint error.
2013-08-05 22:59:01 +01:00
Mat Scales
83edff6b26
Reject the promise for a command if an error event is fired
2013-08-05 20:53:26 +02:00
André Cruz
24cabf19af
Close GH-705: Refactor download to util and added retry logic in it.. Fixes #704 , Fixes #699 , Fixes #700
2013-08-02 23:09:31 +01:00
André Cruz
59c5caa395
Do not create a json file when saving to it is required, warn instead.
2013-07-30 08:49:33 +01:00
André Cruz
212c4c3a71
Close GH-667: Filter symlinks when copying/extracting. Fixes #665
2013-07-29 22:00:37 +01:00
André Cruz
e1a443177e
Close GH-675: Upgrade to the new bower-json api.. Fixes #668
2013-07-29 21:57:35 +01:00
André Cruz
635eec013c
CS.
2013-07-28 03:14:44 +01:00
André Cruz
39f3571383
Minor tweaks to last PR.
2013-07-28 03:05:16 +01:00
MrDHat
571b34c990
Close GH-671: Disable use of sudo. Fixes #498 .
2013-07-28 02:36:24 +01:00
André Cruz
c06b9d696e
Close GH-664: Fix for some windows users. Fixes #626
2013-07-27 15:21:14 +01:00
André Cruz
adee5cec2b
Improve can extract function.
2013-07-24 09:12:20 +01:00
André Cruz
ec33766803
Switch endpoint parser to its own module.
2013-07-16 09:17:50 +01:00
André Cruz
e94cb6a4b6
Use the filename first, fallback to mime type afterwards, fixes #619 .
2013-07-15 19:50:02 +01:00
André Cruz
a786fa534a
Refactor md5 to its own function.
2013-07-12 15:34:05 +01:00
André Cruz
8574d50eaa
Do not read json from rc.
2013-07-11 19:06:57 +01:00
André Cruz
ef60fcb9ec
Check archive size before extracting, caught invalid archives.
2013-07-09 20:41:54 +01:00
André Cruz
915c8d7afa
Detect old versions of git that do not support --b tag when cloning.
2013-07-06 11:59:00 +01:00
André Cruz
ca76d41f9a
Report progress for remote git resolvers that take too long to clone.
2013-07-04 23:58:35 +01:00
André Cruz
008b807803
Fix json endpoints parsing in some edge cases.
2013-07-03 16:26:03 +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
3e4ca5ceb9
Fix json to decomposed endpoint transformation.
2013-07-01 23:49:18 +01:00
André Cruz
fe1a635c14
Switch to graceful-fs.
2013-07-01 20:31:28 +01:00
André Cruz
d2494fb97d
Allow latest targets, map to '*'-
2013-06-25 22:25:48 +01:00