This repository has been archived by the owner on Dec 27, 2023. It is now read-only.
Update lerna in package.json from ^2.4.0 to 3.16.4 #527
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
The following dependencies have been updated by dependencies.io:
lerna
inpackage.json
from "^2.4.0" to "3.16.4"Details
lerna
This dependency is located in
package.json
and was updated from "^2.4.0" to "3.16.4".3.0.0
Bug Fixes
npm pack
experience (627cfc2)Features
npm pack
beforenpm publish
(8d80b2c)lerna version
from oflerna publish
(#1522) (8b97394), closes #277 #936 #956 #961 #1056 #1118 #1385 #1483 #1494BREAKING 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 packageThe new alias
lerna ll
is a shortcut for the new--long
optionA 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
3.0.0 (2018-08-10)
Bug Fixes
npm pack
experience (627cfc2)Features
npm pack
beforenpm publish
(8d80b2c)lerna version
from oflerna publish
(#1522) (8b97394), closes #277 #936 #956 #961 #1056 #1118 #1385 #1483 #1494BREAKING 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 packageThe new alias
lerna ll
is a shortcut for the new--long
optionA 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
Code Refactoring
Features
--exact
option tolerna add
(#1478) (346d156), closes #1470rawPackageList
getter (0ad5faf)--amend
flag (#1422) (ef5f0db)BREAKING CHANGES
$PKGDIR/scripts/{pre,post}publish.js
lifecycles are now opt-in instead of automatic. Pass--require-scripts
explicitly to restore previous functionality.this.packages
no longer exists in Command subclasses, usethis.packageGraph.rawPackageList
3.0.0-beta.21 (2018-05-12)
Bug Fixes
3.0.0-beta.20 (2018-05-07)
Features
3.0.0-beta.19 (2018-05-03)
Bug Fixes
--dev
as boolean option (#1390) (75b91bd)Features
BREAKING CHANGES
3.0.0-beta.18 (2018-04-24)
Bug Fixes
git push
(#1376) (0b88ffb), closes #1366--follow-tags
togit push
(6907e90)Features
--include-filtered-dependents
flag (#1393) (2838260)BREAKING CHANGES
--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.3.0.0-beta.17 (2018-04-13)
Bug Fixes
Features
BREAKING CHANGES
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
3.0.0-beta.15 (2018-04-09)
Bug Fixes
Features
npm ci
with--ci
option (#1360) (d7e33c6)3.0.0-beta.14 (2018-04-03)
Bug Fixes
3.0.0-beta.13 (2018-03-31)
Bug Fixes
Features
3.0.0-beta.12 (2018-03-30)
Bug Fixes
Features
serialize()
method (fdec3ac)package
andpackageJson
intomanifest
(9a47ff7)BREAKING CHANGES
Package
class no longer provides direct access to the JSON objectused to construct the instance. Map-like
get()
/set(val)
methods areavailable to modify the internal representation.
3.0.0-beta.11 (2018-03-29)
Bug Fixes
Features
optionalDependencies
(b73e19d), closes #1213.0.0-beta.10 (2018-03-27)
Bug Fixes
Features
BREAKING CHANGES
3.0.0-beta.9 (2018-03-24)
Bug Fixes
--skip-*
properly, leave working tree clean (5b4b2c9)Features
BREAKING CHANGES
--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 representsa breaking change from 2.x behavior.
Thanks KingScooty for raising the issue!
bootstrapConfig
andpublishConfig
namespaces are no longer honored.These config blocks should be moved to
command.bootstrap
andcommand.publish
, respectively.3.0.0-beta.8 (2018-03-22)
Bug Fixes
Features
3.0.0-beta.7 (2018-03-20)
Bug Fixes
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
Features
lerna create
command (#1326) (f15b224)3.0.0-beta.3 (2018-03-15)
Bug Fixes
Features
ci
option (86a4d65)--skip-git
or--skip-npm
are passed (#1319) (8eef9ff)3.0.0-beta.2 (2018-03-10)
Bug Fixes
@lerna/has-dependency-installed
intocommands/bootstrap/lib
(c09ccbd)Features
@lerna/fs-utils
=>@lerna/rimraf-dir
(30451ed)@lerna/fs-utils
dependency withfs-extra
(9c35a86)@lerna/match-package-name
withmultimatch
(423f82c)BREAKING CHANGES
filterPackages()
have changed:include
,exclude
) have replaced the destructured config object3.0.0-beta.1 (2018-03-09)
Bug Fixes
Features
BREAKING CHANGES
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 bylerna
itself. 🎉💥 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 thenew option name to ensure future compatibility.
🚀 Enhancement
Committers: 1
v3.0.0-alpha.3 (2018-03-03)
🐛 Bug Fix
💅 Polish
Committers: 1
v3.0.0-alpha.2 (2018-03-02)
🐛 Bug Fix
💅 Polish
v3.0.0-alpha.1 (2018-02-28)
💥 Breaking Change
Thanks to compulim for the initial PR!
🏠 Internal
Committers: 1
v3.0.0-alpha.0 (2018-02-14)
💥 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)🚀 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 Fix
#1219
Avoid triggering pre-commit and commitmsg hooks during publish. (alan-agius4)#1220
Remove--no-gpg-sign
fromgit commit
. (evocateur)📝 Documentation
#1248
Document another potential cause of git initialization failure. (fritz-c)#1250
Add guide for debugging Jest tests with VS Code. (millermatt)🏠 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
v2.7.2 (2018-01-16)
🚀 Enhancement
--message
. (mojavelinux)🐛 Bug Fix
Committers: 2
v2.7.1 (2018-01-16)
🐛 Bug Fix
Committers: 3
v2.7.0 (2018-01-12)
🚀 Enhancement
🐛 Bug Fix
📝 Documentation
🏠 Internal
Committers: 7
v2.6.0 (2018-01-08)
Happy 2018! 🎉
🚀 Enhancement
--stream
option tolerna exec
. (alan-agius4)--changelog-preset
option to customize--conventional-commits
output. (alan-agius4)🐛 Bug Fix
git add
in respect to OS/environment. (zenflow)packages
locations when resetting canary changes. (jwickens)📝 Documentation
Committers: 10
v2.5.1 (2017-11-01)
A quick bugfix for an overlooked case in
lerna add
.🐛 Bug Fix
Committers: 1
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!🚀 Enhancement
lerna add <pkg>[version] [--dev]
. (marionebl)🐛 Bug Fix
📝 Documentation
🏠 Internal
Committers: 11
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!🚀 Enhancement
🐛 Bug Fix
process.exitCode
instead of callingprocess.exit(code)
. (evocateur)💅 Polish
📝 Documentation
Committers: 4
v2.3.1 (2017-10-03)
This is what happens when you forget to pull from upstream before publishing.
💅 Polish
Committers: 1
v2.3.0 (2017-10-03)
New options for
lerna import
andlerna publish
, set--loglevel
from lerna.json, and more!🚀 Enhancement
--flatten
option to use when merge conflicts cannot be imported. (dmaksimovic)--allow-branch
option to restrict publish to designated branches. (FaHeymann)🐛 Bug Fix
--canary=<value>
as prerelease tag, not commit-ish. (achingbrain)--loglevel
config from lerna.json. (evocateur)📝 Documentation
🏠 Internal
npmPublishAsPrerelease
tonpmPublish
to avoid confusion. (Hypnosphi)Committers: 7
v2.2.0 (2017-09-15)
A new command, tweaks to logging and init scaffolding, and documentation!
🚀 Enhancement
lerna link
command. (Inkdpixels)📝 Documentation
Committers: 5
v2.1.2 (2017-08-29)
More bugfixes, plus support for the
prepare
lifecycle script found in npm 4+.🚀 Enhancement
🐛 Bug Fix
🏠 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 Fix
Committers: 1
v2.1.0 (2017-08-24)
🚀 Enhancement
--conventional-commits
in fixed versioning mode. (jezzay)🐛 Bug Fix
--include-filtered-dependencies
in large, cyclic repos. (lukebatchelor)📝 Documentation
🏠 Internal
Committers: 11
v2.0.0 (2017-07-06)
🎉 It's happening! 🎉
💥 Breaking Change
--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.🚀 Enhancement
lerna run
. (yisraelx)🐛 Bug Fix
lerna publish --message
. (evocateur)📝 Documentation
🏠 Internal
Committers: 15
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!💥 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 errorlerna 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 messagelerna updated
when there are no updates will exit non-zero (but not throw an error), enabling it to be an effective filter🚀 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
.#795 Add --parallel flag to
lerna exec
. (evocateur)With this flag,
lerna exec
will run the command in all filtered packagesin parallel, completely ignoring concurrency and topological sorting.
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:#829 Prefix piped streams with rotating colors. (evocateur)
🐛 Bug Fix
node_modules
in package paths. (evocateur)fs-extra
. (evocateur)pkg
argument optional forlerna diff
. (evocateur)🏠 Internal
Committers: 6
v2.0.0-rc.4 (2017-04-27)
Now with less bugs! The
--hoist
flag works again, among otherrc.3
bugfixes, and our logging is much more detailed now.💥 Breaking Change
🚀 Enhancement
🐛 Bug Fix