site-1 build fails because it does not find the proper ui-library package.
If I try to add a cd .. command on the preInstall hook, the build fails with an ENOENT error
Could you link us to the logs for a failing deploy for site-1, so we can see if we can glean any next steps by examining them? Please do link instead of copy-pasting as we’ll also use that link to find your site in our database to examine its settings there
Sorry for the delay on this one. While we don’t have any strong advice for you yet, and part of the reason is the not-so-stable monorepo support on Netlify, we’re actively working with our devs to have some clear direction about this.
Meanwhile, could you confirm if clear cache and deploy works? Also, I know this would be sub-optimal, but probably you could deploy the packages as private NPM modules or directly use a Git repo as a module?
I have to omit base folder. So I have to build the root and then publish /project-1/dist
If I have 3 subfolders that map directly to 3 different netlify projects, None of them have a base folder. All of them get built and deployed even if just one folder change its contents.
ignoreBuild and plugins logic is a bit problematic because moving between folders with cd commands is not possible due to permission errors when a baseFolder is set.
Deploying packages as npm modules or use git repo as a module will make Turborepo useless.
Hey @davidboom, it sounds like things are working as best they can (as Hrishikesh mentioned), and what you mentioned about Turborepo is accurate. If you have any additional questions on this let us know, we’d be happy to help however we can.