# @lerna/project

> Lerna project configuration

Latest version **6.4.1** (published 2023-01-12) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @lerna/project
pnpm add @lerna/project
yarn add @lerna/project
bun add @lerna/project
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 6.4.1 |
| Published | 2023-01-12 |
| First published | 2018-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/lerna__project) |
| Module format | CommonJS |
| Node | ^14.15.0 \|\| >=16.0.0 |
| Dependencies | 13 |
| Unpacked size | 20.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 36052 |
| Author | Daniel Stockman |
| Maintainers | jameshenry, nrwlowner |
| Keywords | lerna, core |

## Links

- npm: https://www.npmjs.com/package/@lerna/project
- Repository: https://github.com/lerna/lerna
- Homepage: https://lerna.js.org
- Issues: https://github.com/lerna/lerna/issues
- npm.io page: https://npm.io/package/@lerna/project

## Dependencies (13)

- [p-map](https://npm.io/package/p-map.md) ^4.0.0
- [dedent](https://npm.io/package/dedent.md) ^0.7.0
- [globby](https://npm.io/package/globby.md) ^11.0.2
- [npmlog](https://npm.io/package/npmlog.md) ^6.0.2
- [js-yaml](https://npm.io/package/js-yaml.md) ^4.1.0
- [dot-prop](https://npm.io/package/dot-prop.md) ^6.0.1
- [cosmiconfig](https://npm.io/package/cosmiconfig.md) ^7.0.0
- [glob-parent](https://npm.io/package/glob-parent.md) ^5.1.1
- [resolve-from](https://npm.io/package/resolve-from.md) ^5.0.0
- [@lerna/package](https://npm.io/package/@lerna/package.md) 6.4.1
- [load-json-file](https://npm.io/package/load-json-file.md) ^6.2.0
- [write-json-file](https://npm.io/package/write-json-file.md) ^4.3.0
- [@lerna/validation-error](https://npm.io/package/@lerna/validation-error.md) 6.4.1

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 6.4.1 (latest) — 2023-01-12
- 6.3.1-beta.8 (next) — 2022-12-27
- 6.4.0 — 2023-01-05
- 6.3.1-beta.7 — 2022-12-27
- 6.3.1-beta.6 — 2022-12-27
- 6.3.1-beta.5 — 2022-12-27
- 6.3.1-beta.4 — 2022-12-27
- 6.3.1-beta.3 — 2022-12-27
- 6.3.1-beta.2 — 2022-12-27
- 6.3.1-beta.1 — 2022-12-27
- 6.3.1-beta.0 — 2022-12-26
- 6.3.0 — 2022-12-26
- 6.2.0 — 2022-12-13
- 6.1.0 — 2022-11-29
- 6.0.3 — 2022-11-07
- … 61 more at https://npm.io/package/@lerna/project/versions

## README

# `@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:

```json
{
  "version": "1.2.3"
}
```

```json
{
  "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).

```json
{
  "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).

---
_Source: https://npm.io/package/@lerna/project · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
