Releases: yudwig/atomic-gen
Releases · yudwig/atomic-gen
v1.2.1
v1.2.0
v1.2.0 - 2024-08-25
New Features
- Directory Structure Enhancement: Components are now generated in a more organized directory structure based on their specified category (e.g.,
atoms
,molecules
,organisms
).- Example:
src/components/atoms/Button/Button.tsx
- Example:
- Metadata Support: You can now add custom metadata for each component in the YAML configuration file, which can be used within templates.
- Example: Metadata such as
{{meta.color}}
and{{meta.size}}
can be embedded in templates.
- Example: Metadata such as
- Template Customization: In addition to the default templates, users can specify their own templates, allowing for flexible customization of the generated components.
Improvements
- Code Refactoring: Refactored the codebase for better maintainability, making future feature additions easier.
- Improved Error Messages: Enhanced error messages when users specify incorrect options, making it easier to identify issues.
Other Updates
- Documentation Update: Added a section in the README explaining how to use metadata, making it easier for users to take advantage of the new feature.