shipd 0.1.3 → 0.1.4

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 (115) hide show
  1. package/base-package/app/globals.css +126 -0
  2. package/base-package/app/layout.tsx +53 -0
  3. package/base-package/app/page.tsx +15 -0
  4. package/base-package/base.config.json +57 -0
  5. package/base-package/components/ui/avatar.tsx +53 -0
  6. package/base-package/components/ui/badge.tsx +46 -0
  7. package/base-package/components/ui/button.tsx +59 -0
  8. package/base-package/components/ui/card.tsx +92 -0
  9. package/base-package/components/ui/chart.tsx +353 -0
  10. package/base-package/components/ui/checkbox.tsx +32 -0
  11. package/base-package/components/ui/dialog.tsx +135 -0
  12. package/base-package/components/ui/dropdown-menu.tsx +257 -0
  13. package/base-package/components/ui/form.tsx +167 -0
  14. package/base-package/components/ui/input.tsx +21 -0
  15. package/base-package/components/ui/label.tsx +24 -0
  16. package/base-package/components/ui/progress.tsx +31 -0
  17. package/base-package/components/ui/resizable.tsx +56 -0
  18. package/base-package/components/ui/select.tsx +185 -0
  19. package/base-package/components/ui/separator.tsx +28 -0
  20. package/base-package/components/ui/sheet.tsx +139 -0
  21. package/base-package/components/ui/skeleton.tsx +13 -0
  22. package/base-package/components/ui/sonner.tsx +25 -0
  23. package/base-package/components/ui/switch.tsx +31 -0
  24. package/base-package/components/ui/tabs.tsx +66 -0
  25. package/base-package/components/ui/textarea.tsx +18 -0
  26. package/base-package/components/ui/toggle-group.tsx +73 -0
  27. package/base-package/components/ui/toggle.tsx +47 -0
  28. package/base-package/components/ui/tooltip.tsx +61 -0
  29. package/base-package/components.json +21 -0
  30. package/base-package/eslint.config.mjs +16 -0
  31. package/base-package/lib/utils.ts +6 -0
  32. package/base-package/middleware.ts +12 -0
  33. package/base-package/next.config.ts +27 -0
  34. package/base-package/package.json +49 -0
  35. package/base-package/postcss.config.mjs +5 -0
  36. package/base-package/public/favicon.svg +4 -0
  37. package/base-package/tailwind.config.ts +89 -0
  38. package/base-package/tsconfig.json +27 -0
  39. package/dist/index.js +1858 -956
  40. package/features/ai-chat/README.md +258 -0
  41. package/features/ai-chat/app/api/chat/route.ts +16 -0
  42. package/features/ai-chat/app/dashboard/_components/chatbot.tsx +39 -0
  43. package/features/ai-chat/app/dashboard/chat/page.tsx +73 -0
  44. package/features/ai-chat/feature.config.json +22 -0
  45. package/features/analytics/README.md +308 -0
  46. package/features/analytics/feature.config.json +20 -0
  47. package/features/analytics/lib/posthog.ts +36 -0
  48. package/features/auth/README.md +336 -0
  49. package/features/auth/app/api/auth/[...all]/route.ts +4 -0
  50. package/features/auth/app/dashboard/layout.tsx +15 -0
  51. package/features/auth/app/dashboard/page.tsx +140 -0
  52. package/features/auth/app/sign-in/page.tsx +228 -0
  53. package/features/auth/app/sign-up/page.tsx +243 -0
  54. package/features/auth/auth-schema.ts +47 -0
  55. package/features/auth/components/auth/setup-instructions.tsx +123 -0
  56. package/features/auth/feature.config.json +33 -0
  57. package/features/auth/lib/auth-client.ts +8 -0
  58. package/features/auth/lib/auth.ts +295 -0
  59. package/features/auth/lib/email-stub.ts +55 -0
  60. package/features/auth/lib/email.ts +47 -0
  61. package/features/auth/middleware.patch.ts +43 -0
  62. package/features/database/README.md +256 -0
  63. package/features/database/db/drizzle.ts +48 -0
  64. package/features/database/db/schema.ts +21 -0
  65. package/features/database/drizzle.config.ts +13 -0
  66. package/features/database/feature.config.json +30 -0
  67. package/features/email/README.md +282 -0
  68. package/features/email/emails/components/layout.tsx +181 -0
  69. package/features/email/emails/password-reset.tsx +67 -0
  70. package/features/email/emails/payment-failed.tsx +167 -0
  71. package/features/email/emails/subscription-confirmation.tsx +129 -0
  72. package/features/email/emails/welcome.tsx +100 -0
  73. package/features/email/feature.config.json +22 -0
  74. package/features/email/lib/email.ts +118 -0
  75. package/features/file-upload/README.md +271 -0
  76. package/features/file-upload/app/api/upload-image/route.ts +64 -0
  77. package/features/file-upload/app/dashboard/upload/page.tsx +324 -0
  78. package/features/file-upload/feature.config.json +23 -0
  79. package/features/file-upload/lib/upload-image.ts +28 -0
  80. package/features/marketing-landing/README.md +266 -0
  81. package/features/marketing-landing/app/page.tsx +25 -0
  82. package/features/marketing-landing/components/homepage/cli-workflow-section.tsx +231 -0
  83. package/features/marketing-landing/components/homepage/features-section.tsx +152 -0
  84. package/features/marketing-landing/components/homepage/footer.tsx +53 -0
  85. package/features/marketing-landing/components/homepage/hero-section.tsx +112 -0
  86. package/features/marketing-landing/components/homepage/integrations.tsx +124 -0
  87. package/features/marketing-landing/components/homepage/navigation.tsx +116 -0
  88. package/features/marketing-landing/components/homepage/news-section.tsx +82 -0
  89. package/features/marketing-landing/components/homepage/pricing-section.tsx +98 -0
  90. package/features/marketing-landing/components/homepage/testimonials-section.tsx +34 -0
  91. package/features/marketing-landing/components/logos/BetterAuth.tsx +21 -0
  92. package/features/marketing-landing/components/logos/NeonPostgres.tsx +41 -0
  93. package/features/marketing-landing/components/logos/Nextjs.tsx +72 -0
  94. package/features/marketing-landing/components/logos/Polar.tsx +7 -0
  95. package/features/marketing-landing/components/logos/TailwindCSS.tsx +27 -0
  96. package/features/marketing-landing/components/logos/index.ts +6 -0
  97. package/features/marketing-landing/components/logos/shadcnui.tsx +8 -0
  98. package/features/marketing-landing/feature.config.json +23 -0
  99. package/features/payments/README.md +306 -0
  100. package/features/payments/app/api/subscription/route.ts +25 -0
  101. package/features/payments/app/dashboard/payment/_components/manage-subscription.tsx +22 -0
  102. package/features/payments/app/dashboard/payment/page.tsx +126 -0
  103. package/features/payments/app/success/page.tsx +123 -0
  104. package/features/payments/feature.config.json +31 -0
  105. package/features/payments/lib/polar-products.ts +49 -0
  106. package/features/payments/lib/subscription.ts +148 -0
  107. package/features/payments/payments-schema.ts +30 -0
  108. package/features/seo/README.md +244 -0
  109. package/features/seo/app/blog/[slug]/page.tsx +314 -0
  110. package/features/seo/app/blog/page.tsx +107 -0
  111. package/features/seo/app/robots.txt +13 -0
  112. package/features/seo/app/sitemap.ts +70 -0
  113. package/features/seo/feature.config.json +19 -0
  114. package/features/seo/lib/seo-utils.ts +163 -0
  115. package/package.json +3 -1
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema.json",
3
+ "style": "new-york",
4
+ "rsc": true,
5
+ "tsx": true,
6
+ "tailwind": {
7
+ "config": "",
8
+ "css": "app/globals.css",
9
+ "baseColor": "neutral",
10
+ "cssVariables": true,
11
+ "prefix": ""
12
+ },
13
+ "aliases": {
14
+ "components": "@/components",
15
+ "utils": "@/lib/utils",
16
+ "ui": "@/components/ui",
17
+ "lib": "@/lib",
18
+ "hooks": "@/hooks"
19
+ },
20
+ "iconLibrary": "lucide"
21
+ }
@@ -0,0 +1,16 @@
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [
13
+ ...compat.extends("next/core-web-vitals", "next/typescript"),
14
+ ];
15
+
16
+ export default eslintConfig;
@@ -0,0 +1,6 @@
1
+ import { clsx, type ClassValue } from "clsx"
2
+ import { twMerge } from "tailwind-merge"
3
+
4
+ export function cn(...inputs: ClassValue[]) {
5
+ return twMerge(clsx(inputs))
6
+ }
@@ -0,0 +1,12 @@
1
+ import { NextRequest, NextResponse } from "next/server";
2
+
3
+ export async function middleware(request: NextRequest) {
4
+ // Base middleware - no feature-specific code
5
+ // Features can extend this via middleware patches
6
+ return NextResponse.next();
7
+ }
8
+
9
+ export const config = {
10
+ matcher: [],
11
+ };
12
+
@@ -0,0 +1,27 @@
1
+ import type { NextConfig } from "next";
2
+
3
+ const nextConfig: NextConfig = {
4
+ /* config options here */
5
+ reactStrictMode: false,
6
+ typescript: {
7
+ ignoreBuildErrors: true,
8
+ },
9
+ images: {
10
+ remotePatterns: [
11
+ {
12
+ protocol: "https",
13
+ hostname: "pub-6f0cf05705c7412b93a792350f3b3aa5.r2.dev",
14
+ },
15
+ {
16
+ protocol: "https",
17
+ hostname: "jdj14ctwppwprnqu.public.blob.vercel-storage.com",
18
+ },
19
+ {
20
+ protocol: "https",
21
+ hostname: "images.unsplash.com",
22
+ },
23
+ ],
24
+ },
25
+ };
26
+
27
+ export default nextConfig;
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "{{PROJECT_NAME_KEBAB}}",
3
+ "version": "0.1.0",
4
+ "description": "{{PROJECT_DESCRIPTION}}",
5
+ "private": true,
6
+ "scripts": {
7
+ "dev": "next dev --turbopack",
8
+ "build": "next build",
9
+ "start": "next start",
10
+ "lint": "next lint"
11
+ },
12
+ "dependencies": {
13
+ "next": "15.3.8",
14
+ "react": "^19.0.0",
15
+ "react-dom": "^19.0.0",
16
+ "@radix-ui/react-avatar": "^1.1.7",
17
+ "@radix-ui/react-checkbox": "^1.3.2",
18
+ "@radix-ui/react-dialog": "^1.1.11",
19
+ "@radix-ui/react-dropdown-menu": "^2.1.12",
20
+ "@radix-ui/react-label": "^2.1.6",
21
+ "@radix-ui/react-progress": "^1.1.4",
22
+ "@radix-ui/react-select": "^2.2.2",
23
+ "@radix-ui/react-separator": "^1.1.4",
24
+ "@radix-ui/react-slider": "^1.3.2",
25
+ "@radix-ui/react-slot": "^1.2.3",
26
+ "@radix-ui/react-switch": "^1.2.2",
27
+ "@radix-ui/react-tabs": "^1.1.9",
28
+ "@radix-ui/react-toggle": "^1.1.9",
29
+ "@radix-ui/react-toggle-group": "^1.1.10",
30
+ "@radix-ui/react-tooltip": "^1.2.7",
31
+ "class-variance-authority": "^0.7.1",
32
+ "clsx": "^2.1.1",
33
+ "tailwind-merge": "^3.2.0",
34
+ "lucide-react": "^0.503.0"
35
+ },
36
+ "devDependencies": {
37
+ "@eslint/eslintrc": "^3",
38
+ "@tailwindcss/postcss": "^4",
39
+ "@types/node": "^20.17.31",
40
+ "@types/react": "^19",
41
+ "@types/react-dom": "^19",
42
+ "eslint": "^9",
43
+ "eslint-config-next": "15.3.1",
44
+ "tailwindcss": "^4.1.7",
45
+ "tw-animate-css": "^1.3.0",
46
+ "typescript": "^5"
47
+ }
48
+ }
49
+
@@ -0,0 +1,5 @@
1
+ const config = {
2
+ plugins: ["@tailwindcss/postcss"],
3
+ };
4
+
5
+ export default config;
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
2
+ <rect width="100" height="100" fill="#ff5722"/>
3
+ <text x="50" y="70" font-size="60" font-family="Arial, sans-serif" font-weight="bold" text-anchor="middle" fill="white">S</text>
4
+ </svg>
@@ -0,0 +1,89 @@
1
+ import type { Config } from "tailwindcss";
2
+
3
+ const config = {
4
+ darkMode: ["class", ".dark"],
5
+ content: [
6
+ "./pages/**/*.{ts,tsx}",
7
+ "./components/**/*.{ts,tsx}",
8
+ "./app/**/*.{ts,tsx}",
9
+ "./src/**/*.{ts,tsx}",
10
+ "*.{js,ts,jsx,tsx,mdx}",
11
+ ],
12
+ prefix: "",
13
+ theme: {
14
+ container: {
15
+ center: true,
16
+ padding: "2rem",
17
+ screens: {
18
+ "2xl": "1400px",
19
+ },
20
+ },
21
+ extend: {
22
+ colors: {
23
+ border: "hsl(var(--border))",
24
+ input: "hsl(var(--input))",
25
+ ring: "hsl(var(--ring))",
26
+ background: "hsl(var(--background))",
27
+ foreground: "hsl(var(--foreground))",
28
+ primary: {
29
+ DEFAULT: "hsl(var(--primary))",
30
+ foreground: "hsl(var(--primary-foreground))",
31
+ },
32
+ secondary: {
33
+ DEFAULT: "hsl(var(--secondary))",
34
+ foreground: "hsl(var(--secondary-foreground))",
35
+ },
36
+ destructive: {
37
+ DEFAULT: "hsl(var(--destructive))",
38
+ foreground: "hsl(var(--destructive-foreground))",
39
+ },
40
+ muted: {
41
+ DEFAULT: "hsl(var(--muted))",
42
+ foreground: "hsl(var(--muted-foreground))",
43
+ },
44
+ accent: {
45
+ DEFAULT: "hsl(var(--accent))",
46
+ foreground: "hsl(var(--accent-foreground))",
47
+ },
48
+ popover: {
49
+ DEFAULT: "hsl(var(--popover))",
50
+ foreground: "hsl(var(--popover-foreground))",
51
+ },
52
+ card: {
53
+ DEFAULT: "hsl(var(--card))",
54
+ foreground: "hsl(var(--card-foreground))",
55
+ },
56
+ // Chart colors
57
+ chart: {
58
+ 1: "hsl(var(--chart-1))",
59
+ 2: "hsl(var(--chart-2))",
60
+ 3: "hsl(var(--chart-3))",
61
+ 4: "hsl(var(--chart-4))",
62
+ 5: "hsl(var(--chart-5))",
63
+ },
64
+ },
65
+ borderRadius: {
66
+ lg: "var(--radius)",
67
+ md: "calc(var(--radius) - 2px)",
68
+ sm: "calc(var(--radius) - 4px)",
69
+ },
70
+ keyframes: {
71
+ "accordion-down": {
72
+ from: { height: "0" },
73
+ to: { height: "var(--radix-accordion-content-height)" },
74
+ },
75
+ "accordion-up": {
76
+ from: { height: "var(--radix-accordion-content-height)" },
77
+ to: { height: "0" },
78
+ },
79
+ },
80
+ animation: {
81
+ "accordion-down": "accordion-down 0.2s ease-out",
82
+ "accordion-up": "accordion-up 0.2s ease-out",
83
+ },
84
+ },
85
+ },
86
+ // plugins: [require("tailwindcss-animate")],
87
+ } satisfies Config;
88
+
89
+ export default config;
@@ -0,0 +1,27 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2017",
4
+ "lib": ["dom", "dom.iterable", "esnext"],
5
+ "allowJs": true,
6
+ "skipLibCheck": true,
7
+ "strict": true,
8
+ "noEmit": true,
9
+ "esModuleInterop": true,
10
+ "module": "esnext",
11
+ "moduleResolution": "bundler",
12
+ "resolveJsonModule": true,
13
+ "isolatedModules": true,
14
+ "jsx": "preserve",
15
+ "incremental": true,
16
+ "plugins": [
17
+ {
18
+ "name": "next"
19
+ }
20
+ ],
21
+ "paths": {
22
+ "@/*": ["./*"]
23
+ }
24
+ },
25
+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
26
+ "exclude": ["node_modules"]
27
+ }