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
| Variable | Type | Default | Description |
|---|---|---|---|
| appName | string | MyApp | The name of your application |
| isForMonorepo | boolean | true | Whether this is being generated as part of a monorepo |
Usage
Interactive
bash
archipelago generate ui_kit_generatorNon-interactive (CI)
bash
archipelago generate ui_kit_generator --config my_config.jsonConfig 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