Commit Graph

25 Commits

Author SHA1 Message Date
Adam Stankiewicz
8e181c1792 Make name validation far less strict 2016-04-04 21:37:50 +02:00
Adam Stankiewicz
5283a132bc Add name check that reflects reality 2016-02-10 04:33:26 +01:00
Adam Stankiewicz
36a14b9b37 Add getIssues function and make validate less restrictive 2016-02-10 01:54:31 +01:00
Paulo Pires
376a2de600 added synchronous functions to read and find
added .readSync function

Added coverage
2015-12-08 05:33:38 -08:00
David DeSandro
19af145166 Merge pull request #25 from cvrebert/normalize
Remove non-spec-compliant comma-separated string interpretation of main
2015-07-01 14:14:15 -04:00
Chris Rebert
1c62adcdb6 Validate that main conforms to the bower.json spec 2015-06-30 23:16:00 -07:00
Chris Rebert
95f46930a5 Remove non-spec-compliant comma-separated string interpretation of main
See https://github.com/bower/bower.json-spec/#main
2015-06-30 23:04:13 -07:00
shinnn
4812c380c4 Add a validation for description length
closes #17
2014-04-05 13:06:09 +02:00
reiz
d3ccc73796 Adding validation for package name
Closes #15
2014-01-31 14:54:40 +01:00
André Cruz
1606395546 Close GH-12: Ignore component(1) files.. 2013-08-11 14:45:55 +01:00
André Cruz
990e87de1f Tweaks to the last PR. 2013-08-05 14:16:53 +01:00
Nick Heiner
8da47dcd00 Close GH-10: Find .bower.json if it exists. 2013-08-05 14:10:57 +01:00
André Cruz
5e2abb8a33 Add .file property to errors throw in read(). 2013-07-27 22:21:21 +01:00
André Cruz
f8c13f939c Changes to the api.
- Read now accepts directories and finds the bower json to read inside
- Add normalise and validate methods
- Add options to the parse and read methods to enable/disable normalisation and validation.
2013-07-25 22:06:42 +01:00
André Cruz
a65caa62b3 Add name validation. 2013-07-07 02:38:43 +01:00
André Cruz
36b033c2f7 Switch to graceful-fs. 2013-07-01 20:28:37 +01:00
André Cruz
83ae9b66a3 Add license note, misc tweaks. 2013-06-22 14:07:51 +01:00
André Cruz
cb59c2489b Change main file. 2013-05-11 13:56:48 +01:00
Dylan Greene
cff641ef80 add quotes around the path and fix the test 2013-05-06 22:16:52 -04:00
Dylan Greene
f668596667 Made the error message more understandable. 2013-05-06 17:02:57 -04:00
André Cruz
bb98627d2b Made parse async for consistency, tweak error codes. 2013-04-20 12:17:00 +01:00
André Cruz
3060866586 Add test for invalid json. 2013-04-20 11:37:15 +01:00
André Cruz
c3311df2a8 Initial implementation and tests. 2013-04-20 11:20:41 +01:00
André Cruz
07281f050c Change to just bower-json. 2013-04-19 13:58:18 +01:00
André Cruz
5508c70f3a Setup module. 2013-04-19 11:19:47 +01:00