Subset of Lerna in a smaller & more modular project. Helps manage and publish multiple packages in a monorepo/workspace structure
This patch version includes a downgrade of npm-packlist
to fix a slowness that could rarely happen in some large repos, I have personally never seen this slowness but it was identified by @wassim-ben-amor and he made a thorough investigation and with that in mind we decided to downgrade npm-packlist
. The short reason is because npm-packlist
newer version are now requiring to provide Arborist as an argument to npm-packlist
(while previous version had it embedded) and for a monorepo using pnpm and workspace:
protocol, the operation of finding missing edges (without specifying ignoreMissing
set to true) can take a lot of time. If the maintainers of npm-packlist
ever provide a resolution to this problem then we'll upgrade back to their recent version, otherwise we'll stick to the older version. A big thanks to @wassim-ben-amor
This new release brings a new option --generate-release-notes
for lerna version
which lets GitHub automatically generate the release notes (more info can be found in this GitHub documentation page Automatically generated release notes). Note that this only works for GitHub, I have no idea if GitLab has anything similar.
This new release was actually created by using this new option, so you can see different output below.
lerna version --create-release github --generate-release-notes
Personally I still prefer the conventional changelog approach for creating the releases (even chore
are showing below, which is unexpected to me), nonetheless you now have 2 ways to create GitHub releases 🚀
--generate-release-notes
for GitHub release by @ghiscoding in https://github.com/lerna-lite/lerna-lite/pull/798
Full Changelog: https://github.com/lerna-lite/lerna-lite/compare/v3.1.0...v3.2.0
This release is mainly focused on updating all conventional-changelog-...
dependencies that were released as major versions couple months ago (they made a lot of changes in the past few months, updated a lot of old dependencies like Q
which was replaced by Promises
and switch to function factory instead of loading preset via names). This should have zero impact on the user's side (all unit tests are passing after code refactoring), but just in case, I decided to release this as a minor
version. There are also couple of other unrelated small fixes as well. Enjoy
.config.json
, upgrade cosmiconfig
v9, fixes #729 (#754) (e47ed90) - by @ghiscodinglerna run --use-nx
was deprecated in 2.0 and is now removedlerna version
option --skip-bump-only-release
(singular) was renamed to --skip-bump-only-releases
(plural) to better represent the command which is only useful in independent
modeI decided to remove lerna run --use-nx
option in order to keep Lerna-Lite as light as possible and to remove any Nx related code from the project. If you wish to use Nx and Lerna together, then I strongly suggest that you use the original Lerna since it is supported by the same team and the latest version of Lerna also has a hard dependency on Nx.
I also want to reiterate that I am now publishing Lerna-Lite on npm with --provenance
, which Lerna-Lite supports, via GitHub Action (read this GitHub blog for more info).
--use-nx
(powered by Nx) option from lerna run
command (#776)--use-nx
(powered by Nx) option from run
command (#776) (2653907) - by @ghiscoding