Open farfromrefug opened 1 year ago
with lerna run
, we have the stream option to show execution and lerna exec
also has a stream
, so perhaps that is what you're missing? Note that I'm rarely using lerna exec
, so I could be totally wrong but giving a try won't hurt. ;)
Description
To prevent the need to define scripts in all packages i am looking at switching from
lerna run
to runlerna exec
It works fine but it does not show progress likelerna run
does. I am not sure yet on how errors are reported. Like for example right now i have in all my packages a script"build":"tsc -d"
That i call withlerna run build
and i am thinking of switching tolerna exec --parallel --no-private -- tsc -d
which remove the need for the script in all packages. If i do so i would like progress and also error (tsc errors in this case) reported like it is withlerna run
Motivation
Easier understanding of what s happening
Suggested Implementation
Alternate Implementations