Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lerna/command

Package Overview
Dependencies
Maintainers
2
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/command - npm Package Versions

1
10

3.6.0

Diff

Changelog

Source

3.6.0 (2018-12-07)

Bug Fixes

  • add: Validate local package version (#1804) (ed6e2db), closes #1799
  • bootstrap: Omit local bundled dependencies (#1805) (8f5bdbb), closes #1775
  • pkg: Exclude mocks from package tarball (4017f37)

Features

  • add: Add --no-bootstrap option (89bb928)
  • bootstrap: Support --force-local option (#1807) (25572af), closes #1763
  • Migrate existing usage to libnpm (0d3a786), closes #1767
  • create: Migrate npm info subprocess to libnpm.manifest (65a1d1b)
  • listable: Add --toposort option (b387881), closes #1652
  • npm-dist-tag: Use fetch API instead of CLI to make changes (54008c6)
  • publish: Add a "from-package" positional argument (#1708) (16611be), closes #1648
  • publish: Attempt profile retrieval before whoami endpoint during user validation (38097d8)
evocateur
published 3.5.0 •

Changelog

Source

3.5.0 (2018-11-27)

Bug Fixes

  • conventional-commits: Bump minimum dependency ranges for node v11 compat (76fad65)
  • prettier (001a6df)
  • Update yarn workspaces error prompt link (#1756) (d6e6a42)
  • publish: Ignore non-release tags when detecting from-git (#1782) (3cb7465)
  • version: Add friendly error message when remote branch doesn't exist (#1741) (cd34b48)
  • version: Don't version private packages lacking a version field (#1654) (578bb19)

Features

  • publish: Add option --no-git-reset to leave unstaged changes in working tree (#1791) (eae5619)
  • run: Log package name and timing in runScriptInPackageCapturing (#1781) (b69a728)
  • version: Add --include-merged-tags option (#1712) (7ee05d7)
evocateur
published 3.3.0 •

Changelog

Source

3.3.0 (2018-09-06)

Bug Fixes

  • describe-ref: Fallback refCount is the number of commits since beginning of repository (6dfea52)
  • Propagate exit codes from failed executions (af9c70b), closes #1374 #1653
  • run-lifecycle: Propagate exit code when execution fails (4763f95), closes #1495

Features

  • deps: Upgrade execa to ^1.0.0 (748ae4e)
  • deps: Upgrade fs-extra to ^7.0.0 (042b1a3)
  • deps: Upgrade get-stream to ^4.0.0 (e280d1d)
  • deps: Upgrade strong-log-transformer to ^2.0.0 (42b18a1)

<a name="3.2.1"></a>

evocateur
published 3.1.3 •

Changelog

Source

3.1.3 (2018-08-21)

Bug Fixes

  • add: Avoid passing bad scope to pacote (ad649bf), closes #1592
  • global-options: Move env defaults to command superclass (6d8e405), closes #1449

<a name="3.1.2"></a>

evocateur
published 3.1.2 •

Changelog

Source

3.1.2 (2018-08-20)

Bug Fixes

  • Setup instance.filteredPackages explicitly (32357f8)
  • Use packageGraph.rawPackageList instead of misleading instance.filteredPackages (2e2abdc)
  • bootstrap: Remove redundant duplicate name check (c2405a1)
  • command: Remove redundant filteredPackages calculation (e0a361f)
  • filter-options: Move filterPackages logic into named export (e863c28)
  • package-graph: Throw errors when package names are not unique (387df2b)
  • publish: Allow composed version command to decide when to verify working tree (e61aa67)

<a name="3.1.1"></a>

evocateur
published 3.1.0 •

Changelog

Source

3.1.0 (2018-08-17)

Bug Fixes

  • collect-updates: Report no changes when on a release commit (082d876), closes #1548
  • command: Detect composed commands more accurately (1e51b39)
  • command: Log lerna CLI version with less ambiguity (67494e7)
  • publish: Throw errors if --canary attempted on unclean tree or tagged release (5da0e42)
  • version: Throw errors if tree is unclean or duplicating tagged release (d8ee1cf)

Features

  • Create [@lerna](https://github.com/lerna)/check-working-tree (98cd41f)
  • Create [@lerna](https://github.com/lerna)/describe-ref (8c11b75)

<a name="3.0.6"></a>

evocateur
published 3.0.6 •

Changelog

Source

3.0.6 (2018-08-16)

Bug Fixes

  • command: Silence goalpost logging when running a composed command (12b4280)
  • create: Use whatwg-url instead of node 8.x-dependent URL class (8701b79)
  • init: Consume lernaVersion from options, not instance property (89e31d2)
  • npm-publish: Tip-toe around logging when emitting chunk to stdout (c027246)
  • version: Pass --preid to selection prompt (23a30a0), closes #1214
  • version: Prioritize --preid over existing prerelease ID (#1568) (f2c470a)

<a name="3.0.5"></a>

evocateur
published 3.0.5 •

Changelog

Source

3.0.5 (2018-08-15)

Bug Fixes

  • collect-updates: Remove period from committish log message (a97262c)
  • filter-options: Allow --private to be configured from file (21e134c)
  • global-options: Allow --sort to be configured from file (f4aed75)
  • help: Insert line break before describing boolean negations (da2f886)
  • options: Provide -y alias for --yes (3ea460c)
  • publish: Add confirmation prompt before execution (47766e5), closes #1566
  • publish: Get tagged packages from merge commit (#1567) (fc771d9)
  • version: Log skipped publish when composed (89645b7)

<a name="3.0.4"></a>

evocateur
published 3.0.0 •

Changelog

Source

3.0.0 (2018-08-10)

Bug Fixes

  • add: Always use POSIX paths when computing relative file: specifiers (ffe354f)
  • add: Support explicit & implicit relative file: specifiers (41f231f)
  • create: Use filename without scope when generating imports from test file (acfd48b)
  • publish: Improve npm pack experience (627cfc2)

Features

BREAKING CHANGES

  • changed: The package names emitted to stdout are no longer prefixed by a "- ", and private packages are no longer displayed by default.

  • list: The default output of lerna ls no longer shows version strings or private packages.

  • The new alias lerna la resembles the old output, with the addition of relative path to the package

  • The new alias lerna ll is a shortcut for the new --long option

  • A new --parseable option has been added to aid magical piping incantations

    • --preid now defaults to "alpha" during prereleases:

    The previous default for this option was undefined, which led to an awkward "1.0.1-0" result when passed to semver.inc().

    The new default "alpha" yields a much more useful "1.0.1-alpha.0" result. Any previous prerelease ID will be preserved, just as it was before.

  • --no-verify is no longer passed to git commit by default, but controlled by the new --commit-hooks option:

    The previous behavior was too overzealous, and the new option operates exactly like the corresponding npm version option of the same name.

    As long as your pre-commit hooks are properly scoped to ignore changes in package.json files, this change should not affect you. If that is not the case, you may pass --no-commit-hooks to restore the previous behavior.

<a name="3.0.0-rc.0"></a>

evocateur
published 3.0.0-rc.0 •

Changelog

Source

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

Bug Fixes

  • changed: Clarify early exit log message (b132c3a)
  • cli: Pass global defaults into option factory instead of yargs.config() (cf4008a), closes #1449
  • command: Prevent premature resolution during tests from nested commands (151363f)
  • core/package: Serialize hosted git URLs with original protocol/shorthand (60ff432), closes #1499
  • project: Report syntax errors in root package.json (f674f35), closes #1452
  • publish: Add default description 'npm' for --npm-client (649048c)
  • publish: Avoid fs-extra warning on 32-bit machines (e908d23)
  • publish: Do not leave unstaged changes with --skip-git (2d497ed)
  • publish: Exit early when publishing w/o commits (#1453) (6cbae35), closes #773
  • publish: Pass --repo-version argument through semver.valid() (272e9f1), closes #1483
  • publish: Update lerna.json version after root preversion lifecycle (7b3817c), closes #1495
  • tests: Special handling for Windows CI issues (#1441) (1a01125)

Code Refactoring

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

Features

  • Add description from --help summary [skip ci] (9b65d8e)
  • Count packages affected in command summary logging (5f5e585)
  • publish: Ensure published packages contain a LICENSE file (#1465) (5863564), closes #1213
  • Upgrade to fs-extra 6 (079d873)
  • add: Add --exact option to lerna add (#1478) (346d156), closes #1470
  • cli: Upgrade to Yargs 12 (7899ab8)
  • command: Remove .defaultOptions() from option resolution stack (2b27a54)
  • ls: Log number of packages listed (855fff6)
  • package-graph: Add rawPackageList getter (0ad5faf)
  • project: Move collect-packages into getPackages() method (06b88d4)
  • publish: Add --require-scripts option to opt-in to raw JS lifecycle scripts (054392b)
  • publish: Add --amend flag (#1422) (ef5f0db)
  • run-lifecycle: Encapsulate npm-conf with createRunner() factory (488f98d)

BREAKING CHANGES

  • publish: External $PKGDIR/scripts/{pre,post}publish.js lifecycles are now opt-in instead of automatic. Pass --require-scripts explicitly to restore previous functionality.
  • 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

<a name="3.0.0-beta.21"></a>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc