atomic-gen

Generate React components and Storybook for Atomic Design.

MIT License

Downloads
54
Stars
0
Committers
1
atomic-gen - v1.2.0 Latest Release

Published by yudwig about 2 months ago

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.
Package Rankings
Top 31.77% on Npmjs.org
Related Projects