Skip to content

Specify dependency type for depcheck profile capabilities? #1590

Answered by tido64
simarmol asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Yes, dependencies are either declared under dependencies for apps, or peerDependencies + devDependencies for libraries.
  2. You typically don't. You want dep-check to manage that for you so that you don't accidentally end up with duplicates. If you need to do this for some reason, the solution would be to not have dep-check manage it.
  3. Not quite. The devOnly flag controls whether a capability is considered depending on whether you are the author or the consumer of the package. If you're the author, dep-check resolves it to real packages and makes sure the resolved packages are correctly declared. If you're a consumer, the capability is ignored.
  4. If you have any suggestions on how to improve th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by afoxman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1419 on May 31, 2022 20:23.