mcf_cli 1.0.13
mcf_cli: ^1.0.13 copied to clipboard
The official CLI for Mission-Critical Flutter. Generates forensic-grade architecture, enforces strict compliance, and audits existing projects.
1.0.13 #
- Fix: Moved
widget_test.dartto the roottest/directory to correctly overwrite the default Flutter test file. - Fix: Resolved file collision where
flutter testwould fail due to duplicate widget tests (one checkingMyApp, one checkingMissionCriticalApp). - Fix: All generated tests now pass strict linting and execution immediately after creation.
1.0.12 #
- Fix: Updated
analysis_options.yamlto excludetool/from linting and disableddirectives_orderingto support dynamic template names. - Fix: Resolved all strict linter warnings in generated code (imports, line lengths, doc comments, trailing commas).
- Fix: Converted Golden Tests to Smoke Tests to ensure cross-platform compatibility (Windows/Mac/Linux) out of the box.
- Fix: Updated
user_cubit_test.dartwith valid Mock Data to prevent compilation errors in new projects. - Fix: Corrected logic in
profile_screen.dartto match the Cubit API (loadUservsloadProfile).
1.0.11 #
- Fix: Solved compilation errors in
profile_screen.dart(corrected property accessdatavsuserand class namingUserFailurevsUserError). - Fix: Implemented missing
saveUsermethod inuser_repository_impl.dartto satisfy the Interface contract. - Fix: Updated
widget_test.dartto use the correctMissionCriticalAppclass and inject dependencies.
1.0.10 #
- Fix: Resolved
part ofimport errors in generated tests (profile_screen_test.dartnow importsuser_cubit.dart). - Fix: Corrected mismatched state class naming in tests (
UserError→UserFailure).
1.0.9 #
- Fix: Resolved
part ofimport errors in generated tests (profile_screen_test.dart). - Fix: Corrected mismatched state names in tests (
UserError→UserFailure). - Fix: Gracefully handle audit failures in CLI without unhandled exceptions.
1.0.8 #
- Fix: Hardcoded file naming in
mcf_newtemplate to prevent_cubit.dartgeneration errors. - Fix: Resolved strict linter errors in generated Data Layer files (
user_model.dart,user_repository_impl.dart). - Fix: Added global error handling to CLI to prevent crashes during failed audits.
- Improvement:
mcf newnow correctly wires upmain.dartwith Dependency Injection.
1.0.7 #
- Update: RREADME.md.
1.0.6 #
- Fix: Solved Windows PATH latency by using direct Dart package execution (
dart pub global run) as a fallback.
1.0.5 #
- Fix: Enhanced Windows detection for missing Mason CLI (checks exit code).
1.0.4 #
- Fix: Auto-installs
mason_cliif missing from the user's system.
1.0.3 #
- Fix: Solved "Bad state: No terminal attached" crash by enabling interactive mode during brick installation.
1.0.2 #
- Fix: Updated GitHub repository URL to point to the correct brick location.
1.0.1 #
- Fix: Windows compatibility issue where
masoncommand was not found.
1.0.0 #
- Initial release.