override pipeline settings for specific packages or filters #2953
Closed
theoephraim
started this conversation in
Ideas
Replies: 2 comments
-
looking to expand on #105 - curious for your thoughts @jaredpalmer |
Beta Was this translation helpful? Give feedback.
0 replies
-
This can be accomplished today using Workspace Configurations. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im trying to use turborepo in a monorepo that has packages built using several different tools/languages.
I'm running into issues because the tooling may be very different and need fairly different caching/dependency behaviour.
I can sort of work around it by naming npm tasks differently, but it quickly gets confusing, and it would be way nicer to have a somewhat standard set of tasks that I can run in each package in my monorepo.
This leads me to think it would be great if we could specify the pipeline config more granularly when necessary.
It seems it is possible to override settings for a specific task on a specific package (although not obvious in the docs!), but this would get very verbose and hard to maintain quickly in a larger project.
A more powerful approach would be to allow more granular settings using filters for the same task. Here's an example to help illustrate the idea:
This kind of setup combined with some tagging type filters (I mentioned something similar here) would be very powerful and flexible. Probably something like
--filter=#frontend
combined with a tags field in package json, something like"turboTags": ["frontend", "typescript", "whatever"]
(or"turbo": { "tags": ...
)I haven't thought through it all too deeply, but a feature like this seems fairly straightforward to build and maintain, and I think it could help make turborepo way more flexible.
Happy to help spec it out further and implement!
Beta Was this translation helpful? Give feedback.
All reactions