Unfortunately, right now packages vendor their own dependencies. While this works for now, on the long run, it will make for a lot of code duplication. Currently there a way of defining dependencies, but this requires updates to the packages themselves. Ideally packages can just consume dependencies from lib folder. (there are a bunch of edge cases specially with branching logic, maybe optionally vendoring dependencies if hash differs, but then how do packages automatically load the right file.
Unfortunately, right now packages vendor their own dependencies. While this works for now, on the long run, it will make for a lot of code duplication. Currently there a way of defining dependencies, but this requires updates to the packages themselves. Ideally packages can just consume dependencies from
libfolder. (there are a bunch of edge cases specially with branching logic, maybe optionally vendoring dependencies if hash differs, but then how do packages automatically load the right file.