Skip to content

ui_kit_generator Enterprise

UI Kit component and theme variant management. Adds the ui-kit and theme-variant commands to the base monorepo_toolkit.

Version: 1.0.0

Variables

VariableTypeDefaultDescription
appNamestringMyAppThe name of your application
isForMonorepobooleantrueWhether this is being generated as part of a monorepo

Usage

Interactive

bash
archipelago generate ui_kit_generator

Non-interactive (CI)

bash
archipelago generate ui_kit_generator --config my_config.json

Config Template

json
{
  "@appName": "The name of your application",
  "appName": "MyApp",
  "@isForMonorepo": "Whether this is being generated as part of a monorepo",
  "isForMonorepo": true
}

Generated Structure

devtools/
└── scripts/
    └── ui_kit_generator/
        ├── lib/
        │   ├── ui_kit_generator.dart      # Barrel file
        │   └── src/
        │       ├── ui_kit_command.dart
        │       ├── theme_variant_command.dart
        │       ├── commands/
        │       │   ├── add_command.dart
        │       │   ├── create_command.dart
        │       │   ├── list_command.dart
        │       │   ├── remove_command.dart
        │       │   ├── status_command.dart
        │       │   ├── theme_variant_command.dart
        │       │   └── ui_kit_command.dart
        │       ├── models/
        │       │   └── ui_kit_registry.dart
        │       └── registry/
        │           ├── component_meta.dart
        │           ├── component_registry.dart
        │           └── layer.dart
        └── pubspec.yaml

Built by Banua Coder