Skip to content

Lint / repair use of dependencies that are available as capabilities #1970

Answered by tido64
jonathanj asked this question in General
Discussion options

You must be logged in to vote

Hi @jonathanj, I'm glad you find it useful ❤️

This sounds similar to #933. Let me know if I've misunderstood your request.

I think we want this to show up in "vigilant" mode. If you have a configured package, running in "vigilant" mode will also check unmanaged dependencies, e.g.:

error Found 1 violation(s) in 'package.json':
	react-native-webview "^11.0.0" -> "^11.22.6" (devDependencies)

But we probably want to change the messaging to something like:

error Found 1 violation(s) in 'package.json':
	react-native-webview "^11.0.0" -> "^11.22.6" (unmanaged capability: 'webview')

That would at least give you the capability name to add. I think we can fix this automatically in "vigilant" mode…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jonathanj
Comment options

@tido64
Comment options

@jonathanj
Comment options

Answer selected by jonathanj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants