repub 1.0.0-beta

  • README.md
  • Installing
  • Versions
  • 0

re:pub

A souped-up Pub client with:

  • [x] Support for auth outside of Google OAuth2
  • [x] Custom hosted URL's without an environment variable
  • [x] Push state in repub serve

Installation

$ pub global activate repub

Usage

The way to use re:pub is to create a repubspec.yaml file in your project root.

Custom Hosted URL

Create a repubspec.yaml:

hosted_url: https://pub.example.com

External Auth

Create a repubspec.yaml:

auth:
  type: basic
  username: <username>
  password: <password>

Using Push State

Create a repubspec.yaml:

push_state:
  base: index.html # Relative to web/ dir

Then, you can run pub serve like normal, and have push state routing work, out-of-the-box.

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate repub

2. Use it

The package has the following executables:


$ repub
Version Uploaded Documentation Archive
1.0.0-beta Mar 20, 2017 Go to the documentation of repub 1.0.0-beta Download repub 1.0.0-beta archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
--
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
--
Overall:
Weighted score of the above. [more]
0
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.

Maintenance issues and suggestions

Running dartdoc failed. (-10 points)

Make sure dartdoc runs without any issues.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.11.0 <2.0.0