create-bdpa-react-scaffold 1.8.6 → 1.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/create-ui-lib.js +12 -2
  2. package/package.json +1 -1
package/create-ui-lib.js CHANGED
@@ -64,12 +64,22 @@ function installShadcn(cwd) {
64
64
  console.log("\n🎨 Installing shadcn/ui components (all)...");
65
65
  const result = spawnSync(
66
66
  npxCmd,
67
- ["shadcn@latest", "add", "--all", "--yes", "--overwrite"],
67
+ [
68
+ "shadcn@latest", "add",
69
+ "accordion", "alert", "alert-dialog", "aspect-ratio", "avatar", "badge",
70
+ "button", "calendar", "card", "carousel", "checkbox", "collapsible",
71
+ "command", "dialog", "drawer", "dropdown-menu", "form", "hover-card",
72
+ "input", "label", "menubar", "navigation-menu", "popover", "progress",
73
+ "radio-group", "scroll-area", "select", "separator", "sheet", "skeleton",
74
+ "slider", "sonner", "switch", "table", "tabs", "textarea", "toast",
75
+ "toggle", "tooltip",
76
+ "--yes", "--overwrite"
77
+ ],
68
78
  { stdio: "inherit", cwd }
69
79
  );
70
80
  if (result.status !== 0) {
71
81
  console.warn(`\n⚠️ shadcn install exited with status ${result.status}.`);
72
- console.warn(" Run manually: npx shadcn@latest add --all");
82
+ console.warn(" Run manually: npx shadcn@latest add accordion alert alert-dialog aspect-ratio avatar badge button calendar card carousel checkbox collapsible command dialog drawer 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");
73
83
  } else {
74
84
  console.log("\n✅ shadcn/ui components installed.");
75
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-bdpa-react-scaffold",
3
- "version": "1.8.6",
3
+ "version": "1.8.7",
4
4
  "description": "Scaffold a React + Tailwind UI library demo via Vite.",
5
5
  "bin": {
6
6
  "create-bdpa-react-scaffold": "create-ui-lib.js"