Skip to content

Update lerna in / from 2.11.0 to 3.0.0 - #355

Merged
Leonid Khachaturov (Leonya) merged 2 commits into
masterfrom
lerna-3.0.0-333.0.1
Aug 10, 2018
Merged

Leonid Khachaturov (Leonya) merged 2 commits into
masterfrom
lerna-3.0.0-333.0.1

Conversation

@ghost

Copy link
Copy Markdown

Dependencies.io has updated lerna (a npm dependency in /) from "2.11.0" to "3.0.0".

3.0.0

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

lerna changed

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

lerna ls

  • 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

lerna publish

  • --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, justas 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.

@ghost ghost added the dependencies label Aug 10, 2018
@Leonya
Leonid Khachaturov (Leonya) deleted the lerna-3.0.0-333.0.1 branch August 10, 2018 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Canary should have incrementing version numbers. [Feature] Check npm login and registry before publishing

2 participants