index_generator 2.1.0 copy "index_generator: ^2.1.0" to clipboard
index_generator: ^2.1.0 copied to clipboard

Automatically generate index / barrel / library files with all the export needed for your library.

2.1.0 #

  • Improved handling of yaml file parsing errors using json_serializable
  • Added the ability to export other libraries, see the field exports
  • Fix #1 : Now LF is always used for the newline character. You can replace the newline character in the yaml using the line_break field

BREAKING CHANGES

  • Now you have to start the index generator by writing only index_generator without:main
  • Removed the ability to create an index file without the library name
  • In the yaml file the export field has changed to folders

2.0.3 #

  • Added an extra line at the end of the index file

2.0.2 #

  • Fixed library name when it is missing in pubspec but index name is present

2.0.1 #

  • Now the path of the export folders is relative to the path of the index

2.0.0 #

  • Now you can define export folders (use export key)

Breaking changes: #

  • Renamed folders key to indexes in yaml file
  • Renamed index_name key to default_name in yaml file
  • Renamed index_name key in indexes to name in yaml file

1.0.1 #

  • Add warning line in index

1.0.0 #

  • Add Null Safety

0.0.1 #

  • Initial version
18
likes
110
pub points
85%
popularity

Publisher

unverified uploader

Automatically generate index / barrel / library files with all the export needed for your library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

args, checked_yaml, console, json_annotation, path, pubspec, yaml

More

Packages that depend on index_generator