Skip to content

[Feature] Lerna bootstrap --skip-devdependencies #505

Closed

Description

@Reinmar

This is a bit similar to #495, but a different reasoning.

We're using Lerna with a multi-repo as I described in #495 (comment). This means that we can't hoist repeating dev deps of our child packages to the main repository, because each child package is a separate repository and, hence, needs its own dependencies.

Threfore, when we run lerna bootstrap Lerna tries to install deps and dev deps for all packages. This is quite slow and error prone (I think that npm doesn't handle concurrency too well). Therefore, I'd like to avoid installing the dev dependencies of child packages when running lerna bootstrap on CI. They are not needed in such a case and we could speed up the build times significantly.

If such a feature would be accepted, we're willing to make a PR :)

Activity

  1. stale commented on Dec 27, 2018

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  2. lock commented on Apr 3, 2019

    @lock

    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.

  3. locked as resolved and limited conversation to collaborators on Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions