Files
johndoe6345789 7a82c07bfe feat(codegen_studio): add Codegen Studio components for template generation and project scaffolding
- Introduced `CodegenStudio`, `TemplateSelector`, and `PackageGenerator` components with detailed props and rendering logic.
- Created UI styles and tokens for consistent theming across components.
- Implemented permissions for template viewing, creation, and code generation.
- Added functions for lifecycle events, blueprint building, and package generation.
- Developed storybook stories for visual testing and documentation of components.

feat(config_summary): implement configuration summary components and styles

- Added `ConfigSummary`, `SummaryRow`, and related components for displaying system stats.
- Defined permissions for viewing and exporting configuration summaries.
- Created functions for rendering and aggregating summary data.
- Established storybook stories for showcasing summary components and their variations.
- Introduced styles and tokens for consistent UI presentation across summary components.
2026-01-02 16:26:34 +00:00

98 lines
2.4 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/package-storybook.schema.json",
"featured": true,
"title": "Codegen Studio",
"description": "Generate Next.js, React, CLI starters, and MetaBuilder packages from configurable templates",
"stories": [
{
"name": "CodegenStudio",
"render": "init",
"description": "Main Codegen Studio interface with template selection and generation",
"args": {
"projectName": "my-app",
"runtime": "web"
}
},
{
"name": "TemplateSelector",
"render": "blueprint",
"description": "Template selection and project configuration form",
"args": {
"project_name": "nebula-launch",
"runtime": "web",
"description": "A modern web application starter"
}
},
{
"name": "PackageGenerator",
"render": "generator",
"description": "Package generation with progress tracking",
"type": "function",
"args": {
"packageId": "my_package",
"category": "ui"
}
}
],
"renders": {
"init": {
"description": "Initialize and render main Codegen Studio view",
"featured": true
},
"blueprint": {
"description": "Build and render project blueprint form"
},
"generator": {
"description": "Package generation interface with validation"
}
},
"defaultContext": {
"user": {
"id": "god-user",
"username": "god_user",
"level": 5,
"email": "god@example.com"
},
"tenant": {
"id": "dev-tenant",
"name": "Development Organization"
}
},
"contextVariants": [
{
"name": "God User",
"description": "Full access to all Codegen Studio features",
"context": {
"user": {
"username": "god",
"level": 5
}
}
},
{
"name": "Supergod User",
"description": "Complete system access including advanced templates",
"context": {
"user": {
"username": "supergod",
"level": 6
}
}
}
],
"scripts": {
"renderFunctions": ["init", "blueprint", "generator"],
"ignoredScripts": ["tests", "types", "permissions", "db", "zip_plan"]
},
"parameters": {
"layout": "padded",
"backgrounds": {
"default": "light",
"values": [
{ "name": "light", "value": "#f8fafc" },
{ "name": "dark", "value": "#0f172a" }
]
}
}
}