@clubedge/create-clubedge-app 0.3.0 → 0.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.
Files changed (81) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +29 -13
  3. package/dist/cli/args.js +5 -0
  4. package/dist/cli/ui.js +2 -0
  5. package/dist/core/customize.js +40 -1
  6. package/dist/core/manifest.js +41 -3
  7. package/dist/core/plan.js +68 -3
  8. package/dist/index.js +42 -7
  9. package/dist/utils/fs.js +3 -0
  10. package/package.json +5 -4
  11. package/template/.dockerignore +3 -0
  12. package/template/.github/workflows/ci.yml +51 -4
  13. package/template/.prettierignore +1 -0
  14. package/template/AGENTS.md +3 -2
  15. package/template/CONTRIBUTING.md +2 -2
  16. package/template/README.md +18 -5
  17. package/template/SETUP.md +23 -1
  18. package/template/_gitignore +4 -0
  19. package/template/apps/start/.env.example +27 -0
  20. package/template/apps/start/AGENTS.md +11 -0
  21. package/template/apps/start/Dockerfile +38 -0
  22. package/template/apps/start/package.json +37 -0
  23. package/template/apps/start/public/.well-known/logo.svg +1 -0
  24. package/template/apps/start/public/favicon.ico +0 -0
  25. package/template/apps/start/src/components/auth/auth-form-controls.tsx +108 -0
  26. package/template/apps/start/src/components/branding/clubedge-mark.tsx +24 -0
  27. package/template/apps/start/src/components/dashboard/account-button.tsx +33 -0
  28. package/template/apps/start/src/components/dashboard/app-sidebar.tsx +90 -0
  29. package/template/apps/start/src/components/landing/copy-command.tsx +46 -0
  30. package/template/apps/start/src/components/theme/theme-provider.tsx +41 -0
  31. package/template/apps/start/src/components/theme/theme-toggle.tsx +21 -0
  32. package/template/apps/start/src/config/site.json +11 -0
  33. package/template/apps/start/src/config/site.ts +20 -0
  34. package/template/apps/start/src/env/server.test.ts +48 -0
  35. package/template/apps/start/src/env/server.ts +67 -0
  36. package/template/apps/start/src/lib/login-url.test.ts +16 -0
  37. package/template/apps/start/src/lib/login-url.ts +16 -0
  38. package/template/apps/start/src/routeTree.gen.ts +220 -0
  39. package/template/apps/start/src/router.tsx +27 -0
  40. package/template/apps/start/src/routes/__root.tsx +59 -0
  41. package/template/apps/start/src/routes/api/health.ts +15 -0
  42. package/template/apps/start/src/routes/auth/callback.ts +10 -0
  43. package/template/apps/start/src/routes/auth/sign-in.ts +11 -0
  44. package/template/apps/start/src/routes/auth/sign-out.ts +11 -0
  45. package/template/apps/start/src/routes/auth/sign-up.ts +11 -0
  46. package/template/apps/start/src/routes/dashboard.tsx +351 -0
  47. package/template/apps/start/src/routes/index.tsx +233 -0
  48. package/template/apps/start/src/routes/login.tsx +164 -0
  49. package/template/apps/start/src/server/auth-forms.test.ts +169 -0
  50. package/template/apps/start/src/server/auth-forms.ts +118 -0
  51. package/template/apps/start/src/server/auth.functions.ts +27 -0
  52. package/template/apps/start/src/server/auth.ts +51 -0
  53. package/template/apps/start/src/server/cache.ts +38 -0
  54. package/template/apps/start/src/server/cookies.test.ts +41 -0
  55. package/template/apps/start/src/server/cookies.ts +31 -0
  56. package/template/apps/start/src/server/db.ts +16 -0
  57. package/template/apps/start/src/server/storage.ts +39 -0
  58. package/template/apps/start/src/server/users.ts +17 -0
  59. package/template/apps/start/src/start.ts +40 -0
  60. package/template/apps/start/src/styles.css +2 -0
  61. package/template/apps/start/tsconfig.json +19 -0
  62. package/template/apps/start/vite.config.ts +27 -0
  63. package/template/apps/web/package.json +2 -2
  64. package/template/{scripts → apps/web/scripts}/start-standalone.mjs +1 -2
  65. package/template/clubedge.template.json +17 -1
  66. package/template/e2e/app.ts +12 -0
  67. package/template/{apps/web/e2e → e2e}/auth.spec.ts +2 -2
  68. package/template/eslint.config.mjs +4 -0
  69. package/template/package.json +3 -3
  70. package/template/packages/auth/package.json +1 -1
  71. package/template/packages/cache/package.json +1 -1
  72. package/template/packages/core/package.json +1 -1
  73. package/template/packages/db/package.json +1 -1
  74. package/template/packages/storage/package.json +1 -1
  75. package/template/packages/ui/package.json +1 -1
  76. package/template/playwright.config.ts +6 -2
  77. package/template/pnpm-lock.yaml +1382 -19
  78. package/template/turbo.json +1 -1
  79. package/template/vitest.config.ts +2 -0
  80. package/template.lock.json +50 -5
  81. /package/template/{apps/web/e2e → e2e}/home.spec.ts +0 -0
