Open greenkeeper[bot] opened 7 years ago
Update to this version instead π
A silent (but deadly) bug slipped into the last release. Many thanks to (@timdp) for discovering it.
Update to this version instead π
The new version differs by 13 commits .
e925c93
2.0.0-rc.2
08ce858
Update CHANGELOG for v2.0.0-rc.2
bed393e
Use shell option when spawning lerna exec
(#761)
b9fa867
Fix durable option resolution (#762)
a201362
Use execa for child_process calls (#759)
c70af88
Use temp-write for multi-line commit messages (#758)
72de558
Use yargs to handle CLI args and subcommands (#719)
0e9ec10
Update README.md and docs to better explain hoisting (#751)
e0bb584
Reference conventionalcommits.org website in README (#748)
607c7a0
Refactor fixture helpers to reduce duplication (#750)
614e08a
Convert eslint config to YAML (#749)
d64f257
Add eslint-plugin-node (#745)
d2f4f98
Fix bootstrap integration tests (#747)
See the full diff.
Update to this version instead π
Barring show-stopping bugs, our goal is to cut v2.0.0
later this week. Big props to all of our brave users riding the bleeding edge of release candidates and reporting issues!
lerna bootstrap --npmClient=yarn
should no longer require --concurrency=1
to avoid yarn cache race conditions.
If you've ever encountered the error Error: spawn rimraf ENOENT
, this should fix that. Turns out yarn
doesn't match a behavior of npm
when installing, and does not symlink transitive dependency binaries.
The new version differs by 7 commits .
c6a1bef
2.0.0-rc.3
67addb5
Update CHANGELOG for v2.0.0-rc.3
3b67f27
chore: trim whitespace in CHANGELOG
bb3e740
Resolve internal CLI calls with Windows-safe pattern (#771)
83a5e9f
Pass multiple directories to rimraf (#770)
f96316c
Fix custom version prompt (#769)
39b9332
Use network mutex when bootstrapping with yarn (#764)
See the full diff.
Update to this version instead π
Now with fewer bugs! The --hoist
flag works again, among other rc.3
bugfixes, and our logging is much more detailed now.
npm --global-style
. (@ricky)--force-publish
arrays and booleans. (@evocateur)The new version differs by 19 commits0.
ef7969f
2.0.0-rc.4
ba4f8d7
Update CHANGELOG for v2.0.0-rc.4
2247fe1
Log the directories being cleaned (#790)
b8e7467
Prevent log messages and progress bars from mangling prompts (#787)
67543fd
appveyor: add --runInBand to yarn run ci
aa03b43
Add troubleshooting docs (#783)
fbdfa9a
Add --max-buffer flag (#782)
d16e285
Add tests for npm global style option (#784)
bb78176
Support --force-publish
arrays and booleans (#781)
f9b2ac6
Restore async rimraf loops (#780)
e4b461b
Log with npmlog (#779)
2bcd182
Replace --skip-temp-tag with inverted --temp-tag (#777)
6cb677a
Fix --hoist with no argument default (#778)
c590d57
Always bootstrap non-hoisted leaves using npm --global-style
(#775)
b72ecb6
Ignore node_modules when traversing nested package locations (#776)
There are 19 commits in total.
See the full diff
Update to this version instead π
This is the last release candidate.
We need to fix #789 before we can release v2.0.0
. All contributions are appreciated!
#807 Change exit codes for updated
and publish
. (@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 would exit 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#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 calling lerna 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
and updated
commands. (@ricky)
When run with --json
, lerna updated
and lerna ls
will return an array of objects in the following format:
[
{
"name": "package",
"version": "1.0.0",
"private": false
}
]
#829 Prefix piped streams with rotating colors. (@evocateur)
node_modules
in package paths. (@evocateur)fs-extra
. (@evocateur)pkg
argument optional for lerna diff
. (@evocateur)The new version differs by 18 commits.
31a98aa
2.0.0-rc.5
26f4056
Update CHANGELOG for v2.0.0-rc5
f0b250a
Make pkg argument optional for lerna diff (#831)
1a8571c
Add json output to ls
and updated
commands (#824)
a5ef53d
Bump glob (#830)
56568d3
Remove '-a' from git tag invocation (#815)
20574b0
Prefix piped streams with rotating colors (#829)
64203e5
Switch to fs-extra (#828)
ce95a26
Upgrade dependencies (#827)
880fdf3
Change exit codes for updated
and publish
(#807)
03eb4e9
tweaks [skip ci]
22bad8b
Add --only-updated option to exec and run subcommands (#726)
64a01ac
Skip git repo check in commands that do not rely on git (#803)
7b72210
Do not ignore explicit node_modules in package paths (#799)
bb7cbf3
Disable progress bars when running in CI or non-interactive shell (#798)
There are 18 commits in total.
See the full diff
Update to this version instead π
--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.lerna run
. (@yisraelx)lerna publish --message
. (@evocateur)The new version differs by 25 commits.
4f4e99f
2.0.0
4ccf941
Update CHANGELOG for v2.0.0
dc36053
Fix durable option name in README [skip ci]
2a302fe
Improved canary option functionality (#904)
e6d927e
Skip update notifiers on CI (#907)
616e44c
Support Yarn workspaces to replace bootstrap command (#899)
80653c7
Clarify warning in hoist.md [skip ci]
c1a01a2
Update hoist.md
52ad617
Pass extra arguments to npmClient during bootstrap (#834)
66e8c02
Add $LERNA_ROOT_PATH env var to lerna exec (#873)
a6a3da8
chore(travis): test against node 8 and npm 5 (#861)
d24704d
fix: shorten error message assert to match npm5 semantics
cf11901
Add --since flag to all commands that accept --scope (#822)
4f43c3c
Allow custom yarn mutex from lerna.json config (#806)
3efcd3e
Print "MISSING" when a package has no version key. (#857)
There are 25 commits in total.
See the full diff
Update to this version instead π
--conventional-commits
in fixed versioning mode. (@jezzay)--include-filtered-dependencies
in large, cyclic repos. (@lukebatchelor)The new version differs by 29 commits.
6e0d004
2.1.0
c928878
Update CHANGELOG for v2.1.0
4d984c1
chore: execa ^0.8.0
d692ce7
chore: upgrade babel to 6.latest, deduping a bunch
eef3f40
chore: get-port ^3.2.0, ensuring port is always bound in IPv4 range
debaf90
chore: eslint ^4.5.0
41b1be9
chore: inquirer 3.2.2
5421da5
chore: write-file-atomic ^2.3.0
dcbcfee
Exit properly when there is nothing to publish (#982)
a224760
Add troubleshooting info for GitHub lightweight tags (#981)
681c60b
Improve support for semver prerelease identifiers when publishing (#960)
33d92a4
Update LICENSE (#973)
2629cc2
Support --conventional-commits in fixed versioning mode (#922)
79a6779
Bump load-json-file (#976)
2294f98
Add root package.json and CI setup sections to FAQ (#978)
There are 29 commits in total.
See the full diff
Update to this version instead π
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!
Update to this version instead π
More bugfixes, plus support for the prepare
lifecycle script found in npm 4+.
The new version differs by 8 commits.
4d64a28
2.1.2
88b3641
Update CHANGELOG for v2.1.2
ab3c5c5
All command unit tests use yargs runner (#997)
661b4f4
Only diff package locations, not the entire repository (#996)
c638fe9
Run "prepare" lifecycle script during bootstrap (#979)
d721b2a
Fix silly level log output for --conventional-commits (#993)
0e6a562
Fix --conventional-commits recommending already released version (#992)
958a2ab
ci: synchronize upgraded npm across matrix, using 5.4.0 in node v8.x
See the full diff
Update to this version instead π
A new command, tweaks to logging and init scaffolding, and documentation!
lerna link
command. (@Inkdpixels)The new version differs by 7 commits.
54761ba
2.2.0
94ea45a
Update CHANGELOG for v2.2.0
6fe4941
Update installation instructions to match lerna init behavior (#985)
1c2fdd1
Create configured "packages" directories during lerna init (#970)
2a25683
Add shield example to README.md (#1011)
d368d77
Improve logging of package lifecycle errors during bootstrap (#1004)
ab3c785
Add lerna link
command (#1000)
See the full diff
Update to this version instead π
New options for lerna import
and lerna publish
, set --loglevel
from lerna.json, and more!
--flatten
option to use when merge conflicts cannot be imported. (@dmaksimovic)--allow-branch
option to restrict publish to designated branches. (@FaHeymann)--canary=<value>
as prerelease tag, not commit-ish. (@achingbrain)--loglevel
config from lerna.json. (@evocateur)npmPublishAsPrerelease
to npmPublish
to avoid confusion. (@Hypnosphi)The new version differs by 11 commits.
89602db
2.3.0
90d850a
chore: Update CHANGELOG for v2.3.0
a132b6e
Pass npmClientArgs to yarn workspaces install command (#1041)
7aa16e5
docs(README): tweak conventional message (#1040)
9e0157c
Rename npmPublishAsPrerelease
to npmPublish
to avoid confusion (#1038)
5ea7e2d
Support durable --loglevel config from lerna.json (#1037)
5c079a5
Use --canary= as prerelease tag, not commit-ish (#1020)
a0945a5
Add runScriptSync for use in version lifecycle methods (#1030)
86db2fc
Call version lifecycle scripts during publish (#1029)
cf1bdbd
Add --allow-branch option to restrict publish to designated branches (#1026)
6af47ba
Add --flatten option to use when merge conflicts cannot be imported (#1019)
See the full diff
Update to this version instead π
This is what happens when you forget to pull from upstream before publishing.
Update to this version instead π
I inadvertently made lerna bootstrap --hoist
really slow in v2.3.0, so that's fixed. Big thanks to all the contributors!
process.exitCode
instead of calling process.exit(code)
. (@evocateur)The new version differs by 14 commits.
5239a84
2.4.0
893cc43
Update CHANGELOG for v2.4.0
3bdb108
chore: use latest-* tags when upgrading npm in travis
01fbdc6
chore: turn off broken node v4 on appveyor
5d9c275
Set process.exitCode
instead of calling process.exit(code)
(#1054)
49770f8
Truncate stack (or pass directly) when logging errors (#1052)
c56c729
When hoisting, only install with --global-style in leaf nodes, not root (#1051)
4262099
refactor: encapsulate semver comparison in PackageGraphNode
5b8795c
Add support for git-hosted urls as sibling package dependencies (#1033)
8d99786
Clean up code missed by lint settings (#1048)
f347b26
Remove git requirement from link command (#1047)
b350871
chore: use multiline template strings for verbose error messages
5372a9e
Throw publish validation errors before version selection (#1044)
149491e
Add more detail to --use-workspaces
documentation (#1042)
See the full diff
Update to this version instead π
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!
lerna add <pkg>[@version] [--dev]
. (@marionebl)The new version differs by 15 commits.
a38c2fe
2.5.0
086a600
chore: Update CHANGELOG for v2.5.0
d9e0ec5
Add test for skipping empty patches during import --flatten (#1080)
3bd057a
Make integration tests less flaky on Windows (#1092)
fe0bc0d
Use only yarn commands in CONTRIBUTING.md [skip ci]
8113903
Implement lerna add [@version] [--dev] (#1069)
8122ead
Add --force-local to link command (#1082)
e96adbe
Fixed diffing on Windows (#1083)
c211eb4
Add --reject-cycles parameter, logging packages when found (#1087)
567d05c
Generate root changelog in fixed mode (#1078)
d72caa1
Republish prereleased packages during subsequent non-prerelease publish (#1077)
cd8e007
fix: fail when --hoist and --yarn are used together (#1063)
2adab3c
Improve "import" edgecases + (i18n fixes + git tweaks) (#1059)
a2d1e8a
Warn about two or more packages having the same npm package.json name (#1081)
34fd08a
Fix README typo (#1062)
See the full diff
Update to this version instead π
A quick bugfix for an overlooked case in lerna add
.
The new version differs by 7 commits.
4f95be8
2.5.1
b187fcf
chore: Update CHANGELOG for v2.5.1
ffc9b30
chore: single -> double quotes
106ffbc
test: cover missed conditionals in AddCommand
5d34a99
fix(copypasta): use correct import path
b175859
refactor: share splitVersion() between NpmUtilities and AddCommand
8395a70
Preserve existing deps with lerna add (#1100)
See the full diff
Update to this version instead π
Happy 2018!
--stream
option to lerna exec
. (@alan-agius4)--changelog-preset
option to customize --conventional-commits
output. (@alan-agius4)git add
in respect to OS/environment. (@zenflow)packages
locations when resetting canary changes. (@jwickens)The new version differs by 16 commits.
7b40d33
2.6.0
dc69bf7
chore: Update CHANGELOG for v2.6.0
a63e0ba
chore: bump non-major dependencies
f5d76a2
chore: bump non-major devDependencies
f1bfb7a
Fix typo in README.md (#1176)
e4e29db
fix: typo in README.md "in in" (#1166)
d35c7aa
add docs on how to publish scoped packages (#1139)
e01f5ae
Normalize path used for git add
in respect to OS/environment (#1134)
48533fa
Throw error in bootstrap when Yarn workspaces is misconfigured (#1129)
b48888e
docs: Add lerna.json example for --message
9bf661f
Add --stream
option to lerna exec
(#1110)
8104138
Set chmod for linked binaries (#1101)
da3e30f
Add --changelog-preset option to customize --conventional-commits output (#1111)
2d4f5e7
Use all packages
locations when resetting canary changes (#1112)
00b979f
Keep non-patch subject parts when importing repository (#1115)
There are 16 commits in total.
See the full diff
Version 2.0.0-rc.1 of lerna just got published.
The version 2.0.0-rc.1 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of lerna. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
v2.0.0-rc.1v2.0.0-rc.1 (2017-04-07)
A silent (but deadly) bug slipped into the last release. Many thanks to (@timdp) for discovering it.
Commits
The new version differs by 59 commits .
d12c4da
2.0.0-rc.1
c1e7910
Update changelog for v2.0.0-rc.1
ad7e214
Fix package.json updates during publish (#744)
634d16d
fix: use relative path for file: dependency
f81a940
2.0.0-rc.0
7319e56
v2.0.0-rc.0 changelog (#739)
25e9b9c
Use babel-preset-env (#738)
c2fbcb2
Update eslint, config, and plugins (#737)
c9ed57a
Command: pass explicit CWD to Repository constructor (#734)
0cd40ec
Commands: pass execOpts to all utility executions to avoid implicit process.cwd() (#733)
114a07a
Update FAQ.md (#736)
048d0cb
test(all): Refactor into Jest idioms, adding integration tests (#714)
6de5cc5
fix(PackageUtilities): remove public API, it's broken anyway (#732)
e4b9454
fix(BootstrapCommand): symlink binaries of scoped packages correctly (#731)
2be31cd
Upgrade progress (#729)
There are 59 commits in total. See the full diff.
Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: