Adam Stankiewicz
e0825d1f47
Fix tests
2020-04-25 00:38:06 +02:00
Adam Stankiewicz
6bc778df32
Format with prettier ( #2510 )
2018-03-28 19:28:43 +02:00
Max Schaefer
1935716660
Fix issues found by lgtm ( #2493 )
2018-03-28 15:51:53 +02:00
Martin Page
74af42c176
Only replace last @ after (if any) last / with # ( #2395 )
2018-03-28 13:16:09 +02:00
Martin Page
22bbb3fcaf
Allow @ to be used as a divider with cli: install and info. ( #2322 )
2016-07-04 23:31:06 +02:00
Adam Stankiewicz
2309cd80c6
Add missing return in promise
2016-06-11 02:49:22 +02:00
Adam Stankiewicz
bcbff32716
Pass through eslint
2016-06-10 16:40:46 +02:00
Adam Stankiewicz
e729829174
Make bower version behavior consistent with spec ( #2232 )
2016-04-12 19:18:36 +02:00
Oskar Cieślik
40e3ee091b
Support single-char repo names and package names ( #2249 )
2016-04-12 19:15:24 +02:00
Oskar Cieślik
8ee2d78779
Add support for registering package with github's orgname/reponame ( #2248 )
2016-04-12 18:57:44 +02:00
Adam Stankiewicz
c2e0dc9d23
Prevent swallowing exceptions with programmatic api, fixes #2187
2016-04-04 17:33:19 +02:00
Adam Stankiewicz
7de2e5d601
Remove moduleType from from "bower init" result, fixes #1229
2016-04-01 16:19:51 +02:00
Adam Stankiewicz
f494ae7ddd
[refactor] Fix tests for previous commit
2016-04-01 01:39:09 +02:00
Adam Stankiewicz
44e71267c1
[refactor] Put bower-registry-client instantiation in one place
2016-03-31 22:10:10 +02:00
Adam Stankiewicz
e85a5f778f
Update opn package to 4.0.0, fixes #2169
2016-02-13 21:41:35 +01:00
Adam Stankiewicz
4b4a854ed8
Restore directory structure for published bower
...
It's because people are depending on internals of bower, like
"bower/lib/renderers/StandardRenderer"
Instead we move templates and bin to lib directory and leave
paths intact. Additionally we alias bin/bower to lib/bin/bower.
2016-01-27 14:47:18 +01:00
Adam Stankiewicz
3e3b64218d
Remove analytics from Bower, fixes #1102
...
They caused more issues than useful they were.
Instead, we'll focus on fetching statistics from
NPM registry to watch Bower's popularity, and
GitHub stars over time to watch packages' popularity.
2016-01-20 12:30:54 +01:00
Adam Stankiewicz
671c23ad50
Merge pull request #2130 from gronke/enhancement/absolute-paths-1914
...
support absolute path in .bowerrc directory option
2016-01-05 12:28:09 +01:00
Stefan Grönke
5384fa54b1
refactor, address feedback and add more unit tests
2016-01-05 05:23:19 +01:00
Alireza Bashiri
55d78f7928
Display the logged in user's name
2016-01-05 02:24:08 +03:30
Alireza Bashiri
afc4bfbd42
Revert "Display login message when user login via normal and 2 factor auth mode."
...
This reverts commit ed881e3f29 .
2016-01-04 00:58:03 +03:30
Raja Sekar
ed881e3f29
Display login message when user login via normal and 2 factor auth mode.
...
Displaying info message when user login via bower login
Login message added for 2 factor authentication also
Fix unreachable code
Fix code quality issues
2015-12-31 23:31:16 +03:30
Adam Stankiewicz
88758cd98c
Revert "Add bower update --save functionality"
...
This reverts commit d2ba80e6e9 .
2015-12-11 21:33:45 +01:00
Adam Stankiewicz
b9718bb309
Fix search command on no arguments, fixes #2066
2015-12-11 20:15:04 +01:00
Edward Peters
5a1e5eb9c7
Make 'bower search' show the help display when a user does not enter a
...
search term. Keep current behavior when running with config.json
enabled, or in non-interactive mode.
Rewrite bower search tests to cover the different cases of using the
command without a query parameter (interactive w/o config.json,
interactive w/ config.json, and non-interactive)
2015-12-02 17:07:27 -05:00
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