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.
- package/README.md +0 -0
- package/bin/index.js +13 -0
- package/package.json +15 -0
- package/template/bun.lock +1040 -0
- package/template/components.json +22 -0
- package/template/eslint.config.js +23 -0
- package/template/index.html +20 -0
- package/template/package.json +82 -0
- package/template/postcss.config.js +6 -0
- package/template/public/favicon.svg +1 -0
- package/template/public/robots copy.txt +38 -0
- package/template/public/robots.txt +38 -0
- package/template/public/site.webmanifest +12 -0
- package/template/public/sitemap.xml +9 -0
- package/template/src/App.css +0 -0
- package/template/src/App.tsx +16 -0
- package/template/src/assets/react.svg +1 -0
- package/template/src/components/ui/accordion.tsx +55 -0
- package/template/src/components/ui/alert-dialog.tsx +139 -0
- package/template/src/components/ui/alert.tsx +59 -0
- package/template/src/components/ui/aspect-ratio.tsx +5 -0
- package/template/src/components/ui/avatar.tsx +50 -0
- package/template/src/components/ui/badge.tsx +36 -0
- package/template/src/components/ui/breadcrumb.tsx +115 -0
- package/template/src/components/ui/button.tsx +57 -0
- package/template/src/components/ui/calendar.tsx +213 -0
- package/template/src/components/ui/card.tsx +76 -0
- package/template/src/components/ui/carousel.tsx +260 -0
- package/template/src/components/ui/chart.tsx +367 -0
- package/template/src/components/ui/checkbox.tsx +28 -0
- package/template/src/components/ui/collapsible.tsx +11 -0
- package/template/src/components/ui/command.tsx +153 -0
- package/template/src/components/ui/context-menu.tsx +198 -0
- package/template/src/components/ui/dialog.tsx +122 -0
- package/template/src/components/ui/drawer.tsx +118 -0
- package/template/src/components/ui/dropdown-menu.tsx +199 -0
- package/template/src/components/ui/form.tsx +178 -0
- package/template/src/components/ui/hover-card.tsx +29 -0
- package/template/src/components/ui/input-otp.tsx +69 -0
- package/template/src/components/ui/input.tsx +22 -0
- package/template/src/components/ui/label.tsx +24 -0
- package/template/src/components/ui/menubar.tsx +256 -0
- package/template/src/components/ui/navigation-menu.tsx +128 -0
- package/template/src/components/ui/pagination.tsx +118 -0
- package/template/src/components/ui/popover.tsx +31 -0
- package/template/src/components/ui/progress.tsx +28 -0
- package/template/src/components/ui/radio-group.tsx +42 -0
- package/template/src/components/ui/resizable.tsx +45 -0
- package/template/src/components/ui/scroll-area.tsx +46 -0
- package/template/src/components/ui/select.tsx +159 -0
- package/template/src/components/ui/separator.tsx +29 -0
- package/template/src/components/ui/sheet.tsx +140 -0
- package/template/src/components/ui/sidebar.tsx +771 -0
- package/template/src/components/ui/skeleton.tsx +15 -0
- package/template/src/components/ui/slider.tsx +26 -0
- package/template/src/components/ui/sonner.tsx +31 -0
- package/template/src/components/ui/switch.tsx +27 -0
- package/template/src/components/ui/table.tsx +120 -0
- package/template/src/components/ui/tabs.tsx +53 -0
- package/template/src/components/ui/textarea.tsx +22 -0
- package/template/src/components/ui/toast.tsx +127 -0
- package/template/src/components/ui/toaster.tsx +33 -0
- package/template/src/components/ui/toggle-group.tsx +59 -0
- package/template/src/components/ui/toggle.tsx +45 -0
- package/template/src/components/ui/tooltip.tsx +30 -0
- package/template/src/hooks/use-mobile.tsx +19 -0
- package/template/src/hooks/use-toast.ts +186 -0
- package/template/src/index.css +43 -0
- package/template/src/lib/utils.ts +6 -0
- package/template/src/main.tsx +5 -0
- package/template/tailwind.config.ts +0 -0
- package/template/tsconfig.app.json +42 -0
- package/template/tsconfig.json +27 -0
- package/template/tsconfig.node.json +27 -0
- package/template/vercel.json +5 -0
- 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.`);
|