Document available depTypes #15176
SebastianGoeb
started this conversation in
Suggest an Idea
Replies: 1 comment 3 replies
-
I thought we had an issue open for this, but I'm not able to find it. I think it's a good idea, but with a couple of challenges:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Different managers support different depTypes in packageRules, but it seems like the available strings aren't documented anywhere.
The NPM manager docs do mention depTypes, but the maven docs, for example, don't. I tried looking in the source code, and after some searching I stumbled upon npm/extract/index.ts and maven/extract.ts. So it seems the implementation isn't super consistent wrt. file structure, and whether or not a module even declares the complete list of depTypes anywhere.
Is it possible to maybe make this more consistent and document the available options? At the moment I find it hard to use the packageRules/matchDepTypes feature.
Beta Was this translation helpful? Give feedback.
All reactions