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

[Feature] Add support for configurable package locations #365

Merged
merged 4 commits into from
Dec 14, 2016

Commits on Dec 14, 2016

  1. Add support for configurable package locations (#1)

    This adds a `packages` configuration option to `lerna.json`:
    
    ```json
    {
      "lerna": "x.x.x",
      "version": "0.2.3",
      "packages": [
        {"glob": "packages/{core,plugins}/*/package.json"},
        {"glob": "build-tools/package.json"},
        {"glob": "integration-tests/**/package.json"}
      ]
    }
    ```
    
    The default is `[{"glob": "packages/*/package.json"}]`, which is equivalent to
    the historical layout of a Lerna repo.
    gigabo committed Dec 14, 2016
    Configuration menu
    Copy the full SHA
    d492e8d View commit details
    Browse the repository at this point in the history
  2. Always look for packages from the repo root

    rygine authored and gigabo committed Dec 14, 2016
    Configuration menu
    Copy the full SHA
    e5cb510 View commit details
    Browse the repository at this point in the history
  3. Expect packages config to be array of globs to directories containing…

    … package.json (#393)
    
    * Expect packages config to be an array of glob patterns to directories containing package.json
    
    * Mention packages config in README
    
    * Attempt to avoid test failures on Appveyor
    bclinkinbeard authored and gigabo committed Dec 14, 2016
    Configuration menu
    Copy the full SHA
    3798ddf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af4a738 View commit details
    Browse the repository at this point in the history