@digilogiclabs/create-saas-app 1.1.0 → 1.1.1

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 (120) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/bin/index.js +36 -3
  3. package/dist/.tsbuildinfo +1 -0
  4. package/dist/index.js +390 -20094
  5. package/dist/index.js.map +1 -1
  6. package/dist/mobile/base/template/.env.example +15 -0
  7. package/dist/templates/mobile/base/template/.env.example +15 -0
  8. package/dist/templates/mobile/base/template/App.tsx +88 -0
  9. package/dist/templates/mobile/base/template/app/(auth)/login.tsx +44 -0
  10. package/dist/templates/mobile/base/template/app/(auth)/signup.tsx +43 -0
  11. package/dist/templates/mobile/base/template/app/checkout.tsx +20 -0
  12. package/dist/templates/mobile/base/template/package.json +38 -0
  13. package/dist/templates/shared/auth/firebase/web/config.ts +23 -0
  14. package/dist/templates/shared/auth/supabase/web/config.ts +8 -0
  15. package/dist/templates/web/base/template/.env.example +15 -0
  16. package/dist/templates/web/base/template/.eslintrc.js +8 -0
  17. package/dist/templates/web/base/template/README.md +68 -0
  18. package/dist/templates/web/base/template/next.config.js +15 -0
  19. package/dist/templates/web/base/template/package.json +48 -0
  20. package/dist/templates/web/base/template/postcss.config.js +7 -0
  21. package/dist/templates/web/base/template/src/app/auth/callback/route.ts +18 -0
  22. package/dist/templates/web/base/template/src/app/checkout/page.tsx +28 -0
  23. package/dist/templates/web/base/template/src/app/globals.css +60 -0
  24. package/dist/templates/web/base/template/src/app/layout.tsx +29 -0
  25. package/dist/templates/web/base/template/src/app/login/page.tsx +39 -0
  26. package/dist/templates/web/base/template/src/app/page.tsx +132 -0
  27. package/dist/templates/web/base/template/src/app/signup/page.tsx +39 -0
  28. package/dist/templates/web/base/template/src/components/providers/app-providers.tsx +29 -0
  29. package/dist/templates/web/base/template/src/components/shared/header.tsx +42 -0
  30. package/dist/templates/web/base/template/src/components/ui/badge.tsx +36 -0
  31. package/dist/templates/web/base/template/src/components/ui/button.tsx +56 -0
  32. package/dist/templates/web/base/template/src/components/ui/card.tsx +71 -0
  33. package/dist/templates/web/base/template/src/lib/utils.ts +7 -0
  34. package/dist/templates/web/base/template/tailwind.config.js +77 -0
  35. package/dist/templates/web/base/template/tsconfig.json +33 -0
  36. package/dist/templates/web/base/template.backup/.env.example +15 -0
  37. package/dist/templates/web/base/template.backup.20250817/.env.example +15 -0
  38. package/dist/templates/web/ui-package-test/template/package.json +42 -0
  39. package/dist/templates/web/ui-package-test/template/src/app/page.tsx +106 -0
  40. package/dist/templates/web/ui-package-test/template/tsconfig.json +41 -0
  41. package/dist/templates/web/web-ui-package/template/.env.example +15 -0
  42. package/dist/templates/web/web-ui-package/template/.eslintrc.js +8 -0
  43. package/dist/templates/web/web-ui-package/template/README.md +68 -0
  44. package/dist/templates/web/web-ui-package/template/next.config.js +15 -0
  45. package/dist/templates/web/web-ui-package/template/package.json +39 -0
  46. package/dist/templates/web/web-ui-package/template/postcss.config.js +7 -0
  47. package/dist/templates/web/web-ui-package/template/src/app/auth/callback/route.ts +18 -0
  48. package/dist/templates/web/web-ui-package/template/src/app/checkout/page.tsx +28 -0
  49. package/dist/templates/web/web-ui-package/template/src/app/globals.css +42 -0
  50. package/dist/templates/web/web-ui-package/template/src/app/layout.tsx +29 -0
  51. package/dist/templates/web/web-ui-package/template/src/app/login/page.tsx +39 -0
  52. package/dist/templates/web/web-ui-package/template/src/app/page.tsx +91 -0
  53. package/dist/templates/web/web-ui-package/template/src/app/signup/page.tsx +39 -0
  54. package/dist/templates/web/web-ui-package/template/src/components/providers/app-providers.tsx +29 -0
  55. package/dist/templates/web/web-ui-package/template/src/components/shared/header.tsx +42 -0
  56. package/dist/templates/web/web-ui-package/template/src/components/ui/badge.tsx +36 -0
  57. package/dist/templates/web/web-ui-package/template/src/lib/utils.ts +7 -0
  58. package/dist/templates/web/web-ui-package/template/tailwind.config.js +77 -0
  59. package/dist/templates/web/web-ui-package/template/tsconfig.json +33 -0
  60. package/dist/templates/web/web-ui-package/template.backup/.env.example +15 -0
  61. package/dist/templates/web/web-ui-package/template.backup.20250817/.env.example +15 -0
  62. package/dist/web/base/template/.env.example +15 -0
  63. package/dist/web/base/template/.eslintrc.js +8 -0
  64. package/dist/web/base/template.backup/.env.example +15 -0
  65. package/dist/web/base/template.backup.20250817/.env.example +15 -0
  66. package/dist/web/ui-package-test/template/.env.example +15 -0
  67. package/dist/web/ui-package-test/template/.eslintrc.js +8 -0
  68. package/dist/web/ui-package-test/template.backup/.env.example +15 -0
  69. package/dist/web/ui-package-test/template.backup.20250817/.env.example +15 -0
  70. package/dist/web/web-ui-package/template/.env.example +15 -0
  71. package/dist/web/web-ui-package/template/.eslintrc.js +8 -0
  72. package/dist/web/web-ui-package/template.backup/.env.example +15 -0
  73. package/dist/web/web-ui-package/template.backup.20250817/.env.example +15 -0
  74. package/package.json +105 -105
  75. package/src/templates/mobile/base/template/.env.example +15 -0
  76. package/src/templates/mobile/base/template/App.tsx +51 -10
  77. package/src/templates/mobile/base/template/app/(auth)/login.tsx +44 -0
  78. package/src/templates/mobile/base/template/app/(auth)/signup.tsx +43 -0
  79. package/src/templates/mobile/base/template/app/checkout.tsx +20 -0
  80. package/src/templates/mobile/base/template/package.json +6 -6
  81. package/src/templates/shared/auth/firebase/web/config.ts +23 -24
  82. package/src/templates/shared/auth/supabase/web/config.ts +8 -9
  83. package/src/templates/web/base/template/.env.example +12 -31
  84. package/src/templates/web/base/template/package.json +6 -6
  85. package/src/templates/web/base/template/src/app/auth/callback/route.ts +18 -0
  86. package/src/templates/web/base/template/src/app/checkout/page.tsx +28 -0
  87. package/src/templates/web/base/template/src/app/layout.tsx +2 -1
  88. package/src/templates/web/base/template/src/app/login/page.tsx +39 -0
  89. package/src/templates/web/base/template/src/app/page.tsx +33 -9
  90. package/src/templates/web/base/template/src/app/signup/page.tsx +39 -0
  91. package/src/templates/web/base/template/src/components/providers/app-providers.tsx +17 -9
  92. package/src/templates/web/base/template/src/components/shared/header.tsx +42 -0
  93. package/src/templates/web/base/template/tailwind.config.js +1 -1
  94. package/src/templates/web/base/template.backup/.env.example +15 -0
  95. package/src/templates/web/base/template.backup.20250817/.env.example +15 -0
  96. package/src/templates/web/ui-package-test/template/next-env.d.ts +5 -0
  97. package/src/templates/web/ui-package-test/template/package.json +42 -0
  98. package/src/templates/web/ui-package-test/template/src/app/page.tsx +106 -0
  99. package/src/templates/web/ui-package-test/template/tsconfig.json +41 -0
  100. package/src/templates/web/web-ui-package/template/.env.example +15 -0
  101. package/src/templates/web/web-ui-package/template/.eslintrc.js +8 -0
  102. package/src/templates/web/web-ui-package/template/README.md +68 -0
  103. package/src/templates/web/web-ui-package/template/next.config.js +15 -0
  104. package/src/templates/web/web-ui-package/template/package.json +39 -0
  105. package/src/templates/web/web-ui-package/template/postcss.config.js +7 -0
  106. package/src/templates/web/web-ui-package/template/src/app/auth/callback/route.ts +18 -0
  107. package/src/templates/web/web-ui-package/template/src/app/checkout/page.tsx +28 -0
  108. package/src/templates/web/web-ui-package/template/src/app/globals.css +42 -0
  109. package/src/templates/web/web-ui-package/template/src/app/layout.tsx +29 -0
  110. package/src/templates/web/web-ui-package/template/src/app/login/page.tsx +39 -0
  111. package/src/templates/web/web-ui-package/template/src/app/page.tsx +91 -0
  112. package/src/templates/web/web-ui-package/template/src/app/signup/page.tsx +39 -0
  113. package/src/templates/web/web-ui-package/template/src/components/providers/app-providers.tsx +29 -0
  114. package/src/templates/web/web-ui-package/template/src/components/shared/header.tsx +42 -0
  115. package/src/templates/web/web-ui-package/template/src/components/ui/badge.tsx +36 -0
  116. package/src/templates/web/web-ui-package/template/src/lib/utils.ts +7 -0
  117. package/src/templates/web/web-ui-package/template/tailwind.config.js +77 -0
  118. package/src/templates/web/web-ui-package/template/tsconfig.json +33 -0
  119. package/src/templates/web/web-ui-package/template.backup/.env.example +15 -0
  120. package/src/templates/web/web-ui-package/template.backup.20250817/.env.example +15 -0
