A private pub server for Dart
Use private packages.
Allows you to use the pub package system in your company without exposing code to the public, and use your private packages just as easily as public ones.
Reduces latency to users. Packages are cached from pub.dartlang.org and are available as long as the server is running ensuring reliability for CI systems.
Speakeasy was inspired by Sinopia a private npm server and contains a similar configuration process.
Add this to your package's pubspec.yaml file:
dependencies: speakeasy: "^0.0.2"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:speakeasy/configuration.dart'; import 'package:speakeasy/repository.dart';
|0.0.2||Feb 28, 2017|
|0.0.1||Feb 28, 2017|
We analyzed this package, and provided a score, details, and suggestions below.
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, other
Platform components identified in package:
Strong-mode analysis of
lib/src/repository/file_repository.dartfailed with the following error:
line: 29 col: 16
The function expression type '(Directory) → PackageVersion' isn't of type '(FileSystemEntity) → PackageVersion'. This means its parameter or return type does not match what is expected. Consider changing parameter type(s) or the returned type(s).
Strong-mode analysis of
lib/src/repository/copy_and_write_repository.dartfailed with the following error:
line: 86 col: 3
Invalid override. The type of 'CopyAndWriteRepository.upload' ('(Stream<List<int>>) → Future<dynamic>') isn't a subtype of 'PackageRepository.upload' ('(Stream<List<int>>) → Future<PackageVersion>').
Changelog entries help clients to follow the progress in your code.
Fix issues reported by
dartanalyzerreported 2 error(s) and 0 warning(s).
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
|Dart SDK||>=1.12.0 <2.0.0|