Commit Graph

405 Commits

Author SHA1 Message Date
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
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
André Cruz
1b1424fe2f Merge pull request #687 from bower/cache-clean
Fix cache clean not working correctly when a package + non-server was specified.
2013-07-31 12:50:41 -07:00
André Cruz
ee31c44ff1 Merge pull request #692 from bower/noop-completion
Implement noop completion, fixes #691.
2013-07-31 12:47:58 -07:00
André Cruz
e64af6b11b Merge pull request #695 from MrDHat/private-field
Added private field support Fixes #162
2013-07-31 12:47:23 -07:00
MrDHat
d6045931a5 Added private field support Fixes #162 2013-07-31 20:54:47 +05:30
André Cruz
9f99d5d42a Fix save not working on uninstall. 2013-07-30 22:57:55 +01:00
André Cruz
327703871b Implement noop completion, fixes #691. 2013-07-30 21:48:14 +01:00
André Cruz
b456f71b64 Fix cache clean not working correctly when a package + non-server was specified. 2013-07-30 09:07:51 +01:00
André Cruz
9576b8a8e9 Use endpoint parser for consistency. 2013-07-30 09:04:17 +01:00
André Cruz
e0037c7eaf Merge pull request #686 from bower/info-fix-684
Fix info not showing up bower.json when a property was requested without a version, closes #684.
2013-07-30 00:58:15 -07: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
d62f5142cc Fix json file not being set when reading json, closes #686. 2013-07-30 08:30:17 +01:00
André Cruz
5d4007918c Fix info not showing up bower.json when a property was requested without a version, closes #684. 2013-07-30 08:20:00 +01:00
André Cruz
5672019203 Urgent fix for a badly resolved conflict. 2013-07-30 00:15:33 +01:00
André Cruz
d237522e8c Close GH-679: Prevent renaming of bower.json/component.json to index.json, fixes #674.. 2013-07-29 23:41:55 +01:00