updated service inits
This commit is contained in:
@@ -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!"
|
||||
Reference in New Issue
Block a user