Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature idea: list dependencies from certain maintainers #7

Open
wojtekmaj opened this issue Jun 23, 2024 · 5 comments
Open

Feature idea: list dependencies from certain maintainers #7

wojtekmaj opened this issue Jun 23, 2024 · 5 comments

Comments

@wojtekmaj
Copy link

Let's say, hypothetically, we got concerning results from running npx dependency-maintainers, we found one account that is a maintainer in a suspiciously large number of dependencies we use, and we would like to dig in deeper.

It would be cool if we could just:

npx dependency-maintainers --list-deps-by=ljharb

(contributor name chosen at random)

and get the list of dependencies we use and they maintain.

@NullVoxPopuli
Copy link
Owner

I love this idea!

Personally, I'd use this feature to find which deps are releasable by people I know have gone MIA in particular sub communities and maybe adjust who has release access

@benmccann
Copy link

Here's an implementation being shared under MIT license. It has my name hardcoded, so you'll have to update it to take an input. It also has an -r option to run recursively in a monorepo

maintainer.js.txt

@NullVoxPopuli
Copy link
Owner

NullVoxPopuli commented Jun 26, 2024

shared under MIT license

only reason this tool is GPL-3.0 is because I don't think it should be a part of anyone's closed-source product (of course, I would never know -- honor system, basically))

It also has an -r

I commented on #9, and I would be happy to take a PR that adds this feature using @manypkg/get-packages 🎉

@benmccann
Copy link

It's not my script, so we'd have to ask @bluwy if he's okay licensing it here under GPL 3

@bluwy
Copy link

bluwy commented Jun 27, 2024

I don't mind if you'd use all or some of the code, per the MIT license it should be acceptable to be re-licensed under GPL 3. Would appreciate a link to the repo or source code if so, but not strictly something I'd enforce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants