-
|
As far as I know Turborepo simply picks up all the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
This is a feature! You have some options though:
|
Beta Was this translation helpful? Give feedback.
This is a feature!
turbo run devis meant to rundevin all your workspaces that have that script.You have some options though:
You can setup your
package-one/package.jsonto have thedevscript call thedev:mode1(and similarly inpackage-two) like so:{ // ...snipped... "scripts": { "dev": "npm run dev:mode1" } }You can setup your
turbo.jsonwith some cleverdependsOn:{ "pipeline": { "dev": { "dependsOn": ["dev:mode1", "dev:modes"] } } }If package-one only implements
dev:mode1andpackage-twoonly implementsdev:mode2(and neither implementdev), then you should get the behavior you're looking for.(Note: I wouldn't really recommend this approach as i…