3.11.0 (2025-01-02)
📢 Lerna-Lite now provides partial support for the new pnpm catalog:
protocol
Starting the New Year with a new feature :) Thanks to @wassim-ben-amor and @Mister-Hope for providing the code and a pull request for this new feature. However please note that it comes with certain limitations (as described in the Publish#catalog docs)
The
catalog:
protocol (pnpm catalog) can be recognized by Lerna-Lite. When publishing, they will be kept as is. If you need to bump the version of a package in a catalog, you will need to editpnpm-workspace.yaml
manually. So we suggest using workspace: protocol instead for workspace dependencies.
Also note that there are currently no unit tests for this new feature yet, we should eventually add unit tests but it was skipped for now to make the new feature available as quickly as possible. Getting a PR by anyone to add unit tests would be super welcome. Thanks again to @wassim-ben-amor and @Mister-Hope for this external contributions 🚀
Note
It seems that I misunderstood what the external PR for catalog:
really does, it only makes lerna version
happier (not crash as opposed to before) and users would have to execute pnpm publish
instead of lerna publish
for the catalog:
to really be replaced. It would probably require more work in Lerna-Lite to fully support catalog:
for both lerna commands (version/publish)... more to come I guess.
Features
- core: support
catalog:
protocol (#965) (4d739e2) - by @Mister-Hope