mirror of
https://github.com/cloud-shuttle/leptos-shadcn-ui.git
synced 2025-12-23 06:10:01 +00:00
- Update all 46 component versions to v0.6.0 - Update workspace version to v0.6.0 - Update main package dependencies to use local paths for development - All components now compile successfully with Leptos v0.8 - Ready for publishing v0.6.0 release Breaking Changes: - All components now require Leptos v0.8+ - Attribute syntax updated for v0.8 compatibility - Signal access patterns updated for v0.8 trait bounds
65 lines
1.3 KiB
Bash
Executable File
65 lines
1.3 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# Update main package dependencies to use local paths for development
|
|
|
|
MAIN_CARGO_TOML="packages/leptos-shadcn-ui/Cargo.toml"
|
|
|
|
# List of all components
|
|
COMPONENTS=(
|
|
"button"
|
|
"input"
|
|
"label"
|
|
"checkbox"
|
|
"switch"
|
|
"radio-group"
|
|
"select"
|
|
"textarea"
|
|
"card"
|
|
"separator"
|
|
"tabs"
|
|
"accordion"
|
|
"dialog"
|
|
"popover"
|
|
"tooltip"
|
|
"alert"
|
|
"badge"
|
|
"skeleton"
|
|
"progress"
|
|
"toast"
|
|
"table"
|
|
"calendar"
|
|
"date-picker"
|
|
"pagination"
|
|
"slider"
|
|
"toggle"
|
|
"carousel"
|
|
"form"
|
|
"combobox"
|
|
"command"
|
|
"input-otp"
|
|
"error-boundary"
|
|
"lazy-loading"
|
|
"alert-dialog"
|
|
"sheet"
|
|
"drawer"
|
|
"hover-card"
|
|
"breadcrumb"
|
|
"navigation-menu"
|
|
"context-menu"
|
|
"dropdown-menu"
|
|
"menubar"
|
|
"collapsible"
|
|
"scroll-area"
|
|
"aspect-ratio"
|
|
"resizable"
|
|
"avatar"
|
|
)
|
|
|
|
# Update each component dependency
|
|
for component in "${COMPONENTS[@]}"; do
|
|
echo "Updating leptos-shadcn-$component dependency..."
|
|
sed -i '' "s/leptos-shadcn-$component = { version = \"0.6.0\", optional = true }/leptos-shadcn-$component = { path = \"..\/leptos\/$component\", version = \"0.6.0\", optional = true }/g" "$MAIN_CARGO_TOML"
|
|
done
|
|
|
|
echo "✅ All dependencies updated to use local paths"
|