craft_runner 0.4.0
craft_runner: ^0.4.0 copied to clipboard
Code generation runner for riverpod_craft. Watch mode, single file generation, and cleanup.
0.4.0 #
- Project-wide plugins: new
ProjectWideCraftPlugininterface support for generators that aggregate across the whole project and emit standalone (non-part) output files (e.g. retrofit_craft'sAppApiaggregator). runWithPluginsgains an optionalprojectWidePlugins:parameter.- Watch mode triggers a debounced project-wide pass on any
lib/**/*.dartchange (skipping*.craft.dart,*.g.dart,*.freezed.dart). riverpod_craft_plugindependency switched from the stale hosted pin (^0.1.0) to a path dep on the local 0.4.0 package — publish bundles must republishriverpod_craft_pluginfirst.
0.3.0 #
- Generate
ProviderValue<T>facade for synchronous providers - Version bump to align with riverpod_craft 0.3.0
0.2.2 #
- Version bump to align with riverpod_craft 0.2.2
0.2.1 #
- Remove
updateState()from generated notifier classes setStatein facades now uses.state = valuedirectly- Generated files include
// GENERATED CODE - DO NOT MODIFY BY HANDheader - Added
ignore_for_filedirectives for protected member warnings
0.2.0 #
- Generate
updateState()inside@settablenotifier classes instead of base class - Removed logging plugin from notes example
0.1.1 #
- Fix: add explicit type parameters to
NotifierProviderdeclarations - Plugin system: extensible code generation via
RiverpodCraftPlugin - Built-in
ProviderPluginandCommandPlugincan be extended and replaced runWithPlugins()API for custom code generation pipelines
0.1.0 #
- Initial alpha release
- Code generation from
@provider,@command, and@settableannotations - Watch mode for real-time code generation
- Single file generation
- Clean command to remove generated files
- Init command for project setup
- Support for family providers and complex parameter types