@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.
- package/CHANGELOG.md +8 -0
- package/README.md +29 -13
- package/dist/cli/args.js +5 -0
- package/dist/cli/ui.js +2 -0
- package/dist/core/customize.js +40 -1
- package/dist/core/manifest.js +41 -3
- package/dist/core/plan.js +68 -3
- package/dist/index.js +42 -7
- package/dist/utils/fs.js +3 -0
- package/package.json +5 -4
- package/template/.dockerignore +3 -0
- package/template/.github/workflows/ci.yml +51 -4
- package/template/.prettierignore +1 -0
- package/template/AGENTS.md +3 -2
- package/template/CONTRIBUTING.md +2 -2
- package/template/README.md +18 -5
- package/template/SETUP.md +23 -1
- package/template/_gitignore +4 -0
- package/template/apps/start/.env.example +27 -0
- package/template/apps/start/AGENTS.md +11 -0
- package/template/apps/start/Dockerfile +38 -0
- package/template/apps/start/package.json +37 -0
- package/template/apps/start/public/.well-known/logo.svg +1 -0
- package/template/apps/start/public/favicon.ico +0 -0
- package/template/apps/start/src/components/auth/auth-form-controls.tsx +108 -0
- package/template/apps/start/src/components/branding/clubedge-mark.tsx +24 -0
- package/template/apps/start/src/components/dashboard/account-button.tsx +33 -0
- package/template/apps/start/src/components/dashboard/app-sidebar.tsx +90 -0
- package/template/apps/start/src/components/landing/copy-command.tsx +46 -0
- package/template/apps/start/src/components/theme/theme-provider.tsx +41 -0
- package/template/apps/start/src/components/theme/theme-toggle.tsx +21 -0
- package/template/apps/start/src/config/site.json +11 -0
- package/template/apps/start/src/config/site.ts +20 -0
- package/template/apps/start/src/env/server.test.ts +48 -0
- package/template/apps/start/src/env/server.ts +67 -0
- package/template/apps/start/src/lib/login-url.test.ts +16 -0
- package/template/apps/start/src/lib/login-url.ts +16 -0
- package/template/apps/start/src/routeTree.gen.ts +220 -0
- package/template/apps/start/src/router.tsx +27 -0
- package/template/apps/start/src/routes/__root.tsx +59 -0
- package/template/apps/start/src/routes/api/health.ts +15 -0
- package/template/apps/start/src/routes/auth/callback.ts +10 -0
- package/template/apps/start/src/routes/auth/sign-in.ts +11 -0
- package/template/apps/start/src/routes/auth/sign-out.ts +11 -0
- package/template/apps/start/src/routes/auth/sign-up.ts +11 -0
- package/template/apps/start/src/routes/dashboard.tsx +351 -0
- package/template/apps/start/src/routes/index.tsx +233 -0
- package/template/apps/start/src/routes/login.tsx +164 -0
- package/template/apps/start/src/server/auth-forms.test.ts +169 -0
- package/template/apps/start/src/server/auth-forms.ts +118 -0
- package/template/apps/start/src/server/auth.functions.ts +27 -0
- package/template/apps/start/src/server/auth.ts +51 -0
- package/template/apps/start/src/server/cache.ts +38 -0
- package/template/apps/start/src/server/cookies.test.ts +41 -0
- package/template/apps/start/src/server/cookies.ts +31 -0
- package/template/apps/start/src/server/db.ts +16 -0
- package/template/apps/start/src/server/storage.ts +39 -0
- package/template/apps/start/src/server/users.ts +17 -0
- package/template/apps/start/src/start.ts +40 -0
- package/template/apps/start/src/styles.css +2 -0
- package/template/apps/start/tsconfig.json +19 -0
- package/template/apps/start/vite.config.ts +27 -0
- package/template/apps/web/package.json +2 -2
- package/template/{scripts → apps/web/scripts}/start-standalone.mjs +1 -2
- package/template/clubedge.template.json +17 -1
- package/template/e2e/app.ts +12 -0
- package/template/{apps/web/e2e → e2e}/auth.spec.ts +2 -2
- package/template/eslint.config.mjs +4 -0
- package/template/package.json +3 -3
- package/template/packages/auth/package.json +1 -1
- package/template/packages/cache/package.json +1 -1
- package/template/packages/core/package.json +1 -1
- package/template/packages/db/package.json +1 -1
- package/template/packages/storage/package.json +1 -1
- package/template/packages/ui/package.json +1 -1
- package/template/playwright.config.ts +6 -2
- package/template/pnpm-lock.yaml +1382 -19
- package/template/turbo.json +1 -1
- package/template/vitest.config.ts +2 -0
- package/template.lock.json +50 -5
- /package/template/{apps/web/e2e → e2e}/home.spec.ts +0 -0
package/template/turbo.json
CHANGED
|
@@ -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"],
|
package/template.lock.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"repository": "Clubedge/clubedge-starter",
|
|
3
|
-
"ref": "v0.
|
|
4
|
-
"commit": "
|
|
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
|