Skip to content
pubscout

onepub

7.2.0, released 5 days ago by onepub.dev

Command line tools for the OnePub private Dart and Flutter package repository.

$ flutter pub add onepub
Source repository

What it does

The onepub CLI allows developers to authenticate, manage private package repositories, mark packages as private, publish them, and add private dependencies to Dart and Flutter projects. It supports trusted publishing workflows with OIDC for CI/CD environments.

AI-written summary of version 7.1.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You host private Dart or Flutter packages on OnePub.
  • You need to authenticate with OnePub from your local machine or CI/CD pipeline.

Skip it when

  • You only use public packages from pub.dev.
  • You use a different private package repository host.

Strengths

  • Seamless integration with standard Dart and Flutter publishing tooling.
  • Supports trusted publishing using OIDC in CI/CD pipelines like GitHub Actions and Azure Pipelines.

Weaknesses

  • Tied specifically to the OnePub private repository service.
  • Unknown license terms.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
17

Install globally via 'dart pub global activate onepub' and run 'onepub login' to authenticate.

dart pub global activate onepub
onepub login
onepub pub private
dart pub publish

Alternatives

Packages that do the same job and could replace onepub.

Works with

Packages commonly used together with onepub: ones it builds on, ones built on it, and its own family.