Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@erquhart/lerna-command

lerna17MIT3.14.0

Lerna's internal base class for commands

lerna, core

readme

@lerna/command

Lerna's internal base class for commands

Usage

You probably shouldn't, at least directly.

Install lerna for access to the lerna CLI.

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

3.14.0 (2019-03-21)

Note: Version bump only for package @erquhart/lerna-command

3.13.1 (2019-02-26)

Note: Version bump only for package @lerna/command

3.13.0 (2019-02-15)

Features

  • meta: Add repository.directory field to package.json (aec5023)
  • meta: Normalize package.json homepage field (abeb4dc)

3.12.0 (2019-02-14)

Features

  • global-options: Default concurrency to logical CPU count (#1931) (2c487fe)

3.11.0 (2019-02-08)

Bug Fixes

  • deps: Explicit npmlog ^4.1.2 (571c2e2)
  • deps: Remove unused libnpm (replaced by direct sub-packages) (1caeb28)

3.10.6 (2019-01-19)

Note: Version bump only for package @lerna/command

3.10.0 (2019-01-08)

Note: Version bump only for package @lerna/command

3.8.5 (2019-01-05)

Note: Version bump only for package @lerna/command

3.8.1 (2018-12-31)

Bug Fixes

  • Do not print duplicate stdio after a streaming command errors (#1832) (2bcc366), closes #1790
  • progress: Correctly avoid progress where we don't want it (0de3df9)
  • progress: Enable progress during logging setup, correcting default (da81e60)

Features

  • command: log whether CI environment has been detected (#1841) (db5631e), closes #1825

3.7.2 (2018-12-21)

Note: Version bump only for package @lerna/command

3.7.1 (2018-12-20)

Bug Fixes

  • command: Enable progress from top-level log object (95e88f0)

3.7.0 (2018-12-19)

Note: Version bump only for package @lerna/command

3.6.0 (2018-12-07)

Features

3.5.0 (2018-11-27)

Note: Version bump only for package @lerna/command

3.3.0 (2018-09-06)

Features

  • deps: Upgrade execa to ^1.0.0 (748ae4e)

3.1.3 (2018-08-21)

Bug Fixes

  • global-options: Move env defaults to command superclass (6d8e405), closes #1449

3.1.2 (2018-08-20)

Bug Fixes

  • command: Remove redundant filteredPackages calculation (e0a361f)

3.1.0 (2018-08-17)

Bug Fixes

  • command: Detect composed commands more accurately (1e51b39)
  • command: Log lerna CLI version with less ambiguity (67494e7)

3.0.6 (2018-08-16)

Bug Fixes

  • command: Silence goalpost logging when running a composed command (12b4280)
  • init: Consume lernaVersion from options, not instance property (89e31d2)

3.0.5 (2018-08-15)

Note: Version bump only for package @lerna/command

3.0.0 (2018-08-10)

Note: Version bump only for package @lerna/command

3.0.0-rc.0 (2018-07-27)

Bug Fixes

  • command: Prevent premature resolution during tests from nested commands (151363f)
  • project: Report syntax errors in root package.json (f674f35), closes #1452

Code Refactoring

  • collect-updates: Make argument signature explicit (e6ba19f)
  • command: Do not store raw packages list as instance property (32a211a)

Features

  • command: Remove .defaultOptions() from option resolution stack (2b27a54)
  • project: Move collect-packages into getPackages() method (06b88d4)

BREAKING CHANGES

  • collect-updates: Instead of an opaque command instance, distinct positional arguments are required.
  • command: this.packages no longer exists in Command subclasses, use this.packageGraph.rawPackageList

3.0.0-beta.21 (2018-05-12)

Note: Version bump only for package @lerna/command

3.0.0-beta.20 (2018-05-07)

Features

3.0.0-beta.19 (2018-05-03)

Note: Version bump only for package @lerna/command

3.0.0-beta.18 (2018-04-24)

Features

  • command: Move GitUtilities.isInitialized into class method (abecfcc)
  • filters: Add --include-filtered-dependents flag (#1393) (2838260)

BREAKING CHANGES

  • command: GitUtilities.isInitialized no longer exists. You shouldn't be using GitUtilities.

3.0.0-beta.17 (2018-04-13)

Note: Version bump only for package @lerna/command

3.0.0-beta.15 (2018-04-09)

Note: Version bump only for package @lerna/command

3.0.0-beta.14 (2018-04-03)

Bug Fixes

  • logging: Log failures from package scripts once, not twice (436cfe1)

3.0.0-beta.13 (2018-03-31)

Features

  • Enable progress bars only when necessary (b766c83)

3.0.0-beta.12 (2018-03-30)

Features

  • project: Merge package and packageJson into manifest (9a47ff7)

3.0.0-beta.11 (2018-03-29)

Note: Version bump only for package @lerna/command

3.0.0-beta.10 (2018-03-27)

Note: Version bump only for package @lerna/command

3.0.0-beta.9 (2018-03-24)

Features

  • command: Remove legacy config handling (d305a38)
  • command: Rename this.repository -> this.project (43e98a0)
  • project: Normalize config.commands -> config.command (24e55e3)
  • project: Use cosmiconfig to locate and read lerna.json (b8c2789)

BREAKING CHANGES

  • command: lerna.json bootstrapConfig and publishConfig namespaces are no longer honored. These config blocks should be moved to command.bootstrap and command.publish, respectively.

3.0.0-beta.7 (2018-03-20)

Bug Fixes

  • cli: Retrieve correct version (bb2c5e8)

3.0.0-beta.4 (2018-03-19)

Bug Fixes

  • clean-stack: Try to avoid causing errors during error cleanup (89f9d3b)

3.0.0-beta.3 (2018-03-15)

Note: Version bump only for package @lerna/command

3.0.0-beta.2 (2018-03-10)

Features

  • Replace @lerna/match-package-name with multimatch (423f82c)
  • filter-packages: Simplify method signature (47e1c86)

BREAKING CHANGES

  • filter-packages: The parameters to filterPackages() have changed:
    • Two lists (include, exclude) have replaced the destructured config object

3.0.0-beta.1 (2018-03-09)

Bug Fixes

  • filter-options: require a git repo when using --since (d21b66e), closes #822

Features

  • collect-packages: simplify signature (39170cf)
  • filter-options: Exclude private packages with --no-private (6674d18)

BREAKING CHANGES

  • collect-packages: Formerly a config object, it is now two parameters, only the first of which (rootPath) is required. The second parameter is a list of package location globs, defaulting to lerna's default of ["packages/*"].