Clone this repo:
  1. 854dc19 Fix typos. (#147) by Lasse R.H. Nielsen · 3 days ago master
  2. 486cc4b Bump actions/checkout from 4.1.1 to 4.1.2 (#150) by dependabot[bot] · 13 days ago
  3. 3d90e69 Fix typo (#149) by Michael Thomsen · 6 weeks ago
  4. 4a7042b Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (#146) by dependabot[bot] · 2 months ago
  5. 5a0bc19 add test validating current behavior of packageOf, run CI on windows (#137) by Jacob MacDonald · 3 months 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.