Ability to run other tasks as the definition of current one (aliases) #9923
maxim-at-moralis
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Hi, this proposal and the problem being described is confusing. Can you provide a reproduction or a clearer description of the problem? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Does
|
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
-
Goals
Non-goals
Background
I have a library: api.
The purpose of it is to provide API interfaces to the app using openapi definitions.
It also comes with the templating script to adjust the outputs to our needs.
So the that library has basically 3 script:
build
update
(generate-api)lint
So the same scripts:
build
andlint
may or may not have a dependency wether I want to call it with generate, with build or separate (CI).Problem:
Currently I have to to it like this:
"update": "npm run gen && npm run build && turbo lint",
which is kinda works, but
PS, relates to: #9924
Proposal
As a part of the task, there could be a new optional prop (e.g.
run
oralias
).It can be an array of strings representing other turbo tasks to be ran in parallel to the current task. e.g.:
Beta Was this translation helpful? Give feedback.
All reactions