Skip to content

Releases: lerna/lerna

v2.0.0-beta.24

11 Aug 23:18
Compare
Choose a tag to compare
v2.0.0-beta.24 Pre-release
Pre-release

Bug Fix

  • #254 Let git am to fall back to three way merge during lerna import
  • #249 Emit stderr output from npm on bootstrap failure
  • #256 run/exec: forward env variables
  • #250 Run prepublish scripts during bootstrap

Polish

  • #261 Just emit usage when run with no command

v2.0.0-beta.23

24 Jun 19:54
Compare
Choose a tag to compare
v2.0.0-beta.23 Pre-release
Pre-release

New Feature

  • Add onlyExplicitUpdates flag so that only packages that have changed have version bumps rather than all packages that depend on the updated packages (#241) @hzoo

Misc

  • Add back node 0.10 support (will remove when Babel remove's support, and node 0.10 maintenance will be over Oct 2016)

v2.0.0-beta.22

23 Jun 01:01
Compare
Choose a tag to compare
v2.0.0-beta.22 Pre-release
Pre-release

New Feature

@gigabo Adds an awesome feature to help users transition their repos into a monorepo and being able to basically move the contents of another repo into the lerna repo (including the git history)!

lerna import (#173) @gigabo

$ lerna import <path-to-external-repository>

Import the package at <path-to-external-repository>, with commit history, into packages/<directory-name>. Original commit authors, dates and messages are preserved. Commits are applied to the current branch.

This is useful for gathering pre-existing standalone packages into a Lerna repo. Each commit is modified to make changes relative to the package directory. So, for example, the commit that added package.json will instead add packages/<directory-name>/package.json.

Misc

  • Revert "Use sync-exec for node 0.10" (#242)
  • Revert "Fix bootstrap install to use quotes around versions (#235)"

v2.0.0-beta.21

23 Jun 00:53
Compare
Choose a tag to compare
v2.0.0-beta.21 Pre-release
Pre-release

beta.22 reverts the change below, but adding for information

  • Fix bootstrap install to use quotes around versions (#235) …

v2.0.0-beta.20

23 Jun 00:54
Compare
Choose a tag to compare
v2.0.0-beta.20 Pre-release
Pre-release

New Feature

  • Add option to ignore packages when bootstrapping (fixes #117) (#168) @rygine

--ignore [glob]

Excludes a subset of packages when running a command.

$ lerna bootstrap --ignore component-*

The ignore flag, when used with the bootstrap command, can also be set in lerna.json under the bootstrapConfig key. The command-line flag will take precendence over this option.

Example

{
  "lerna": "2.0.0-beta.16",
  "version": "0.0.0",
  "bootstrapConfig": {
    "ignore": "component-*"
  }
}

Bug Fix

  • Explicitly ignore output from npm install (#217) @gigabo (currently has a bug on windows)
  • add-module-exports, set main file in package.json (#209) @hzoo
  • Use sync-exec for node 0.10 (#220) @hzoo (reverting in beta.22)

v2.0.0-beta.19

14 Jun 04:29
Compare
Choose a tag to compare
v2.0.0-beta.19 Pre-release
Pre-release

New Feature

{
  "linkedFiles": {
    "prefix": "/**\n * @flow\n */"
  }
}

Bug Fix

  • Fix version mismatch in lerna bootstrap message (#210) @sotojuan

v2.0.0-beta.18

10 Jun 15:43
Compare
Choose a tag to compare
v2.0.0-beta.18 Pre-release
Pre-release

New Feature

$ lerna publish --skip-npm

This will not actually publish packages to npm.

Shorthand for rm -rf packages/*/node_modules

Polish

  • Only install missing external dependencies during bootstrap (#199) @gigabo

Makes subsequent lerna bootstrap much faster!

v2.0.0-beta.17

09 Jun 17:38
Compare
Choose a tag to compare
v2.0.0-beta.17 Pre-release
Pre-release

New Feature

Add lerna exec which allows you to run any script on all packages.
Add support for --scope to only run commands on certain matched packages

  • If necessary, run git init on lerna init (#182) @kaicataldo
    • Initialize the git repo if it isn't already.
  • lerna exec, lerna run and scoping (#152) @joscha
  • Emit partial stderr output from child on maxBuffer exceeded (#181) @gigabo

v2.0.0-beta.16

06 Jun 12:17
Compare
Choose a tag to compare
v2.0.0-beta.16 Pre-release
Pre-release

New Feature

  • --repo-version: Adds optional argument to specify fixed repo version when publishing (#84) @dijs
    • to bypass user input and good for automation/CI.
lerna publish --repo-version 1.0.1
  • --concurrency: Adds optional argument to specify the level of concurrency when running tasks (default is still 4) @jpnelson @joscha

Bug Fix

  • [Breaking Change]: Use alpha as the version namespace instead of canary (#172) @hzoo
    • ex: 1.0.0-canary.81e3b443 -> 1.0.0-alpha.81e3b443.
    • This is done because of how semver precedence works. The previous implementation prevented users from using beta + canary in the correct order.

Docs

v2.0.0-beta.15

29 May 03:35
Compare
Choose a tag to compare
v2.0.0-beta.15 Pre-release
Pre-release

New Feature

  • Add --yes flag for auto confirmation when publishing (useful for CI)