mirror of
https://github.com/cloud-shuttle/leptos-shadcn-ui.git
synced 2026-01-03 11:32:57 +00:00
docs: Update registry metadata to reflect zero dependencies
🔧 Registry Metadata Update: - Remove lucide-react from registry dependency metadata - Update comments to reflect inline SVG approach - Remove conditional @radix-ui/react-icons dependency - Align registry metadata with actual zero-dependency implementation 📝 Context: - This script generates registry metadata for shadcn/ui components - The lucide-react reference was in dependency metadata, not actual code - Now accurately reflects our inline SVG zero-dependency approach
This commit is contained in:
@@ -133,19 +133,14 @@ fn build_styles_index(output_path: &Path) -> Result<()> {
|
|||||||
framework.name, style.name
|
framework.name, style.name
|
||||||
));
|
));
|
||||||
|
|
||||||
// TODO: Rustify dependencies
|
// Zero dependencies - using inline SVG instead of external icon libraries
|
||||||
|
|
||||||
let mut dependencies: Vec<String> = vec![
|
let dependencies: Vec<String> = vec![
|
||||||
"tailwindcss-animate".into(),
|
"tailwindcss-animate".into(),
|
||||||
"class-variance-authority".into(),
|
"class-variance-authority".into(),
|
||||||
"lucide-react".into(),
|
// Note: lucide-react removed - using inline SVG for zero dependencies
|
||||||
];
|
];
|
||||||
|
|
||||||
// TODO: Remove this when we migrate to lucide-react.
|
|
||||||
if style.name == Style::NewYork {
|
|
||||||
dependencies.push("@radix-ui/react-icons".into());
|
|
||||||
}
|
|
||||||
|
|
||||||
let payload = RegistryEntry {
|
let payload = RegistryEntry {
|
||||||
name: style.name.to_string(),
|
name: style.name.to_string(),
|
||||||
r#type: RegistryItemType::Style,
|
r#type: RegistryItemType::Style,
|
||||||
|
|||||||
Reference in New Issue
Block a user