-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Congrats! #30
Comments
Thanks for the kind words. I've actually used
Hope this helps, and again I really appreciate the kind words - I worked my ass off on this thing haha. Feel free to pop onto the Matrix any time if you want help setting up a project or if you have any questions. |
Thank for the comprehensive reply and apologies for taking so long to follow up. I hope to find some time to play with floco in the next couple of weeks, as I have a monorepo on JS/TS services which needs to be packaged with nix. So far we’ve converted one service using a our fork of https://github.com/stephank/yarn-plugin-nixify. But that required also forking yarn berry which I’m not keen on maintaining long term. I only recently found out about https://github.com/madjam002/yarnpnp2nix and at first read it seemed a bit more well rounded. However I’m not sure if either of these are well suited for packaging workspaces consisting of multiple services. It doesn’t seem like a single yarn.lock, which is usually what people have in monorepos, is going to cut it. We currently build services in isolation, each having its own lock file, Dockerfile and ci job, but would like to introduce a top level workspace as it can provide better DX when working across multiple service\packages at the same time. I was looking at ways to maintain both top level and individual lock files per service\package, but I wonder if that would still allow us to deduplicate and\or keep in sync deps used across multiple services\packages. Your project looks like it could address all of our needs. Hope I’ll be able to come back to you with some useful feedback soon! |
If you hop over onto Matrix I can walk you through setting things up. Alternatively you can wait for a fresh guide. I need to make a public monorepo to use as an example, or pick an existing project. If you have any suggestions let me know. I might build |
Hi @aakropotkin
What a commendable effort! Looks like you put some serious thought into it.
I wonder if you could comment on the advantages of using this library over https://github.com/madjam002/yarnpnp2nix?
Also, any gotchas one should be aware of before deciding to go full in and convert all their projects to using floco?
Thanks!
The text was updated successfully, but these errors were encountered: