commit | 87a8b5184020ebcc13b34ee95dde58f851b68ca3 | [log] [tgz] |
---|---|---|
author | Lasse R.H. Nielsen <lrn@google.com> | Fri Feb 21 09:36:22 2020 +0100 |
committer | GitHub <noreply@github.com> | Fri Feb 21 09:36:21 2020 +0100 |
tree | cb1bd160f55d84d2c23bebfd90767c4a6b56c0b1 | |
parent | 2eb10cb0891ef6e9f1f4c43a789fccd5700c1fdb [diff] |
Support the new package_config.json file format. Add support for new format. Retains, but deprecates, the existing functionality. A later 2.0 release will remove support for the old file format.
Support for working with Package Configuration files as described in the Package Configuration v2 design document.
The primary libraries are
package_config.dart
: Defines the PackageConfig
class and other types needed to use package configurations.
package_config_discovery.dart
: Provides functions for reading configurations from files, and writing them back out.
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.
Please file feature requests and bugs at the issue tracker.