Commit Graph

769 Commits

Author SHA1 Message Date
André Cruz
1acf4a53d3 Minor cache clean fix related to last PR. 2013-08-11 20:52:42 +01:00
André Cruz
a2b0fb7d82 Create the empty dir if not yet created. 2013-08-11 19:09:23 +01:00
André Cruz
08fc86698d Use an empty folder for git templates, fixes #761.
This is to prevent user template/hooks from being run.
2013-08-11 18:30:33 +01:00
André Cruz
7bacf8c425 Close GH-762: Support semver targets in cache clean command, fixes #688.. Fixes #688 2013-08-11 18:12:18 +01:00
André Cruz
896672c4f4 Print empty strings in bower info. 2013-08-11 18:08:22 +01:00
André Cruz
a6552d7d54 Merge branch 'master' of github.com:bower/bower 2013-08-11 15:18:10 +01:00
André Cruz
cacef7b316 Better var name. 2013-08-11 15:18:00 +01:00
André Cruz
7a8642db94 Merge pull request #755 from bower/win-paths-normalize
Normalise windows paths, closes #279.
2013-08-11 06:49:37 -07:00
André Cruz
abe4264a13 Close GH-760: Info command now shows the latest version package meta always, fixes #759. 2013-08-11 14:44:58 +01:00
André Cruz
60d9bfb2b8 Try junctions on windows before erroring out. 2013-08-11 10:05:40 +01:00
André Cruz
9141b3020f Add additional message for proxy users about https//.insteadOf git://, fixes #250. 2013-08-10 23:46:26 +01:00
André Cruz
367c3c3e95 Fix host not correctly being set. 2013-08-10 23:36:48 +01:00
André Cruz
41a3903ac9 Fix typo. 2013-08-10 23:31:39 +01:00
André Cruz
146d6ac538 Normalise windows paths, closes #279. 2013-08-10 21:59:24 +01:00
André Cruz
fce93e16ae Close GH-726: Add relative option to the list command, closes #714.. 2013-08-10 21:43:04 +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
André Cruz
ee2640bc43 Close GH-747: Do not use --depth=1 if the server does not support it, fixes #744. 2013-08-10 15:43:54 +01:00
Sindre Sorhus
2b93aa000c Simplify 9c4b30b65c 2013-08-08 21:01:30 +02:00
André Cruz
9c4b30b65c Fix chalk usage on the info command. 2013-08-08 14:17:49 +01:00
André Cruz
673f641283 Merge pull request #741 from bower/replace-colors
Replace `colors` with `chalk`
2013-08-07 17:12:25 -07:00
Keith Gibbs
9cee8b7b78 Close GH-732: Use https:// protocol instead of git:// when a proxy is set. 2013-08-08 00:36:32 +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
Keith Gibbs
a34c8dc502 Close GH-724: Fix for GitHubResolver to use https instead of http for tarball archives. 2013-08-07 14:02:50 +01:00
André Cruz
b42c1ddbbc Merge pull request #736 from bower/symlink-no-follow
Do not follow symlinks, closes #730.
2013-08-07 01:12:02 -07:00
Keith Gibbs
9cc4860050 Close GH-739: Improve GitHub detection in resolverFactory.js. 2013-08-07 08:57:44 +01:00
André Cruz
f332de8ba9 Do not follow symlinks, closes #730. 2013-08-07 01:50:49 +01:00
André Cruz
a97375552f Fix detection of org/repo on ssh URLs.
This was affecting the home command.
2013-08-07 00:08:04 +01:00
david.bashford
e84e94a8d1 allowing cache.clean to be called with no args 2013-08-06 08:12:32 -04:00
André Cruz
2b334774ce Improve extract message on non-wide terminals 2013-08-06 01:22:54 +01:00
André Cruz
b282d02a77 Fix jshint error. 2013-08-05 22:59:01 +01:00
André Cruz
e07c813320 Merge pull request #722 from wibblymat/reject-on-spawn-error
Reject the promise for a command if an error event is fired
2013-08-05 14:53:44 -07:00
Mat Scales
1cec48c065 Fixed JSHint errors so that it can be turned on in Travis 2013-08-05 22:03:12 +02:00
Mat Scales
83edff6b26 Reject the promise for a command if an error event is fired 2013-08-05 20:53:26 +02:00
david.bashford
fd58a5fe06 Close GH-717: add flag to log for force latest. Fixes #715 2013-08-05 14:25:26 +01:00
André Cruz
5b4fb961af Merge pull request #709 from bower/several-improv
Several improvements and fixes
2013-08-03 08:10:28 -07:00
André Cruz
d2144905db Improve no-json warning. 2013-08-03 14:38:21 +01:00
André Cruz
b29c9c28fa Typo. 2013-08-03 14:24:24 +01:00
André Cruz
85b2ec93c8 Small note. 2013-08-03 12:50:48 +01:00
André Cruz
3f8fcbf4e3 Always save endpoints specified with --save and --save-dev.
Even if the installed ones were different (user choose a different one on conflict).
2013-08-03 10:05:59 +01: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
ae04f71e55 Uninstall now deletes uninstalled packages dependencies if they are non-shared, fixes #609. 2013-08-02 22:09:12 +01:00
André Cruz
c56f0db891 Prune now recursively prunes until no more extraneous are found, fixes #708.
This is necessary because a pruned package may contain packages that become also extraneous.
Related with #609.
2013-08-02 22:08:59 +01:00
André Cruz
ebf2765f2f Adapt list command to the new tree. 2013-08-02 22:08:41 +01:00
André Cruz
8dac95d86d Do not declared linked packages as dependencies in the init command. 2013-08-02 22:08:33 +01:00
André Cruz
6125c0423f Make installed dependencies without --save and --save-dev being recognised as root dependencies.
They continue to be labeled as extraneous but will be part of the tree.
This fixes #602 and cuts the way to implement #603.
This also fixes an issue with --save and --save-dev possibly saving more than it should.
2013-08-02 22:08:23 +01:00
André Cruz
f3d1638131 Fix bug where child dependency relationship would not be set correctly. 2013-08-02 22:08:14 +01:00
André Cruz
73c2e885e9 Fix PR #690. 2013-08-01 23:30:40 +01:00
Nick Heiner
2e615e7570 Close GH-690: Adding syntax highlighting to bower info. Fixes #571 2013-08-01 23:15:11 +01:00
André Cruz
f2f3fa4c9c Merge branch 'master' of github.com:bower/bower 2013-07-31 21:55:06 +01:00
André Cruz
0ab2ce9cf6 Add ls as an alias to the list command. 2013-07-31 21:54:52 +01:00