Skip to content
Discussion options

You must be logged in to vote

I would highly recommend using uv workspaces for this, where each code location is a workspace and shared packages can be represented one or more workspaces within the same project. This makes it trivial to share common code across code locations. Just make sure all you don't have any shared code workspaces importing from code locations so as to avoid circular dependencies.

My company has a monorepo with about a half dozen code locations and a half dozen internal packages all structured as workspaces within a single UV project and it works amazingly well... within the codebase it feels like it's all just one big package but we can easily build and deploy code locations individually and ca…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cmpadden
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants