Package Exports
- dep-finder
- dep-finder/cli
- dep-finder/package.json
Readme
dep-finder
A CLI tool for discovering dependency usage across multiple repositories. Quickly find all package.json and pnpm-workspace.yaml files that reference specific dependencies, making it easy to manage and upgrade packages across your entire project ecosystem.
npx dep-finder --cwd <path> --dep <package> --editor [name]Usage
Why ?
When managing multiple repositories under a single directory, synchronizing dependency updates (such as upgrades) becomes a repetitive task. You need an efficient way to scan and locate all package.json and pnpm-workspace.yaml files that use a specific dependency. dep-finder solves this problem by automatically discovering all occurrences of your target dependencies, and optionally opening them in your editor for batch modifications.
License
MIT License © jinghaihan