t3-oss / create-t3-turbo

Clean and simple starter repo using the T3 Stack along with Expo React Native
https://turbo.t3.gg
MIT License
4.27k stars 350 forks source link

feat: multi-root workspaces #1038

Closed trevorpfiz closed 3 weeks ago

trevorpfiz commented 1 month ago

https://code.visualstudio.com/docs/editor/multi-root-workspaces

I came across next-fast-turbo when adding a FastAPI to a Turborepo, and I enjoyed the development experience of using multi-root workspaces. https://next-fast-turbo.mintlify.app/documentation/local-development#working-with-a-monorepo-in-vs-code

Any experience working with multi-root workspaces? One issue I noticed is that there is some overlap between the root launch.json configurations and the ones defined in .code-workspace. Leads to this when working in the multi-root workspace:

image

I don't have enough experience to say, but we could recommend multi-root workspaces in the README and then remove the root launch.json, but only if there are clear advantages to working with Turborepo in a multi-root workspace.

juliusmarminge commented 3 weeks ago

I have no personal experience with this so doesn't feel comfortable merging this.

Maybe start a discussion and see what others think and maybe we can add it in the future if the response is positive