relax_cli 0.1.6
relax_cli: ^0.1.6 copied to clipboard
CLI to scaffold Flutter projects with clean architecture, state management (Bloc, Provider, Riverpod, GetX), and RelaxORM integration.
0.1.6 #
- Added
relax pub get— runsflutter pub getin the current project. - Added
relax pub add <package>— runsflutter pub add; accepts-V <constraint>to pin a version. - Added
relax build apk— formats code then builds an optimized release APK with obfuscation, split-debug-info, tree-shaking, and split-per-ABI. - Added
relax build aab— formats code then builds an optimized release AAB (Android App Bundle) for Google Play. - Added
relax clean— runsflutter cleanin the current project. - Added FVM auto-detection — all Flutter commands use
fvm flutterautomatically when.fvm/fvm_config.jsonis present. - Added
--flavor(-f) and--target(-t) options forbuild apkandbuild aab; defaults toproductionflavor andlib/main_<flavor>.dartentry point.
0.1.5 #
- Added shared encrypted local storage scaffolding via
relax_storage, including a generatedCachedStorageservice in the app core. - Added
ENCRYPTION_KEYto generated flavor environment files and wired it intoRelaxStorageinitialization. - Updated generated project dependencies to
relax_orm ^0.1.4,relax_orm_generator ^0.1.6, andrelax_storage ^1.0.1. - Fixed generated DI and bootstrap templates so Bloc, Provider, Riverpod, and GetX projects initialize storage consistently and import the cache helper from the correct package path.
0.1.4 #
- Added shared encrypted local storage scaffolding via
relax_storage, including a generatedCachedStorageservice in the app core. - Added
ENCRYPTION_KEYto generated flavor environment files and wired it intoRelaxStorageinitialization. - Updated generated project dependencies to
relax_orm ^0.1.3,relax_orm_generator ^0.1.5, andrelax_storage ^1.0.1. - Fixed generated DI and bootstrap templates so Bloc, Provider, Riverpod, and GetX projects initialize storage consistently and import the cache helper from the correct package path.
0.1.3 #
- Fixed generated Flutter app templates to include
flutter_localizationsand correct relativecoreimports for Bloc, GetX, Provider, and Riverpod starter projects. - Fixed generated widget test scaffolding by wrapping
const App()insideTranslationProvidercorrectly. - Improved
relax createoutput by addingflutter pub getto the next steps instructions. - Removed an incomplete stray generator file from the repository.
0.1.2 #
- Fixed generated
build.gradle.ktsfailing to compile with Kotlin DSL errors.- Replaced Groovy syntax (
def,new Properties(), single-quoted strings,withReader,toInteger()) with valid Kotlin DSL (val,Properties(), double-quoted strings,.reader().use {},.toInt()). - Fixed deprecated
kotlinOptions→kotlin { compilerOptions {} }block. - Fixed
Unresolved reference: itin signing config by using explicit named lambda parameter. - Added required
import java.util.Propertiesandimport java.io.FileInputStream.
- Replaced Groovy syntax (
0.1.1 #
- Added built-in internationalization (i18n) support via slang.
- Projects are scaffolded with
fr(base) andenlocale JSON files. build.yamlis generated with slang configuration.- Translations are auto-generated after
relax createviadart run slang+build_runner.
- Projects are scaffolded with
- Automatic
flutter pub getand code generation run at the end ofrelax create. - Patched iOS
Info.plistwith supported locales during project creation. - Improved generated
README.mdwith flavor run commands and translation regeneration instructions. - Removed sample
productandusermodules from the example project. - Removed redundant
flutter pub getfrom post-create instructions (now runs automatically).
0.1.0 #
- Initial release.
relax create— scaffold Flutter projects with Bloc, Provider, Riverpod, or GetX.relax generate feature— add feature modules with auto-detected architecture.relax generate module— add domain/data modules with RelaxORM integration.relax generate model— add standalone ORM model classes with@RelaxTable.relax doctor— check Dart, Flutter, and project environment.- Automatic
build_runnerexecution after module and model generation. - Material 3 theming with customizable color palette and font.
- Android flavor configuration (development, staging, production).
- Environment package generation via
env_builder.