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.

Libraries

package_config.discovery
package_config.discovery_analysis
Analyse a directory structure and find packages resolvers for each sub-directory. [...]
package_config.package_config
A package configuration is a way to assign file paths to package URIs, and vice-versa,
package_config.package_config_discovery
A package configuration is a way to assign file paths to package URIs, and vice-versa,
package_config.packages
package_config.packages_file