Chris Contolini
d2ba80e6e9
Add bower update --save functionality
2015-11-28 05:40:24 -05:00
Adam Stankiewicz
df8e5a16be
Fix readdir call on Windows
...
Sometimes it return ENOENT instead of ENODIR for normal files.
This broke code paths in few places. Also, see:
https://github.com/isaacs/chmodr/pull/8
2015-10-14 16:09:38 +02:00
Adam Stankiewicz
3ce2dd3989
Replace all fs with graceful-fs
2015-10-14 14:31:13 +02:00
Adam Stankiewicz
99105fbb57
Try chmod 777 + rimraf as fallback on rimraf in all places
2015-10-14 12:50:41 +02:00
Adam Stankiewicz
123779bbd1
Remove client-side check for register command, closes bower/registry#23
2015-09-28 18:01:46 +02:00
Adam Stankiewicz
5365c7b428
Disable client-side check for registering git:// endpoints
2015-09-28 17:46:58 +02:00
Adam Stankiewicz
ffde6bd228
Remove version generation from "bower init" command, closes #1343
2015-09-28 17:07:29 +02:00
Adam Stankiewicz
bf23d81c9e
Update bower-config and fix tests for ignoreDependenies
2015-09-27 18:18:11 +02:00
Ben Cullen-Kerney
304b6393d4
Allow whitelisted values in bower.json file created by bower init
...
A change in the behavior of `mout.lang.isEmpty()` in Mout v0.10.0
introduced a bug in `bower init`, preventing it from including Boolean
values in "bower.json".
This commit explicitly whitelists the types that are used in the
bower.json spec - Object, Array, String, Boolean - as well as Number for
future compatibility.
2015-09-11 12:40:20 -07:00
Adam Stankiewicz
dd67cc7de0
If cwd provided explicitly, force using it, fixes #1866
2015-08-23 16:24:36 +02:00
jody tate
50fd944a62
change to use a standard three dot ellipsis
2015-07-28 08:19:05 -07:00
Adam Stankiewicz
0f68da4eb8
Add support for two-factor authentication for login
2015-03-30 00:19:05 -07:00
Adam Stankiewicz
1a7abfd3b7
Add tests for login command
2015-03-29 23:31:20 -07:00
Adam Stankiewicz
905c2775d2
Add tests for unregister command
2015-03-29 17:56:04 -07:00
Mat Scales
126da9ee12
Unregister and login commands
2015-03-29 17:56:04 -07:00
Dan Rumney
a1ecf8a413
Fixes #1754 : The version command in the programmatic API now returns the new version
...
When users of the programmatic API update the version, they may do so without having to inspect the new contents of the bower.json file to find out the new version.
This is useful in scripts where the tag needs to be pushed programatically; the user can push the new tag explicitly.
2015-03-26 10:03:52 -05:00
Alexander Gugel
2f6d680b6c
Add --save-exact flag
2015-01-11 17:12:19 +01:00
Adam Stankiewicz
0b9acc18cc
Test reading commands arguments
2015-01-10 12:56:15 +01:00
Adam Stankiewicz
5bb77b1e03
[refactor] Prepare command argv readers for testing
2015-01-10 05:49:42 +01:00
Adam Stankiewicz
e351322ce4
More tests for lookup command and little refactor
2015-01-10 04:47:43 +01:00
Adam Stankiewicz
6b53ccc8bd
Add tests for init command and fix it
...
In non-interactive mode error has been thrown in wrong way.
2015-01-09 03:18:53 +01:00
Adam Stankiewicz
33842b6f92
Remove dummy completion command
2015-01-09 02:29:18 +01:00
Adam Stankiewicz
a04b69dc6a
Test and fix link command
2015-01-08 05:09:32 +01:00
Adam Stankiewicz
ee62d00c96
Add tests for "version" command
2015-01-06 20:49:17 +01:00
Adam Stankiewicz
7c82da8389
Add tests for register command
2015-01-06 02:13:30 +01:00
Adam Stankiewicz
537cd42097
Add tests for info command
2015-01-05 06:07:01 +01:00
Veres Lajos
962a565d30
typo fixes
2014-11-02 22:40:58 +00:00
Adam Stankiewicz
06a8f2afab
Read .bowerrc from specified cwd, fixes #1301
2014-09-06 02:38:40 +02:00
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