repub 1.0.0-beta

  • README.md
  • Installing
  • Versions
  • 78

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.

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  repub: "^1.0.0-beta"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

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

Analysis

This feature is new.
We welcome feedback.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Dec 6, 2017
  • Dart: 2.0.0-dev.8.0
  • pana: 0.7.3+1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
65
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
79
Overall score:
Weighted score of the above. [more]
78

Platforms

Detected platforms: Flutter, server, web

All libraries agree

Suggestions

  • Maintain CHANGELOG.md.

    Changelog entries help clients to follow the progress in your code.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

Dependencies

Package Constraint Resolved Available
Direct dependencies
analyzer >=0.25.0 <0.30.0 0.29.11 0.30.0+4
args ^0.13.5 0.13.7 1.2.0
async ^1.5.0 1.13.3 2.0.1
barback ^0.15.2 0.15.2+13
collection ^1.8.0 1.14.3
compiler_unsupported ^1.22.0 1.22.0 1.23.0-alpha.0
crypto >=1.0.0 <3.0.0 2.0.2+1
glob ^1.0.0 1.1.5
http ^0.11.0 0.11.3+16
http_multi_server >=1.0.0 <3.0.0 2.0.4
http_throttle ^1.0.0 1.0.1
json_rpc_2 ^2.0.0 2.0.4
mime ^0.9.0 0.9.4
oauth2 ^1.0.0 1.1.0
package_config ^1.0.0 1.0.3
package_resolver ^1.0.0 1.0.2
path ^1.2.0 1.5.1
pool ^1.0.0 1.3.3
pub_semver ^1.3.0 1.3.2
shelf >=0.6.0 <0.7.0 0.6.8 0.7.1
shelf_web_socket ^0.2.0 0.2.2
source_span ^1.0.0 1.4.0
stack_trace ^1.0.0 1.9.1
stream_channel ^1.4.0 1.6.2
string_scanner ^1.0.0 1.0.2
watcher ^0.9.2 0.9.7+4
web_socket_channel ^1.0.0 1.0.6
yaml ^2.0.0 2.1.13
Transitive dependencies
charcode 1.1.1
cli_util 0.0.1+2 0.1.2+1
convert 2.0.1
csslib 0.14.1
dart2js_info 0.2.7+2 0.5.5+1
html 0.13.2
http_parser 3.1.1
isolate 1.1.0
logging 0.11.3+1
matcher 0.12.1+4
meta 1.1.2
plugin 0.2.0+2
quiver 0.22.0 0.26.2
typed_data 1.1.5
utf 0.9.0+3
when 0.2.0
which 0.1.3
Dev dependencies
scheduled_test ^0.12.0
test ^0.12.3+3