Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow concurrency to be configured via package.json #647

Merged
merged 1 commit into from Mar 7, 2017

Conversation

gigabo
Copy link
Contributor

@gigabo gigabo commented Mar 6, 2017

This allows for durable configuration.

May be set globally at the top level, or per-command.

{
    "concurrency": 2,
    "commands": {
        "bootstrap": {
            "concurrency": 8
        }
    }
}

As with all options obtained from Command#getOptions() a value passed on the command-line will override configuration from package.json.

lerna bootstrap --concurrency=4

This allows for durable configuration.

May be set globally at the top level, or per-command.

```js
{
    "concurrency": 2,
    "commands": {
        "bootstrap": {
            "concurrency": 8
        }
    }
}
```

As with all options obtained from `Command#getOptions()` a value passed on the
command-line will override configuration from package.json.

```sh
lerna bootstrap --concurrency=4
```
@evocateur evocateur merged commit 5f7fbb3 into lerna:master Mar 7, 2017
@evocateur evocateur modified the milestone: v2.0.0 Mar 15, 2017
@lock
Copy link

lock bot commented Dec 27, 2018

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants