Skip to content

feat: dynamic component templates via $faker data types & inline CSS migration - #23

Merged
Gr1shma merged 1 commit into
mainfrom
fix/component-templates
Jul 26, 2026
Merged

Gr1shma merged 1 commit into
mainfrom
fix/component-templates

Conversation

@Gr1shma

@Gr1shma Gr1shma commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Dynamic $faker matching: Refactored component template field matching to infer roles based on $faker data types instead of JSON key names.
  • Inline CSS styling: Replaced Tailwind CSS classes in React template outputs with inline style objects.
  • Dynamic TypeScript interfaces: Updated interfaces to generate dynamically from schema fields without key duplication.
  • Nested schema support: Enhanced HTML template generator to safely render nested dot-notation paths (item?.["a"]?.["b"]).
  • Tests & Linting: Added vitest cases for dynamic data type resolution and verified oxlint with 0 warnings/errors.

@Gr1shma
Gr1shma merged commit c65a183 into main Jul 26, 2026
2 checks passed
@Gr1shma
Gr1shma deleted the fix/component-templates branch July 26, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant