764 Commits

Author SHA1 Message Date
Eugene Kenny
b716bc4e3a Prefer exact versions when dissecting dependencies (#2371) 2016-11-08 09:11:29 +01:00
Adam Stankiewicz
b01243ac3c Fix eslint issues 2016-11-07 10:47:29 +01:00
Adam Stankiewicz
47cc2262e1 Download tar archives from https://github when possible (#2263) 2016-11-07 02:33:43 +01:00
Guillermo Ignacio Enriquez Gutierrez
f7c5154490 Fix ssl handling by not setting GIT_SSL_NO_VERIFY=false (#2361) 2016-11-07 01:50:57 +01:00
Ali MoezGholami
cba4b2a4cd Allow for removing components with url instead of name (#2368) 2016-11-07 01:48:41 +01:00
Leo.liang
bdabf6a4e6 Show in warning message location of malformed bower.json (#2357) 2016-11-07 01:29:17 +01:00
GvS
7896224384 Improve handling of non-semver versions in git resolver (#2316) 2016-11-07 01:27:14 +01:00
Vytautas Jakutis
38501a0b93 Fix handling of cached releases pluginResolverFactory (#2356) 2016-11-07 01:19:41 +01: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
Evan Bowling
1f4372299a Correct typo in command descriptions, followup for #2280 2016-05-08 11:39:45 -05:00
Adam Stankiewicz
e640d0ec5c Improve search / lookup command descriptions, closes #2280 2016-05-06 11:57:26 +02:00
Raja Sekar
b1f1b8fae3 info message added for bower register 2016-04-28 15:16:10 +05:30
Raja Sekar
4757e7353f fix for 2264 2016-04-28 10:20:19 +05:30
Oskar Cieślik
343e6ac8bc Implement postuninstall hooks with tests (#2252) 2016-04-14 15:02:07 +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
Oskar Cieślik
7c54812ecf Allow to type the entire version when conflict occured (#2243) 2016-04-10 13:24:29 +02:00
Adam Stankiewicz
12d41aeb8c Warn instead of erroring for invalida package names, #2233 2016-04-05 13:34:06 +02:00
Adam Stankiewicz
aaaa9cd530 Don't ask for git credentials in non-interactive session
This is done by setting GIT_TERMINAL_PROMPT variable

- fixes #956
- fixes #1009
2016-04-04 18:17:04 +02:00
Adam Stankiewicz
c2e0dc9d23 Prevent swallowing exceptions with programmatic api, fixes #2187 2016-04-04 17:33:19 +02:00
Kyle Pollock
1b1d8bdad6 Remove jscs inline error suppression comments.
- jscs is removed from the project.
2016-04-02 14:26:04 +02:00
Adam Stankiewicz
7de2e5d601 Remove moduleType from from "bower init" result, fixes #1229 2016-04-01 16:19:51 +02:00
Adam Stankiewicz
b1c45bb586 Resolve pluggable resolvers using cwd and fallback to global module 2016-04-01 14:57:36 +02:00
Adam Stankiewicz
f4cb047e9d Allow to install custom resolver globally, fixes #1919 2016-04-01 03:22:42 +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
52aa684949 [refactor] Move abbreviations to utils 2016-03-31 19:29:55 +02:00
Adam Stankiewicz
46655b7c4e Final .eslintrc configuration 2016-03-31 19:27:12 +02:00
Adam Stankiewicz
16cde3118a Revert "Merge pull request #2197 from albertinadx/albertinad/fix-scripts-hooks"
This reverts commit 0a81308e98, reversing
changes made to f2884656c0.
2016-03-31 01:36:05 +02:00
Adam Stankiewicz
53eeca97d3 Use eslint instead jscs 2016-03-31 00:27:17 +02:00
Adam Stankiewicz
2052ba3eed Remove jshint 2016-03-30 22:12:24 +02:00
echavezNS
84d8d8c57f Typo 2016-03-26 12:39:35 -07:00
echavezNS
f9ea3846e2 Extend conflict message 2016-03-26 01:25:10 -07:00
Albertina Durante
8d76b87d65 Supporting shell operators in hooks scripts.
- Removing module "shell-quote"
- Adding tests for hooks scripts with shell operators
- This fixes issue #1594
2016-03-05 21:50:05 -03:00
Manas
6fff6fa707 Upgrades handlebars to 4.0.5 to address #2195
Adds test for template util methods
Upgrades handlebars
Fixes RangeError due to `length` attribute in rpad helper
2016-03-06 01:37:20 +05:30
Sivakumar Kailasam
9f4c2384ea Replace all occurrences of % character in hook commands.
Fixes #2174 % character replaced once in .bowerrc scripts
2016-02-15 20:34:01 +05:30
Adam Stankiewicz
e85a5f778f Update opn package to 4.0.0, fixes #2169 2016-02-13 21:41:35 +01:00
blcook223
394dd7c8d2 add support for save and save-exact in .bowerrc
The install command now supports designating "save" and "save-exact"
values in .bowerrc. If the `--save` flag is not used, but the config
file sets "save" to true, the command will behave as if the `--save`
option was specified. The same is true of `--save-exact` if
"save-exact" is set to true in `.bowerrc`.

The uninstall command will also behave as if the `--save` flag had
been specified if "save" is set to true in `.bowerrc`.
2016-01-28 21:10:17 -06:00
Adam Stankiewicz
6c67d07cc8 Add missing lib/bin/bower.js file 2016-01-27 15:37:13 +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
ad27112b58 Do not assume package.json location 2016-01-25 19:40:54 +01:00
Piotr Wielgolaski
f0a54d0018 set GIT_SSL_NO_VERIFY for opposite value than strictSsl 2016-01-23 20:29:28 +01:00
Piotr Wielgolaski
1d73764788 when strictSsl is false set GIT_SSL_NO_VERIFY=true for git command
Solves #2129
2016-01-23 14:26:48 +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
Sam Saccone
d06af7a3d7 Default to ^ operator on --save
This fix brings us inline with how npm installs work and also brings us
more inline with how semver is supposed to be used.

Fixes #2144
2016-01-10 18:28:42 -08: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