@@ -0,0 +1,36 @@
1
+ import * as React from "react"
2
+ import { cva, type VariantProps } from "class-variance-authority"
3
+ import { cn } from "@/lib/utils"
4
+
5
+ const badgeVariants = cva(
6
+ "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
7
+ {
8
+ variants: {
9
+ variant: {
10
+ default:
11
+ "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
12
+ secondary:
13
+ "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
14
+ destructive:
15
+ "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
16
+ outline: "text-foreground",
17
+ },
18
+ },
19
+ defaultVariants: {
20
+ variant: "default",
21
+ },
22
+ }
23
+ )
24
+
25
+ export interface BadgeProps
26
+ extends React.HTMLAttributes<HTMLDivElement>,
27
+ VariantProps<typeof badgeVariants> {}
28
+
29
+ function Badge({ className, variant, ...props }: BadgeProps) {
30
+ return (
31
+ <div className={cn(badgeVariants({ variant }), className)} {...props} />
32
+ )
33
+ }
34
+
35
+ export { Badge, badgeVariants }
36
+
@@ -0,0 +1,7 @@
1
+ import { type ClassValue, clsx } from "clsx"
2
+ import { twMerge } from "tailwind-merge"
3
+
4
+ export function cn(...inputs: ClassValue[]) {
5
+ return twMerge(clsx(inputs))
6
+ }
7
+
@@ -0,0 +1,77 @@
1
+ /** @type {import('tailwindcss').Config} */
2
+ module.exports = {
3
+ darkMode: ["class"],
4
+ content: [
5
+ './pages/**/*.{ts,tsx}',
6
+ './components/**/*.{ts,tsx}',
7
+ './app/**/*.{ts,tsx}',
8
+ './src/**/*.{ts,tsx}',
9
+ '../../node_modules/@digilogiclabs/saas-factory-ui/dist/**/*.{js,ts,jsx,tsx}',
10
+ ],
11
+ theme: {
12
+ container: {
13
+ center: true,
14
+ padding: "2rem",
15
+ screens: {
16
+ "2xl": "1400px",
17
+ },
18
+ },
19
+ extend: {
20
+ colors: {
21
+ border: "hsl(var(--border))",
22
+ input: "hsl(var(--input))",
23
+ ring: "hsl(var(--ring))",
24
+ background: "hsl(var(--background))",
25
+ foreground: "hsl(var(--foreground))",
26
+ primary: {
27
+ DEFAULT: "hsl(var(--primary))",
28
+ foreground: "hsl(var(--primary-foreground))",
29
+ },
30
+ secondary: {
31
+ DEFAULT: "hsl(var(--secondary))",
32
+ foreground: "hsl(var(--secondary-foreground))",
33
+ },
34
+ destructive: {
35
+ DEFAULT: "hsl(var(--destructive))",
36
+ foreground: "hsl(var(--destructive-foreground))",
37
+ },
38
+ muted: {
39
+ DEFAULT: "hsl(var(--muted))",
40
+ foreground: "hsl(var(--muted-foreground))",
41
+ },
42
+ accent: {
43
+ DEFAULT: "hsl(var(--accent))",
44
+ foreground: "hsl(var(--accent-foreground))",
45
+ },
46
+ popover: {
47
+ DEFAULT: "hsl(var(--popover))",
48
+ foreground: "hsl(var(--popover-foreground))",
49
+ },
50
+ card: {
51
+ DEFAULT: "hsl(var(--card))",
52
+ foreground: "hsl(var(--card-foreground))",
53
+ },
54
+ },
55
+ borderRadius: {
56
+ lg: "var(--radius)",
57
+ md: "calc(var(--radius) - 2px)",
58
+ sm: "calc(var(--radius) - 4px)",
59
+ },
60
+ keyframes: {
61
+ "accordion-down": {
62
+ from: { height: 0 },
63
+ to: { height: "var(--radix-accordion-content-height)" },
64
+ },
65
+ "accordion-up": {
66
+ from: { height: "var(--radix-accordion-content-height)" },
67
+ to: { height: 0 },
68
+ },
69
+ },
70
+ animation: {
71
+ "accordion-down": "accordion-down 0.2s ease-out",
72
+ "accordion-up": "accordion-up 0.2s ease-out",
73
+ },
74
+ },
75
+ },
76
+ plugins: [require("tailwindcss-animate")],
77
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es5",
4
+ "lib": ["dom", "dom.iterable", "es6"],
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
+ "baseUrl": ".",
22
+ "paths": {
23
+ "@/*": ["./src/*"],
24
+ "@/components/*": ["./src/components/*"],
25
+ "@/lib/*": ["./src/lib/*"],
26
+ "@/hooks/*": ["./src/hooks/*"],
27
+ "@/types/*": ["./src/types/*"]
28
+ }
29
+ },
30
+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
31
+ "exclude": ["node_modules"]
32
+ }
33
+
@@ -0,0 +1,15 @@
1
+ # Auth Configuration
2
+ NEXT_PUBLIC_AUTH_PROVIDER=supabase|firebase
3
+
4
+ # Supabase
5
+ NEXT_PUBLIC_SUPABASE_URL=
6
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=
7
+
8
+ # Firebase
9
+ NEXT_PUBLIC_FIREBASE_API_KEY=
10
+ NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
11
+ NEXT_PUBLIC_FIREBASE_PROJECT_ID=
12
+
13
+ # Payments
14
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
15
+ STRIPE_SECRET_KEY=
@@ -0,0 +1,15 @@
1
+ # Auth Configuration
2
+ NEXT_PUBLIC_AUTH_PROVIDER=supabase|firebase
3
+
4
+ # Supabase
5
+ NEXT_PUBLIC_SUPABASE_URL=
6
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=
7
+
8
+ # Firebase
9
+ NEXT_PUBLIC_FIREBASE_API_KEY=
10
+ NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
11
+ NEXT_PUBLIC_FIREBASE_PROJECT_ID=
12
+
13
+ # Payments
14
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
15
+ STRIPE_SECRET_KEY=
@@ -0,0 +1,15 @@
1
+ # Auth Configuration
2
+ NEXT_PUBLIC_AUTH_PROVIDER=supabase|firebase
3
+
4
+ # Supabase
5
+ NEXT_PUBLIC_SUPABASE_URL=
6
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=
7
+
8
+ # Firebase
9
+ NEXT_PUBLIC_FIREBASE_API_KEY=
10
+ NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
11
+ NEXT_PUBLIC_FIREBASE_PROJECT_ID=
12
+
13
+ # Payments
14
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
15
+ STRIPE_SECRET_KEY=
@@ -0,0 +1,8 @@
1
+ /** @type {import('eslint').Linter.Config} */
2
+ module.exports = {
3
+ extends: ['next/core-web-vitals'],
4
+ rules: {
5
+ // Add any custom rules here
6
+ },
7
+ }
8
+
@@ -0,0 +1,15 @@
1
+ # Auth Configuration
2
+ NEXT_PUBLIC_AUTH_PROVIDER=supabase|firebase
3
+
4
+ # Supabase
5
+ NEXT_PUBLIC_SUPABASE_URL=
6
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=
7
+
8
+ # Firebase
9
+ NEXT_PUBLIC_FIREBASE_API_KEY=
10
+ NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
11
+ NEXT_PUBLIC_FIREBASE_PROJECT_ID=
12
+
13
+ # Payments
14
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
15
+ STRIPE_SECRET_KEY=
@@ -0,0 +1,15 @@
1
+ # Auth Configuration
2
+ NEXT_PUBLIC_AUTH_PROVIDER=supabase|firebase
3
+
4
+ # Supabase
5
+ NEXT_PUBLIC_SUPABASE_URL=
6
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=
7
+
8
+ # Firebase
9
+ NEXT_PUBLIC_FIREBASE_API_KEY=
10
+ NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
11
+ NEXT_PUBLIC_FIREBASE_PROJECT_ID=
12
+
13
+ # Payments
14
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
15
+ STRIPE_SECRET_KEY=
@@ -0,0 +1,15 @@
1
+ # Auth Configuration
2
+ NEXT_PUBLIC_AUTH_PROVIDER=supabase|firebase
3
+
4
+ # Supabase
5
+ NEXT_PUBLIC_SUPABASE_URL=
6
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=
7
+
8
+ # Firebase
9
+ NEXT_PUBLIC_FIREBASE_API_KEY=
10
+ NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
11
+ NEXT_PUBLIC_FIREBASE_PROJECT_ID=
12
+
13
+ # Payments
14
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
15
+ STRIPE_SECRET_KEY=
@@ -0,0 +1,8 @@
1
+ /** @type {import('eslint').Linter.Config} */
2
+ module.exports = {
3
+ extends: ['next/core-web-vitals'],
4
+ rules: {
5
+ // Add any custom rules here
6
+ },
7
+ }
8
+
@@ -0,0 +1,15 @@
1
+ # Auth Configuration
2
+ NEXT_PUBLIC_AUTH_PROVIDER=supabase|firebase
3
+
4
+ # Supabase
5
+ NEXT_PUBLIC_SUPABASE_URL=
6
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=
7
+
8
+ # Firebase
9
+ NEXT_PUBLIC_FIREBASE_API_KEY=
10
+ NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
11
+ NEXT_PUBLIC_FIREBASE_PROJECT_ID=
12
+
13
+ # Payments
14
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
15
+ STRIPE_SECRET_KEY=
@@ -0,0 +1,15 @@
1
+ # Auth Configuration
2
+ NEXT_PUBLIC_AUTH_PROVIDER=supabase|firebase
3
+
4
+ # Supabase
5
+ NEXT_PUBLIC_SUPABASE_URL=
6
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=
7
+
8
+ # Firebase
9
+ NEXT_PUBLIC_FIREBASE_API_KEY=
10
+ NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
11
+ NEXT_PUBLIC_FIREBASE_PROJECT_ID=
12
+
13
+ # Payments
14
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
15
+ STRIPE_SECRET_KEY=
@@ -0,0 +1,15 @@
1
+ # Auth Configuration
2
+ NEXT_PUBLIC_AUTH_PROVIDER=supabase|firebase
3
+
4
+ # Supabase
5
+ NEXT_PUBLIC_SUPABASE_URL=
6
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=
7
+
8
+ # Firebase
9
+ NEXT_PUBLIC_FIREBASE_API_KEY=
10
+ NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
11
+ NEXT_PUBLIC_FIREBASE_PROJECT_ID=
12
+
13
+ # Payments
14
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
15
+ STRIPE_SECRET_KEY=
@@ -0,0 +1,8 @@
1
+ /** @type {import('eslint').Linter.Config} */
2
+ module.exports = {
3
+ extends: ['next/core-web-vitals'],
4
+ rules: {
5
+ // Add any custom rules here
6
+ },
7
+ }
8
+
@@ -0,0 +1,15 @@
1
+ # Auth Configuration
2
+ NEXT_PUBLIC_AUTH_PROVIDER=supabase|firebase
3
+
4
+ # Supabase
5
+ NEXT_PUBLIC_SUPABASE_URL=
6
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=
7
+
8
+ # Firebase
9
+ NEXT_PUBLIC_FIREBASE_API_KEY=
10
+ NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
11
+ NEXT_PUBLIC_FIREBASE_PROJECT_ID=
12
+
13
+ # Payments
14
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
15
+ STRIPE_SECRET_KEY=
@@ -0,0 +1,15 @@
1
+ # Auth Configuration
2
+ NEXT_PUBLIC_AUTH_PROVIDER=supabase|firebase
3
+
4
+ # Supabase
5
+ NEXT_PUBLIC_SUPABASE_URL=
6
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=
7
+
8
+ # Firebase
9
+ NEXT_PUBLIC_FIREBASE_API_KEY=
10
+ NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
11
+ NEXT_PUBLIC_FIREBASE_PROJECT_ID=
12
+
13
+ # Payments
14
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
15
+ STRIPE_SECRET_KEY=
package/package.json CHANGED
@@ -1,105 +1,105 @@
1
- {
2
- "name": "@digilogiclabs/create-saas-app",
3
- "version": "1.1.0",
4
- "description": "Create modern SaaS applications with DigitalLogic Labs packages",
5
- "main": "dist/cli/index.js",
6
- "bin": {
7
- "create-saas-app": "bin/index.js"
8
- },
9
- "scripts": {
10
- "build": "tsup",
11
- "dev": "tsup --watch",
12
- "test": "jest",
13
- "test:watch": "jest --watch",
14
- "test:coverage": "jest --coverage",
15
- "test:templates": "tsx scripts/test-all-templates.ts",
16
- "lint": "eslint src --ext .ts,.tsx",
17
- "lint:fix": "eslint src --ext .ts,.tsx --fix",
18
- "type-check": "tsc --noEmit",
19
- "validate": "tsx scripts/validate-templates.ts",
20
- "update-deps": "tsx scripts/update-dependencies.ts",
21
- "changeset": "changeset",
22
- "version": "changeset version",
23
- "release": "npm run build && changeset publish",
24
- "prepublishOnly": "npm run build"
25
- },
26
- "keywords": [
27
- "cli",
28
- "saas",
29
- "template",
30
- "nextjs",
31
- "react-native",
32
- "expo",
33
- "typescript",
34
- "tailwind",
35
- "firebase",
36
- "supabase",
37
- "digilogiclabs"
38
- ],
39
- "author": "DigitalLogic Labs",
40
- "license": "MIT",
41
- "repository": {
42
- "type": "git",
43
- "url": "git+https://github.com/DigiLogicLabs/create-saas-app.git"
44
- },
45
- "bugs": {
46
- "url": "https://github.com/DigiLogicLabs/create-saas-app/issues"
47
- },
48
- "homepage": "https://github.com/DigiLogicLabs/create-saas-app#readme",
49
- "files": [
50
- "dist",
51
- "bin",
52
- "src/templates",
53
- "README.md",
54
- "CHANGELOG.md"
55
- ],
56
- "engines": {
57
- "node": ">=16.0.0"
58
- },
59
- "dependencies": {
60
- "commander": "^11.1.0",
61
- "inquirer": "^9.2.12",
62
- "chalk": "^5.3.0",
63
- "ora": "^7.0.1",
64
- "mustache": "^4.2.0",
65
- "fs-extra": "^11.1.1",
66
- "glob": "^10.3.10",
67
- "semver": "^7.5.4",
68
- "validate-npm-package-name": "^5.0.0",
69
- "execa": "^8.0.1",
70
- "listr2": "^7.0.2",
71
- "cosmiconfig": "^8.3.6",
72
- "zod": "^3.22.4"
73
- },
74
- "devDependencies": {
75
- "@types/node": "^20.8.7",
76
- "@types/inquirer": "^9.0.7",
77
- "@types/mustache": "^4.2.5",
78
- "@types/fs-extra": "^11.0.4",
79
- "@types/semver": "^7.5.4",
80
- "@types/validate-npm-package-name": "^4.0.2",
81
- "@types/jest": "^29.5.6",
82
- "@typescript-eslint/eslint-plugin": "^6.9.0",
83
- "@typescript-eslint/parser": "^6.9.0",
84
- "@changesets/cli": "^2.26.2",
85
- "eslint": "^8.52.0",
86
- "eslint-config-prettier": "^9.0.0",
87
- "eslint-plugin-prettier": "^5.0.1",
88
- "jest": "^29.7.0",
89
- "ts-jest": "^29.1.1",
90
- "tsx": "^3.14.0",
91
- "tsup": "^7.2.0",
92
- "typescript": "^5.2.2",
93
- "prettier": "^3.0.3"
94
- },
95
- "peerDependencies": {
96
- "typescript": ">=4.9.0"
97
- },
98
- "publishConfig": {
99
- "access": "restricted"
100
- },
101
- "directories": {
102
- "doc": "docs",
103
- "test": "tests"
104
- }
105
- }
1
+ {
2
+ "name": "@digilogiclabs/create-saas-app",
3
+ "version": "1.1.1",
4
+ "description": "Create modern SaaS applications with DigitalLogic Labs packages",
5
+ "main": "dist/index.js",
6
+ "bin": {
7
+ "create-saas-app": "bin/index.js"
8
+ },
9
+ "scripts": {
10
+ "build": "tsup",
11
+ "dev": "tsup --watch",
12
+ "test": "jest",
13
+ "test:templates": "tsx scripts/test-all-templates.ts",
14
+ "lint": "eslint src",
15
+ "lint:fix": "eslint src --fix",
16
+ "type-check": "tsc --noEmit",
17
+ "validate": "tsx scripts/validate-templates.ts",
18
+ "changeset": "changeset",
19
+ "version": "changeset version",
20
+ "release": "npm run build && changeset publish",
21
+ "prepublishOnly": "npm run build && npm run lint && npm run type-check"
22
+ },
23
+ "keywords": [
24
+ "cli",
25
+ "saas",
26
+ "template",
27
+ "nextjs",
28
+ "react-native",
29
+ "expo",
30
+ "typescript",
31
+ "tailwind",
32
+ "firebase",
33
+ "supabase",
34
+ "digilogiclabs"
35
+ ],
36
+ "author": "Digi Logic Labs",
37
+ "license": "MIT",
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "git+https://github.com/DigiLogicLabs/create-saas-app.git"
41
+ },
42
+ "bugs": {
43
+ "url": "https://github.com/DigiLogicLabs/create-saas-app/issues"
44
+ },
45
+ "homepage": "https://github.com/DigiLogicLabs/create-saas-app#readme",
46
+ "files": [
47
+ "dist",
48
+ "bin",
49
+ "src/templates",
50
+ "README.md",
51
+ "CHANGELOG.md",
52
+ "LICENSE"
53
+ ],
54
+ "engines": {
55
+ "node": ">=18.0.0"
56
+ },
57
+ "dependencies": {
58
+ "chalk": "^4.1.2",
59
+ "commander": "^11.1.0",
60
+ "cosmiconfig": "^8.3.6",
61
+ "execa": "^5.1.1",
62
+ "fs-extra": "^11.1.1",
63
+ "glob": "^10.3.10",
64
+ "inquirer": "^9.2.12",
65
+ "listr2": "^7.0.2",
66
+ "mustache": "^4.2.0",
67
+ "ora": "^5.4.1",
68
+ "semver": "^7.5.4",
69
+ "validate-npm-package-name": "^5.0.0",
70
+ "zod": "^3.22.4"
71
+ },
72
+ "devDependencies": {
73
+ "@changesets/cli": "^2.26.2",
74
+ "@supabase/supabase-js": "^2.39.2",
75
+ "@types/fs-extra": "^11.0.4",
76
+ "@types/inquirer": "^9.0.7",
77
+ "@types/jest": "^29.5.6",
78
+ "@types/mustache": "^4.2.5",
79
+ "@types/node": "^20.8.7",
80
+ "@types/semver": "^7.5.4",
81
+ "@types/validate-npm-package-name": "^4.0.2",
82
+ "eslint": "^8.57.1",
83
+ "eslint-config-prettier": "^9.1.2",
84
+ "eslint-plugin-prettier": "^5.5.4",
85
+ "firebase": "^10.7.1",
86
+ "globals": "^16.3.0",
87
+ "jest": "^29.7.0",
88
+ "prettier": "^3.0.3",
89
+ "ts-jest": "^29.1.1",
90
+ "tsup": "^7.2.0",
91
+ "tsx": "^3.14.0",
92
+ "typescript": "^5.2.2",
93
+ "typescript-eslint": "^8.40.0"
94
+ },
95
+ "peerDependencies": {
96
+ "typescript": ">=4.9.0"
97
+ },
98
+ "publishConfig": {
99
+ "access": "public"
100
+ },
101
+ "directories": {
102
+ "doc": "docs",
103
+ "test": "tests"
104
+ }
105
+ }
@@ -0,0 +1,15 @@
1
+ # Auth Configuration
2
+ NEXT_PUBLIC_AUTH_PROVIDER=supabase|firebase
3
+
4
+ # Supabase
5
+ NEXT_PUBLIC_SUPABASE_URL=
6
+ NEXT_PUBLIC_SUPABASE_ANON_KEY=
7
+
8
+ # Firebase
9
+ NEXT_PUBLIC_FIREBASE_API_KEY=
10
+ NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
11
+ NEXT_PUBLIC_FIREBASE_PROJECT_ID=
12
+
13
+ # Payments
14
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
15
+ STRIPE_SECRET_KEY=