kulp-ai-tagger
Version:
Vite plugin for tagging React components
28 lines (23 loc) • 1.03 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
## [1.0.0] - 2024-01-09
### Added
- Initial release of Kulp AI Tagger Vite Plugin
- Automatic tagging of React components with `data-kulp-id` and `data-kulp-name` attributes
- Support for skipping Three.js Fiber and Drei elements
- Content extraction for text, placeholders, and class names
- Tailwind CSS configuration processing for sandbox environments
- Legacy attribute support for backward compatibility
- TypeScript support with full type definitions
- Example project demonstrating plugin usage
### Features
- Processes `.jsx` and `.tsx` files
- Generates unique component IDs based on file path, line, and column
- Watches for Tailwind config changes in development
- Configurable through environment variables (`KULP_DEV_SERVER`)
### Technical Details
- Built with TypeScript
- Uses Babel parser for JSX/TSX parsing
- Uses Magic String for efficient code transformation
- Integrates with Vite's plugin system
- Supports ESModule format