Clone this repo:
  1. 07097d7 Update README.md before archiving (#162) by Moritz · 6 weeks ago master
  2. 76f2f6c Bump dart-lang/setup-dart in the github-actions group (#161) by dependabot[bot] · 8 weeks ago
  3. 2583a4e Bump actions/checkout from 4.2.0 to 4.2.2 in the github-actions group (#160) by dependabot[bot] · 3 months ago
  4. bafff8e Bump actions/checkout from 4.1.7 to 4.2.0 in the github-actions group (#159) by dependabot[bot] · 4 months ago
  5. 76934c2 Latest lints, require Dart 3.4 (#157) by Kevin Moore · 6 months ago

[!IMPORTANT]
This repo has moved to https://github.com/dart-lang/tools/tree/main/pkgs/package_config

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/pub.dartlang.org/foobar-1.1.0). 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.