Skip to content

Find PNPM catalog candidates in your monorepos

License

Notifications You must be signed in to change notification settings

CorentinTh/catalogger

Repository files navigation

Catalogger - Find PNPM catalog candidates

A CLI to easily find dependencies and devDependencies that are common in your pnpm workspace monorepo and could be added to your pnpm workspace catalog. Note that catalogs requires pnpm v9.5.0 or higher.

Installation

# Using npm
npm install -g @corentinth/catalogger

# Using yarn
yarn global add @corentinth/catalogger

# Using pnpm
pnpm add -g @corentinth/catalogger

Usage

Then just run the following command in your pnpm workspace monorepo:

catalogger

More options are available, you can see them by running:

catalogger --help

Under the hood

Its basically a groupBy around the pnpm -r list --json command, with some filtering and sorting.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Credits and Acknowledgements

This project is crafted with ❤️ by Corentin Thomasset.