ForerunnerDB icon indicating copy to clipboard operation
ForerunnerDB copied to clipboard

fdb-angular.js not added to dependencies when installing via bower

Open sickrandir opened this issue 7 years ago • 2 comments

Hi, I was tryng to use forerunnerdb along with its angular bindings. My project is based on the yeoman generator_angular app and using grunt for development and build. The problem I found is that the grunt wiredep task doesn't add the fdb-angular.js file to the dependencies and so the app fails to build or start. A quick fix that I found is to modify the bower.json file of forerunnerdb anche change this line: "main": "js/dist/fdb-all.js", with this: "main": ["js/dist/fdb-all.js","js/dist/fdb-angular.js"],

I don't know how to manage this in a configurable way without touching the forerunner dependency files.

sickrandir avatar Apr 27 '17 14:04 sickrandir

I think that is a fairly reasonable thing to do. It's difficult to know what the end user will use ForerunnerDB for and perhaps we need two bower projects, one called forerunnerdb and one called forerunnerdb-angular so it can include the required files.

Irrelon avatar Apr 27 '17 14:04 Irrelon

Either that or at least adding a section in the doc where this option is mentioned.

sickrandir avatar Apr 27 '17 14:04 sickrandir