commit | 76934c2ca25922ec72909bbff7dfbddaf0d02bd9 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Tue Aug 06 09:04:47 2024 -0700 |
committer | GitHub <noreply@github.com> | Tue Aug 06 09:04:47 2024 -0700 |
tree | 23cb5ef81b74b6779027e435e92ae770a2790b8f | |
parent | f0b72567d85b827aa0f53991fe8a4a8bf36eb479 [diff] |
Latest lints, require Dart 3.4 (#157)
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.