327 Commits

Author SHA1 Message Date
Adam Stankiewicz
12d41aeb8c Warn instead of erroring for invalida package names, #2233 2016-04-05 13:34:06 +02:00
Adam Stankiewicz
f4e0b3dfba Update bower-json to 0.8.0 and update tests 2016-04-04 14:18:23 +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
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
9201a379d6 Update to grunt 1.0 2016-03-30 22:30:57 +02:00
Kun Yan
a3ae3b66b7 Fix message unit test error 2016-03-28 14:11:02 +08: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
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
bbaaee67a1 Update publishing script to bundle all modules 2016-01-25 22:57:07 +01:00
Adam Stankiewicz
38c3cee1a7 Perform test on fake .git directory 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
Manas
64db869bd4 Adds tests for pluginResolverFactory.js 2016-01-18 01:22:07 +05:30
Adam Stankiewicz
a4ea05800d Add prepublish script for easy and reliable bower releasing 2016-01-17 00:13:07 +01:00
Stefan Grönke
5384fa54b1 refactor, address feedback and add more unit tests 2016-01-05 05:23:19 +01:00
Stefan Grönke
2110148830 support absolute path in .bowerrc 'directory' option
fixes #1914
2016-01-04 01:46:53 +01:00
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
Alireza Bashiri
9c42a008aa Merge pull request #2102 from reavowed/fix-extract-name-clashes
Fix name clashes in package extraction
2016-01-01 12:29:55 +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
Iain Monro
3cf597fccf Fix jshint errors
Add missing semicolons to test file.
2015-12-15 15:32:13 +00:00
Iain Monro
b1ba9be7f6 Fix name clashes in package extraction
Prevent extraction failing if a package archive contains a file with
the same name as the archive, or a single directory with a subdirectory
with the same name.
2015-12-14 16:58:02 +00:00
Utsav Shah
4255d7d4a8 Add tests for decoding gzipped files 2015-12-12 18:08:19 -06:00
Adam Stankiewicz
baf8f7bf6b Fix missing parenthesis 2015-12-11 21:37:08 +01:00
Adam Stankiewicz
88758cd98c Revert "Add bower update --save functionality"
This reverts commit d2ba80e6e9.
2015-12-11 21:33:45 +01:00
Adam Stankiewicz
3bd2d62e67 Revert "Add failing tests for single package updates, optimize older tests"
This reverts commit 6616d09f47.
2015-12-11 21:32:47 +01:00
Adam Stankiewicz
7c714901d4 Fix test for StandardRenderer 2015-12-11 20:33:54 +01:00
Adam Stankiewicz
b9718bb309 Fix search command on no arguments, fixes #2066 2015-12-11 20:15:04 +01:00
Adam Stankiewicz
686e883d87 Merge pull request #2094 from accommodavid/tar-test
Add test for tar archives
2015-12-09 11:34:57 +01:00
Accommodavid
9e4bdd270d Add test for tar archives
Adds a test that checks if dependencies that point to tar archives (not
tar.gz) are handled and extracted correctly. Also removes a test from
`test/commands/install.js` that was duplicated.

Re-add postinstall test
2015-12-09 09:05:13 +01:00
Chris Contolini
7cb88ab49f Add renderer tests for prereleases 2015-12-08 17:59:21 -05:00
Adam Stankiewicz
de3e1089da Better formatting of help message 2015-12-07 20:32:33 +01:00
Adam Stankiewicz
1696cde273 Merge pull request #2074 from eppeters/bower-search-prompt-before-listing-all
Prompt before listing all repos when running `bower search` without a query param
2015-12-03 00:21:57 +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
8c1f30b1c8 Format test files to comply with new jscs rules 2015-12-02 14:10:33 -05:00
Chris Contolini
6616d09f47 Add failing tests for single package updates, optimize older tests 2015-12-02 14:10:28 -05:00
Adam Stankiewicz
12258324d3 More code style rules to enforce 2015-11-30 11:06:57 +01:00
AnthonyBobsin
19fc84007d Implements jscs to enforce a newly created style guide for the repo. Uses jscs to fix some minor style guide warnings. 2015-11-29 16:22:58 -05:00
Chris Contolini
0eadbef02d Merge branch 'master' into update-save 2015-11-28 08:42:43 -08:00
Chris Contolini
d2ba80e6e9 Add bower update --save functionality 2015-11-28 05:40:24 -05:00
Utsav Shah
e8a2d92785 Remove @ in temporary directories 2015-11-27 11:36:14 -06:00
Accommodavid
0e1153f610 Add ENOTDIR test for install command 2015-11-27 14:43:22 +01:00
Adam Stankiewicz
ca0a36abcf Make downloader work on all platforms, fixes #2050 2015-11-27 13:45:19 +01:00
Adam Stankiewicz
4c6fdc905f Revert "Fix tests on Windows (cleanup of downloaded files)"
This reverts commit bb7c02b07b.
2015-11-27 00:33:15 +01:00
Adam Stankiewicz
bb7c02b07b Fix tests on Windows (cleanup of downloaded files) 2015-11-26 18:06:26 +01:00