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
- Host: GitHub
- URL: https://github.com/corentinth/catalogger
- Owner: CorentinTh
- License: mit
- Created: 2024-10-01T23:00:10.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-01T23:42:24.000Z (8 months ago)
- Last Synced: 2024-11-07T10:55:03.493Z (7 months ago)
- Topics: catalog, cli, dependencies, devdependencies, monorepo, pnpm, pnpm-workspace, workspace
- Language: TypeScript
- Homepage:
- Size: 81.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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).