nix-community / yarn2nix

Generate nix expressions from a yarn.lock file [maintainer=???]
GNU General Public License v3.0
123 stars 61 forks source link

Support cyclic workspace dependencies #68

Open nicknovitski opened 6 years ago

nicknovitski commented 6 years ago

It turns out that yarn intentionally supports these! The jest repository depends on that feature, so I added it as a regression/smoke test target.

Unfortunately as my comment notes, it isn't a proper end-to-end test, so there are failures it would not catch: jest has a single script at the repository's root for transpiling all packages, but I couldn't find a way to leverage that for individual packages.

nicknovitski commented 6 years ago

How this will work with the building of dependencies I do not know yet. That is the merge conflict.