spider

A small dart library to generate Assets dart code from assets folder.

APACHE-2.0 License

Stars
190
Committers
9
spider - Release v4.2.2 Latest Release

Published by BirjuVachhani over 1 year ago

  • Upgrade dependencies.
  • Use isTrue matcher instead of true in tests. Contributed by @dkrutskikh
spider - Release v4.2.1

Published by BirjuVachhani over 1 year ago

  • Upgrade dependencies.
  • Specify platforms in pubspec.yaml file.
spider - Release v4.2.0

Published by BirjuVachhani almost 2 years ago

  • Add support for font family code-gen. Checkout docs for more info.
  • Fix typo in KEY_IGNORED_RULES.
  • Implement fonts code generation based on fonts declaration in pubspec.yaml file.
  • Fix duplicated success logs.
  • Upgrade dependencies.
  • Add documentation links in default config templates.
spider - Release v4.1.0

Published by BirjuVachhani almost 2 years ago

  • Adds support for code generation on bundled package assets. Contributed by @Aqluse
  • Upgraded dependencies.
spider - Release v4.0.0

Published by BirjuVachhani about 2 years ago

  • Structural rewrite of the internal workings of the library that utilizes CommandRunner, Command and FlagCommand
    classes for better overall structure.
  • Renamed info command to about.
  • Refactored check-updates flag to check-for-updates.
  • Added --license flag command.
  • Added --docs flag command.
  • create command no longer checks for current directory to be a Flutter project.
  • Fixes existing config detection for --add-in-pubspec flag in create command.
  • Fixes stacktrace logging on error or exception.
  • Color-codes success and error messages for better visual differentiation.
spider - Release v3.2.0

Published by BirjuVachhani over 2 years ago

  • Fixes pubspec config detection.
  • Fixes watch flag abbr parsing.
  • Introduces ignored_rules feature which allows to specify ignore rules for generated files.
  • Introduces sub_groups feature.
spider - Release v3.1.0

Published by BirjuVachhani over 2 years ago

  • Use flutter_test imports when generating tests for flutter project.
spider - Release v3.0.0

Published by BirjuVachhani over 2 years ago

  • Fix flag abbr not working for some commands.
  • Add support for creating configs in pubspec.yaml file.
  • Add support for creating config file at custom directory path.
  • Add support for specifying custom config file path when running build command.
  • Build command now displays which config file is being used if there's more than one config file.
  • Document new capabilities and commands.
spider - Release v2.2.2

Published by BirjuVachhani over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/BirjuVachhani/spider/compare/2.2.1...2.2.2

spider - Release v2.2.1

Published by BirjuVachhani over 2 years ago

  • PR[#41]: values is not formatted in camel case if asset is written in snake case
spider - Release v2.2.0

Published by BirjuVachhani over 2 years ago

  • [#38]: Add option to generate values list just like enums.
  • Dependency upgrades.
spider - Release v2.1.0

Published by BirjuVachhani almost 3 years ago

  • Uses official lints package for static analysis.
  • Added more code comments.
  • Fix lint warnings.
  • Fix #35 Constants names have no prefixes.
  • Add option to use underscores in reference names.
spider - Release v2.0.0

Published by BirjuVachhani over 3 years ago

  • Migrated to null safey.
spider - Release v1.1.1

Published by BirjuVachhani almost 4 years ago

  • Fixed part of directive for generated classes.
spider - Release v1.1.0

Published by BirjuVachhani almost 4 years ago

  • Added private constructor for generated classes to restrict instantiation
  • Format fixes
  • Upgraded dependencies
spider - Release v1.0.1

Published by BirjuVachhani about 4 years ago

1.0.1

  • fix dart format warnings
  • update dependencies
spider - Release v1.0.0

Published by BirjuVachhani over 4 years ago

1.0.0

  • Added support for exporting generated dart code which is enabled by
    default This can be helpful in cases where you want to use a single file
    to import all of the generated classes. (Accessible individual classes
    when importing)

  • Added support to use opt in for usage of part of feature of dart. It
    allows to avoid false imports when using export option. It makes all the
    generated dart code files to behave like one file and one import.

  • Added support to remove Generated by spider... comment line from all
    the generated dart code. Allows to minimize vcs noise.

  • export_file can be used to provide name of the export file.

Breaking Changes

  • Instead of providing package to every group, now you have to define
    global package name as it makes more sense. Providing package name for
    individual groups won't work.
spider - Release v0.5.0

Published by BirjuVachhani over 4 years ago

  • Added support for check updates
  • Updated help manuals
  • Updated example configs files
  • Fixed verbose logs
spider - Release v0.4.1

Published by BirjuVachhani over 4 years ago

  • Fix build command failing when there's no test generation specified
  • Fix embedded version
  • Added test to make sure that release version and embedded version matches
spider - Release v0.4.0

Published by BirjuVachhani over 4 years ago

  • Spider now allows specifying multiple paths to generate dart
    references under a single class.
  • Spider now generates test cases for dart references to make sure that
    the file is present in the project.