@lerna/project

Lerna project configuration

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
Last updated 6 years ago by evocateur .
MIT · Repository · Original npm · Tarball · package.json
$ npm install @lerna/project 
SYNC missed versions from official npm registry.

@lerna/project

Lerna project configuration

Configuration Resolution

Lerna's file-based configuration is located in lerna.json or the lerna property of package.json. Wherever this configuration is found is considered the "root" of the lerna-managed multi-package repository. A minimum-viable configuration only needs a version property; the following examples are equivalent:

{
  "version": "1.2.3"
}
{
  "name": "my-monorepo",
  "version": "0.0.0-root",
  "private": true,
  "lerna": {
    "version": "1.2.3"
  }
}

Any other properties on this configuration object will be used as defaults for CLI options of all lerna subcommands. That is to say, CLI options always override values found in configuration files (a standard practice for CLI applications).

Command-Specific Configuration

To focus configuration on a particular subcommand, use the command subtree. Each subproperty of command corresponds to a lerna subcommand (publish, create, run, exec, etc).

{
  "version": "1.2.3",
  "command": {
    "publish": {
      "loglevel": "verbose"
    }
  },
  "loglevel": "success"
}

In the example above, lerna publish will act as if --loglevel verbose was passed. All other subcommands will receive the equivalent of --loglevel success (much much quieter).

Current Tags

  • 6.4.1                                ...           latest (2 years ago)
  • 6.3.1-beta.8                                ...           next (2 years ago)

76 Versions

  • 6.4.1 [deprecated]           ...           2 years ago
  • 6.4.0 [deprecated]           ...           2 years ago
  • 6.3.1-beta.8 [deprecated]           ...           2 years ago
  • 6.3.1-beta.7 [deprecated]           ...           2 years ago
  • 6.3.1-beta.6 [deprecated]           ...           2 years ago
  • 6.3.1-beta.5 [deprecated]           ...           2 years ago
  • 6.3.1-beta.4 [deprecated]           ...           2 years ago
  • 6.3.1-beta.3 [deprecated]           ...           2 years ago
  • 6.3.1-beta.2 [deprecated]           ...           2 years ago
  • 6.3.1-beta.1 [deprecated]           ...           2 years ago
  • 6.3.1-beta.0 [deprecated]           ...           2 years ago
  • 6.3.0 [deprecated]           ...           2 years ago
  • 6.2.0 [deprecated]           ...           2 years ago
  • 6.1.0 [deprecated]           ...           2 years ago
  • 6.0.3 [deprecated]           ...           2 years ago
  • 6.0.2 [deprecated]           ...           2 years ago
  • 6.0.1 [deprecated]           ...           2 years ago
  • 6.0.0 [deprecated]           ...           2 years ago
  • 6.0.0-alpha.2 [deprecated]           ...           2 years ago
  • 6.0.0-alpha.1 [deprecated]           ...           2 years ago
  • 5.6.2 [deprecated]           ...           2 years ago
  • 6.0.0-alpha.0 [deprecated]           ...           2 years ago
  • 5.6.1 [deprecated]           ...           2 years ago
  • 5.6.0 [deprecated]           ...           2 years ago
  • 5.5.4 [deprecated]           ...           2 years ago
  • 5.5.3 [deprecated]           ...           2 years ago
  • 5.5.2 [deprecated]           ...           2 years ago
  • 5.5.1 [deprecated]           ...           2 years ago
  • 5.5.0 [deprecated]           ...           2 years ago
  • 5.4.3 [deprecated]           ...           2 years ago
  • 5.4.2 [deprecated]           ...           2 years ago
  • 5.4.1 [deprecated]           ...           2 years ago
  • 5.4.0 [deprecated]           ...           2 years ago
  • 5.3.0 [deprecated]           ...           2 years ago
  • 5.2.0 [deprecated]           ...           2 years ago
  • 5.1.8 [deprecated]           ...           2 years ago
  • 5.1.7 [deprecated]           ...           2 years ago
  • 5.1.6 [deprecated]           ...           3 years ago
  • 5.1.5 [deprecated]           ...           3 years ago
  • 5.1.4 [deprecated]           ...           3 years ago
  • 5.1.3 [deprecated]           ...           3 years ago
  • 5.1.2 [deprecated]           ...           3 years ago
  • 5.1.1 [deprecated]           ...           3 years ago
  • 5.1.0 [deprecated]           ...           3 years ago
  • 5.1.0-alpha.0 [deprecated]           ...           3 years ago
  • 5.0.0 [deprecated]           ...           3 years ago
  • 5.0.0-alpha.2 [deprecated]           ...           3 years ago
  • 5.0.0-alpha.1 [deprecated]           ...           3 years ago
  • 5.0.0-alpha.0 [deprecated]           ...           3 years ago
  • 4.0.0 [deprecated]           ...           4 years ago
  • 3.21.0 [deprecated]           ...           5 years ago
  • 3.18.0 [deprecated]           ...           5 years ago
  • 3.16.0 [deprecated]           ...           5 years ago
  • 3.15.0 [deprecated]           ...           6 years ago
  • 3.14.2 [deprecated]           ...           6 years ago
  • 3.13.1 [deprecated]           ...           6 years ago
  • 3.13.0 [deprecated]           ...           6 years ago
  • 3.11.0 [deprecated]           ...           6 years ago
  • 3.10.0 [deprecated]           ...           6 years ago
  • 3.8.5 [deprecated]           ...           6 years ago
  • 3.7.2 [deprecated]           ...           6 years ago
  • 3.7.0 [deprecated]           ...           6 years ago
  • 3.6.0 [deprecated]           ...           6 years ago
  • 3.5.0 [deprecated]           ...           6 years ago
  • 3.0.0 [deprecated]           ...           6 years ago
  • 3.0.0-rc.0 [deprecated]           ...           6 years ago
  • 3.0.0-beta.20 [deprecated]           ...           7 years ago
  • 3.0.0-beta.19 [deprecated]           ...           7 years ago
  • 3.0.0-beta.17 [deprecated]           ...           7 years ago
  • 3.0.0-beta.15 [deprecated]           ...           7 years ago
  • 3.0.0-beta.12 [deprecated]           ...           7 years ago
  • 3.0.0-beta.11 [deprecated]           ...           7 years ago
  • 3.0.0-beta.10 [deprecated]           ...           7 years ago
  • 3.0.0-beta.9 [deprecated]           ...           7 years ago
  • 3.0.0-beta.1 [deprecated]           ...           7 years ago
  • 3.0.0-beta.0 [deprecated]           ...           7 years ago
Maintainers (2)
Downloads
Total 70
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (12)
Dev Dependencies (0)
None
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE