Turborepo and importing packages
I'm trying to get started with monorepos and am using turborepo in the toolchain. I have a git repository that contains some Next pages/api/components which I want to use in my main application (the one in the monorepo). Somehow I'm expecting to specify my git repo somewhat and then the code to by pulled into the monorepo. This would allow me to maintain common elements used in lots of applications (each in thier own monorepo) and have these included in the main app build. My question here is what is the workflow? Do we simple run git pull on the packages in some build script? what's the right way to arrange the importing of packages into a monorepo?
0 Replies