pubspec_yaml 3.1.0 copy "pubspec_yaml: ^3.1.0" to clipboard
pubspec_yaml: ^3.1.0 copied to clipboard

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

[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>).

18
likes
120
points
4.61k
downloads

Publisher

verified publisherdart-borg.dev

Weekly Downloads

Dart library to access and manipulate content of pubpec.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