updated service inits

This commit is contained in:
2025-05-29 21:54:05 +03:00
parent 98b90ca4ec
commit d2983e9bad
2 changed files with 14 additions and 66 deletions

View File

@@ -1,52 +0,0 @@
# List of all components to install
components=(
"accordion"
"alert"
"alert-dialog"
"aspect-ratio"
"avatar"
"badge"
"button"
"calendar"
"card"
"checkbox"
"collapsible"
"combobox"
"command"
"context-menu"
"data-table"
"date-picker"
"dialog"
"dropdown-menu"
"form"
"hover-card"
"input"
"label"
"menubar"
"navigation-menu"
"popover"
"progress"
"radio-group"
"scroll-area"
"select"
"separator"
"sheet"
"skeleton"
"slider"
"sonner"
"switch"
"table"
"tabs"
"textarea"
"toast"
"toggle"
"tooltip"
)
# Loop and install each component, skipping prompts (to the extent allowed)
for component in "${components[@]}"; do
echo "Installing $component..."
npx --legacy-peer-deps shadcn@latest add "$component" -y || true
done
echo "✅ Next.js with TypeScript and all shadcn components installed successfully!"