pub private

To publish a package to OnePub it must be marked as a private package by adding a publish_to key/value pair to your pubspec.yaml.
Whilst you can do that manually the onepub pub private command automates this for you.
To mark your package as private run:
cd mypackage
onepub pub private