create-stackkit-app 0.2.0 → 0.3.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 (65) hide show
  1. package/README.md +46 -31
  2. package/dist/lib/create-project.d.ts.map +1 -1
  3. package/dist/lib/create-project.js +179 -72
  4. package/dist/lib/create-project.js.map +1 -1
  5. package/dist/lib/template-composer.d.ts +17 -0
  6. package/dist/lib/template-composer.d.ts.map +1 -0
  7. package/dist/lib/template-composer.js +199 -0
  8. package/dist/lib/template-composer.js.map +1 -0
  9. package/package.json +5 -4
  10. package/templates/auth/authjs-express/config.json +20 -0
  11. package/templates/auth/authjs-express/files/lib/auth.ts +43 -0
  12. package/templates/auth/authjs-express/files/routes/auth.ts +12 -0
  13. package/templates/auth/authjs-express/lib/auth.ts +43 -0
  14. package/templates/auth/authjs-express/module.json +39 -0
  15. package/templates/auth/authjs-express/routes/auth.ts +12 -0
  16. package/templates/auth/authjs-nextjs/app/api/auth/[...nextauth]/route.ts +3 -0
  17. package/templates/auth/authjs-nextjs/config.json +19 -0
  18. package/templates/auth/authjs-nextjs/files/api/auth/[...nextauth]/route.ts +3 -0
  19. package/templates/auth/authjs-nextjs/files/lib/auth.ts +45 -0
  20. package/templates/auth/authjs-nextjs/lib/auth.ts +45 -0
  21. package/templates/auth/authjs-nextjs/module.json +38 -0
  22. package/templates/auth/better-auth-express/config.json +18 -0
  23. package/templates/auth/better-auth-express/src/lib/auth.ts +12 -0
  24. package/templates/auth/better-auth-express/src/routes/auth.ts +10 -0
  25. package/templates/auth/better-auth-nextjs/app/api/auth/[...all]/route.ts +4 -0
  26. package/templates/auth/better-auth-nextjs/config.json +18 -0
  27. package/templates/auth/better-auth-nextjs/lib/auth.ts +14 -0
  28. package/templates/auth/better-auth-react/config.json +15 -0
  29. package/templates/auth/better-auth-react/files/lib/auth-client.ts +9 -0
  30. package/templates/auth/better-auth-react/lib/auth-client.ts +9 -0
  31. package/templates/auth/better-auth-react/module.json +26 -0
  32. package/templates/auth/nextauth/app/api/auth/[...nextauth]/route.ts +3 -0
  33. package/templates/auth/nextauth/config.json +18 -0
  34. package/templates/auth/nextauth/lib/auth.ts +31 -0
  35. package/templates/bases/express-base/.env.example +2 -0
  36. package/templates/bases/express-base/package.json +23 -0
  37. package/templates/bases/express-base/src/index.ts +27 -0
  38. package/templates/bases/express-base/template.json +7 -0
  39. package/templates/bases/express-base/tsconfig.json +17 -0
  40. package/templates/bases/nextjs-base/.eslintrc.json +3 -0
  41. package/templates/bases/nextjs-base/app/globals.css +3 -0
  42. package/templates/{next-prisma-postgres-shadcn → bases/nextjs-base}/app/layout.tsx +3 -6
  43. package/templates/bases/nextjs-base/app/page.tsx +8 -0
  44. package/templates/{next-prisma-postgres-shadcn → bases/nextjs-base}/next.config.ts +1 -3
  45. package/templates/bases/nextjs-base/package.json +24 -0
  46. package/templates/bases/nextjs-base/template.json +7 -0
  47. package/templates/{next-prisma-postgres-shadcn → bases/nextjs-base}/tsconfig.json +1 -6
  48. package/templates/databases/prisma-mongodb/config.json +21 -0
  49. package/templates/{next-prisma-postgres-shadcn → databases/prisma-mongodb}/lib/db.ts +2 -3
  50. package/templates/databases/prisma-mongodb/prisma/schema.prisma +16 -0
  51. package/templates/databases/prisma-postgresql/config.json +22 -0
  52. package/templates/databases/prisma-postgresql/lib/db.ts +13 -0
  53. package/templates/databases/prisma-postgresql/prisma/schema.prisma +16 -0
  54. package/templates/next-prisma-postgres-shadcn/.env.example +0 -5
  55. package/templates/next-prisma-postgres-shadcn/.eslintrc.json +0 -7
  56. package/templates/next-prisma-postgres-shadcn/.prettierrc +0 -8
  57. package/templates/next-prisma-postgres-shadcn/README.md +0 -85
  58. package/templates/next-prisma-postgres-shadcn/app/api/health/route.ts +0 -25
  59. package/templates/next-prisma-postgres-shadcn/app/globals.css +0 -1
  60. package/templates/next-prisma-postgres-shadcn/app/page.tsx +0 -29
  61. package/templates/next-prisma-postgres-shadcn/lib/env.ts +0 -15
  62. package/templates/next-prisma-postgres-shadcn/package.json +0 -32
  63. package/templates/next-prisma-postgres-shadcn/prisma/schema.prisma +0 -20
  64. package/templates/next-prisma-postgres-shadcn/public/.gitkeep +0 -1
  65. package/templates/next-prisma-postgres-shadcn/template.json +0 -18
@@ -1 +0,0 @@
1
- # This file is used to keep the public directory in git
@@ -1,18 +0,0 @@
1
- {
2
- "name": "next-prisma-postgres-shadcn",
3
- "displayName": "Next.js + Prisma + PostgreSQL + shadcn/ui",
4
- "description": "Next.js 15 App Router, Prisma, PostgreSQL, shadcn/ui, TypeScript",
5
- "tags": ["nextjs", "prisma", "postgresql", "shadcn", "typescript"],
6
- "defaultPackageManager": "pnpm",
7
- "features": [
8
- "Next.js 15 App Router",
9
- "TypeScript",
10
- "Prisma ORM",
11
- "PostgreSQL",
12
- "shadcn/ui components",
13
- "Tailwind CSS",
14
- "Environment validation (Zod)",
15
- "ESLint + Prettier",
16
- "Health check API route"
17
- ]
18
- }