lerna / lerna/lerna

Brace-expanded list filter options not working

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

Nobody has claimed this yet.

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

Description

Lerna version: 6.0.3
Command
lerna bootstrap --ignore package-{a,b,c,d} fails with error ERR! lerna Unknown arguments: package-b, package-c, package-d

It shows as supported in filter-options (and there seems to be a test for it), but it doesn't appear to be working with latest.

I've tried with --scope too and it also gives the same behavior.

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

Reproduce the failure with lerna bootstrap --ignore package-{a,b,c,d} and with --scope, then inspect commands/list/__tests__/list-command.test.js around the referenced test and the @lerna/filter-options behavior. Done means brace-expanded list filters are accepted without unknown-argument errors and the relevant regression coverage passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.