lerna / lerna/lerna

Show progress for lerna exec

Open
#3,483 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: feature
Dominant language
TypeScript
Stars
36.1k
Forks
2.3k
Avg merge
1d 4h
Merged PRs (30d)
50

Description

Description

To prevent the need to define scripts in all packages i am looking at switching from lerna run to run lerna exec
It works fine but it does not show progress like lerna 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 with lerna run build and i am thinking of switching to lerna 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 with lerna run

Motivation

Easier understanding of what s happening

Suggested Implementation

Alternate Implementations

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the lerna exec --parallel --no-private -- tsc -d and lerna run build entry points, focusing on their progress and error reporting. Done means lerna exec visibly reports progress and surfaces command errors comparably to lerna run, including for parallel execution.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.