build_pubspec 0.2.0+1 copy "build_pubspec: ^0.2.0+1" to clipboard
build_pubspec: ^0.2.0+1 copied to clipboard

Extract pubspec details (such as package version, author and description) into Dart code.

0.2.0 #

Improved docs and examples.

0.1.2 #

  • Add option to override destination file.
  • Support custom field names in destination Dart code for all supported fields

0.1.1 #

Add new supported fields: authors, description, documentation, homepage, issueTracker, name, repository.

In case the field is not present in the pubspec, the builder just skips it.

The code is still quite messy and the documentation is lacking.

0.1.0 #

Create new package, build_pubspec based on build_version package.

  • Rename package
  • Improve documentation
  • Add example project

This package is based on kevmoo/build_version. Here's the original change log.

## 2.0.1

* Support the latest `package:build_config`.

## Merged from `lexaknyazev/build_version`

[Got changes from `lexaknyazev/build_version` fork](https://github.com/lexaknyazev/build_version/tree/custom-name-source-gen)

* Users can now customize the version constant name and the generated 
  version file could be a part of an existing package library. 

## 2.0.0

* The builder now runs when `build_version` is a dependency. `build.yaml`
  changes are no longer required.

## 1.0.1

* Support `package:build_runner` `v1.0.0`.

## 1.0.0

* Initial version, created by Stagehand
5
likes
40
pub points
0%
popularity

Publisher

verified publisherdartside.dev

Extract pubspec details (such as package version, author and description) into Dart code.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

build, build_config, meta, pubspec_parse, source_gen

More

Packages that depend on build_pubspec