Bumped version constraints, so the package supports Dart 3
Replaced lint with the official flutter_lints package and fixed a config file for lints
Removed dependency on html
generate_fonts.dart
Fonts are now generated based on the info.json file
In the future, it would be probably preferable to replace it with a bash script because installing Dart to do such a simple thing is a waste of resources
Summary of changes
pubspec.yaml
lint
with the officialflutter_lints
package and fixed a config file for lintshtml
generate_fonts.dart
info.json
filelucide_icons.dart
generate.yaml
workflow (https://github.com/n-bernat/lucide-flutter/commit/36fad92853b182884f95fdfc8e7deed45f2cfef3)generate.yaml
lucide-icons/lucide
info.json
and copies those files toassets
publish.yaml
--force
flag and separate steps to install Dart and Flutter due to some tooling issues https://github.com/dart-lang/setup-dart/issues/68Pub.dev configuration
In https://pub.dev/packages/lucide_icons/admin someone with admin rights has to enable publishing from GitHub Actions
Example run: https://github.com/n-bernat/lucide-flutter/actions/runs/8088943739
Example changes: https://github.com/n-bernat/lucide-flutter/commit/935fbf8a4599e84fdfe8f4f69e2012a4e1a60b24