index_generator 2.1.0
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 tofolders
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 toindexes
in yaml file - Renamed
index_name
key todefault_name
in yaml file - Renamed
index_name
key inindexes
toname
in yaml file
1.0.1 #
- Add warning line in index
1.0.0 #
- Add Null Safety
0.0.1 #
- Initial version