Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@lerna-lite/npmlog

lerna-lite65.2kMIT4.1.2TypeScript support: included

Lerna-Lite npmlog reimplementation of the now deprecated npm/npmlog

readme

Lerna-Lite @lerna-lite

License: MIT TypeScript Conventional Changelog Maintained with Lerna-Lite Node

Actions Status codecov Vitest NPM downloads npm

Lerna-Lite is a lighter version of the original Lerna

Available Commands

Click on any command below to see documentation of all available options

  • 🛠️ init - creates a new Lerna-Lite workspace structure and adds lerna.json
  • 🕜 changed - list local packages changed since last release - npm i @lerna-lite/changed -D
  • 🌓 diff - git diff all packages since the last release - npm i @lerna-lite/diff -D
  • 👷 exec - execute shell commands in each workspace package - npm i @lerna-lite/exec -D
  • 📖 list - list local packages - npm i @lerna-lite/list -D
  • ☁️ publish - publish workspace packages - npm i @lerna-lite/publish -D
  • 📑 version - bump workspace package versions - npm i @lerna-lite/version -D
  • 🏃 run - run npm script in each workspace package - npm i @lerna-lite/run -D
  • 👓 watch - watch for changes & execute commands when fired - npm i @lerna-lite/watch -D

Note since the publish package depends on the version package, you could simply install @lerna-lite/publish to automatically get access to both commands.


📢 Lerna-Lite supports pnpm/yarn workspace: protocol and pnpm catalog: protocol

Take 30sec. to complete this 1 question poll survey 🔘 if you are using this feature. It's a simple poll to find out which package manager is the most popular with workspace: protocol feature (so far, about 60% pnpm and 40% yarn).

Lerna-Lite itself is also using both pnpm catalogs and pnpm workspaces 🎉


Who is using Lerna-Lite

Here are some of the largest projects using Lerna-Lite

Jest   |   React Navigation   |   Format.JS   |   Volar   |   Blueprint   |   NativeScript

License

MIT License

About Lerna-Lite

Lerna-Lite differs from the original Lerna since it only has a limited subset of its original commands (which itself has 15 commands) and they are all optional in Lerna-Lite making its install footprint a lot smaller. Lerna was originally built as an all-in-one tool, however nowadays Workspaces are available in all package managers and the need for an all-in-one tool, which includes built-in workspaces functionalities (like bootstrap), is no longer necessary. Lerna-Lite is built around this new reality and is only providing commands that package managers do not include. To summarize, Lerna-Lite is more modular than the original Lerna and you'll end up installing a lot less dependencies while also making it more versatile to use with other tools like TurboRepo, pnpm and others...

Lerna-Lite assumes, and requires you to pre-setup your Workspace through your favorite package manager (npm, pnpm, yarn) that will take care of the symlinks. Lerna-Lite does not include Lerna's bootstrap, add, create or link commands hence the need for you to properly setup your workspace prior to installing Lerna-Lite.

According to your needs, choose the best option to setup a workspace: npm 7+ | Yarn classic | Yarn 2+ | pnpm

Why create this lib/fork?

Below are the main reasons as to why this fork was created:

  1. Lerna's repo was unmaintained for nearly 2 years (in early 2022, Lerna's dependencies were really out of date)
    • Lerna (original) got later transferred to Nrwl, the company behind Nx, and are now the current maintainers
      • please note that Lerna-Lite fork was created couple months before Nrwl took over Lerna
      • we also replicate all Lerna PRs whenever possible (except for Nx specific changes which are ignored)
  2. A desire to create a smaller and lighter alternative compared to the original all-in-one Lerna tool
    • Lerna-Lite is entirely modular, every commands are totally optional (install only what you need).
  3. The project was rewritten in TypeScript with ESM-only since v2.0 (you can still use it in a CJS environment)
  4. The original Lerna version v5.5+ now requires Nx (want it or not), but that is not the case in Lerna-Lite
    • note, if you already use Nx then it's probably better to use Lerna, otherwise Lerna-Lite is a better alternative
    • if you use tools like TurboRepo and install the original Lerna, you end up installing 2 similar tools (not good)
  5. in Lerna-Lite we also added a few unique features which are not available in Lerna (original):

On a final note, I think that the best feature of Lerna-Lite (versus Lerna) really has to be its modularity. A large portion of the users are only interested in version/publish commands, but on the other hand, a small minority might want other commands like lerna run/exec. Lerna-Lite offers this kind of flexibility by allowing the user to choose what to install (see installation below) which help to keep your download to the bare minimum.

Lerna-Lite will help you with the following:

Note all commands are optional in Lerna-Lite, refer to the Available Commands table for more info

Version and Publish commands

  • Automate the creation of new Versions (independent or fixed version) of all your workspace packages.
    • it will automatically Commit/Tag your new Version & create new GitHub/GitLab Release (when enabled).
  • Automate, when enabled, will create Changelogs for all packages by reading your Conventional Commits.
  • Automate, the repository Publishing of your new version(s) for all your packages (on NPM or other platforms).

Other optional commands

  • Changed command, when installed, will list all local packages that have changed since the last tagged release
  • Diff command, when installed, will show git diff of all packages or a single package since the last release
  • Exec command, when installed, will help you execute shell commands in parallel and in topological order.
  • List command, when installed, will list all workspace local packages
  • Run command, when installed, will help you run npm script in parallel and in topological order.
  • Watch command, when installed, will watch for changes within all packages and execute certain commands

README Badge

lerna--lite

