Closed jankramer closed 11 years ago
Thanks, I will take a look at this PR over the weekend
By the way: the changelog states that --map
is removed, but when running sp:bower:install
it looks like unknown options are just ignored. I did a few tests and the adding of --json
indeed works on both bower 0.x and bower 1.x, but this is perhaps not the cleanest solution.
Perhaps a good point to start working towards a 1.0 release and remove the --map
option?
Yeah you are right, I will work towards 1.0 and remove all deprecated/removed things. I think it is time for a 1.0 release of this bundle aswell :)
Hi, I just hit this issue too :)
I'm currently working on a new version, should be finished this week
Great! Looking forward to it! :)
I still struggle with the json of the dependency mapping. A lot has changed in 1.0, so it will take a little longer then I thought, hopefully no more than 3 days.
Sorry for the delay. I just pushed new changes to the master branch. Pleas try this version and let me know if you have any more issues. I will prepare a 1.0 release in the next days.
:+1: I did some quick tests, and It works like a charm, thx! No worries about the delay, I appreciate the effort you put into this bundle! :)
The method createDependencyMappingCache throws a MappingException when using bower 1.0+ because since this version
bower list --map
returns a formatted string instead of JSON by default. By using the --json option, bower is forced to return a JSON-string.