Closed anthonywebb closed 10 years ago
I made the metadata project be just plain JSON because I want it to be usable for other projects. Someone might want to make a different non-Node IDE, or an Arduino search engine, or something entirely different. JSON keeps our options open, while still being easy to edit and consume in Electron.
Yes the import script has a hard coded path, but it's really only used once for that initial import of the boards.txt file. It's not run anymore.
I guess I dont understand, you can simply include a package.json in the arduino-data project and turn it into an npm module. From there when you build it will pull down the data into node_modules so you can use it in ElectronIDE. Should not proclude anyone using the JSON from the arduino-data project in their own stuff.
Ah, true. Can you file a feature request for that?
I added it here: https://github.com/joshmarinacci/arduino-data/issues/1
Hey Josh,
Wondering if it would be better to make the other project an actual NPM module that you could just include? This seems it would make the process of getting going much more straight forward.
BTW, in boards.js it looks like there is a directory there hard coded to your machine.
Thanks for you work on this, it is looking pretty good so far, excited to help.