lovable-stack 1.0.0

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 (76) hide show
  1. package/README.md +0 -0
  2. package/bin/index.js +13 -0
  3. package/package.json +15 -0
  4. package/template/bun.lock +1040 -0
  5. package/template/components.json +22 -0
  6. package/template/eslint.config.js +23 -0
  7. package/template/index.html +20 -0
  8. package/template/package.json +82 -0
  9. package/template/postcss.config.js +6 -0
  10. package/template/public/favicon.svg +1 -0
  11. package/template/public/robots copy.txt +38 -0
  12. package/template/public/robots.txt +38 -0
  13. package/template/public/site.webmanifest +12 -0
  14. package/template/public/sitemap.xml +9 -0
  15. package/template/src/App.css +0 -0
  16. package/template/src/App.tsx +16 -0
  17. package/template/src/assets/react.svg +1 -0
  18. package/template/src/components/ui/accordion.tsx +55 -0
  19. package/template/src/components/ui/alert-dialog.tsx +139 -0
  20. package/template/src/components/ui/alert.tsx +59 -0
  21. package/template/src/components/ui/aspect-ratio.tsx +5 -0
  22. package/template/src/components/ui/avatar.tsx +50 -0
  23. package/template/src/components/ui/badge.tsx +36 -0
  24. package/template/src/components/ui/breadcrumb.tsx +115 -0
  25. package/template/src/components/ui/button.tsx +57 -0
  26. package/template/src/components/ui/calendar.tsx +213 -0
  27. package/template/src/components/ui/card.tsx +76 -0
  28. package/template/src/components/ui/carousel.tsx +260 -0
  29. package/template/src/components/ui/chart.tsx +367 -0
  30. package/template/src/components/ui/checkbox.tsx +28 -0
  31. package/template/src/components/ui/collapsible.tsx +11 -0
  32. package/template/src/components/ui/command.tsx +153 -0
  33. package/template/src/components/ui/context-menu.tsx +198 -0
  34. package/template/src/components/ui/dialog.tsx +122 -0
  35. package/template/src/components/ui/drawer.tsx +118 -0
  36. package/template/src/components/ui/dropdown-menu.tsx +199 -0
  37. package/template/src/components/ui/form.tsx +178 -0
  38. package/template/src/components/ui/hover-card.tsx +29 -0
  39. package/template/src/components/ui/input-otp.tsx +69 -0
  40. package/template/src/components/ui/input.tsx +22 -0
  41. package/template/src/components/ui/label.tsx +24 -0
  42. package/template/src/components/ui/menubar.tsx +256 -0
  43. package/template/src/components/ui/navigation-menu.tsx +128 -0
  44. package/template/src/components/ui/pagination.tsx +118 -0
  45. package/template/src/components/ui/popover.tsx +31 -0
  46. package/template/src/components/ui/progress.tsx +28 -0
  47. package/template/src/components/ui/radio-group.tsx +42 -0
  48. package/template/src/components/ui/resizable.tsx +45 -0
  49. package/template/src/components/ui/scroll-area.tsx +46 -0
  50. package/template/src/components/ui/select.tsx +159 -0
  51. package/template/src/components/ui/separator.tsx +29 -0
  52. package/template/src/components/ui/sheet.tsx +140 -0
  53. package/template/src/components/ui/sidebar.tsx +771 -0
  54. package/template/src/components/ui/skeleton.tsx +15 -0
  55. package/template/src/components/ui/slider.tsx +26 -0
  56. package/template/src/components/ui/sonner.tsx +31 -0
  57. package/template/src/components/ui/switch.tsx +27 -0
  58. package/template/src/components/ui/table.tsx +120 -0
  59. package/template/src/components/ui/tabs.tsx +53 -0
  60. package/template/src/components/ui/textarea.tsx +22 -0
  61. package/template/src/components/ui/toast.tsx +127 -0
  62. package/template/src/components/ui/toaster.tsx +33 -0
  63. package/template/src/components/ui/toggle-group.tsx +59 -0
  64. package/template/src/components/ui/toggle.tsx +45 -0
  65. package/template/src/components/ui/tooltip.tsx +30 -0
  66. package/template/src/hooks/use-mobile.tsx +19 -0
  67. package/template/src/hooks/use-toast.ts +186 -0
  68. package/template/src/index.css +43 -0
  69. package/template/src/lib/utils.ts +6 -0
  70. package/template/src/main.tsx +5 -0
  71. package/template/tailwind.config.ts +0 -0
  72. package/template/tsconfig.app.json +42 -0
  73. package/template/tsconfig.json +27 -0
  74. package/template/tsconfig.node.json +27 -0
  75. package/template/vercel.json +5 -0
  76. package/template/vite.config.ts +12 -0
package/README.md ADDED
File without changes
package/bin/index.js ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env node
2
+ const fs = require("fs-extra");
3
+ const path = require("path");
4
+
5
+ const args = process.argv.slice(2);
6
+ const projectName = args[0] || "my-new-project";
7
+
8
+ const templatePath = path.join(__dirname, "../template");
9
+ const targetPath = path.join(process.cwd(), projectName);
10
+
11
+ fs.copySync(templatePath, targetPath);
12
+
13
+ console.log(`✅ Project "${projectName}" created from lovable-stack template.`);
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "lovable-stack",
3
+ "version": "1.0.0",
4
+ "bin": {
5
+ "lovable-stack": "bin/index.js"
6
+ },
7
+ "files": [
8
+ "bin/",
9
+ "template/",
10
+ "README.md"
11
+ ],
12
+ "dependencies": {
13
+ "fs-extra": "^11.1.1"
14
+ }
15
+ }