a turborepo pipeline task that depends on a root package.json task that does not execute in each package #1247
-
I have a root package.json task that does not execute in every package that calls Currently, I have it as a "prebuild": "yarn tsc", Is there anyway to specify this as a If I add "pipeline": {
"tsc": {
"dependsOn": ["generate"],
"outputs": ["dist-types/**"]
},
"build": {
"dependsOn": ["tsc", "^build"],
"outputs": ["dist/**"]
}, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Are you trying to prevent packages from running If it's the latter, you don't have to worry. Unlike if you're trying to prevent certain packages from running the script even though it could, you can use the
|
Beta Was this translation helpful? Give feedback.
-
You can depend on a root task using
|
Beta Was this translation helpful? Give feedback.
You can depend on a root task using
//#prebuild