An open API service indexing awesome lists of open source software.

https://github.com/corentinth/catalogger

Find PNPM catalog candidates in your monorepos
https://github.com/corentinth/catalogger

catalog cli dependencies devdependencies monorepo pnpm pnpm-workspace workspace

Last synced: 18 days ago
JSON representation

Find PNPM catalog candidates in your monorepos

Awesome Lists containing this project

README

        

# 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](https://pnpm.io/catalogs). Note that catalogs requires pnpm v9.5.0 or higher.

## Installation

```bash
# 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:

```bash
catalogger
```

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

```bash
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](./LICENSE) file for more information.

## Credits and Acknowledgements

This project is crafted with ❤️ by [Corentin Thomasset](https://corentin.tech).