Replies: 7 comments 3 replies
-
@NicHaley I'm interested in this too. Did you ever get this working on your end? Any pointers team? |
Beta Was this translation helpful? Give feedback.
-
all you need is to create private repo as monorepo and publish the only packages that you wish to be public.. |
Beta Was this translation helpful? Give feedback.
-
@NicHaley workspaces that are git submodules is not a case that we test currently, but please try it out and see how it goes. One issue I can think of is that we use git to figure out changed files. It's possible that could not work with submodules. File an issue with a reproduction if you run into anything! |
Beta Was this translation helpful? Give feedback.
-
Just here to say I am going to try something like this out on my own I am a freelancer and I want to have a structure where all my personal projects are in a monorepo, and all of my client projects are in a their own repos. I want UI components and basic utility library functions to be shared between my monorepo and all of my client projects. Is this possible to do? I am going to try it out and let you guys know how it works out. If the team at Vercel ever starts supporting something like this can you guys just drop a reply to let me know how it works out for you as well. Thanks. |
Beta Was this translation helpful? Give feedback.
-
hey there @NicHaley @mehulkar @superdorvil , I've been working on something since my last comment and made some decent headway GOAL: 1. worked on and demo'd in a public repo (oneezy/ui) BENEFITS:
Here are 3 the repos that demo the 3 goals mentioned above: ✅ 1. oneezy/ui https://github.com/oneezy/ui
❌ 2. oneezy/site https://github.com/oneezy/site
✅ 3. oneezy/projects https://github.com/oneezy/projects
To run a dev a server and automatically open up the
I welcome any feedback or PR's w/ these guys! Not sure if I'm using the best practices here but am open to suggestions :) |
Beta Was this translation helpful? Give feedback.
-
Doing this on a small project, it feels like a super-power! I have a turborepo that I'm working on, and a 3rd party package forked and submodules into the packages folder. Updates are colocated, and at the end I'll have changes to submit as a PR upstream. |
Beta Was this translation helpful? Give feedback.
-
I personally use copybara to copy my public packages to their own repos. There are github actions that make the integration pretty easy. |
Beta Was this translation helpful? Give feedback.
-
I am looking for some suggestions on how I might structure my project. I am using Turborepo to share UI and config between some libraries (npm packages), as well as a dashboard app.
Ideally, the libraries should be public, while everything else should be private.
The only way I can think to do this is with git-submodules and nested monorepos. Are there any special considerations for this use-case in Turborepo?
Beta Was this translation helpful? Give feedback.
All reactions