pubspec_yaml_2 3.2.0 copy "pubspec_yaml_2: ^3.2.0" to clipboard
pubspec_yaml_2: ^3.2.0 copied to clipboard

Dart library to access and manipulate content of pubspec.yaml files

[3.2.0] - Support short format for hosted dependencies #

  • Support for new (Dart 2.15 and later) format of defining hosted dependencies. See documentation.

[3.1.0] - Improved YAML formatting #

  • Correct YAML output with nested arrays and structures

[3.0.0] - Null safety #

[2.0.1+1] - Upgrade to Dart 2.10 #

[2.0.1] - 2020-04-23 #

  • Support for functional_data 0.3.0

[2.0.0] - 2020-03-23 #

  • Support for command-line executables provided by the package
  • PubspecYaml instances can be created from YAML using string extension method
  • This version requires Dart 2.7
  • Major refactoring to improve maintainability

[1.0.0+1] - 2019-12-22 #

  • README.md correction

[1.0.0] - 2019-12-22 #

PubspecYaml is a data type representing data stored in pubspec.yaml files.

The following fields are supported:

  • Package name
  • Package version
  • Package description
  • Package author/authors
  • Package homepage, repository, and issue tracker
  • Package documentation
  • Package server specification
  • Dependency specifications: regular, dev, and overrides
  • SDK constraints
  • Command-line executables provided by the package

Other fields are accessible via PubspecYaml.customFields as a JSON structure (Map<String, dynamic>).

0
likes
110
points
77
downloads

Publisher

unverified uploader

Weekly Downloads

Dart library to access and manipulate content of pubspec.yaml files

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, functional_data, json2yaml, meta, plain_optional, sum_types, yaml

More

Packages that depend on pubspec_yaml_2