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
d614b057c9
fix: Set environment variable as string, not number
2015-10-13 17:27:27 +02:00
Adam Stankiewicz
123779bbd1
Remove client-side check for register command, closes bower/registry#23
2015-09-28 18:01:46 +02:00
de Winter, Anton
8ff0e0e2d1
Components that are not installed by bower should be left alone
...
Rework of commit by @wibblymat for PR #1363
Make compatible with existing tests
Uses fs.readdirSync() (once!) instead of async method.
Added new test
2015-09-28 17:18:36 +02:00
Adam Stankiewicz
ffde6bd228
Remove version generation from "bower init" command, closes #1343
2015-09-28 17:07:29 +02:00
JD Isaacks
498fe84b99
Use values from package.json as defaults if exists
2015-09-27 19:39:46 +02:00
Adam Stankiewicz
bf23d81c9e
Update bower-config and fix tests for ignoreDependenies
2015-09-27 18:18:11 +02:00
Thomas Walpole
2ccc05cb98
get ignoredDependencies from .bowerrc instead of bower.json
2015-09-27 12:27:39 +02:00
Thomas Walpole
e7d22ffb11
install and update tests for ignoredDependencies
2015-09-27 12:27:39 +02:00
Adam Stankiewicz
87a041a212
Fix --save-exact feature for github endpoints, fixes #1925
2015-09-24 13:34:49 +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
Sindre Sorhus
490f63a838
modularize the MD5 util function
2015-09-03 11:00:38 +07:00
Adam Stankiewicz
79679f9b08
Revert "Make bower commands work from subdirectories"
...
This reverts commit 7acafc26d6 .
2015-08-25 17:11:48 +02:00
Adam Stankiewicz
fac08cf835
[test] Recover process.cwd() after running one test
2015-08-23 16:32:45 +02:00
Adam Stankiewicz
dd67cc7de0
If cwd provided explicitly, force using it, fixes #1866
2015-08-23 16:24:36 +02:00
Robert Jackson
0993621bb8
Remove it.only.
2015-08-23 09:26:48 -04:00
Adam Stankiewicz
7acafc26d6
Make bower commands work from subdirectories
2015-07-28 23:22:44 +02:00
Adam Stankiewicz
7e110603b5
[test] Make git helper in tests synchronous
2015-03-31 19:08:37 -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
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
c7df6f50ca
Add AppVeyor config for Windows CI
2015-01-11 03:08:43 +01:00
Adam Stankiewicz
0b9acc18cc
Test reading commands arguments
2015-01-10 12:56:15 +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
5e747b2cfd
Add tests for search and lookup commands
2015-01-09 02:22:05 +01:00
Adam Stankiewicz
3f8de0efb9
Add tests for cache clean command
2015-01-09 01:47:45 +01:00
Adam Stankiewicz
63da3e4595
Add tests for cache list command
2015-01-08 09:44:06 +01:00
Adam Stankiewicz
a04b69dc6a
Test and fix link command
2015-01-08 05:09:32 +01:00
Adam Stankiewicz
3be4764d54
Add tests for prune command
2015-01-07 03:32:55 +01:00
Adam Stankiewicz
2d4fec01b1
Refactor some tests to promise style
2015-01-07 02:04:34 +01:00
Adam Stankiewicz
ee62d00c96
Add tests for "version" command
2015-01-06 20:49:17 +01:00
Adam Stankiewicz
39491b78b1
Test register prompt as on dumb terminal (fixes travis)
2015-01-06 02:24:39 +01:00
Adam Stankiewicz
7c82da8389
Add tests for register command
2015-01-06 02:13:30 +01:00
Adam Stankiewicz
dac055e2ef
Add timeout in hope to catch stdout on travis
2015-01-05 06:51:09 +01:00
Adam Stankiewicz
85df5b9983
Add test for bower binary nad standard renderer
2015-01-05 06:47:01 +01:00
Adam Stankiewicz
537cd42097
Add tests for info command
2015-01-05 06:07:01 +01:00
Adam Stankiewicz
9d06fce5f9
Add few more tests for home command
2015-01-05 05:31:12 +01:00
Adam Stankiewicz
c029e1005f
Add tests for "bower home" command
2015-01-05 05:19:54 +01:00
Adam Stankiewicz
b245a3d611
Remove unnecessary asserts from list test
2015-01-05 04:00:51 +01:00
Adam Stankiewicz
11d89c4268
fix: Tests helper regression
2015-01-05 03:48:59 +01:00
Adam Stankiewicz
6be84ab93e
Add test case for #1584
2015-01-05 03:40:34 +01:00
Adam Stankiewicz
2f2c4d6740
Add tests for help command and fix it
2015-01-05 03:31:28 +01:00
Merrifield, Jay
92ff0fe624
Added unit tests of bower.commands.list()
2014-12-04 23:29:03 -05:00
Laurent Goderre
e83ab86f1f
Added update test cases
2014-09-16 16:23:38 -04:00
Adam Stankiewicz
8e458c21e9
[test] Make sure install ends before running next test
2014-09-13 16:12:06 +02:00
Laurent Goderre
615eba3b40
Update p-throttle to allow displaying the output of hooks
...
Fixes #1484
2014-09-12 00:04:19 +02:00