Open LemmaEOF opened 6 years ago
Instead of a map, it'd probably be better to have dependencies in a DAG and just construct it from riftmod.json. Also it seems a little overkill to include a library just for enforcing SemVer when you could easily do so from a RegEx.
Already done the first part with a Dependency object, and as I mentioned the SemVer should be moved in and simplified.
Right now, Rift doesn't have any system for versioning or dependencies. I've made a pull request on this, but don't have any system yet built for load order. Along with that, I'd like to try to see if I can move the SemVer stuff into Rift itself without relying on another system for it. The SemVer library I have is good because it can both validate and compare SemVer versioning, but that can probably be moved in pretty easily. Is there anything else that should be put into the system that people need?