-
Notifications
You must be signed in to change notification settings - Fork 160
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
Need a way to flag a package as most likely a dev dependency? #6400
Comments
This is a duplicate of #3403 I'm closing it here. I'll also add a pub-dev override for |
I don't really think this is a duplicate of #3403. Giving packages a way to indicate that they are dev-tools could be relevant in more ways. Pana could adapt its analysis (eg. a dev-tool can be used with flutter even though it uses mirrors). Perhaps Perhaps you could get a lint if you depend on a tool in direct dependencies (unless you yourself are a tool). |
See google/json_serializable.dart#1280 (comment)
json_serializable almost always should be included in
dev_dependencies
but see https://pub.dev/packages/json_serializable/installWondering if it makes sense to let package authors flag their packages as (mostly) meant for
dev_deps
?The text was updated successfully, but these errors were encountered: