Skip to content

Latest commit

 

History

History
243 lines (177 loc) · 12.7 KB

CHANGELOG.md

File metadata and controls

243 lines (177 loc) · 12.7 KB

v2.0.0-beta.37 (2017-02-08)

--include-filtered-dependencies now works with ls,exec,run as well!

  • Fixes an issue with --hoist (from previous release)

🚀 Enhancement

  • #581 Improve support for --include-filtered-dependencies. (@roblg)
  • #576 Install with no arguments. (@gigabo)
  • #569 Short-circuit out of install with no packages. (@gigabo)

🐛 Bug Fix

  • #574 Use correct logger method in Package method.. (@evocateur)
  • #568 Check if directories exist before removing during hoist. (@gigabo)

🏠 Internal

Committers: 5

v2.0.0-beta.36 (2017-02-02)

🐛 Bug Fix

v2.0.0-beta.35 (2017-02-01)

3 new flags:

--no-sort (only for run, exec and bootstrap)

By default, all tasks execute on packages in topologically sorted order as to respect the dependency relationships of the packages in question. Cycles are broken on a best-effort basis in a way not guaranteed to be consistent across Lerna invocations.

Topological sorting can cause concurrency bottlenecks if there are a small number of packages with many dependents or if some packages take a disproportionately long time to execute. The --no-sort option disables sorting, instead executing tasks in an arbitrary order with maximum concurrency.

--hoist (only for bootstrap)

Install external dependencies matching glob at the repo root so they're available to all packages. Any binaries from these dependencies will be linked into dependent package node_modules/.bin/ directories so they're available for npm scripts. If the option is present but no glob is given the default is ** (hoist everything). This option only affects the bootstrap command.

$ lerna bootstrap --hoist

Note: If packages depend on different versions of an external dependency, the most commonly used version will be hoisted, and a warning will be emitted.

This option may also be set in lerna.json with "hoist": true or "hoist": <glob>.

--nohoist (only for bootstrap)

Do not install external dependencies matching glob at the repo root. This can be used to opt out of hoisting for certain dependencies.

$ lerna bootstrap --hoist --nohoist=babel-*

This option may also be set in lerna.json with "nohoist": <glob>.

🚀 Enhancement

  • #507 Automatic hoisting of common dependencies. (@gigabo)
  • #547 Spawn child process for rimraf (speeds up lerna clean). (@roblg)
  • #543 [clean] Support --include-filtered-dependencies flag. (@roblg)
  • #412 Make bootstrap, exec and run commands execute packages in dependency order by default. (@seansfkelley)
  • #373 [Feature] Log stdout when commands fail. Closes #343.. (@seansfkelley)

🐛 Bug Fix

  • #542 Fixes issue: prepublish not running in dependencies with --scope --include-filtered-dependencies. (@roblg)

When running lerna bootstrap --scope foo --include-filtered-dependencies run prepublish task with the same flags.

📝 Documentation

🏠 Internal

Committers: 9

v2.0.0-beta.34 (2017-01-26)

🐛 Bug Fix

Committers: 1

v2.0.0-beta.33 (2017-01-25)

  • Drop Node 0.10/0.12/5
  • Custom publish commit message
  • Publish to a different remote
  • Publish exact versions instead of ^

Breaking change

Enhancement

Override default message with --message or -m

lerna publish -m "chore: Publish"
  • #508 [Feature] Allow git remote to be changed for publish. (@tdanecker)

Use a different git remote other than origin

lerna publish --git-remote upstream
  • #390 [Feature] Adds --include-filtered-dependencies flag for bootstrap command. (@lukebatchelor)

my-component and all of its dependencies will be bootstrapped

lerna bootstrap --scope my-component --include-filtered-dependencies 
  • #426 Add support for hidden '--exact' flag. (@L8D)

Use exact versions ("2.1.3") instead of with ^ ("^2.1.3")

lerna publish --exact

Bug fix

  • #458 use message passed as argument to the static method input() in PromptUtilities. (@btiwaree)
  • #483 467: lerna bootstrap succeeds with 0 packages. (@doug-wade)
  • #454 Use close event to wait for spawned processes to finish. (@xaka)

Documentation

Committers: 9

v2.0.0-beta.32 (2017-01-04)

Bug fix

  • #435 Use symlinks with relative paths instead of absolute on non-windows environments (Closes #423).. (@JaapRood)
  • #440 Change testing NODE_ENV to "lerna-test" (Closes #406). (@ryb73)
  • #444 Use correct logger method for warnings. (@evocateur)

Committers: 3

v2.0.0-beta.31 (2016-12-14)

Enhancement

  • #365 Add support for configurable package locations. (@gigabo)

Lerna now supports packages outside of the packages/ directory!

Configured via an array of globs in lerna.json:

{		
  "lerna": "2.0.0-beta.31",		
  "version": "1.1.3",		
  "packages": ["packages/*"]		
}		

No more confusion about what will actually get published!

example

Adds a --loglevel [silent|error|warn|success|info|verbose|silly] option.

Any logs of a higher level than the setting are shown. The default is "info".

Bug fix

Committers: 15