[![lerna--lite](https://img.shields.io/badge/maintained%20with-lerna--lite-e137ff)](https://github.com/lerna-lite/lerna-lite)

Getting Started

Let's start by installing Lerna-Lite CLI as a dev dependency to your project and then run the init command to get started (see init#readme for all options). Note that the CLI must be installed at all time, then proceed by installing any other optional commands (the CLI is only including the init command), refer to the Available Commands table for more info.

# install Lerna-Lite CLI locally or globally (`init` is the only command installed)
$ npm install -g @lerna-lite/cli # pnpm add -g @lerna-lite/cli

# create your monorepo and initialize lerna-lite
$ mkdir lerna-repo
$ cd lerna-repo
$ npx lerna init # OR pnpm exec lerna init

# for npm/yarn (only) workspaces add --use-workspaces
$ npx lerna init --use-workspaces

This will create a lerna.json configuration file as well as a packages folder, so your folder should now look like this:

lerna-repo/
  packages/
    package-a
  package.json
  lerna.json

Note Lerna-Lite now supports 3 file extension types (.json, .jsonc and .json5), however not all code editors support JSON Schema with .json5, so lerna.json might still be the preferred extension (all formats support inline comments, even .json).

Note that package-a will not be created, it is only shown here to help clarify the structure. For more info and full details about the lerna.json file, you can read the lerna.json Wiki. Also note that you can optionally add comments to your lerna.json config file since it is also able to parse JSON5 file format.

The final step will be to install the commands that are of interest to you (publish, version, run, exec, ...)

$ npm i @lerna-lite/publish -D

How It Works

Lerna allows you to manage your project using one of two modes: Fixed or Independent.

Fixed/Locked mode (default)

Fixed mode Lerna projects operate on a single version line. The version is kept in the lerna.json file at the root of your project under the version key. When you run lerna publish, if a module has been updated since the last time a release was made, it will be updated to the new version you're releasing. This means that you only publish a new version of a package when you need to.

Note: If you have a major version zero, all updates are considered breaking. Because of that, running lerna publish with a major version zero and choosing any non-prerelease version number will cause new versions to be published for all packages, even if not all packages have changed since the last release.

This is the mode that Jest) is currently using. Use this if you want to automatically tie all package versions together. One issue with this approach is that a major change in any package will result in all packages having a new major version.

Independent mode

lerna init --independent

Independent mode Lerna projects allows maintainers to increment package versions independently of each other. Each time you publish, you will get a prompt for each package that has changed to specify if it's a patch, minor, major or custom change.

Independent mode allows you to more specifically update versions for each package and makes sense for a group of components. Combining this mode with something like semantic-release would make it less painful. (There is work on this already at atlassian/lerna-semantic-release).

Set the version key in lerna.json to independent to run in independent mode.

Installation

Lerna-Lite is entirely modular, as opposed to Lerna, and installing the CLI locally or globally will only provide you the init command. Please make sure to install other commands that you are interested in (see table below).

If you are new to Lerna-Lite, you could also run the lerna init command which will create the lerna.json for you with a minimal structure setup. If you are using a client other than npm, then make sure to update the npmClient property in lerna.json (for example: "npmClient": "yarn" or "pnpm").

Note please make sure that you have a lerna.json config file in your project root and in it a version property defined with either a fixed or independent mode. Otherwise, an error will be thrown if you're missing any of them.

Usage

The basic usage is to add either custom NPM scripts or simply run the commands in your shell with the Lerna-Lite CLI. See below for basic Lerna npm script samples.

// package.json / npm scripts
"scripts": {
  "new-version": "lerna version",
  "new-publish": "lerna publish from-package",
  "preview:new-version": "lerna version --dry-run",
  "run-tests": "lerna run test",
}

JSON Schema

You can add the $schema property into your lerna.json to take advantage of Lerna-Lite JSON Schema (lerna init can help setting it up for you). This will help with the developer experience, users will be able to see what properties are valid with their types and a brief description of what each option does (descriptions are pulled from their associated lerna command options documentation).

lerna.json
{
  "$schema": "node_modules/@lerna-lite/cli/schemas/lerna-schema.json",
  // ...

  // or from GitHub CDN
  "$schema": "https://raw.githubusercontent.com/lerna-lite/lerna-lite/main/packages/cli/schemas/lerna-schema.json",
}

Note JSON Schema might not be well supported by all code editors with .json5, use lerna.json if that is a problem for you.

Separate / Optional Installs

Click on any command below to see documentation of all available options

Command Install Description
☁️ publish npm i @lerna-lite/publish -D publish each workspace package
📑 version npm i @lerna-lite/version -D create new version for each workspace package
🕜 changed npm i @lerna-lite/changed -D list local packages changed since last release
🌓 diff npm i @lerna-lite/diff -D git diff all packages since the last release
👷 exec npm i @lerna-lite/exec -D execute an command in each workspace package
📖 list npm i @lerna-lite/list -D list local packages
🏃 run npm i @lerna-lite/run -D run npm script in each workspace package
👓 watch npm i @lerna-lite/watch -D watch for changes & execute commands when fired

Note since the publish package depends on the version package, you could simply install @lerna-lite/publish to automatically gain access to both commands.

Migration for existing Lerna users

Migrating from the original Lerna, should be fairly easy since you simply need to replace your Lerna dependency with Lerna-Lite @lerna-lite/cli, and also install the command(s) that you are interested in and that's about it. The CLI commands and options are nearly identical. The biggest difference compared to Lerna is that you need to manually choose and install the commands that you are interested in as shown below:

Note as opposed to Lerna v7 and higher, the useWorkspace is not enabled by default in Lerna-Lite and we still recommend to use either useWorkspaces for Yarn/NPM or use the default packages in lerna.json for pnpm users. The useWorkspaces has some drawback since some of the packages could be unrelated to the project releases (ie: website, examples) and for this use case the packages/* defined in lerna.json is a better approach (i.e. Jest uses this approach).

  1. remove Lerna from your local & global dependencies
npm uninstall lerna      # OR yarn remove lerna -W
npm uninstall -g lerna   # OR yarn global remove lerna
  1. install Lerna-Lite CLI, note this will only provide you the init command
# Lerna CLI (only includes `init`)
npm install @lerna-lite/cli -D
  1. then install any of the optional Lerna-Lite command(s) that you wish to use (changed, diff, exec, list, run, publish, version and/or watch) refer to Available Commands table above
# for example, let's install publish (note publish will automatically provide you the `version` command since it's a dependency)
npm install @lerna-lite/publish -D
  1. review your lerna.json config file and remove any unrelated old command options, for example bootstrap does not exist in Lerna-Lite so there's no need to keep that config `diff { "npmClient": "yarn", "command": {
     "version": {
         "conventionalCommits": true
     },
  2. "bootstrap": {
  3. "npmClientArgs": ["--no-package-lock"]
  4. } } } `

    Note after switching to Lerna-Lite and publishing your next release with conventional-changelog, you will probably see a lot of diff changes across your changelog.md files, a lot of empty lines will be deleted, and that is totally expected since Lerna-Lite has code in place to remove these unnecessary empty lines.

Project Demo?

You want to see a project demo? Sure... you're looking at it 😉

Yes indeed, this project was originally created as an NPM Workspace and later migrated to a pnpm workspaces for the sole purpose of demoing and testing its own code. All changelogs and versions are created and published by the lib itself, how sweet is that? You can also see that this project has its own lerna.json config file as well to run properly (take a look to see how it works).

See it in Action 🎦

You can see a small video of a new version release on this Release Demo - Wiki to demonstrate its usage. Are you confused with all these options? Perhaps taking a look at some of the references shown below might help you get started.

Great Lerna Tutorials / References

Contributions

PR

Contributions are very well encouraged. Also please note that the original code was created by much smarter persons than myself and so my knowledge of the project might still lack in some areas of the project. The main goal of this fork was mainly to make it more modular and keep dependencies up to date (Renovate was put in place and is running frequently).

Development / Contributions

To contribute to the project, please follow the steps shown in the Contributing Guide

Troubleshooting

If you have problems running the project and your problems are related to Git commands that were executed, we then suggest to first try with the --dry-run option to see if it helps in finding the error(s) that you may have. Another great, and possibly much more useful suggestion, is to search in the original Lerna issues list and see if any solution could help you (remember that Lerna-Lite is a fork of the original code from Lerna and it works the same way). Lastly, if that is not enough and you wish to troubleshoot yourself, then read this Troubleshooting - Wiki to possibly troubleshoot yourself the execution in your own environment.

Published Packages

Package Name Version NPM Downloads Description Changes
@lerna-lite/cli npm npm Lerna-Lite CLI changelog
@lerna-lite/core npm npm Lerna-Lite core functions changelog
@lerna-lite/init npm npm Lerna-Lite setup changelog
@lerna-lite/publish npm npm Publish workspace packages changelog
@lerna-lite/version npm npm Bump Version & Changelogs changelog
@lerna-lite/exec npm npm Execute shell commands in repo changelog
@lerna-lite/changed npm npm List changes since last release changelog
@lerna-lite/diff npm npm Diff changes since last release changelog
@lerna-lite/list npm npm List local packages changelog
@lerna-lite/listable npm npm Listable utils for list, changed changelog
@lerna-lite/npmlog npm npm inline version of npmlog util changelog
@lerna-lite/profiler npm npm internal profiler changelog
@lerna-lite/run npm npm Run npm scripts in workspace changelog
@lerna-lite/watch npm npm Watch changes in workspace changelog

Sponsors

Thanks to all my sponsors!

       

changelog

Change Log

Automate your Workspace Versioning, Publishing & Changelogs with Lerna-Lite 📦🚀

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

4.1.2 (2025-05-12)

Bug Fixes

  • deps: update inquirer packages (#1035) (16b6745) - by @renovate[bot]
  • publish: re-prompt OTP if it expired when publishing too many pkgs (#1034) (9df3f69) - by @ghiscoding

4.1.1 (2025-04-29)

Bug Fixes

  • pnpm local catalog changes should be reflected in packages (#1028) (20479ca) - by @ghiscoding

4.1.0 (2025-04-29)

Features

  • core: upgrade to Execa v9 (#1019) (0e41889) - by @ghiscoding

Bug Fixes

  • core: fix wrong regexp about workspace protocol (#1012) (eb4c47c) - by @Mister-Hope
  • deps: update all non-major dependencies (#1014) (cbf1ff0) - by @renovate[bot]
  • deps: update dependency @inquirer/select to ^4.2.0 (#1022) (ba1b380) - by @renovate[bot]
  • deps: update inquirer packages (#1015) (c16622a) - by @renovate[bot]
  • version: pnpm catalog changes should be reflected in packages (#1023) (1058573) - by @ghiscoding

4.0.0 (2025-03-28)

[!NOTE] Please visit the v4.0.0 release for more details about the migration.

⚠ BREAKING CHANGES

  • deps: update all major npm & other deps (#1008)
  • deps: bump minimum Node version to ^20.17.0 || >=22.9.0 (#1000)
  • version: change default "describe [Git] tag" pattern to v* (#1001)
  • watch: upgrade Chokidar to v4.0 major version (#1004)
  • deps: remove node-fetch, fixes punycode warning (#998)
  • deps: upgrade all conventional-changelog-* to major versions (#997)

Bug Fixes

  • deps: bump minimum Node version to ^20.17.0 || >=22.9.0 (#1000) (9a87d82) - by @ghiscoding
  • deps: update all major npm & other deps (#1008) (332a1c0) - by @ghiscoding
  • deps: update inquirer packages (#996) (6eb5a80) - by @renovate[bot]
  • deps: upgrade all conventional-changelog-* to major versions (#997) (df2d462) - by @ghiscoding
  • publish: replace +{SHA} with .{SHA} in lerna publish --canary (#999) (26da1a9) - by @ghiscoding
  • version: change default "describe [Git] tag" pattern to v* (#1001) (6b0f1e9) - by @ghiscoding
  • watch: upgrade Chokidar to v4.0 major version (#1004) (d376975) - by @ghiscoding

Miscellaneous Chores

  • deps: remove node-fetch, fixes punycode warning (#998) (f3c6388) - by @ghiscoding

3.12.3 (2025-03-12)

Bug Fixes

  • deps: update inquirer packages (#994) (a6bfed2) - by @renovate[bot]
  • use cosmiconfig global searchStrategy to fix breaking behaviour (#992) (5f1cd42) - by @ghiscoding

3.12.2 (2025-02-28)

Bug Fixes

  • deps: update all non-major dependencies (#986) (1cc92ee) - by @renovate[bot]
  • dry-run, don't throw no changelog w/o release, fixes #988 (#990) (0587015) - by @ghiscoding

3.12.1 (2025-02-18)

Bug Fixes

  • deps: update all non-major dependencies (#981) (2be4207) - by @renovate[bot]
  • deps: update inquirer packages (#980) (2c7eb45) - by @renovate[bot]

3.12.0 (2025-01-31)

Features

  • publish: support pnpm catalog: protocol with lerna publish (#975) (1dd3dc7) - by @ghiscoding

Bug Fixes

  • deps: update all non-major dependencies (#971) (24d1bbc) - by @renovate[bot]
  • deps: update dependency tinyrainbow to v2 (#973) (2c14288) - by @renovate[bot]
  • deps: update inquirer packages (#970) (dc737b6) - by @renovate[bot]
  • deps: update inquirer packages (#974) (2e6caf6) - by @renovate[bot]

3.11.0 (2025-01-02)

Features

  • core: support catalog: protocol (#965) (4d739e2) - by @Mister-Hope

Bug Fixes

  • deps: update all non-major dependencies (#966) (956ad09) - by @renovate[bot]
  • deps: update dependency is-ci to v4 (#968) (d8424a7) - by @renovate[bot]
  • deps: update inquirer packages (#967) (3bc8dff) - by @renovate[bot]

3.10.1 (2024-11-28)

Bug Fixes

  • deps: update dependency git-url-parse to v16 (#960) (c4d1833) - by @renovate[bot]
  • deps: update dependency uuid to v11 (#957) (cbda4b6) - by @renovate[bot]
  • deps: update inquirer packages to ^4.0.1 (#956) (55de3de) - by @renovate[bot]
  • deps: update inquirer packages to ^4.0.2 (#961) (eca73dc) - by @renovate[bot]
  • drop strip-ansi in favor of native stripVTControlCharacters (#950) (2f23996) - by @ghiscoding

3.10.0 (2024-10-15)

Features

  • support --scope filter options in all lerna commands (#948) (f72f893) - by @farfromrefug

3.9.3 (2024-10-08)

Bug Fixes

  • deps: replace globby with tinyglobby (#941) (be8d050) - by @ghiscoding
  • deps: replace picocolors with tinyrainbow (#942) (75fc4df) - by @ghiscoding
  • deps: update inquirer packages to v4 (#944) (c9be87d) - by @renovate[bot]

3.9.2 (2024-09-28)

Bug Fixes

  • deps: replace chalk with picocolors (#940) (7850c65) - by @ghiscoding
  • deps: update all non-major dependencies (#929) (fea1aec) - by @renovate[bot]
  • deps: update inquirer packages to v3 (major) (#937) (c53390a) - by @renovate[bot]
  • schema: bool prop useWorkspaces missing in Schema, fixes #930 (#931) (a24a59a) - by @ghiscoding

3.9.1 (2024-09-07)

Bug Fixes

  • deps: update all non-major dependencies (#927) (a7a69e7) - by @renovate[bot]
  • deps: update dependency ssri to v11 (#926) (7594054) - by @renovate[bot]
  • version: Renamed 'skip-bump-only-release' CLI option to plural (#925) (b552346), closes #924 - by @SchulteMarkus

3.9.0 (2024-08-30)

Features

  • publish: support full file path for --summary-file (#919) (25b3718) - by @ghiscoding

Bug Fixes

  • core: don't include other deps when graphType is provided (#922) (8fe05bc) - by @ghiscoding
  • deps: update all non-major dependencies (#916) (42ee0e3) - by @renovate[bot]
  • deps: update dependency git-url-parse to v15 (#918) (5b4d649) - by @renovate[bot]
  • schema: add extends property in schema (#921) (726145f) - by @ghiscoding
  • version: enable changing commit message when using amend (#920) (d00c87e) - by @ghiscoding

3.8.0 (2024-08-05)

Features

  • publish: enable throttling when publishing modules (#907) (51e0ace) - by @ghiscoding

Bug Fixes

  • core: use inquirer new modern approach to move away from legacy (#897) (4d07ed0) - by @ghiscoding
  • deps: update all non-major dependencies (#899) (6e1f45a) - by @renovate[bot]
  • deps: update all non-major dependencies (#903) (7dc9e7a) - by @renovate[bot]
  • deps: update all non-major dependencies (#908) (2502959) - by @renovate[bot]
  • deps: update dependency byte-size to v9 (#904) (1a4d4be) - by @renovate[bot]
  • deps: update dependency write-json-file to v6 (#905) (754c57f) - by @renovate[bot]
  • version: add missing file extension to fix publish error (#910) (e9ccb79) - by @ghiscoding
  • version: truncate release body based on maximum size allowed (#909) (72b576f) - by @ghiscoding

3.7.1 (2024-07-13)

Bug Fixes

  • deps: update all non-major dependencies (#894) (c2c40fa) - by @renovate[bot]
  • deps: update dependency inquirer to v10 (#896) (d0f5298) - by @ghiscoding
  • version: don't throw when invalid since date found to query GraphQL (#893) (eee5bca) - by @ghiscoding

3.7.0 (2024-07-05)

Features

  • add support for Yarn patch protocol (#887) (05579ab), closes #223 - by @petermetz
  • publish: add arboristLoadOptions for optional ignoreMissing (#889) (f8417d1) - by @ghiscoding

Bug Fixes

  • deps: update dependency p-limit to v6 (#888) (bba892f) - by @renovate[bot]
  • publish: ignore E409 error when re-publishing to NPM (#890) (d011168) - by @ghiscoding

3.6.0 (2024-06-27)

Features

  • version: option to not ignore scripts on lock update, fixes #877 (#881) (1b78b53) - by @ghiscoding

Bug Fixes

  • deps: update dependency @octokit/rest to v21 (#880) (17d7d8c) - by @renovate[bot]
  • deps: update dependency uuid to v10 (#879) (5bc0d9a) - by @renovate[bot]
  • inline deprecated npmlog util dependency (#882) (9243e8e) - by @ghiscoding
  • replace deprecated read-package-json with @npmcli/package-json (#883) (fe23cf7) - by @ghiscoding

3.5.2 (2024-06-13)

Bug Fixes

  • version: update get last commit hash info regex to support all timezone (#875) (30bf0e7) - by @njfamirm

3.5.1 (2024-06-07)

Bug Fixes

  • publish: always bump & publish peer deps with workspace: protocol (#873) (0325539) - by @ghiscoding
  • publish: update lerna-lite schema for graphType property (15be75f) - by @ghiscoding

3.5.0 (2024-06-03)

Bug Fixes

  • version: throw when using workspace: without allow peer bump, fixes #869 (#870) (12b29ee)

Features

  • version: add --push-tags-one-by-one, fixes #701 (#871) (88ad61b) - by @ghiscoding

3.4.0 (2024-05-15)

Features

  • deps: upgrade temp-dir to new major which is now ESM (#863) (2a93250) - by @ghiscoding

Bug Fixes

  • deps: update all non-major dependencies (#849) (bf23757) - by @renovate[bot]
  • deps: update dependency @npmcli/run-script to v8 (#847) (de2b7ca) - by @renovate[bot]
  • deps: update dependency npm-registry-fetch to v17 (#862) (413f75c) - by @renovate[bot]
  • deps: update dependency pacote to v18 (#848) (0f98a46) - by @renovate[bot]
  • versions: support changelogPreset.header, fixes #852 (#864) (358324c) - by @ghiscoding

3.3.3 (2024-04-15)

Bug Fixes

  • deps: update all non-major dependencies (#841) (86945b9) - by @renovate[bot]
  • publish: downgrade npm-packlist to v5.1.1 (#844) (8d18186) - by @wassim-ben-amor

3.3.2 (2024-04-02)

Bug Fixes

  • deps: update dependency get-stream to v9 (#836) (c247658) - by @renovate[bot]
  • version: create release when using custom tag-version-separator (#837) (5fa6184) - by @ghiscoding

3.3.1 (2024-03-04)

Bug Fixes

  • deps: update all non-major dependencies (#824) (ef9a442) - by @renovate[bot]
  • deps: update dependency is-stream to v4 (#828) (412deb3) - by @renovate[bot]
  • version: describeTag in lerna config version cmd/root, fix #826 (#827) (878091d) - by @ghiscoding

3.3.0 (2024-02-10)

Features

  • version: custom tag-version-separator for independent projects (#814) (3cd5824) - by @ghiscoding

Bug Fixes

  • deps: update all non-major dependencies (#808) (cec587b) - by @renovate[bot]
  • improve git binary error message (#816) (441313d) - by @ghiscoding
  • publish: removePackageFields shouldn't mutate original package.json (#817) (84f6a88) - by @ghiscoding

3.2.1 (2024-01-13)

Bug Fixes

  • deps: update all non-major dependencies (#802) (29e0504) - by @renovate[bot]
  • publish: --canary --dry-run command should create valid tags (#803) (ff62bf1) - by @ghiscoding
  • publish: lerna publish --canary --dry-run shouldn't throw (#801) (9f44c71) - by @ghiscoding
  • version: allow generateReleaseNotes w/o changelog (#800) (aea5f1f) - by @ghiscoding

3.2.0 (2024-01-06)

Features

  • version: add --generate-release-notes for GitHub release (#798) (96d4a61)

Bug Fixes

  • deps: update all non-major dependencies (#794) (4683b51)
  • deps: update dependency git-url-parse to v14 (#795) (549abfa)
  • watch: avoid chokidar throttling on watch startup (#789) (cbea60f)

3.1.0 (2023-12-08)

Features

  • version: update conventional-changelog pks to latest w/factory (#788) (a24f3c6) - by @ghiscoding

Bug Fixes

  • core: avoid reading empty .config.json, upgrade cosmiconfig v9, fixes #729 (#754) (e47ed90) - by @ghiscoding
  • deps: update all non-major dependencies (#783) (fa026de) - by @renovate[bot]
  • deps: update dependency p-map to v7 (#784) (2644c23) - by @renovate[bot]
  • deps: update dependency p-queue to v8 (#787) (5c0d470) - by @renovate[bot]

3.0.0 (2023-11-26)

⚠ BREAKING CHANGES

Refer to the v3.0.0 release for more info about the migration.

  • core: upgrade deps to Node 18 and higher (#777)
  • run: remove --use-nx (powered by Nx) option from run command (#776)

Features

  • core: upgrade deps to Node 18 and higher (#777) (70225e8) - by @ghiscoding
  • core: use corepack when enabled to sync lockfile/run npm script (#775) (3f5624c) - by @ghiscoding
  • run: remove --use-nx (powered by Nx) option from run command (#776) (2653907) - by @ghiscoding
  • version: add --premajor-version-bump option to force patch bumps (#774) (d092fc6) - by @ghiscoding

Bug Fixes

  • publish: dry-run execution should be more obvious in logs (#769) (8fbd761) - by @ghiscoding

2.7.2 (2023-11-20)

Bug Fixes

  • version: writing to lerna.json5 should keep json5 format (#768) (fd66852) - by @ghiscoding

2.7.1 (2023-11-19)

Bug Fixes

  • support changelog-presets using async factory funcs (#766) (77c293f) - by @ghiscoding

2.7.0 (2023-11-16)

Features

  • core: add (.jsonc, .json5) support to Lerna-Lite config (#760) (311c297) - by @ghiscoding

2.6.0 (2023-10-14)

Features

  • add GITHUB_TOKEN as valid alias to GH_TOKEN (#742) (e31eddb) - by @ghiscoding
  • version: add --force-conventional-graduate to force update (#743) (d9de881) - by @ghiscoding

Bug Fixes

  • deps: update all non-major dependencies (#739) (d8aeb27) - by @renovate[bot]
  • publish: fix version conflict recognition for github packages (#738) (210eefa) - by @petermetz

Reverts

  • Revert "chore(deps): update codecov/codecov-action action to v4 (#726)" (#727) (b6b83a8), closes #726 #727 - by @ghiscoding

2.5.1 (2023-09-09)

Bug Fixes

  • CJS fallbacks should be at the end not at beginning (#675) (e3d7b9f) - by @ghiscoding
  • deps: update all non-major dependencies (#718) (7c2897f) - by @renovate[bot]
  • deps: update all non-major dependencies (#722) (c2afec6) - by @renovate[bot]
  • deps: update dependency @npmcli/arborist to v7 (#715) (c18600d) - by @renovate[bot]
  • deps: update dependency @npmcli/run-script to v7 (#705) (bf45173) - by @renovate[bot]
  • deps: update dependency conventional-commits-parser to v5 (#709) (af5b43a) - by @renovate[bot]
  • deps: update dependency dedent to ^1.3.0 (#682) (4c94183) - by @renovate[bot]
  • deps: update dependency dedent to v1 and fix method call (#673) (fd543fe) - by @ghiscoding
  • deps: update dependency get-stream to ^8.0.1 (#698) (3e7dcb7) - by @renovate[bot]
  • deps: update dependency get-stream to v8 (#691) (c6d8a5e) - by @renovate[bot]
  • deps: update dependency inquirer to ^9.2.8 (#672) (d92d224) - by @renovate[bot]
  • deps: update dependency libnpmaccess to v8 (#716) (f7802a5) - by @renovate[bot]
  • deps: update dependency libnpmpublish to v8 (#680) (6ae83d5) - by @renovate[bot]
  • deps: update dependency libnpmpublish to v9 (#717) (6fd8106) - by @renovate[bot]
  • deps: update dependency minimatch to ^9.0.3 (#665) (18c78ea) - by @renovate[bot]
  • deps: update dependency npm-package-arg to v11 (#692) (2b69331) - by @renovate[bot]
  • deps: update dependency npm-packlist to v8 (#702) (e0d4e12) - by @renovate[bot]
  • deps: update dependency npm-registry-fetch to v15 (#684) (94baefd) - by @renovate[bot]
  • deps: update dependency npm-registry-fetch to v16 (#693) (1f19ec5) - by @renovate[bot]
  • deps: update dependency pacote to v17 (#695) (d92b678) - by @renovate[bot]
  • deps: update dependency read-package-json to v7 (#696) (325256b) - by @renovate[bot]
  • version: skipBumpOnlyReleases reimplementation, fixes #703 (#721) (4fc2f55) - by @ghiscoding

2.5.0 (2023-07-06)

Features

  • version: update conventional-changelog to new major versions (#666) (b29c647) - by @ghiscoding

Bug Fixes

  • deps: update all non-major dependencies (#654) (247d17b) - by @renovate[bot]
  • deps: update all non-major dependencies (#662) (009a47c) - by @renovate[bot]
  • deps: update dependency chalk to ^5.3.0 (#660) (96c80a9) - by @renovate[bot]
  • deps: update dependency make-dir to v4 (#659) (81dd798) - by @renovate[bot]
  • publish: catch publish conflict 403 error from npm (#657) (738c028) - by @ghiscoding
  • publish: ensure that error code is a number (#656) (0b823d5) - by @ghiscoding
  • strict-ssl mapping for node-fetch-registry during unpublished projects lookup (#655) (9b6a400) - by @ghiscoding

2.4.3 (2023-06-20)

Bug Fixes

  • publish: handle empty scripts section on remove-fields flag (#652) (4b050ca) - by @Naymi

2.4.2 (2023-06-20)

Bug Fixes

  • deps: update all non-major dependencies (#648) (a54b90f) - by @renovate[bot]
  • deps: update dependency semver to ^7.5.2 (#646) (449358b) - by @renovate[bot]
  • publish: skip lifecycle scripts on pkg fields removal, fixes #637 (#647) (5b2a15a) - by @ghiscoding

2.4.1 (2023-06-07)

Bug Fixes

  • deps: update all non-major dependencies (#615) (e5b28bf) - by @renovate[bot]
  • deps: update dependency get-stream to v7 (#620) (723ca54) - by @renovate[bot]
  • deps: update dependency glob to v10 (#616) (4f92ea2) - by @renovate[bot]
  • fix GitHub Enterprise plugin import path (#625) (acbfa43) - by @p-chan

2.4.0 (2023-05-18)

Features

  • version: add new --create-release-discussion option (#604) (c246d0d) - by @ghiscoding

Bug Fixes

  • deps: update all non-major dependencies (#601) (65fa856) - by @renovate[bot]
  • deps: update all non-major dependencies (#608) (b000303) - by @renovate[bot]
  • deps: update dependency glob to v10 (#607) (dadbaca) - by @renovate[bot]
  • deps: update dependency glob to v10 (#609) (dc146e0) - by @renovate[bot]

Reverts

  • Revert "chore: replace glob by globby to cleanup temp files (#605)" (#606) (d940322), closes #605 #606 - by @ghiscoding

2.3.0 (2023-05-05)

Features

  • publish: add npm provenance to lerna publish (#600) (dc082c2) - by @ghiscoding

Bug Fixes

  • deps: update all non-major dependencies (#597) (48f8ad6) - by @renovate[bot]
  • deps: update dependency inquirer to ^9.2.1 (#599) (b043c78) - by @renovate[bot]

2.2.0 (2023-05-02)

Features

  • core: accept comments in lerna.json config via JSON5 format (#586) (2aed0c0) - by @ghiscoding

Bug Fixes

  • cli: missing --allow-peer-dependencies-update flag (#593) (b95d370) - by @ma-multipla
  • deps: update all non-major dependencies (#592) (27c3a90) - by @renovate[bot]
  • deps: update dependency p-map to v6 (#589) (13c4c04) - by @renovate[bot]
  • version: allowPeerDependenciesUpdate should work w/workspace:^, fix #590 (#591) (0de00e1) - by @ghiscoding

2.1.0 (2023-04-21)

Features

  • publish: add name of package that fails to publish (#574) (94e5fed) - by @ghiscoding

Bug Fixes

  • cannot find publish module if cli inside a monorepo package (#573) (6cb85d8) - by @johnsoncodehk
  • cannot find optional commands if cli inside a monorepo package (#578) (c1979dd) - by @ghiscoding
  • deps: update all non-major dependencies (#583) (43c156c) - by @renovate[bot]
  • deps: update dependency p-map to v5 (#568) (e7c4ee9) - by @renovate[bot]
  • keep only peerDependenciesMeta without peerDeps, fixes #578 (#585) (b804aac) - by @ghiscoding
  • publish: add normalize-path as a dependency (#579) (5dedbbe) - by @rfoel
  • version: invalid --conventional-prerelease should throw, fix #569 (#577) (b4d9e1f) - by @ghiscoding

2.0.0 (2023-04-14)

⚠ BREAKING CHANGES

Refer to the v2.0.0 release for more info about the migration.

  • build: prepare official Lerna-Lite 2.0 release (#567)

Features

  • build: prepare official Lerna-Lite 2.0 release (#567) (2865a60), closes #537 - by @ghiscoding
  • version add --skip-bump-only-release to avoid empty gh releases (#555) (e93e6fd) - by @ghiscoding
  • run add back optional --use-nx option to run command (#557) (7baf389) - by @ghiscoding

Bug Fixes

  • config: catch initialization errors, update cosmiconfig (#519) (66299a2) - by @d-fischer
  • core: ignore globby pattern type should be an array not a string (#529) (c45dcb1) - by @ghiscoding
  • deps: update all non-major dependencies (#535) (bdb1e9c) - by @renovate[bot]
  • deps: update all non-major dependencies (#547) (deb467c) - by @renovate[bot]
  • deps: update dependency cosmiconfig to ^8.1.3 (#523) (6870489) - by @renovate[bot]
  • run: only use run-one w/Nx when not passing multiple scripts (#531) (731f783) - by @ghiscoding

2.0.0-alpha.2 (2023-04-07)

⚠ BREAKING CHANGES

  • run: remove --use-nx (powered by Nx) option from run command (#554)
  • publish: make version & publish commands optionnal, closes #450 (#552)
  • build: migrate to ESM build & switch to Vitest for ESM support (#537)

Features

  • build: migrate to ESM build & switch to Vitest for ESM support (#537) (308fc2e) - by @ghiscoding
  • cli: remove listable dependency from CLI (#553) (1baa0d1) - by @ghiscoding
  • publish: make version & publish commands optionnal, closes #450 (#552) (11e4dab) - by @ghiscoding
  • publish: remove --require-scripts, keep npm scripts lifecycle (#542) (6559aec) - by @ghiscoding
  • remove all deprecated options tagged to be removed in next major (#545) (a6f44b3) - by @ghiscoding
  • run: remove --use-nx (powered by Nx) option from run command (#554) (b5ff9c9) - by @ghiscoding
  • version: remove deprecated --changelog-version-message option (#543) (d125eef) - by @ghiscoding
  • version: use await import instead of require() for GHE release (#546) (f6a2488) - by @ghiscoding

Bug Fixes

  • config: catch initialization errors, update cosmiconfig (#519) (66299a2) - by @d-fischer
  • core: ignore globby pattern type should be an array not a string (#529) (c45dcb1) - by @ghiscoding
  • deps: update all non-major dependencies (#535) (bdb1e9c) - by @renovate[bot]
  • deps: update dependency cosmiconfig to ^8.1.3 (#523) (6870489) - by @renovate[bot]
  • deps: update dependency minimatch to v8 and couple other deps patch (#550) (e7d29f1) - by @ghiscoding
  • run: only use run-one w/Nx when not passing multiple scripts (#531) (731f783) - by @ghiscoding

1.17.0 (2023-03-16)

Features

  • version: support git "describeTag" configuration in version/publish commands (#515) (6a041e4) - by @xueran

1.16.2 (2023-03-13)

Bug Fixes

  • cli: TypeScript should be saved & published as LF, fixes #513 (#514) (1c62eb7) - by @ghiscoding

1.16.1 (2023-03-11)

Bug Fixes

  • sign tags sequentially to prevent gpg issues with many tags (#511) (5f300be) - by @heilmela

1.16.0 (2023-03-03)

Bug Fixes

  • deps: update all non-major dependencies (#488) (126bdb7) - by @renovate[bot]
  • deps: update all non-major dependencies (#502) (b26827d) - by @ghiscoding
  • deps: update dependency minimatch to v7 (#489) (4fd3ac0) - by @renovate[bot]
  • exec: add note to wrap lerna exec commands in quotes (#497) (29c6389) - by @ghiscoding
  • init: the --use-workspaces option should update lerna.json (#501) (dfbe1eb) - by @ghiscoding
  • publish: ensure zero exit code when EWORKINGTREE warning occurs (#500) (b14150b) - by @ghiscoding
  • version: highlight version prop required in lerna.json (#486) (8720397), closes #485 - by @ghiscoding
  • version: validate yarn Berry gte 2.0 before running yarn sync lock (#494) (26d630e) - by @ghiscoding

Features

  • version: add --independent-subpackages option, closes #491 (#495) (dfd0a78) - by @ghiscoding
  • version: add user-defined build metadata to bumped packages (#504) (b8fbf2c) - by @ghiscoding

1.15.2 (2023-02-14)

Bug Fixes

  • watch: watch execution shouldn't skip queued changes (#482) (d64950b) - by @ghiscoding

1.15.1 (2023-02-08)

Bug Fixes

  • deps: update dependency minimatch to v6 (#481) (b97ecee) - by @renovate[bot]
  • watch: remove watch stdin causing problem exiting the watch (#478) (6f1232f) - by @ghiscoding

1.15.0 (2023-02-04)

Bug Fixes

  • deps: update dependency @npmcli/arborist to ^6.2.1 (#471) (5387b4e) - by @renovate[bot]
  • publish: deprecate publish --require-scripts (#463) (e8ef54e) - by @ghiscoding
  • publish: downgrade glob deps to cleanup temp file (#475) (de09614) - by @ghiscoding
  • schema: --contents type should be string, fixes #466 (#467) (c12aafe) - by @ghiscoding
  • watch: use a better debounce option name for the watch (#476) (eb0bbc1) - by @ghiscoding

Features

  • publish: add --cleanup-temp-files option to cleanup packed tmp (#474) (6781c79) - by @ghiscoding
  • publish: recover from network failure (#469) (acd586d) - by @ghiscoding
  • version: move all version related methods under version package (#456) (2c0921a) - by @ghiscoding
  • watch: add optional stdin key to exit watch mode cleanly (#472) (d0cf2d9) - by @ghiscoding

1.14.2 (2023-01-21)

Bug Fixes

  • watch: add missing --stream option (#448) (b249c7c) - by @ghiscoding
  • watch: add missing Chokidar option awaitWriteFinish as a boolean (#449) (6ed56dc) - by @ghiscoding
  • watch: lerna watch should ignore git, dist & node_modules folders (#452) (fa34c58) - by @ghiscoding
  • watch: queue watch callbacks to avoid breaking previous run (#453) (bd892ac) - by @ghiscoding

1.14.1 (2023-01-19)

Bug Fixes

  • watch: glob should work without slash prefix (#447) (e3ee22d) - by @ghiscoding

1.14.0 (2023-01-18)

Bug Fixes

  • core: more detailed error message when version cannot be found (#431) (7f3dffb) - by @ghiscoding
  • deps: update all non-major dependencies (#423) (b965cc7) - by @renovate-bot
  • deps: update all non-major dependencies (#425) (3793929) - by @renovate-bot
  • deps: update dependency @npmcli/arborist to ^6.1.6 (#440) (51eec47) - by @renovate[bot]
  • schema: add the other format changelogPreset can assume (#422) (060a7e9) - by @ghiscoding

Features

  • publish: add --summary-file option (#428) (3de55ef) - by @ghiscoding
  • version: allow passing multiple npmClientArgs as CSV (#429) (0f32a95) - by @ghiscoding
  • version: support custom command for git tag (#430) (246ac57) - by @ghiscoding
  • watch: Add lerna watch command (#441) (a244128) - by @ghiscoding

1.13.0 (2022-11-22)

Bug Fixes

  • deps: libnpmaccess was rewritten, lsPackages is now getPackages (#401) (abb78b0) - by @ghiscoding
  • deps: npm-package-arg now normalize x, x@, x@* (#400) (41b6eaa) - by @ghiscoding
  • deps: update all non-major dependencies (#402) (3feeea9) - by @renovate-bot
  • deps: update all non-major dependencies (#405) (084da4f) - by @renovate-bot
  • deps: update all non-major dependencies (#414) (267fced) - by @renovate-bot
  • deps: update dependency @npmcli/arborist to v6 (#396) (39b0feb) - by @renovate-bot
  • deps: update dependency @npmcli/run-script to v6 (#406) (02c998e) - by @renovate-bot
  • deps: update dependency cosmiconfig to v8 (#419) (b31dfe7) - by @renovate-bot
  • deps: update dependency libnpmpublish to v7 (#399) (4eaea64) - by @renovate-bot
  • run: detect Nx target configuration in package.json files (#416) (be2af28) - by @ghiscoding

Features

  • publish: apply publishConfig overrides, closes #404 (#415) (03e8157) - by @ghiscoding, @artechventure
  • version: bump prerelease versions from conventional commits (#409) (dad936e) - by @ghiscoding
  • version: use npmClientArgs in npm install after lerna version (#417) (43e5dcd) - by @ghiscoding

1.12.0 (2022-10-14)

Bug Fixes

  • bump min Node version to >=14.17.0 to align with external deps (#387) (2f804e9) - by @ghiscoding
  • deps: update dependency @npmcli/run-script to v5 (#388) (f8a8995) - by @renovate-bot
  • deps: update dependency @octokit/rest to ^19.0.5 (#380) (18155d8) - by @renovate-bot
  • deps: update dependency dotenv to ^16.0.3 (66467f5) - by @renovate-bot
  • deps: update dependency npm-packlist to v6 (4241c2f) - by @renovate-bot
  • deps: update dependency npmlog to v7 (#389) (d2110f1) - by @renovate-bot
  • deps: update dependency read-package-json to v6 (#390) (c585090) - by @renovate-bot
  • deps: update dependency ssri to v10 (#385) (04457c9) - by @renovate-bot
  • deps: update dependency write-file-atomic to v5 (#386) (ffdea0d) - by @renovate-bot
  • deps: upgrading pacote & npm-packlist to v7 requires arborist tree (#367) (8c34a3b) - by @ghiscoding
  • npm-publish: Allows disabling of strict SSL checks (#374) (a26d849) - by @ghiscoding
  • run: allow for loading of env files to be skipped (#391) (440611e) - by @ghiscoding
  • run: fully defer to Nx for dep detection when nx.json exists (0657aa4) - by @ghiscoding
  • run: only defer to Nx when targetDefaults are defined in nx.json (127f90c) - by @ghiscoding
  • run: warn on incompatible arguments with useNx (bc5e823) - by @ghiscoding

Features

  • commands: rename git-dry-run and cmd-dry-run to simply dry-run (#377) (3a55f5e) - by @ghiscoding
  • publish: add new option --remove-package-fields before publish (#359) (45a2107) - by @ghiscoding
  • run: add --use-nx as CLI option and add Nx profiler (9da003e) - by @ghiscoding
  • version: add --allow-peer-dependencies-update, closes #333 (#363) (efaf011) - by @ghiscoding
  • version: use manual GitHub web interface when GH_TOKEN undefined (83e9cce) - by @ghiscoding

1.11.3 (2022-09-20)

Bug Fixes

  • cli: add missing Type to fix TSC build error (836d7f0) - by @ghiscoding
  • deps: update dependency git-url-parse to ^13.1.0 (bcce5ae) - by @renovate-bot
  • deps: update dependency git-url-parse to v13 (3bf8155) - by @renovate-bot
  • deps: update dependency uuid to v9 (e97efb6) - by @renovate-bot
  • run: exclude dependencies with --scope when nx.json is not present (3c222ed) - by @ghiscoding

1.11.2 (2022-08-30)

Bug Fixes

  • version: --changelog-include-commits-[x] in cli should be truthy (1ddde05) - by @ghiscoding
  • version: --changelog-header-message should be added to all logs (c27a97d) - by @ghiscoding

1.11.1 (2022-08-24)

Bug Fixes

  • core: fix parsing commit date with different time zone (2dc37ec) - by @ahrbil

1.11.0 (2022-08-19)

Bug Fixes

  • core: use match pattern to get last tag date with independent mode (cebcecf) - by @ghiscoding
  • deps: update all non-major dependencies (e3b379c) - by @renovate-bot
  • deps: update all non-major dependencies (e8dcfec) - by @renovate-bot
  • version: changelog client login not need linkRefs in template (57047ab) - by @ghiscoding
  • version: commit user login, oldest commit might be undefined (4132f43) - by @ghiscoding
  • version: properly update dependencies npm lockfile v2 (0abfa85) - by @ghiscoding
  • version: use %aI to pull oldest commit author date (e033e05) - by @ghiscoding

Features

  • cli: add JSON schema for lerna.json (fd93826) - by @ghiscoding

1.10.0 (2022-08-06)

Bug Fixes

  • core: ensure to touch all nodes in package-graph, fix issue found by Jest team (f4f7bbc) - by @ghiscoding
  • deps: update all non-major dependencies (abe1eff) - by @renovate-bot
  • run: do not toposort when running in parallel with useNx to match legacy (af1192c) - by @ghiscoding
  • version: get oldest commit data for changelog include commit login (5d7464b) - by @ghiscoding

Features

  • version: use conventional commit changelog writer for perf (e9d7c52) - by @ghiscoding

1.9.1 (2022-08-01)

Bug Fixes

  • publish: should only warn when using --no-workspace-strict-match (37dd3e7) - by @ghiscoding

1.9.0 (2022-07-28)

Bug Fixes

  • core: ensure to touch all nodes in package-graph, fix issue found by Jest team (#301) (f4f7bbc) - by @ghiscoding
  • version: inherit stdio for lerna version lifecycle scripts (#276) (9c3625d) - by @ghiscoding
  • version: make sure we always have regex match array (#271) (ba34849) - by @ghiscoding
  • version: rename option to --changelog-include-commits-git-author (b095637) - by @ghiscoding

Features

  • publish: disable legacy verifyAccess behavior by default (#274) (fb1852d) - by @ghiscoding
  • publish: include all deps in package graph by default, allow no-sort (#277) (3229e77) - by @ghiscoding
  • version: option to add commit login username on each changelog entry, closes #248 (#272) (2ca0dca) - by @ghiscoding

1.8.0 (2022-07-21)

Bug Fixes

  • deps: update all non-major dependencies (ed1db35) (by Renovate Bot)
  • deps: update all non-major dependencies (#254) (2d9a0d5) (by WhiteSource Renovate)
  • deps: update dependency @octokit/rest to v19 (#251) (d0018d7) (by WhiteSource Renovate)
  • deps: update dependency git-url-parse to v12 (978bf36) (by Renovate Bot)
  • diff: add diff command missing dependency (#265) (29168f7) (by Ghislain B)
  • run: add double quotes around script target containing colon (18da175) (by ghiscoding)
  • version: Node14, import from "fs" instead of "node:fs", fixes #260 (#261) (5e420fd) (by Ghislain B)
  • version: rollback previous patch on pnpm lockfile update (d9f933c) (by ghiscoding)

Features

  • filter for lerna tags in independent mode (#267) (8c3cdb3) (by Ghislain B)
  • version: add flag to include changelog commit author, close #248 (#253) (7fd8db1) (by Ghislain B)
  • version: provide custom format to include commit author fullname (#269) (1f5a94e) (by Ghislain B)

1.6.0 (2022-06-30)

Bug Fixes

  • deps: update all non-major dependencies (27921f4)
  • run: lerna run parallel should maximize concurrency with useNx (14a113b), closes #3205
  • run: Nx correctly detect if target dependencies default are set (4720351)
  • version: remove workspace: prefix on peerDeps & few refactor (6e4e5b7)
  • version: use --no-frozen-lockfile instead of --fix-lockfile (a6120b9)

Features

  • changed: add Lerna changed as optional command (b08417c)
  • diff: add Lerna diff as optional command (44dabb2)

1.5.1 (2022-06-12)

Bug Fixes

  • version: add better msg for missing npmClient with sync lock (01e26b1)
  • version: remove workspace: prefix on external deps, fixes #200 (8d89256)

1.5.0 (2022-06-08)

Bug Fixes

  • correctly add npm package lock to git add list (281586f)
  • deps: update all non-major dependencies (c87e937)
  • deps: update dependency @npmcli/run-script to v4 (29a09a9)
  • version: improve default git publish message, closes #185 (735fbe6)
  • version: keep semver range operator in workspace: protocol, fixes #198 (1794ccd)

Features

  • lock: feat(lock): add version --sync-workspace-lock flag to update lock file (200e385)

Chore

  • version: chore(build): add Prettier to the project (ee1a964)

1.4.0 (2022-05-30)

Bug Fixes

  • core: replace npm-lifecycle with @npmcli/run-script (6ab0e8d), closes #60 #3134
  • init: add missing packages/workspaces (f78860d)

Features

  • list: add Lerna list as optional command (65f810c)
  • run: add experimental support to run tasks via Nx (743d434), closes #3139

1.3.0 (2022-05-13)

Features

  • init: add Lerna init command to get started (dfc3311)
  • publish: workspace:* (or ~) protocol should strictly match range (acede60)

1.2.0 (2022-05-11)

Bug Fixes

  • run: display pkg name only when not streaming, fixes #149 (bf60bf0)
  • url: deprecation notice of git.io (816b7cb), closes #3116
  • version: include the updated root package-lock.json file in commits (d6dbc9a)

Features

  • core: add version/publish workspace: protocol (ee57dfb)
  • core: Support the workspace: protocol (67d8ba1)
  • run: add LERNA_PACKAGE_NAME env var to run command (ae88a0a), closes #3107

1.1.1 (2022-05-01)

Bug Fixes

  • cli: new info must be a CLI dependency (de0c00c)

1.1.0 (2022-05-01)

Bug Fixes

  • incorrect import npmlog was throwing log fn not found (23860f9)

Features

  • cmd: breaking, rename dry-run option to cmd-dry-run (01e4777)

  • exec: add Lerna exec command (8e87ea1)

  • info: add info command to CLI (6fa1154)

1.0.5 (2022-03-29)

Bug Fixes

  • deps: move ts-node to devDependencies (dabb00f)

  • relax "engines.node" version (ee59fbc)

1.0.4 (2022-03-24)

Bug Fixes

  • version: load & write project root lockfile v2 only once (7ad805a)

1.0.3 (2022-03-19)

Bug Fixes

  • version: project root lockfile v2 should be updated correctly (2689746)

1.0.2 (2022-03-17)

Bug Fixes

  • version: show repo info when Create Release is enabled in dry-run (5b0cf6d)

1.0.1 (2022-03-15)

Bug Fixes

  • cli: add mising import-local dependency (d1942e6)

1.0.0 (2022-03-15)

  • BREAKING CHANGE: use lerna CLI for all commands, fixes #28

0.3.7 (2022-03-09)

Bug Fixes

  • core: better handling of possible missing pkg name (ef9633d)

  • publish: use Lerna code for detectFromGit and detectFromPackage (811111f)

0.3.6 (2022-03-05)

Bug Fixes

  • deps: update few npm dependencies (9175d48)

  • deps: update npm dependencies (32da06c)

0.3.5 (2022-03-05)

Bug Fixes

  • deps: update few npm dependencies (9175d48)

0.3.4 (2022-03-05)

Bug Fixes

  • version: add missing lifecycle code from lerna (a0d9e95)

0.3.3 (2022-02-27)

Bug Fixes

  • publish: should publish from-package without needing --bump (48cffdd)

0.3.2 (2022-02-22)

Bug Fixes

  • core: catch of error should work with exitCode and/or code (461ec29)

  • core: OTP please method had non-strict code (411f308)

  • version: add missing code conventional-preset legacy loading (f0e105d)

0.3.1 (2022-02-12)

Bug Fixes

  • publish: skip publish when using gitDryRun (ea97c92)

  • publish: skip publish when using gitDryRun (9408167)

0.3.0 (2022-02-12)

BREAKING CHANGE

Rename the lib to Lerna-Lite

0.2.3 (2022-02-11)

Bug Fixes

  • run: use optional chaining because of possible null result object (cca5309)

0.2.2 (2022-02-11)

Bug Fixes

  • cli: load dotenv in CLI to fix env vars not found on Windows (5f2ab87)

0.2.1 (2022-02-11)

Bug Fixes

  • cli: yarn throw error w/line ending CRLF, must use LF in bin file (e1a059a)

  • publish: add missing --bump option in publish roller (57d3db7)

0.2.0 (2022-02-11)

Bug Fixes

  • logs: disabling the advanced terminal behavior when TERM is dumb (9994130), closes #2932

  • publish: add version bump in a lockfile v2 format (7907e81), closes #2914

  • publish: yargs was throwing error bcoz of invalid commented code (07bb70f)

  • version: better non-atomic push fallback condition (7afacb1), closes #2696

  • version: fix overall exit code of 128 if git push --atomic fails (175edc5), closes #3005

Features

  • cli: add ws-roller CLI for publish & version commands (6201c1d)

  • core: drastically reduce time taken to check for cycles (ddbc9d5), closes #2874

  • run: add run command to help run workspace script in parallel (a71191b)

  • run: Improve output with --no-bail (3d86e53), closes #2974

  • version: add --signoff git flag (8eea85a), closes #2897

0.1.8 (2022-02-03)

Bug Fixes

  • build: fix Promise return type (31d2469)

  • version: add npm lock file to git changed files for update (1c50e5a)

0.1.7 (2022-02-03)

Bug Fixes

  • version: should update npm root lock file when lockfileVersion>=2 (8bd41fc)

0.1.4 (2022-02-01)

Bug Fixes

  • build: remove outdated crypto and use default NodeJS pkg instead (54a812a)

  • core: add dotenv to fix create-release on windows (0af87c7)

0.1.3 (2022-01-30)

Bug Fixes

  • changelog: add missing options for changelog header msg (506505e)

0.1.2 (2022-01-30)

Bug Fixes

  • commands: rename run to roll version/publish commands (43e18e0)

  • commands: rename run to roll version/publish commands (dbfe136)

  • publish: add missing publishConfig to each package (9924956)

  • publish: get a working publish command (35f44ff)

  • publish: remove bump from config to fix version rolling (73285c9)

0.1.1 (2022-01-30)

Note: Version bump only for package ws-conventional-version-roller

0.1.0 (2022-01-30)

Bug Fixes

  • version: should not throw when changelog.md is missing (eca9816)

Features

  • build: initial commit with publish & version roller (37e32c0)