Skip to content

Releases: yudwig/atomic-gen

v1.2.1

10 Nov 02:17
Compare
Choose a tag to compare

Support hierarchical titles in the default story template.

Full Changelog: v1.2.0...v1.2.1

v1.2.0

27 Aug 14:07
Compare
Choose a tag to compare

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
  • 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.
  • 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.