Change to only look for package_config.json if asked for .packages by name. (#78)

Some clean-up.
8 files changed
tree: 49ff8ea18ad039e34b28d6035ff6f5ca7b4c4620
  1. lib/
  2. test/
  3. .gitignore
  4. .travis.yml
  5. analysis_options.yaml
  6. AUTHORS
  7. CHANGELOG.md
  8. CONTRIBUTING.md
  9. LICENSE
  10. pubspec.yaml
  11. README.md
README.md

Build Status pub package

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.