cmfrt
v0.1.1
Published
CLI for bootstrapping comfort UI components into Vite + React + Tailwind projects.
Readme
cmfrt CLI
cmfrt — Vite + React + Tailwind loyihalariga Comfort UI komponentlarini qo‘shish, yangilash va boshqarish uchun CLI.
Tezkor start (npx)
npx cmfrt initNega npx?
- Qo‘shimcha global o‘rnatish shart emas.
- Har doim paketning eng so‘nggi versiyasi ishlaydi.
Asosiy tushunchalar
cmfrt.json— konfiguratsiya va o‘rnatilgan komponentlar ro‘yxati.templates/registry.json— komponentlar registry (versiya, fayllar, dependencylar va metadata).- Komponentlar
src/components/uiichiga nusxalanadi.
Buyruqlar (npx bilan)
npx cmfrt init— loyiha uchun boshlang‘ich sozlash.npx cmfrt add <component>— registrydan komponent qo‘shish.npx cmfrt update [component]— komponent(lar)ni yangilash (--all).npx cmfrt status— o‘rnatilgan komponentlar holati (--json,--only-updates).npx cmfrt list— registrydagi komponentlar (-c/--category,--search,--json).npx cmfrt theme— theme mode bilan ishlash (--list,--set).npx cmfrt uninstall <name>— komponentni o‘chirish (--prune,--yes).npx cmfrt uninstall --all— barcha o‘rnatilgan komponentlarni o‘chirish.
Tezkor sinov
npx cmfrt init
npx cmfrt add button
npx cmfrt status
npx cmfrt listLokal rivojlantirish (ixtiyoriy)
npm link
cmfrt initSinovdan so‘ng:
npm unlink