Allow --single-package to be configured in turbo.json #7828
-
GoalsI have a monorepo that is setup to be use in --single-package mode. Because I use workspaces for non-turborepo related tasks, I need to use --single-package for every command to avoid turborepo running tasks outside of the root. I would like to be able to set --single-package mode in turbo.json so it's not required in every CLI command. Non-goalsNo response BackgroundThe only the option is to use --single-package on every single turbo command for this project, which is error prone and verbose. Proposal
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Can you provide a reproduction repo for what you're describing? I'm a bit confused. If you're talking about a Single Package Workspace (for example, the result if npx create-next-app or npm create vite), |
Beta Was this translation helpful? Give feedback.
Are you describing a Root Task? https://turbo.build/repo/docs/core-concepts/monorepos/running-tasks#running-tasks-from-the-root