oc-template-react
oc-template-react copied to clipboard
Update lerna in package.json from ^2.4.0 to 3.20.2
Overview
The following dependencies have been updated by dependencies.io:
-
lerna
inpackage.json
from "^2.4.0" to "3.20.2"
Details
lerna
This dependency is located in package.json
and was updated from "^2.4.0" to "3.20.2".
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
- changed: Support list output options (6ecdd83)
- list: Extract lerna/listable utility (bf56018)
- list: Improve scriptability with several new options (2e204af)
- npm-publish: Add npmPack export (088ea54)
- package: Add tarball property (be453cd)
-
publish: Run
npm pack
beforenpm publish
(8d80b2c) - publish: Validate npm registry and package access prerequisites (ebc8ba6), closes #55 #1045 #1347
- Add lerna/log-packed module, extracted from npm (9c767ac)
- Split
lerna version
from oflerna publish
(#1522) (8b97394), closes #277 #936 #956 #961 #1056 #1118 #1385 #1483 #1494
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 togit 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.
3.0.1
Bug Fixes
- publish: Allow unpublished packages to pass access verification (3a7348c)
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
- changed: Support list output options (6ecdd83)
- list: Extract lerna/listable utility (bf56018)
- list: Improve scriptability with several new options (2e204af)
- npm-publish: Add npmPack export (088ea54)
- package: Add tarball property (be453cd)
-
publish: Run
npm pack
beforenpm publish
(8d80b2c) - publish: Validate npm registry and package access prerequisites (ebc8ba6), closes #55 #1045 #1347
- Add lerna/log-packed module, extracted from npm (9c767ac)
- Split
lerna version
from oflerna publish
(#1522) (8b97394), closes #277 #936 #956 #961 #1056 #1118 #1385 #1483 #1494
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 togit 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.
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 tolerna 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, usethis.packageGraph.rawPackageList
3.0.0-beta.21 (2018-05-12)
Bug Fixes
- child-process: Prevent duplicate logs when any package-oriented execution fails (d3a8128)
3.0.0-beta.20 (2018-05-07)
Features
3.0.0-beta.19 (2018-05-03)
Bug Fixes
-
add: Configure
--dev
as boolean option (#1390) (75b91bd) - collect-updates: Derive most recent tag from annotated tags only (90df646)
- collect-updates: Remove redundant short-circuit (#1406) (2bcdd35)
- publish: Include all packages during global major bump (#1391) (9cebed1), closes #1383
Features
- project: Map deprecated config to new namespaces (4da6318)
BREAKING CHANGES
- collect-updates: Lightweight tags are no longer included when detecting changes since the last release.
3.0.0-beta.18 (2018-04-24)
Bug Fixes
- cli: Exit immediately when error is caught (5b01599), closes #1384
- diff: Diff since last release in branch, not most recent global tag (9879fef)
-
git-utils: Pass --no-verify to
git push
(#1376) (0b88ffb), closes #1366 -
git-utils: Pass
--follow-tags
togit push
(6907e90)
Features
- collect-updates: Copy remaining git utilities into module (cb9c19d)
- command: Move GitUtilities.isInitialized into class method (abecfcc)
- diff: Move diff-only git utilities (47dc0e2)
- Remove core/git-utils package (48096c4)
-
filters: Add
--include-filtered-dependents
flag (#1393) (2838260) - git-utils: Devolve getCurrentSHA() to consumers (ecbc1d3)
- git-utils: Devolve getShortSHA() to consumers (95d179d)
- import: Inline GitUtilities.getWorkspaceRoot() (925080e)
- init: Inline GitUtilities.init() (6e401e1)
- publish: Move publish-only git utilities (5594749)
BREAKING CHANGES
-
cli: Previously, lerna would accept
--scope
and--ignore
options where they were not intended, despite logging the unexpected arguments correctly. This would result in the commands continuing to run with unexpected configuration.
Going forward, lerna will exit non-zero immediately upon encountering these errors.
-
@lerna/git-utils
is gone. Don't use it. - collect-updates: GitUtilities is going away soon.
- diff: Don't use GitUtilities.
- git-utils: Don't use GitUtilities!
- git-utils: Don't use GitUtilities.
- import: GitUtilities.getWorkspaceRoot no longer exists. You shouldn't be using GitUtilities.
- init: GitUtilities.init() no longer exists. You shouldn't be using GitUtilities.
- command: GitUtilities.isInitialized no longer exists. You shouldn't be using GitUtilities.
- publish: Many named exports of GitUtilities are no longer provided. Don't use GitUtilities, it's a bad pattern.
3.0.0-beta.17 (2018-04-13)
Bug Fixes
- bootstrap: Pass npm-conf to feature predicate instead of directly reading process.env (b4af3c9)
- bootstrap: Pluralize log text (#1232) (5c74760)
- package: Resolve correct relative spec (ec2b8f5)
Features
- add: Use directory globs to filter targeted packages (39fa7b6)
- link: Add 'convert' subcommand to aid migration to local file: specifiers (f59bf3c)
BREAKING CHANGES
-
add:
lerna add
now only supports adding one dependency at a time. It is much more valuable to filter by directory globs, anyway.
3.0.0-beta.16 (2018-04-10)
Bug Fixes
- import: Rebase patch copies, too (f6bae80)
3.0.0-beta.15 (2018-04-09)
Bug Fixes
- project: Pin --exact require-from-string v2.0.1 to avoid integrity error with v2.0.2 (32a38ad)
- publish: Allow tag check to fail with strong warning (#1355) (f5268cd)
Features
-
bootstrap: Use
npm ci
with--ci
option (#1360) (d7e33c6) - conventional-commits: Support local file presets (a1bff40)
3.0.0-beta.14 (2018-04-03)
Bug Fixes
- create: Actually publish the module data helper (4775cc4)
- logging: Log failures from package scripts once, not twice (436cfe1)
- publish: Ensure optionalDependencies are updated during publish to registry (559b731)
3.0.0-beta.13 (2018-03-31)
Bug Fixes
- child-process: Do not merge lines of streaming stderr (59dc2d4), closes #994
- Use ValidationError instead of Error (bea6bc3)
- run: Exit early when no packages contain the targeted lifecycle (c8a5526)
Features
- Enable progress bars only when necessary (b766c83)
3.0.0-beta.12 (2018-03-30)
Bug Fixes
- create: Silently ignore missing builtin npmrc (1523520), closes #1353
- npm-conf: Replace env vars even in config keys (3c9a5de)
Features
-
package: Add
serialize()
method (fdec3ac) - package: Add Map-like get/set methods, remove raw json getter (707d1f0)
-
project: Merge
package
andpackageJson
intomanifest
(9a47ff7) - Add --no-prefix for streaming output (#1352) (36c1fad)
BREAKING CHANGES
-
package: The
Package
class no longer provides direct access to the JSON object used to construct the instance. Map-likeget()
/set(val)
methods are available to modify the internal representation.
3.0.0-beta.11 (2018-03-29)
Bug Fixes
- exec: Clarify --no-bail option (6e4c6fd)
- publish: Write temporary annotations once, not repeatedly (6abae76)
Features
- bootstrap: Inherit stdio during root-only install (fd8c391)
- bootstrap: Short-circuit when local file: specifiers are detected in the root (d8a8f03)
- child-process: Allow exec() opts.stdio override (fd84013)
- npm-install: Allow opts.stdio override (4ba5e74)
- Execute atomic publish lifecycle during lerna publish (#1348) (45efa24)
- Support
optionalDependencies
(b73e19d), closes #121 - npm-run-script: Accept opts.reject (7c5a791)
- run: Add --no-bail option (893fcc8), closes #1351
3.0.0-beta.10 (2018-03-27)
Bug Fixes
- add: Use bootstrap factory, not handler (dbfc891)
Features
- commands: Delay require of command instantiation (a1284f3)
- project: Inherit configuration with yargs-like "extends" (0b28ef5), closes #1281
BREAKING CHANGES
- commands: The default export of command packages is now a factory, not the subclass (which is now a named export).
3.0.0-beta.9 (2018-03-24)
Bug Fixes
- filter-options: Move include/exclude validation into filter-packages (503251d)
- git-utils: Remove unused methods, stop mocking tests (3e00d7a)
-
publish: Split
--skip-*
properly, leave working tree clean (5b4b2c9)
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
-
publish: Previously, gitHead annotations were leftover if
--skip-npm
was passed, despite no actual requirement for that property when no publishing is going on.
Now, all publish-related operations are truly skipped with --skip-npm
,
and all git commit/push-related operations are skipped with --skip-git
.
Passing --skip-npm
will now also always push to remote, which represents
a breaking change from 2.x behavior.
Thanks KingScooty for raising the issue!
-
command: lerna.json
bootstrapConfig
andpublishConfig
namespaces are no longer honored. These config blocks should be moved tocommand.bootstrap
andcommand.publish
, respectively.
3.0.0-beta.8 (2018-03-22)
Bug Fixes
- add: Support tag and version specifiers (5df0fc8), closes #1306
- create: Skip repository property when git remote is missing (98c8be6)
Features
- init: Improve ex-nihilo output (7b80e07)
- npm-conf: Add get/setCredentialsByURI() methods (ad20d8a)
- utils: Add "vendored" npm-conf (9c24a25)
- utils: Add lerna/map-to-registry (ce72828)
3.0.0-beta.7 (2018-03-20)
Bug Fixes
- cli: Retrieve correct version (bb2c5e8)
3.0.0-beta.6 (2018-03-19)
Note: Version bump only for package lerna
3.0.0-beta.5 (2018-03-19)
Bug Fixes
3.0.0-beta.4 (2018-03-19)
Bug Fixes
- clean-stack: Try to avoid causing errors during error cleanup (89f9d3b)
- Respect durable hoist configuration (2081640), closes #1325
- Use correct instance property override (9249221)
Features
3.0.0-beta.3 (2018-03-15)
Bug Fixes
- utils: Use safe relative path when calling git diff (#1323) (619c477)
- ci option should not be visible in help output (580b2d5)
- fs-extra dependency is a caret range, not exact (81556d0)
Features
- Check for upstream changes before attempting to publish (#1317) (cef0a69)
- cli: Set config.ci from env var (5452293)
-
global-options: Add hidden
ci
option (86a4d65) - Upstream changes warn in CI, throw locally (4de055d), closes #1177 #1317
-
publish: Add logging when
--skip-git
or--skip-npm
are passed (#1319) (8eef9ff)
3.0.0-beta.2 (2018-03-10)
Bug Fixes
- Move
@lerna/has-dependency-installed
intocommands/bootstrap/lib
(c09ccbd)
Features
- Rename
@lerna/fs-utils
=>@lerna/rimraf-dir
(30451ed) - Replace
@lerna/fs-utils
dependency withfs-extra
(9c35a86) - Replace
@lerna/match-package-name
withmultimatch
(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
- Two lists (
3.0.0-beta.1 (2018-03-09)
Bug Fixes
- conventional-commits: output version bump message closer to version heading (64916d6)
- filter-options: require a git repo when using --since (d21b66e), closes #822
- init: lerna init does not, in fact, require git (d1d69c7)
- publish: Checkout manifest changes serially (ce4a4b1)
- publish: default root manifest name when missing (a504d7e), closes #1305
- publish: guard against undefined tag (d8ce253), closes #1311
- publish: Respect pkg.publishConfig.tag (04b256a), closes #1311
- publish: work around yarn "link:" intransigency (ddfb517)
Features
- collect-packages: simplify signature (39170cf)
- diff: filter diff output with --ignore-changes (c27c2e0)
- 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/*"]
.
v3.0.0-beta.0 (2018-03-07)
This is the first lerna
release published by lerna
itself. :tada:
:boom: Breaking Change
-
#1307 Convert
lerna/lerna
into alerna
-based monorepo. (evocateur) -
Rename
lerna publish
flag--ignore
to--ignore-changes
(8c92956)This resolves previous ambiguity as to what exactly was intended by the "ignore" config for lerna publish, which was not intended to be identical to the filtering option
--ignore
.The old option will still work when found in
lerna.json
config, but it is recommended to migrate to the new option name to ensure future compatibility.
:rocket: Enhancement
Committers: 1
- Daniel Stockman (evocateur)
v3.0.0-alpha.3 (2018-03-03)
:bug: Bug Fix
:nail_care: Polish
Committers: 1
- Daniel Stockman (evocateur)
v3.0.0-alpha.2 (2018-03-02)
:bug: Bug Fix
:nail_care: Polish
- Disable progress in commands that only output lists (e91c9f2c)
v3.0.0-alpha.1 (2018-02-28)
:boom: Breaking Change
- #1278 Add universal hosted git URL support. (evocateur)
- #1289 Convert command lifecycle from callbacks to Promises. (evocateur)
- #1290 Preserve package.json structure during bootstrap mangling. (evocateur) Thanks to compulim for the initial PR!
:house: Internal
- #1271 Split symlink methods out of FileSystemUtilities. (evocateur, compulim)
- Tons of other refactoring afoot! Check out this diff.
Committers: 1
- Daniel Stockman (evocateur)
v3.0.0-alpha.0 (2018-02-14)
:boom: Breaking Change
-
#1122
Use local lerna if available. (marionebl) -
#1207
Refactor command superclass and yargs handlers. (evocateur) -
#1208
Use CommonJS. (evocateur) -
#1209
Drop support for node v4. (evocateur) -
#1211
Bump major versions of dependencies. (evocateur) -
#1225
Remove lerna.json compatibility check. (evocateur) -
#1226
Remove all deprecated validations. (evocateur) -
#1234
Upgrade to yargs 11. (evocateur)
:rocket: Enhancement
-
#1212
Throw friendly error when workspaces are not configured correctly. (craigbilner) -
#1227
Add--ignore-scripts
flag to bootstrap command. (Andarist) -
#1254
Add support for new yarn workspaces config format. (detrohutt) -
#1261
Refactor publish command to be 98% async. (evocateur) -
#1262
Rewrite npm5file:
links during publish. (evocateur)
:bug: Bug Fix
-
#1219
Avoid triggering pre-commit and commitmsg hooks during publish. (alan-agius4) -
#1220
Remove--no-gpg-sign
fromgit commit
. (evocateur)
:memo: Documentation
-
#1248
Document another potential cause of git initialization failure. (fritz-c) -
#1250
Add guide for debugging Jest tests with VS Code. (millermatt)
:house: Internal
-
#1210
Upgrade to Jest v22. (evocateur) -
#1224
Remove explicitglob
dependency in favor ofglobby
. (wtgtybhertgeghgtwtg) -
#1260
PackageGraph
is aMap
, its nodes store relationships in aSet
. (evocateur) -
#1266
SplitPackageUtilities
into smaller files. (evocateur) -
#1267
SplitNpmUtilities
into smaller files. (evocateur)
Committers: 9
- Alan Agius (alan-agius4)
- Alexander Roberts (detrohutt)
- Craig Bilner (craigbilner)
- Daniel Stockman (evocateur)
- Fritz (fritz-c)
- Mario Nebl (marionebl)
- Mateusz Burzyński (Andarist)
- Matt Miller (millermatt)
- wtgtybhertgeghgtwtg
v2.7.2 (2018-01-16)
:rocket: Enhancement
-
#1205 Add %v as placeholder for raw version in
--message
. (mojavelinux)
:bug: Bug Fix
Committers: 2
- Dan Allen (mojavelinux)
- Daniel Stockman (evocateur)
v2.7.1 (2018-01-16)
:bug: Bug Fix
- #1194 Treat 'lerna run test' like any other command. (tkrotoff)
- #1199 Fix import command so it works if Lerna root is a subdir of git root. (RoystonS)
- #1204 Avoid interactive prompt during yarn publish. (evocateur)
Committers: 3
v2.7.0 (2018-01-12)
:rocket: Enhancement
- #1140 Warn user and exit non-zero if command is invalid. (cezaraugusto)
- #1145 run/publish: Use npmClient instead of hardcoded npm. (oreporan)
- #1149 Add support for root-level version lifecycle. (bigtimebuddy)
:bug: Bug Fix
- #1187 Completely ignore peerDependencies during publish. (evocateur)
- #1193 Throw error when lerna.json or package.json have invalid syntax. (evocateur)
:memo: Documentation
- #1164 docs: replace "command" with "commands" to avoid ambiguity. (fengyuanchen)
- #1186 docs: 📇 Add private registry tips to troubleshooting.md. (frankstallone)
:house: Internal
Committers: 7
- Alan Agius (alan-agius4)
- Cezar Augusto (cezaraugusto)
- Chen Fengyuan (fengyuanchen)
- Daniel Stockman (evocateur)
- Frank Stallone (frankstallone)
- Matt Karl (bigtimebuddy)
- Ore Poran (oreporan)
v2.6.0 (2018-01-08)
Happy 2018! :tada:
:rocket: Enhancement
-
#1110 Add
--stream
option tolerna exec
. (alan-agius4) -
#1111 Add
--changelog-preset
option to customize--conventional-commits
output. (alan-agius4)
:bug: Bug Fix
-
#1134 Normalize path used for
git add
in respect to OS/environment. (zenflow) - #1129 Throw error in bootstrap when Yarn workspaces is misconfigured. (evocateur)
- #1101 Set chmod for linked binaries. (marionebl)
-
#1112 Use all
packages
locations when resetting canary changes. (jwickens) - #1115 Keep non-patch subject parts when importing repository. (koenpunt)
:memo: Documentation
- #1139 add docs on how to publish scoped packages. (cezaraugusto)
- #1108 Minor typo fix in hoist.md. (tdmalone)
- #1166 fix: typo in README.md "in in". (vladgolubev)
- #1176 Fix typo in README.md. (LoicPoullain)
Committers: 10
- Alan Agius (alan-agius4)
- Cezar Augusto (cezaraugusto)
- Daniel Stockman (evocateur)
- Jonathan R Wickens (jwickens)
- Koen Punt (koenpunt)
- Loïc Poullain (LoicPoullain)
- Mario Nebl (marionebl)
- Matthew Francis Brunetti (zenflow)
- Tim Malone (tdmalone)
- Vlad Holubiev (vladgolubev)
v2.5.1 (2017-11-01)
A quick bugfix for an overlooked case in lerna add
.
:bug: Bug Fix
Committers: 1
- Mario Nebl (marionebl)
v2.5.0 (2017-11-01)
A new command (lerna add
), new flags for bootstrap and link commands, and a much-improved experience when publishing "final" releases after a series of prereleases!
:rocket: Enhancement
-
#1069 Implement
lerna add <pkg>[version] [--dev]
. (marionebl) - #1077 Republish prereleased packages during subsequent non-prerelease publish. (spudly)
- #1078 Generate root changelog in fixed mode. (ZauberNerd)
- #1081 Warn during bootstrap when two or more packages have the same package.json name. (amfio)
- #1082 Add --force-local to link command. (jiverson)
- #1087 Add --reject-cycles to bootstrap, logging packages when found. (mitchhentges)
:bug: Bug Fix
- #1059 Improve "import" edgecases + (i18n fixes + git tweaks). (swernerx)
- #1063 Fail when --hoist and --yarn are used together. (marionebl)
- #1083 Fixed diffing on Windows. (the0neWhoKnocks)
:memo: Documentation
- #1062 Fix README typo. (imagentleman)
:house: Internal
- #1080 Add test for skipping empty patches during import --flatten. (gyoshev)
- #1092 Make integration tests less flaky on Windows. (evocateur)
Committers: 11
- Alex Gyoshev (gyoshev)
- Alexander Field (amfio)
- Björn Brauer (ZauberNerd)
- Daniel Stockman (evocateur)
- Josh Iverson (jiverson)
- José Antonio Chio (imagentleman)
- Mario Nebl (marionebl)
- Mitchell Hentges (mitchhentges)
- Sebastian Werner (swernerx)
- Stephen John Sorensen (spudly)
- the0neWhoKnocks
v2.4.0 (2017-10-05)
I inadvertently made lerna bootstrap --hoist
really slow in v2.3.0, so that's fixed. Big thanks to all the contributors!
:rocket: Enhancement
- #1033 Add support for git-hosted urls as sibling package dependencies. (gustaff-weldon)
:bug: Bug Fix
- #1044 Throw publish validation errors before version selection. (evocateur)
- #1047 Remove git requirement from link command. (jiverson)
- #1051 When hoisting, only install with --global-style in leaf nodes, not root. (evocateur)
-
#1054 Set
process.exitCode
instead of callingprocess.exit(code)
. (evocateur)
:nail_care: Polish
- #1048 Clean up code missed by lint settings. (jiverson)
- #1052 Truncate stack (or pass directly) when logging errors. (evocateur)
:memo: Documentation
Committers: 4
- Daniel Stockman (evocateur)
- Good stuff and well done! (gustaff-weldon)
- Josh Iverson (jiverson)
- nhducit (nhducit)
v2.3.1 (2017-10-03)
This is what happens when you forget to pull from upstream before publishing.
:nail_care: Polish
Committers: 1
- Federico Zivolo (FezVrasta)
v2.3.0 (2017-10-03)
New options for lerna import
and lerna publish
, set --loglevel
from lerna.json, and more!
:rocket: Enhancement
-
#1019 Add
--flatten
option to use when merge conflicts cannot be imported. (dmaksimovic) -
#1026 Add
--allow-branch
option to restrict publish to designated branches. (FaHeymann) - #1029 Call version lifecycle scripts during publish. (cwmoo740)
- #1030 Add runScriptSync for use in version lifecycle methods. (cwmoo740)
:bug: Bug Fix
-
#1020 Use
--canary=<value>
as prerelease tag, not commit-ish. (achingbrain) -
#1037 Support durable
--loglevel
config from lerna.json. (evocateur) - #1041 Pass npmClientArgs to yarn workspaces install command. (evocateur)
:memo: Documentation
:house: Internal
Committers: 7
- Alex Potsides (achingbrain)
- Daniel Stockman (evocateur)
- Darko Maksimovic (dmaksimovic)
- Fabian Heymann (FaHeymann)
- Filipp Riabchun (Hypnosphi)
- Jeffrey Young (cwmoo740)
- Steve Mao (stevemao)
v2.2.0 (2017-09-15)
A new command, tweaks to logging and init scaffolding, and documentation!
:rocket: Enhancement
- #970 Create configured "packages" directories during lerna init. (Siilwyn)
- #1004 Improve logging of package lifecycle errors during bootstrap. (gauntface)
-
#1000 Add
lerna link
command. (Inkdpixels)
:memo: Documentation
- #985 Update installation instructions to match lerna init behavior. (sapegin)
- #1011 Add shield example to README.md. (mfix22)
Committers: 5
- Artem Sapegin (sapegin)
- Matt Gaunt (gauntface)
- Michael Fix (mfix22)
- Selwyn (Siilwyn)
- Tyll Weiß (Inkdpixels)
v2.1.2 (2017-08-29)
More bugfixes, plus support for the prepare
lifecycle script found in npm 4+.
:rocket: Enhancement
:bug: Bug Fix
- #992 Fix --conventional-commits recommending already released version. (jezzay)
- #993 Fix silly level log output for --conventional-commits. (jezzay)
- #996 Only diff package locations, not the entire repository. (evocateur)
:house: Internal
Committers: 3
v2.1.1 (2017-08-28)
A quick bugfix release to restore a broken lerna publish --canary
, as reported in #989. Many thanks to all who pitched in to identify the issue!
:bug: Bug Fix
Committers: 1
- Daniel Stockman (evocateur)
v2.1.0 (2017-08-24)
:rocket: Enhancement
-
#922 Support
--conventional-commits
in fixed versioning mode. (jezzay) - #960 Improve support for semver prerelease identifiers when publishing. (shawnbot)
:bug: Bug Fix
-
#940 Improve bootstrap performance with
--include-filtered-dependencies
in large, cyclic repos. (lukebatchelor) - #943 Return error and exit on invalid command. (Siilwyn)
- #965 Avoid false positives during integration test filtering. (darrylhodgins)
- #976 Bump load-json-file. (anfedorov)
- #982 Exit properly when there is nothing to publish. (evocateur)
:memo: Documentation
- #921 Fixed spelling mistake in a comment for Command.js. (dlmr)
- #978 Add root package.json and CI setup sections to FAQ. (Andarist)
- #981 Add troubleshooting info for GitHub lightweight tags. (jezzay)
:house: Internal
- #934 Platform independent integration tests. (jezzay)
- #946 Swallow promise rejection in registerChild as it is handled via callback. (viliusl)
- #973 Update LICENSE. (yanca018)
Committers: 11
- Andrey Fedorov (anfedorov)
- Daniel Stockman (evocateur)
- Darryl Hodgins (darrylhodgins)
- Gustaf Dalemar (dlmr)
- Jeremy (jezzay)
- Mateusz Burzyński (Andarist)
- Selwyn (Siilwyn)
- Shawn Allen (shawnbot)
- Vilius Lukošius (viliusl)
- lukebatchelor
- yanca018
v2.0.0 (2017-07-06)
:tada: It's happening! :tada:
:boom: Breaking Change
-
#904 Improved --canary functionality. (Craga89)
--canary
now bumps the generated version to the next semver minor, and accepts a value (e.g.--canary=beta
) to override the default "alpha" tag.
:rocket: Enhancement
- #899 Support Yarn workspaces to replace bootstrap command. (bestander)
- #834 Pass extra arguments to npmClient during bootstrap. (xaka)
-
#873 Add root path dir environment variable to
lerna run
. (yisraelx) - #822 Add --since flag to all commands that accept --scope. (treshugart)
- #806 Allow custom yarn mutex from lerna.json config. (ChristopheVandePoel)
- #868 lerna run: Don't error if no scoped packages are matched. (ricky)
- #835 Flag for exec to bail upon child execution error. (rsolomon)
:bug: Bug Fix
- #857 Print n/a when a package has no version key.. (ben-eb)
- #897 Run yarn in non-interactive mode. (tricoder42)
- #898 Fix issue where Yargs default would override durable options. (treshugart)
- #846 Do not log private packages as published. (evocateur)
-
#845 Preserve tag summary with
lerna publish --message
. (evocateur) - #844 All CLI options should be configurable in lerna.json. (evocateur)
:memo: Documentation
- #840 Update publish docs in README. (shilman)
- #836 Add semver notes to bootstrap command docs. (loklaan)
:house: Internal
- #861 chore(travis): test against node 8 and npm 5. (douglasduteil)
Committers: 15
- Ben Briggs (ben-eb)
- Craig Michael Thompson (Craga89)
- Daniel Stockman (evocateur)
- Douglas Duteil (douglasduteil)
- Konstantin Raev (bestander)
- Lochlan Bunn (loklaan)
- Michael Shilman (shilman)
- Pavel Strashkin (xaka)
- Ricky Rivera (ricky)
- Ross Solomon (rsolomon)
- Simen Bekkhus (SimenB)
- Tomáš Ehrlich (tricoder42)
- Trey Shugart (treshugart)
- ChristopheVandePoel
- yisraelx
v2.0.0-rc.5 (2017-05-22)
This is the last release candidate.
We need to fix #789 before we can release v2.0.0
. All contributions are appreciated!
:boom: Breaking Change
-
#807 Change exit codes for
updated
andpublish
. (koddsson)It is now possible to run
lerna publish
in CI unconditionally, only publishing when changes are actually detected, and never failing when it decides to not publish anything.Previously:
-
lerna publish
when there are no updates to publish would throw an error -
lerna updated
when there are no updates wouldexit 0
, making it ineffective as a chained filter (e.g.,lerna updated && lerna publish
)
Now:
-
lerna publish
when there are no updates is a no-op, exiting successfully with a helpful log message -
lerna updated
when there are no updates will exit non-zero (but not throw an error), enabling it to be an effective filter
-
:rocket: Enhancement
-
#726 Add --only-updated option to exec and run subcommands. (jameslnewell)
When executing a script or command, only run the script or command on packages that have been updated since the last release. A package is considered "updated" using the same rules as
lerna updated
.lerna exec --only-updated -- ls -la lerna run --only-updated test
-
#795 Add --parallel flag to
lerna exec
. (evocateur)With this flag,
lerna exec
will run the command in all filtered packages in parallel, completely ignoring concurrency and topological sorting.# transpile modules in all packages as changes occur lerna exec -- babel src -d lib -w # transpile watched modules only in package-foo lerna exec --scope package-foo -- babel src -d lib -w
It is advised to constrain the scope of the command when running with this flag, as spawning dozens of subprocesses may be harmful to your shell's equanimity (or maximum file descriptor limit, for example). YMMV
-
-
#796 Add --parallel flag to
lerna run
. (evocateur)This allows simpler invocation of
watch
scripts, with the caveat that concurrency and topological sorting are completely ignored. This is generally the intention when callinglerna run watch
and other similar script targets, hence the additional flag.# the following commands are equivalent lerna run watch --concurrency=1000 --stream lerna run watch --parallel
Package filtering (
--scope
and--ignore
) is still available when this new flag is being used, and it is advised to narrow the scope of parallel execution when you have more than a dozen packages or so (YMMV). -
#803 Skip git repo check by default in Commands which do not rely on git. (noherczeg)
-
#824 Add json output to
ls
andupdated
commands. (ricky)When run with
--json
,lerna updated
andlerna ls
will return an array of objects in the following format:[ { "name": "package", "version": "1.0.0", "private": false } ]
:bug: Bug Fix
- #798 Disable progress bars when running in CI or non-interactive shell. (evocateur)
-
#799 Do not ignore explicit
node_modules
in package paths. (evocateur) - #815 Support GPG signing of git tags. (alethea)
-
#828 Switch to
fs-extra
. (evocateur) -
#831 Make
pkg
argument optional forlerna diff
. (evocateur)
:house: Internal
Committers: 6
- Alethea Rose (alethea)
- Daniel Stockman (evocateur)
- James Newell (jameslnewell)
- Kristján Oddsson (koddsson)
- Norbert Csaba Herczeg (noherczeg)
- ricky
v2.0.0-rc.4 (2017-04-27)
Now with less bugs! The --hoist
flag works again, among other rc.3
bugfixes, and our logging is much more detailed now.
:boom: Breaking Change
:rocket: Enhancement
:bug: Bug Fix
- [#775](https://g