@digilogiclabs/create-saas-app 1.1.2 → 1.4.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/CHANGELOG.md +7 -7
- package/README.md +46 -22
- package/bin/index.js +36 -36
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.js +59 -15
- package/dist/index.js.map +1 -1
- package/dist/templates/mobile/base/template/.env.example +15 -15
- package/dist/templates/mobile/base/template/app/checkout.tsx +20 -20
- package/dist/templates/web/base/template/src/app/checkout/page.tsx +28 -28
- package/dist/templates/web/ui-auth/template/next.config.js +12 -0
- package/dist/templates/web/ui-auth/template/package.json +40 -0
- package/dist/templates/web/ui-auth/template/postcss.config.js +7 -0
- package/dist/templates/web/ui-auth/template/src/app/auth/callback/route.ts +12 -0
- package/{src/templates/web/web-ui-package → dist/templates/web/ui-auth}/template/src/app/checkout/page.tsx +25 -28
- package/dist/templates/web/ui-auth/template/src/app/globals.css +42 -0
- package/dist/templates/web/ui-auth/template/src/app/layout.tsx +29 -0
- package/dist/templates/web/ui-auth/template/src/app/login/page.tsx +109 -0
- package/dist/templates/web/ui-auth/template/src/app/page.tsx +129 -0
- package/dist/templates/web/ui-auth/template/src/app/signup/page.tsx +128 -0
- package/dist/templates/web/ui-auth/template/src/components/providers/app-providers.tsx +25 -0
- package/{src/templates/web/web-ui-package → dist/templates/web/ui-auth}/template/src/components/shared/header.tsx +17 -8
- package/dist/templates/web/ui-auth/template/src/components/ui/badge.tsx +36 -0
- package/dist/templates/web/ui-auth/template/src/lib/utils.ts +7 -0
- package/dist/templates/web/ui-auth/template/tailwind.config.js +77 -0
- package/dist/templates/web/ui-auth/template/tsconfig.json +33 -0
- package/dist/templates/web/ui-auth-payments/template/README.md +165 -0
- package/dist/templates/web/ui-auth-payments/template/next.config.js +12 -0
- package/dist/templates/web/ui-auth-payments/template/package.json +42 -0
- package/dist/templates/web/ui-auth-payments/template/postcss.config.js +7 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/auth/callback/route.ts +12 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/billing/page.tsx +211 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/checkout/page.tsx +142 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/globals.css +42 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/layout.tsx +29 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/login/page.tsx +109 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/page.tsx +143 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/signup/page.tsx +128 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/providers/app-providers.tsx +28 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/shared/header.tsx +60 -0
- package/dist/templates/web/ui-auth-payments/template/src/components/ui/badge.tsx +36 -0
- package/dist/templates/web/ui-auth-payments/template/src/lib/utils.ts +7 -0
- package/dist/templates/web/ui-auth-payments/template/tailwind.config.js +77 -0
- package/dist/templates/web/ui-auth-payments/template/tsconfig.json +33 -0
- package/dist/templates/web/ui-auth-payments-audio/template/README.md +187 -0
- package/{src/templates/web/web-ui-package → dist/templates/web/ui-auth-payments-audio}/template/next.config.js +0 -3
- package/dist/templates/web/ui-auth-payments-audio/template/package.json +42 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/auth/callback/route.ts +12 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/billing/page.tsx +211 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/checkout/page.tsx +142 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/login/page.tsx +109 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +181 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/signup/page.tsx +128 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/providers/app-providers.tsx +28 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/shared/header.tsx +60 -0
- package/{src/templates/web/web-ui-package → dist/templates/web/ui-auth-payments-audio}/template/tailwind.config.js +1 -1
- package/dist/templates/web/ui-auth-payments-video/template/README.md +190 -0
- package/dist/templates/web/{web-ui-package → ui-auth-payments-video}/template/next.config.js +0 -3
- package/dist/templates/web/ui-auth-payments-video/template/package.json +42 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/auth/callback/route.ts +12 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/billing/page.tsx +211 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/checkout/page.tsx +142 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/login/page.tsx +109 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/page.tsx +187 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/signup/page.tsx +128 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/components/providers/app-providers.tsx +28 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/components/shared/header.tsx +60 -0
- package/dist/templates/web/{web-ui-package → ui-auth-payments-video}/template/tailwind.config.js +1 -1
- package/dist/templates/web/ui-only/template/next.config.js +12 -0
- package/dist/templates/web/{web-ui-package → ui-only}/template/package.json +3 -3
- package/dist/templates/web/ui-only/template/postcss.config.js +7 -0
- package/dist/templates/web/ui-only/template/src/app/auth/callback/route.ts +12 -0
- package/dist/templates/web/{web-ui-package → ui-only}/template/src/app/checkout/page.tsx +25 -28
- package/dist/templates/web/ui-only/template/src/app/globals.css +42 -0
- package/dist/templates/web/ui-only/template/src/app/layout.tsx +29 -0
- package/dist/templates/web/ui-only/template/src/app/login/page.tsx +63 -0
- package/dist/templates/web/ui-only/template/src/app/signup/page.tsx +79 -0
- package/dist/templates/web/ui-only/template/src/components/providers/app-providers.tsx +22 -0
- package/dist/templates/web/{web-ui-package → ui-only}/template/src/components/shared/header.tsx +17 -8
- package/dist/templates/web/ui-only/template/src/components/ui/badge.tsx +36 -0
- package/dist/templates/web/ui-only/template/src/lib/utils.ts +7 -0
- package/dist/templates/web/ui-only/template/tailwind.config.js +77 -0
- package/dist/templates/web/ui-only/template/tsconfig.json +33 -0
- package/dist/templates/web/ui-package-test/template/package.json +2 -2
- package/package.json +1 -1
- package/src/templates/mobile/base/template/.env.example +15 -15
- package/src/templates/mobile/base/template/app/checkout.tsx +20 -20
- package/src/templates/web/base/template/src/app/checkout/page.tsx +28 -28
- package/src/templates/web/ui-auth/template/README.md +68 -0
- package/src/templates/web/ui-auth/template/next.config.js +12 -0
- package/src/templates/web/ui-auth/template/package.json +40 -0
- package/src/templates/web/ui-auth/template/postcss.config.js +7 -0
- package/src/templates/web/ui-auth/template/src/app/auth/callback/route.ts +12 -0
- package/src/templates/web/ui-auth/template/src/app/checkout/page.tsx +25 -0
- package/src/templates/web/ui-auth/template/src/app/globals.css +42 -0
- package/src/templates/web/ui-auth/template/src/app/layout.tsx +29 -0
- package/src/templates/web/ui-auth/template/src/app/login/page.tsx +109 -0
- package/src/templates/web/ui-auth/template/src/app/page.tsx +129 -0
- package/src/templates/web/ui-auth/template/src/app/signup/page.tsx +128 -0
- package/src/templates/web/ui-auth/template/src/components/providers/app-providers.tsx +25 -0
- package/src/templates/web/ui-auth/template/src/components/shared/header.tsx +51 -0
- package/src/templates/web/ui-auth/template/src/components/ui/badge.tsx +36 -0
- package/src/templates/web/ui-auth/template/src/lib/utils.ts +7 -0
- package/src/templates/web/ui-auth/template/tailwind.config.js +77 -0
- package/src/templates/web/ui-auth/template/tsconfig.json +33 -0
- package/src/templates/web/ui-auth-payments/template/README.md +165 -0
- package/src/templates/web/ui-auth-payments/template/next.config.js +12 -0
- package/src/templates/web/ui-auth-payments/template/package.json +42 -0
- package/src/templates/web/ui-auth-payments/template/postcss.config.js +7 -0
- package/src/templates/web/ui-auth-payments/template/src/app/auth/callback/route.ts +12 -0
- package/src/templates/web/ui-auth-payments/template/src/app/billing/page.tsx +211 -0
- package/src/templates/web/ui-auth-payments/template/src/app/checkout/page.tsx +142 -0
- package/src/templates/web/ui-auth-payments/template/src/app/globals.css +42 -0
- package/src/templates/web/ui-auth-payments/template/src/app/layout.tsx +29 -0
- package/src/templates/web/ui-auth-payments/template/src/app/login/page.tsx +109 -0
- package/src/templates/web/ui-auth-payments/template/src/app/page.tsx +143 -0
- package/src/templates/web/ui-auth-payments/template/src/app/signup/page.tsx +128 -0
- package/src/templates/web/ui-auth-payments/template/src/components/providers/app-providers.tsx +28 -0
- package/src/templates/web/ui-auth-payments/template/src/components/shared/header.tsx +60 -0
- package/src/templates/web/ui-auth-payments/template/src/components/ui/badge.tsx +36 -0
- package/src/templates/web/ui-auth-payments/template/src/lib/utils.ts +7 -0
- package/src/templates/web/ui-auth-payments/template/tailwind.config.js +77 -0
- package/src/templates/web/ui-auth-payments/template/tsconfig.json +33 -0
- package/src/templates/web/ui-auth-payments-audio/template/README.md +187 -0
- package/src/templates/web/ui-auth-payments-audio/template/next.config.js +12 -0
- package/src/templates/web/ui-auth-payments-audio/template/package.json +42 -0
- package/src/templates/web/ui-auth-payments-audio/template/postcss.config.js +7 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/auth/callback/route.ts +12 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/billing/page.tsx +211 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/checkout/page.tsx +142 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/globals.css +42 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/layout.tsx +29 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/login/page.tsx +109 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +181 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/signup/page.tsx +128 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/providers/app-providers.tsx +28 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/shared/header.tsx +60 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/ui/badge.tsx +36 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/lib/utils.ts +7 -0
- package/src/templates/web/ui-auth-payments-audio/template/tailwind.config.js +77 -0
- package/src/templates/web/ui-auth-payments-audio/template/tsconfig.json +33 -0
- package/src/templates/web/ui-auth-payments-video/template/README.md +190 -0
- package/src/templates/web/ui-auth-payments-video/template/next.config.js +12 -0
- package/src/templates/web/ui-auth-payments-video/template/package.json +42 -0
- package/src/templates/web/ui-auth-payments-video/template/postcss.config.js +7 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/auth/callback/route.ts +12 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/billing/page.tsx +211 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/checkout/page.tsx +142 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/globals.css +42 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/layout.tsx +29 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/login/page.tsx +109 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/page.tsx +187 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/signup/page.tsx +128 -0
- package/src/templates/web/ui-auth-payments-video/template/src/components/providers/app-providers.tsx +28 -0
- package/src/templates/web/ui-auth-payments-video/template/src/components/shared/header.tsx +60 -0
- package/src/templates/web/ui-auth-payments-video/template/src/components/ui/badge.tsx +36 -0
- package/src/templates/web/ui-auth-payments-video/template/src/lib/utils.ts +7 -0
- package/src/templates/web/ui-auth-payments-video/template/tailwind.config.js +77 -0
- package/src/templates/web/ui-auth-payments-video/template/tsconfig.json +33 -0
- package/src/templates/web/ui-only/template/.env.example +15 -0
- package/src/templates/web/ui-only/template/README.md +68 -0
- package/src/templates/web/ui-only/template/next.config.js +12 -0
- package/src/templates/web/{web-ui-package → ui-only}/template/package.json +3 -3
- package/src/templates/web/ui-only/template/postcss.config.js +7 -0
- package/src/templates/web/ui-only/template/src/app/auth/callback/route.ts +12 -0
- package/src/templates/web/ui-only/template/src/app/checkout/page.tsx +25 -0
- package/src/templates/web/ui-only/template/src/app/globals.css +42 -0
- package/src/templates/web/ui-only/template/src/app/layout.tsx +29 -0
- package/src/templates/web/ui-only/template/src/app/login/page.tsx +63 -0
- package/src/templates/web/ui-only/template/src/app/signup/page.tsx +79 -0
- package/src/templates/web/ui-only/template/src/components/providers/app-providers.tsx +22 -0
- package/src/templates/web/ui-only/template/src/components/shared/header.tsx +51 -0
- package/src/templates/web/ui-only/template/src/components/ui/badge.tsx +36 -0
- package/src/templates/web/ui-only/template/src/lib/utils.ts +7 -0
- package/src/templates/web/ui-only/template/tailwind.config.js +77 -0
- package/src/templates/web/ui-only/template/tsconfig.json +33 -0
- package/src/templates/web/ui-only/template.backup/.env.example +15 -0
- package/{dist/mobile/base/template → src/templates/web/ui-only/template.backup.20250817}/.env.example +15 -15
- package/src/templates/web/ui-package-test/template/package.json +2 -2
- package/dist/templates/web/web-ui-package/template/src/app/auth/callback/route.ts +0 -18
- package/dist/templates/web/web-ui-package/template/src/app/login/page.tsx +0 -39
- package/dist/templates/web/web-ui-package/template/src/app/signup/page.tsx +0 -39
- package/dist/templates/web/web-ui-package/template/src/components/providers/app-providers.tsx +0 -29
- package/src/templates/web/web-ui-package/template/.eslintrc.js +0 -8
- package/src/templates/web/web-ui-package/template/src/app/auth/callback/route.ts +0 -18
- package/src/templates/web/web-ui-package/template/src/app/login/page.tsx +0 -39
- package/src/templates/web/web-ui-package/template/src/app/signup/page.tsx +0 -39
- package/src/templates/web/web-ui-package/template/src/components/providers/app-providers.tsx +0 -29
- /package/dist/{web/base → templates/web/ui-auth}/template/.env.example +0 -0
- /package/dist/templates/web/{web-ui-package → ui-auth}/template/.eslintrc.js +0 -0
- /package/dist/templates/web/{web-ui-package → ui-auth}/template/README.md +0 -0
- /package/dist/{web/base → templates/web/ui-auth}/template.backup/.env.example +0 -0
- /package/dist/{web/base → templates/web/ui-auth}/template.backup.20250817/.env.example +0 -0
- /package/dist/templates/web/{web-ui-package → ui-auth-payments}/template/.env.example +0 -0
- /package/dist/templates/web/{web-ui-package/template.backup.20250817 → ui-auth-payments-audio/template}/.env.example +0 -0
- /package/dist/templates/web/{web-ui-package → ui-auth-payments-audio}/template/postcss.config.js +0 -0
- /package/dist/templates/web/{web-ui-package → ui-auth-payments-audio}/template/src/app/globals.css +0 -0
- /package/dist/templates/web/{web-ui-package → ui-auth-payments-audio}/template/src/app/layout.tsx +0 -0
- /package/dist/templates/web/{web-ui-package → ui-auth-payments-audio}/template/src/components/ui/badge.tsx +0 -0
- /package/dist/templates/web/{web-ui-package → ui-auth-payments-audio}/template/src/lib/utils.ts +0 -0
- /package/dist/templates/web/{web-ui-package → ui-auth-payments-audio}/template/tsconfig.json +0 -0
- /package/dist/templates/web/{web-ui-package/template.backup → ui-auth-payments-video/template}/.env.example +0 -0
- /package/{src/templates/web/web-ui-package → dist/templates/web/ui-auth-payments-video}/template/postcss.config.js +0 -0
- /package/{src/templates/web/web-ui-package → dist/templates/web/ui-auth-payments-video}/template/src/app/globals.css +0 -0
- /package/{src/templates/web/web-ui-package → dist/templates/web/ui-auth-payments-video}/template/src/app/layout.tsx +0 -0
- /package/{src/templates/web/web-ui-package → dist/templates/web/ui-auth-payments-video}/template/src/components/ui/badge.tsx +0 -0
- /package/{src/templates/web/web-ui-package → dist/templates/web/ui-auth-payments-video}/template/src/lib/utils.ts +0 -0
- /package/{src/templates/web/web-ui-package → dist/templates/web/ui-auth-payments-video}/template/tsconfig.json +0 -0
- /package/dist/{web/ui-package-test → templates/web/ui-only}/template/.env.example +0 -0
- /package/dist/{web/base → templates/web/ui-only}/template/.eslintrc.js +0 -0
- /package/{src/templates/web/web-ui-package → dist/templates/web/ui-only}/template/README.md +0 -0
- /package/dist/templates/web/{web-ui-package → ui-only}/template/src/app/page.tsx +0 -0
- /package/dist/{web/ui-package-test → templates/web/ui-only}/template.backup/.env.example +0 -0
- /package/dist/{web/ui-package-test → templates/web/ui-only}/template.backup.20250817/.env.example +0 -0
- /package/src/templates/web/{web-ui-package → ui-auth}/template/.env.example +0 -0
- /package/{dist/web/ui-package-test → src/templates/web/ui-auth}/template/.eslintrc.js +0 -0
- /package/src/templates/web/{web-ui-package → ui-auth}/template.backup/.env.example +0 -0
- /package/src/templates/web/{web-ui-package → ui-auth}/template.backup.20250817/.env.example +0 -0
- /package/{dist/web/web-ui-package → src/templates/web/ui-auth-payments}/template/.env.example +0 -0
- /package/{dist/web/web-ui-package/template.backup.20250817 → src/templates/web/ui-auth-payments-audio/template}/.env.example +0 -0
- /package/{dist/web/web-ui-package/template.backup → src/templates/web/ui-auth-payments-video/template}/.env.example +0 -0
- /package/{dist/web/web-ui-package → src/templates/web/ui-only}/template/.eslintrc.js +0 -0
- /package/src/templates/web/{web-ui-package → ui-only}/template/src/app/page.tsx +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# @digilogiclabs/create-saas-app
|
|
2
|
-
|
|
3
|
-
## 1.1.0
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- retrigger release
|
|
1
|
+
# @digilogiclabs/create-saas-app
|
|
2
|
+
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- retrigger release
|
package/README.md
CHANGED
|
@@ -6,13 +6,16 @@ Create modern SaaS applications with Digi Logic Labs packages in seconds. This C
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
# Create a web SaaS application
|
|
9
|
-
npx @digilogiclabs/create-saas-app web saas my-startup
|
|
9
|
+
npx @digilogiclabs/create-saas-app create web saas my-startup
|
|
10
|
+
|
|
11
|
+
# Create an audio streaming app
|
|
12
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio my-music-app
|
|
10
13
|
|
|
11
14
|
# Create a mobile app with tab navigation
|
|
12
|
-
npx @digilogiclabs/create-saas-app mobile tabs my-mobile-app
|
|
15
|
+
npx @digilogiclabs/create-saas-app create mobile tabs my-mobile-app
|
|
13
16
|
|
|
14
17
|
# Create both web and mobile apps
|
|
15
|
-
npx @digilogiclabs/create-saas-app both base my-full-stack-app
|
|
18
|
+
npx @digilogiclabs/create-saas-app create both base my-full-stack-app
|
|
16
19
|
```
|
|
17
20
|
|
|
18
21
|
## 📦 Installation
|
|
@@ -35,6 +38,7 @@ create-saas-app --help
|
|
|
35
38
|
- 🔧 **Smart Configuration**: Auto-configures auth, database, and themes
|
|
36
39
|
- 📦 **Package Integration**: Pre-configured with Digi Logic Labs packages
|
|
37
40
|
- 🎨 **Multiple Themes**: Corporate, startup, or default styling
|
|
41
|
+
- 🎵 **Media Support**: Audio and video streaming templates
|
|
38
42
|
- 🔐 **Auth Ready**: Firebase or Supabase authentication
|
|
39
43
|
- 📊 **Database Ready**: Supabase or Firebase database setup
|
|
40
44
|
- 🚀 **Deploy Ready**: Vercel, Netlify, and Expo deployment configs
|
|
@@ -50,19 +54,31 @@ create-saas-app --help
|
|
|
50
54
|
#### **Base Template**
|
|
51
55
|
Clean Next.js starter with authentication and UI components
|
|
52
56
|
```bash
|
|
53
|
-
npx @digilogiclabs/create-saas-app web base my-web-app
|
|
57
|
+
npx @digilogiclabs/create-saas-app create web base my-web-app
|
|
54
58
|
```
|
|
55
59
|
|
|
56
60
|
#### **Dashboard Template**
|
|
57
61
|
Admin dashboard with analytics and user management
|
|
58
62
|
```bash
|
|
59
|
-
npx @digilogiclabs/create-saas-app web dashboard admin-panel
|
|
63
|
+
npx @digilogiclabs/create-saas-app create web dashboard admin-panel
|
|
60
64
|
```
|
|
61
65
|
|
|
62
66
|
#### **SaaS Template**
|
|
63
67
|
Multi-tenant SaaS application with billing and teams
|
|
64
68
|
```bash
|
|
65
|
-
npx @digilogiclabs/create-saas-app web saas my-saas-platform
|
|
69
|
+
npx @digilogiclabs/create-saas-app create web saas my-saas-platform
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
#### **Audio Player Template**
|
|
73
|
+
Full SaaS application with audio streaming features and playlist support
|
|
74
|
+
```bash
|
|
75
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio my-audio-app
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
#### **Video Player Template**
|
|
79
|
+
Full SaaS application with video streaming features and quality selection
|
|
80
|
+
```bash
|
|
81
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-video my-video-app
|
|
66
82
|
```
|
|
67
83
|
|
|
68
84
|
### Web Project Structure
|
|
@@ -93,7 +109,7 @@ my-web-app/
|
|
|
93
109
|
|
|
94
110
|
1. **Create your project**:
|
|
95
111
|
```bash
|
|
96
|
-
npx @digilogiclabs/create-saas-app web base my-web-app
|
|
112
|
+
npx @digilogiclabs/create-saas-app create web base my-web-app
|
|
97
113
|
cd my-web-app
|
|
98
114
|
```
|
|
99
115
|
|
|
@@ -133,19 +149,19 @@ NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
|
|
|
133
149
|
#### **Base Template**
|
|
134
150
|
Simple Expo app with navigation and authentication
|
|
135
151
|
```bash
|
|
136
|
-
npx @digilogiclabs/create-saas-app mobile base my-mobile-app
|
|
152
|
+
npx @digilogiclabs/create-saas-app create mobile base my-mobile-app
|
|
137
153
|
```
|
|
138
154
|
|
|
139
155
|
#### **Tabs Template**
|
|
140
156
|
Tab-based navigation structure
|
|
141
157
|
```bash
|
|
142
|
-
npx @digilogiclabs/create-saas-app mobile tabs my-tabs-app
|
|
158
|
+
npx @digilogiclabs/create-saas-app create mobile tabs my-tabs-app
|
|
143
159
|
```
|
|
144
160
|
|
|
145
161
|
#### **Stack Template**
|
|
146
162
|
Stack-based navigation structure
|
|
147
163
|
```bash
|
|
148
|
-
npx @digilogiclabs/create-saas-app mobile stack my-stack-app
|
|
164
|
+
npx @digilogiclabs/create-saas-app create mobile stack my-stack-app
|
|
149
165
|
```
|
|
150
166
|
|
|
151
167
|
### Mobile Project Structure
|
|
@@ -175,7 +191,7 @@ my-mobile-app/
|
|
|
175
191
|
|
|
176
192
|
1. **Create your project**:
|
|
177
193
|
```bash
|
|
178
|
-
npx @digilogiclabs/create-saas-app mobile base my-mobile-app
|
|
194
|
+
npx @digilogiclabs/create-saas-app create mobile base my-mobile-app
|
|
179
195
|
cd my-mobile-app
|
|
180
196
|
```
|
|
181
197
|
|
|
@@ -214,7 +230,7 @@ The CLI will guide you through project configuration with interactive prompts.
|
|
|
214
230
|
|
|
215
231
|
### Command Line Options
|
|
216
232
|
```bash
|
|
217
|
-
npx @digilogiclabs/create-saas-app <platform> [template] [name] [options]
|
|
233
|
+
npx @digilogiclabs/create-saas-app create <platform> [template] [name] [options]
|
|
218
234
|
|
|
219
235
|
Arguments:
|
|
220
236
|
platform Platform: web, mobile, or both
|
|
@@ -236,42 +252,50 @@ Options:
|
|
|
236
252
|
#### Web Applications
|
|
237
253
|
```bash
|
|
238
254
|
# Basic web app with defaults
|
|
239
|
-
npx @digilogiclabs/create-saas-app web base my-app
|
|
255
|
+
npx @digilogiclabs/create-saas-app create web base my-app
|
|
240
256
|
|
|
241
257
|
# SaaS app with Supabase and corporate theme
|
|
242
|
-
npx @digilogiclabs/create-saas-app web saas my-startup \
|
|
258
|
+
npx @digilogiclabs/create-saas-app create web saas my-startup \
|
|
243
259
|
--auth=supabase --database=supabase --theme=corporate
|
|
244
260
|
|
|
245
261
|
# Dashboard with Firebase auth
|
|
246
|
-
npx @digilogiclabs/create-saas-app web dashboard admin-panel \
|
|
262
|
+
npx @digilogiclabs/create-saas-app create web dashboard admin-panel \
|
|
263
|
+
--auth=firebase --database=firebase
|
|
264
|
+
|
|
265
|
+
# Audio streaming app with Supabase
|
|
266
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio my-music-app \
|
|
267
|
+
--auth=supabase --database=supabase
|
|
268
|
+
|
|
269
|
+
# Video streaming app with Firebase
|
|
270
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-video my-streaming-app \
|
|
247
271
|
--auth=firebase --database=firebase
|
|
248
272
|
|
|
249
273
|
# Skip installation and git init
|
|
250
|
-
npx @digilogiclabs/create-saas-app web base my-app \
|
|
274
|
+
npx @digilogiclabs/create-saas-app create web base my-app \
|
|
251
275
|
--no-install --no-git
|
|
252
276
|
```
|
|
253
277
|
|
|
254
278
|
#### Mobile Applications
|
|
255
279
|
```bash
|
|
256
280
|
# Basic mobile app
|
|
257
|
-
npx @digilogiclabs/create-saas-app mobile base my-mobile-app
|
|
281
|
+
npx @digilogiclabs/create-saas-app create mobile base my-mobile-app
|
|
258
282
|
|
|
259
283
|
# Tab navigation with Firebase
|
|
260
|
-
npx @digilogiclabs/create-saas-app mobile tabs my-tabs-app \
|
|
284
|
+
npx @digilogiclabs/create-saas-app create mobile tabs my-tabs-app \
|
|
261
285
|
--auth=firebase
|
|
262
286
|
|
|
263
287
|
# Stack navigation with Supabase
|
|
264
|
-
npx @digilogiclabs/create-saas-app mobile stack my-stack-app \
|
|
288
|
+
npx @digilogiclabs/create-saas-app create mobile stack my-stack-app \
|
|
265
289
|
--auth=supabase --database=supabase
|
|
266
290
|
```
|
|
267
291
|
|
|
268
292
|
#### Full-Stack Applications
|
|
269
293
|
```bash
|
|
270
294
|
# Create both web and mobile
|
|
271
|
-
npx @digilogiclabs/create-saas-app both base my-full-stack-app
|
|
295
|
+
npx @digilogiclabs/create-saas-app create both base my-full-stack-app
|
|
272
296
|
|
|
273
297
|
# With specific configuration
|
|
274
|
-
npx @digilogiclabs/create-saas-app both base my-platform \
|
|
298
|
+
npx @digilogiclabs/create-saas-app create both base my-platform \
|
|
275
299
|
--auth=supabase --database=supabase --theme=startup
|
|
276
300
|
```
|
|
277
301
|
|
|
@@ -411,7 +435,7 @@ We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) f
|
|
|
411
435
|
|
|
412
436
|
4. **Test locally**:
|
|
413
437
|
```bash
|
|
414
|
-
node
|
|
438
|
+
node bin/index.js create web base test-app
|
|
415
439
|
```
|
|
416
440
|
|
|
417
441
|
## 📚 Documentation
|
package/bin/index.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
const { execSync } = require('child_process');
|
|
4
|
-
const path = require('path');
|
|
5
|
-
const fs = require('fs');
|
|
6
|
-
|
|
7
|
-
// Check Node version
|
|
8
|
-
const nodeVersion = process.version;
|
|
9
|
-
const majorVersion = parseInt(nodeVersion.split('.')[0].substring(1));
|
|
10
|
-
|
|
11
|
-
if (majorVersion < 18) {
|
|
12
|
-
console.error(`❌ Node.js 18.0.0 or higher is required. You have ${nodeVersion}.`);
|
|
13
|
-
console.error('Please upgrade Node.js: https://nodejs.org/');
|
|
14
|
-
process.exit(1);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// Check if dist directory exists
|
|
18
|
-
const distPath = path.join(__dirname, '..', 'dist');
|
|
19
|
-
if (!fs.existsSync(distPath)) {
|
|
20
|
-
console.error('❌ CLI not built. Please run: npm run build');
|
|
21
|
-
process.exit(1);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// Run the compiled CLI
|
|
25
|
-
try {
|
|
26
|
-
require('../dist/index.js');
|
|
27
|
-
} catch (error) {
|
|
28
|
-
console.error('❌ Error running create-saas-app:');
|
|
29
|
-
console.error(error.message);
|
|
30
|
-
|
|
31
|
-
if (error.code === 'MODULE_NOT_FOUND') {
|
|
32
|
-
console.error('\n💡 Try running: npm install -g @digilogiclabs/create-saas-app');
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
process.exit(1);
|
|
36
|
-
}
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const { execSync } = require('child_process');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
const fs = require('fs');
|
|
6
|
+
|
|
7
|
+
// Check Node version
|
|
8
|
+
const nodeVersion = process.version;
|
|
9
|
+
const majorVersion = parseInt(nodeVersion.split('.')[0].substring(1));
|
|
10
|
+
|
|
11
|
+
if (majorVersion < 18) {
|
|
12
|
+
console.error(`❌ Node.js 18.0.0 or higher is required. You have ${nodeVersion}.`);
|
|
13
|
+
console.error('Please upgrade Node.js: https://nodejs.org/');
|
|
14
|
+
process.exit(1);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Check if dist directory exists
|
|
18
|
+
const distPath = path.join(__dirname, '..', 'dist');
|
|
19
|
+
if (!fs.existsSync(distPath)) {
|
|
20
|
+
console.error('❌ CLI not built. Please run: npm run build');
|
|
21
|
+
process.exit(1);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Run the compiled CLI
|
|
25
|
+
try {
|
|
26
|
+
require('../dist/index.js');
|
|
27
|
+
} catch (error) {
|
|
28
|
+
console.error('❌ Error running create-saas-app:');
|
|
29
|
+
console.error(error.message);
|
|
30
|
+
|
|
31
|
+
if (error.code === 'MODULE_NOT_FOUND') {
|
|
32
|
+
console.error('\n💡 Try running: npm install -g @digilogiclabs/create-saas-app');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
process.exit(1);
|
|
36
|
+
}
|