When I have a package that I absolutely won't publish to pub.dartlang.org, how can I prevent someone accidentally publishing it?
add
publish_to: none
to your pubspec.yaml
.
This setting can be used to specify a custom pub package server to publish to and none
prevents publishing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With