Task dependencies? #687
-
How do I automatically chain tasks/commands based on dependencies? I want to replicate Turbo's dependent workspace task dependencies. The docs don't really delve into that. |
Beta Was this translation helpful? Give feedback.
Answered by
paularmstrong
Mar 31, 2024
Replies: 1 comment 2 replies
-
This feature should not be necessary when using source dependencies. Generally speaking, each workspace should be able to validate and build independent of its dependencies needing to build and validate. The only area this should matter is ensuring packages are published when necessary, which the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have options… speaking frankly, without knowing the details, this setup sounds like a monster and I don't think I'd enjoy maintaining it :)
How fast is this? I would create a build step for the package and auto-run it on
post-merge
so that it's always up to date for developers.Assuming your Workspace name is lint-config. Create a
onerepo.config.ts
in that Workspace's root:Alternatively… since ESLint is not directly compatible with using TypeScript… don't use typescript 🤷♂️ I generally try to avoid doing things in TypeScript where it's not first-party supported.
How does source d…