fabrik 0.1.6
fabrik: ^0.1.6 copied to clipboard
A CLI to generate scalable, testable, clean Flutter feature scaffolding using DDD layered architecture.
0.1.0 #
- ๐ Initial release
- Generate feature scaffolding with clean architecture
- Smart output dir support (
--output-diror-o)
0.1.1 - 2025-04-15 #
โจ Improvements #
- Added
example/main.dartto pass pub.dev "has example" check. - Added dartdoc comments to the main entry point for better documentation score.
๐ Maintenance #
- Improved compatibility with pub.dev publishing requirements.
๐ Result #
Achieved a perfect 160/160 pub score on pub.dev!
0.1.2 - 2025-04-15 #
๐ Bug Fixes #
- Fixed
Feature brick not found at ../bricks/featureerror when using the CLI globally.- ๐งฑ Brick path is now bundled inside the CLI package so it works everywhere.
- ๐ฆ Updated CLI to reference
bricks/featureinstead of relative paths.
๐ Packaging #
- Moved
featurebrick inside thefabrik_clipackage. - Ensured it gets published and recognized by
pub.dev.
Now you can run fabrik generate feature auth globally โ no more path errors!
0.1.3 - 2025-04-15 #
๐ Packaging Fix #
- Ensured
bricks/featureis included in the published package using theinclude:key inpubspec.yaml. - Fixed issue where the CLI couldnโt find the brick (
Feature brick not found at bricks/feature) when installed globally from pub.dev. - Removed unused
assets:key since this is a pure Dart CLI, not a Flutter package.
๐งฑ You can now install Fabrik globally and use it from anywhere without missing bricks.
0.1.4 - 2025-04-15 #
๐งฑ Brick Loading Refactor #
- Replaced path-based brick loading with
.bundleloading usingMasonBundle.fromUniversalBundle. - Feature scaffolding brick is now precompiled and loaded from:
0.1.5 - 2025-04-15 #
๐งน Internal Cleanup #
-
Removed outdated check for
bricks/featuredirectory, since the CLI now uses a.bundlefile for brick generation. -
Simplified generator loading by fully relying on:
MasonBundle.fromUniversalBundle
0.1.6 - 2025-04-15 #
Bug Fixes #
- Fixed a critical issue where the CLI failed to locate the brick bundle (
feature.bundle) when installed globally via pub, especially on Windows systems. - Replaced manual
Filepath logic with Dart-nativeIsolate.resolvePackageUrito resolve the bundle path correctly in all environments.
Improvements #
- CLI is now 100% platform-independent and works flawlessly on macOS, Linux, and Windows after global installation via
dart pub global activate fabrik.
Internal #
- Bundle file path is now resolved via the Dart package system (
package:fabrik/src/bricks/feature.bundle) which implicitly maps to thelib/folder.