v0.3.2 - Shadcn Registry Support
π Shadcn Registry Support
This release adds complete Shadcn registry support, making it incredibly easy to install the data-table component with a single command!
β¨ What's New
π¦ One-Command Installation
Install the data-table component with just one command:
npx shadcn@latest add https://tnks-data-table.vercel.app/r/data-table.json
npx shadcn@latest add https://tnks-data-table.vercel.app/r/calendar-date-picker.jsonπ Registry Implementation
- β Created complete Shadcn-compatible registry with proper schema
- β
Automated registry build system (
npm run registry:build) - β Generated registry JSON files for easy distribution
- β
Added CORS and caching headers via
vercel.json - β Organized registry files in proper directory structure
π Documentation Improvements
- β Added Quick Start section to README
- β Comprehensive installation methods (Registry + Manual)
- β Clear prerequisites and Shadcn UI component requirements
- β Local development installation guide
- β Updated with deployed Vercel URL
π§ Technical Details
New Files:
registry.json- Main registry configurationscripts/build-registry.ts- Automated registry builderpublic/r/data-table.json- Data table component registrypublic/r/calendar-date-picker.json- Calendar picker registryvercel.json- Deployment configuration with CORS
Updates:
- Version bumped to 0.3.2
- Enhanced README.md with registry installation
- Updated CHANGELOG.md with detailed changes
π Installation
From Remote Registry (Recommended):
# Prerequisites
npx shadcn@latest init
npx shadcn@latest add button checkbox input select popover calendar dropdown-menu separator table command
# Install components
npx shadcn@latest add https://tnks-data-table.vercel.app/r/data-table.json
npx shadcn@latest add https://tnks-data-table.vercel.app/r/calendar-date-picker.jsonFrom Local Development:
git clone https://github.com/jacksonkasi1/tnks-data-table.git
cd tnks-data-table
npm install
npm run registry:build
npm run dev
# In your project
npx shadcn@latest add http://localhost:3000/r/data-table.jsonπ Links
π₯ Credits
Special thanks to all contributors and the Shadcn UI ecosystem!
Full Changelog: v0.3.1...v0.3.2