Skip to content

Cli tooling and support for OnePub the private package repository for Dart and Flutter

License

Notifications You must be signed in to change notification settings

onepub-dev/onepub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

56c5e4d · Aug 7, 2024
Aug 20, 2022
Aug 24, 2022
Mar 1, 2024
Mar 1, 2024
Jul 12, 2022
Aug 7, 2024
Aug 7, 2024
Mar 1, 2024
Nov 21, 2022
Sep 17, 2022
Aug 7, 2024
Jul 12, 2022
Aug 23, 2022
Feb 14, 2022
May 16, 2023
Oct 17, 2022
Oct 17, 2022
Jul 19, 2022
Sep 17, 2022
Aug 7, 2024
Aug 7, 2024

Repository files navigation

Better Uptime Badge

OnePub

The offical support site for OnePub.

OnePub is a hosted (SAAS) private package repository for Dart and Flutter.

OnePub is to Dart what NPM is to JavaScript.

To take it for a spin by registering at: https://onepub.dev

Read our blogs on getting started publishing to OnePub.

Documentation

Full documentation is available at:

https://docs.onepub.dev

Installing

To install onepub run:

dart pub global activate onepub
onepub login

The onepub login command will register you with OnePub.

Support

Read our FAQ for a collection of howtos.

Raise a github issue for bugs or features.

For general dicsussions and 'how to' information join our github discussion groups.

opub

With Google deprecating the pub command in favour of using flutter pub or dart pub we have created a replacement opub command for the lazy ones amoungst us (like me).

You will also need to use opub to publish to OnePub if you are using a version of Dart pre 2.12.

Our opub command is a very thin wrapper for flutter pub and dart pub and simply passes any command line arguments through to flutter pub or dart pub.

The opub command detects if your project is a flutter (checks your pubspec.yaml) if found runs:

flutter pub <args>

If you have a non-flutter project then we run

dart pub <args>

So to use opub command:

dart pub global activate onepub
opub get
or
opub upgrade --major-version
or
any other pub subcommands and arguments

Enjoy.

Security Policy

Details on our Security Policy