Clone this repo:
  1. cff98c9 Adds `minVersion` to `findPackageConfig{,Uri}` methods. (#125) by Lasse R.H. Nielsen · 3 days ago master
  2. 33d656b Merge pull request #124 from dart-lang/prep_2.0.3 by Devon Carew · 6 days ago
  3. 059152f revert version change by Devon Carew · 6 days ago prep_2.0.3
  4. 6c0f592 prep for publishing 2.0.3 by Devon Carew · 8 days ago
  5. bfd68d4 Update pubspec.yaml (#123) by Devon Carew · 3 weeks ago

Build Status pub package package publisher

Support for working with Package Configuration files as described in the Package Configuration v2 design document.

A Dart package configuration file is used to resolve Dart package names (e.g. foobar) to Dart files containing the source code for that package (e.g. file:///Users/myuser/.pub-cache/hosted/ The standard package configuration file is .dart_tool/package_config.json, and is written by the Dart tool when the command dart pub get is run.

The primary libraries of this package are

  • package_config.dart: Defines the PackageConfig class and other types needed to use package configurations, and provides functions to find, read and write package configuration files.

  • package_config_types.dart: Just the PackageConfig class and other types needed to use package configurations. This library does not depend on dart:io.

The package includes deprecated backwards compatible functionality to work with the .packages file. This functionality will not be maintained, and will be removed in a future version of this package.