@@ -3,7 +3,7 @@
3
3
  "tasks": {
4
4
  "build": {
5
5
  "dependsOn": ["^build"],
6
- "outputs": [".next/**", "!.next/cache/**"]
6
+ "outputs": [".next/**", "!.next/cache/**", ".output/**"]
7
7
  },
8
8
  "dev": {
9
9
  "cache": false,
@@ -1,6 +1,8 @@
1
1
  import { defineConfig } from "vitest/config";
2
2
 
3
3
  export default defineConfig({
4
+ // Resolves each app's "@/..." imports through its own tsconfig paths.
5
+ resolve: { tsconfigPaths: true },
4
6
  test: {
5
7
  environment: "node",
6
8
  include: ["apps/*/src/**/*.test.ts", "packages/*/src/**/*.test.ts", "scripts/**/*.test.ts"],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "repository": "Clubedge/clubedge-starter",
3
- "ref": "v0.3.0",
4
- "commit": "60f1691920c91a5cf83e480a3ce98c3ddefdef55",
3
+ "ref": "v0.4.0",
4
+ "commit": "fc01d33bb1a3944e099a1750679be87a96ff9a22",
5
5
  "files": [
6
6
  ".dockerignore",
7
7
  ".env.example",
@@ -25,16 +25,59 @@
25
25
  "SECURITY.md",
26
26
  "SETUP.md",
27
27
  "SUPPORT.md",
28
+ "apps/start/.env.example",
29
+ "apps/start/AGENTS.md",
30
+ "apps/start/Dockerfile",
31
+ "apps/start/package.json",
32
+ "apps/start/public/.well-known/logo.svg",
33
+ "apps/start/public/favicon.ico",
34
+ "apps/start/src/components/auth/auth-form-controls.tsx",
35
+ "apps/start/src/components/branding/clubedge-mark.tsx",
36
+ "apps/start/src/components/dashboard/account-button.tsx",
37
+ "apps/start/src/components/dashboard/app-sidebar.tsx",
38
+ "apps/start/src/components/landing/copy-command.tsx",
39
+ "apps/start/src/components/theme/theme-provider.tsx",
40
+ "apps/start/src/components/theme/theme-toggle.tsx",
41
+ "apps/start/src/config/site.json",
42
+ "apps/start/src/config/site.ts",
43
+ "apps/start/src/env/server.test.ts",
44
+ "apps/start/src/env/server.ts",
45
+ "apps/start/src/lib/login-url.test.ts",
46
+ "apps/start/src/lib/login-url.ts",
47
+ "apps/start/src/routeTree.gen.ts",
48
+ "apps/start/src/router.tsx",
49
+ "apps/start/src/routes/__root.tsx",
50
+ "apps/start/src/routes/api/health.ts",
51
+ "apps/start/src/routes/auth/callback.ts",
52
+ "apps/start/src/routes/auth/sign-in.ts",
53
+ "apps/start/src/routes/auth/sign-out.ts",
54
+ "apps/start/src/routes/auth/sign-up.ts",
55
+ "apps/start/src/routes/dashboard.tsx",
56
+ "apps/start/src/routes/index.tsx",
57
+ "apps/start/src/routes/login.tsx",
58
+ "apps/start/src/server/auth-forms.test.ts",
59
+ "apps/start/src/server/auth-forms.ts",
60
+ "apps/start/src/server/auth.functions.ts",
61
+ "apps/start/src/server/auth.ts",
62
+ "apps/start/src/server/cache.ts",
63
+ "apps/start/src/server/cookies.test.ts",
64
+ "apps/start/src/server/cookies.ts",
65
+ "apps/start/src/server/db.ts",
66
+ "apps/start/src/server/storage.ts",
67
+ "apps/start/src/server/users.ts",
68
+ "apps/start/src/start.ts",
69
+ "apps/start/src/styles.css",
70
+ "apps/start/tsconfig.json",
71
+ "apps/start/vite.config.ts",
28
72
  "apps/web/AGENTS.md",
29
73
  "apps/web/components.json",
30
- "apps/web/e2e/auth.spec.ts",
31
- "apps/web/e2e/home.spec.ts",
32
74
  "apps/web/next-env.d.ts",
33
75
  "apps/web/next.config.ts",
34
76
  "apps/web/package.json",
35
77
  "apps/web/postcss.config.mjs",
36
78
  "apps/web/public/.gitkeep",
37
79
  "apps/web/public/.well-known/logo.svg",
80
+ "apps/web/scripts/start-standalone.mjs",
38
81
  "apps/web/src/app/actions/auth.ts",
39
82
  "apps/web/src/app/api/health/route.ts",
40
83
  "apps/web/src/app/auth/callback/route.ts",
@@ -67,6 +110,9 @@
67
110
  "apps/web/tsconfig.json",
68
111
  "clubedge.template.json",
69
112
  "docker-compose.yml",
113
+ "e2e/app.ts",
114
+ "e2e/auth.spec.ts",
115
+ "e2e/home.spec.ts",
70
116
  "eslint.config.mjs",
71
117
  "package.json",
72
118
  "packages/auth/package.json",
@@ -134,7 +180,6 @@
134
180
  "playwright.config.ts",
135
181
  "pnpm-lock.yaml",
136
182
  "pnpm-workspace.yaml",
137
- "scripts/start-standalone.mjs",
138
183
  "tsconfig.base.json",
139
184
  "turbo.json",
140
185
  "vitest.config.ts"
File without changes