create-m5kdev 0.32.7 → 0.33.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/dist/src/catalog.cjs +55 -10
- package/dist/src/catalog.cjs.map +1 -1
- package/dist/src/catalog.d.cts +11 -1
- package/dist/src/doctor.cjs +13 -7
- package/dist/src/doctor.cjs.map +1 -1
- package/package.json +1 -1
- package/templates/minimal-app/apps/e2e/package.json.tpl +7 -7
- package/templates/minimal-app/apps/email/package.json.tpl +13 -13
- package/templates/minimal-app/apps/expo/package.json.tpl +59 -59
- package/templates/minimal-app/apps/server/AGENTS.md.tpl +2 -2
- package/templates/minimal-app/apps/server/drizzle/0002_concerned_proudstar.sql +3 -0
- package/templates/minimal-app/apps/server/drizzle/meta/0002_snapshot.json.tpl +1932 -0
- package/templates/minimal-app/apps/server/drizzle/meta/_journal.json.tpl +7 -0
- package/templates/minimal-app/apps/server/package.json.tpl +55 -56
- package/templates/minimal-app/apps/server/src/app.ts.tpl +113 -141
- package/templates/minimal-app/apps/server/src/index.ts.tpl +12 -65
- package/templates/minimal-app/apps/server/src/modules/posts/posts.grants.ts.tpl +5 -7
- package/templates/minimal-app/apps/server/src/modules/posts/posts.service.ts.tpl +6 -5
- package/templates/minimal-app/apps/server/src/modules/posts/posts.trpc.ts.tpl +1 -1
- package/templates/minimal-app/apps/server/src/types.ts.tpl +12 -1
- package/templates/minimal-app/apps/shared/package.json.tpl +5 -5
- package/templates/minimal-app/apps/webapp/package.json.tpl +33 -33
- package/templates/minimal-app/package.json.tpl +3 -3
- package/templates/minimal-app/pnpm-workspace.yaml.tpl +60 -58
- package/templates/minimal-app/apps/server/src/lib/auth.ts.tpl +0 -12
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"check-types": "turbo run check-types"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@biomejs/biome": "catalog:",
|
|
14
|
-
"turbo": "catalog:",
|
|
15
|
-
"typescript": "catalog:"
|
|
13
|
+
"@biomejs/biome": "catalog:m5kdev",
|
|
14
|
+
"turbo": "catalog:m5kdev",
|
|
15
|
+
"typescript": "catalog:m5kdev"
|
|
16
16
|
},
|
|
17
17
|
"packageManager": "pnpm@10.13.1",
|
|
18
18
|
"engines": {
|
|
@@ -1,61 +1,63 @@
|
|
|
1
1
|
packages:
|
|
2
2
|
- apps/**
|
|
3
|
-
catalog:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
3
|
+
catalog: {}
|
|
4
|
+
catalogs:
|
|
5
|
+
m5kdev:
|
|
6
|
+
"@biomejs/biome": 2.2.0
|
|
7
|
+
"@heroui/react": 3.0.3
|
|
8
|
+
"@heroui/styles": 3.0.3
|
|
9
|
+
"@libsql/client": 0.17.4
|
|
10
|
+
"@m5kdev/backend": 0.33.0
|
|
11
|
+
"@m5kdev/commons": 0.33.0
|
|
12
|
+
"@m5kdev/config": 0.33.0
|
|
13
|
+
"@m5kdev/email": 0.33.0
|
|
14
|
+
"@m5kdev/frontend": 0.33.0
|
|
15
|
+
"@m5kdev/web-ui": 0.33.0
|
|
16
|
+
"@opentelemetry/api": 1.9.0
|
|
17
|
+
"@playwright/test": 1.57.0
|
|
18
|
+
"@react-email/components": 1.0.1
|
|
19
|
+
"@tailwindcss/vite": 4.1.17
|
|
20
|
+
"@tanstack/react-query": 5.83.0
|
|
21
|
+
"@trpc/client": 11.4.3
|
|
22
|
+
"@trpc/server": 11.4.3
|
|
23
|
+
"@trpc/tanstack-react-query": 11.4.3
|
|
24
|
+
"@types/express": 4.17.21
|
|
25
|
+
"@types/node": 20.19.11
|
|
26
|
+
"@types/react": 19.2.17
|
|
27
|
+
"@types/react-dom": 19.2.3
|
|
28
|
+
"@vitejs/plugin-react": 4.2.0
|
|
29
|
+
babel-plugin-react-compiler: 1.0.0
|
|
30
|
+
better-auth: 1.4.18
|
|
31
|
+
dotenv: 16.6.1
|
|
32
|
+
drizzle-kit: 0.31.10
|
|
33
|
+
drizzle-orm: 0.45.2
|
|
34
|
+
drizzle-zod: 0.8.3
|
|
35
|
+
express: 4.21.2
|
|
36
|
+
i18next: 25.3.2
|
|
37
|
+
ioredis: 5.11.1
|
|
38
|
+
lucide-react: 0.488.0
|
|
39
|
+
neverthrow: 8.2.0
|
|
40
|
+
nuqs: 2.4.3
|
|
41
|
+
posthog-js: 1.258.2
|
|
42
|
+
react: 19.2.3
|
|
43
|
+
react-dom: 19.2.3
|
|
44
|
+
react-email: 5.0.5
|
|
45
|
+
react-hook-form: 7.61.1
|
|
46
|
+
react-i18next: 15.6.1
|
|
47
|
+
react-native-web: ^0.21.2
|
|
48
|
+
react-router: 7.10.1
|
|
49
|
+
sonner: 1.7.4
|
|
50
|
+
tailwind-merge: 3.4.0
|
|
51
|
+
tailwindcss: 4.1.17
|
|
52
|
+
tslib: 2.8.1
|
|
53
|
+
tsup: 8.4.0
|
|
54
|
+
tsx: 4.19.2
|
|
55
|
+
turbo: 2.5.6
|
|
56
|
+
tw-animate-css: 1.3.6
|
|
57
|
+
typescript: 6.0.3
|
|
58
|
+
uuid: 11.0.5
|
|
59
|
+
vite: 7.0.4
|
|
60
|
+
vite-plugin-i18next-loader: 3.1.2
|
|
61
|
+
vite-tsconfig-paths: 5.1.4
|
|
62
|
+
zod: 4.2.1
|
|
61
63
|
catalogMode: strict
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { builtBackendApp } from "../app";
|
|
2
|
-
|
|
3
|
-
const authInstance = builtBackendApp.auth?.instance;
|
|
4
|
-
|
|
5
|
-
if (!authInstance) {
|
|
6
|
-
throw new Error("Auth is not configured on the backend app.");
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export const auth = authInstance;
|
|
10
|
-
|
|
11
|
-
export type Session = typeof auth.$Infer.Session;
|
|
12
|
-
export type User = Session["user"];
|