create-m5kdev 0.32.8 → 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.
Files changed (25) hide show
  1. package/dist/src/catalog.cjs +55 -10
  2. package/dist/src/catalog.cjs.map +1 -1
  3. package/dist/src/catalog.d.cts +11 -1
  4. package/dist/src/doctor.cjs +13 -7
  5. package/dist/src/doctor.cjs.map +1 -1
  6. package/package.json +1 -1
  7. package/templates/minimal-app/apps/e2e/package.json.tpl +7 -7
  8. package/templates/minimal-app/apps/email/package.json.tpl +13 -13
  9. package/templates/minimal-app/apps/expo/package.json.tpl +59 -59
  10. package/templates/minimal-app/apps/server/AGENTS.md.tpl +2 -2
  11. package/templates/minimal-app/apps/server/drizzle/0002_concerned_proudstar.sql +3 -0
  12. package/templates/minimal-app/apps/server/drizzle/meta/0002_snapshot.json.tpl +1932 -0
  13. package/templates/minimal-app/apps/server/drizzle/meta/_journal.json.tpl +7 -0
  14. package/templates/minimal-app/apps/server/package.json.tpl +55 -56
  15. package/templates/minimal-app/apps/server/src/app.ts.tpl +113 -141
  16. package/templates/minimal-app/apps/server/src/index.ts.tpl +12 -65
  17. package/templates/minimal-app/apps/server/src/modules/posts/posts.grants.ts.tpl +5 -7
  18. package/templates/minimal-app/apps/server/src/modules/posts/posts.service.ts.tpl +6 -5
  19. package/templates/minimal-app/apps/server/src/modules/posts/posts.trpc.ts.tpl +1 -1
  20. package/templates/minimal-app/apps/server/src/types.ts.tpl +12 -1
  21. package/templates/minimal-app/apps/shared/package.json.tpl +5 -5
  22. package/templates/minimal-app/apps/webapp/package.json.tpl +33 -33
  23. package/templates/minimal-app/package.json.tpl +3 -3
  24. package/templates/minimal-app/pnpm-workspace.yaml.tpl +60 -58
  25. 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
- "@biomejs/biome": 2.2.0
5
- "@heroui/react": 3.0.3
6
- "@heroui/styles": 3.0.3
7
- "@libsql/client": 0.17.4
8
- "@m5kdev/backend": 0.32.9
9
- "@m5kdev/commons": 0.32.9
10
- "@m5kdev/config": 0.32.9
11
- "@m5kdev/email": 0.32.9
12
- "@m5kdev/frontend": 0.32.9
13
- "@m5kdev/web-ui": 0.32.9
14
- "@playwright/test": 1.57.0
15
- "@react-email/components": 1.0.1
16
- "@tailwindcss/vite": 4.1.11
17
- "@tanstack/react-query": 5.83.0
18
- "@trpc/client": 11.4.3
19
- "@trpc/server": 11.4.3
20
- "@trpc/tanstack-react-query": 11.4.3
21
- "@types/cors": 2.8.17
22
- "@types/express": 4.17.21
23
- "@types/node": 20.19.11
24
- "@types/react": 19.2.17
25
- "@types/react-dom": 19.2.3
26
- "@vitejs/plugin-react": 4.2.0
27
- babel-plugin-react-compiler: 1.0.0
28
- better-auth: 1.4.18
29
- cors: 2.8.5
30
- dotenv: 16.6.1
31
- drizzle-kit: 0.31.10
32
- drizzle-orm: 0.45.2
33
- drizzle-zod: 0.8.3
34
- express: 4.21.2
35
- i18next: 25.3.2
36
- ioredis: 5.11.1
37
- lucide-react: 0.488.0
38
- neverthrow: 8.2.0
39
- nuqs: 2.4.3
40
- posthog-js: 1.258.2
41
- react: 19.2.1
42
- react-dom: 19.2.1
43
- react-email: 5.0.5
44
- react-hook-form: 7.61.1
45
- react-i18next: 15.6.1
46
- react-native-web: ^0.21.2
47
- react-router: 7.10.1
48
- sonner: 1.7.4
49
- tailwindcss: 4.1.11
50
- tslib: 2.8.1
51
- tsup: 8.4.0
52
- tsx: 4.19.2
53
- turbo: 2.5.6
54
- tw-animate-css: 1.3.6
55
- typescript: 6.0.3
56
- uuid: 11.0.5
57
- vite: 7.0.4
58
- vite-plugin-i18next-loader: 3.1.2
59
- vite-tsconfig-paths: 5.1.4
60
- zod: 4.2.1
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"];