create-m5kdev 0.41.0 → 0.41.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 (61) hide show
  1. package/package.json +1 -1
  2. package/templates/minimal-app/.cursor/rules/frontend-component-guide.mdc +95 -95
  3. package/templates/minimal-app/.cursor/rules/frontend-data-guide.mdc +103 -103
  4. package/templates/minimal-app/.cursor/rules/frontend-form-guide.mdc +80 -80
  5. package/templates/minimal-app/.cursor/rules/frontend-hook-guide.mdc +79 -79
  6. package/templates/minimal-app/.cursor/rules/frontend-i18n-guide.mdc +45 -45
  7. package/templates/minimal-app/.cursor/rules/module-dto-guide.mdc +60 -60
  8. package/templates/minimal-app/.cursor/rules/module-prompt-guide.mdc +214 -214
  9. package/templates/minimal-app/.cursor/rules/module-repository-guide.mdc +167 -167
  10. package/templates/minimal-app/.cursor/rules/module-schema-guide.mdc +53 -53
  11. package/templates/minimal-app/.cursor/rules/module-service-guide.mdc +367 -367
  12. package/templates/minimal-app/.cursor/rules/module-trpc-guide.mdc +71 -71
  13. package/templates/minimal-app/.github/workflows/check.yml.tpl +21 -0
  14. package/templates/minimal-app/AGENTS.md.tpl +22 -31
  15. package/templates/minimal-app/CLAUDE.md.tpl +15 -1
  16. package/templates/minimal-app/GLOSSARY.md.tpl +181 -0
  17. package/templates/minimal-app/README.md.tpl +2 -0
  18. package/templates/minimal-app/apps/.gitignore.tpl +13 -13
  19. package/templates/minimal-app/apps/e2e/package.json.tpl +23 -23
  20. package/templates/minimal-app/apps/email/package.json.tpl +34 -34
  21. package/templates/minimal-app/apps/expo/.gitignore.tpl +44 -44
  22. package/templates/minimal-app/apps/expo/.prettierignore +13 -13
  23. package/templates/minimal-app/apps/expo/.prettierrc.json.tpl +9 -9
  24. package/templates/minimal-app/apps/expo/CHANGELOG.md.tpl +156 -156
  25. package/templates/minimal-app/apps/expo/README.md.tpl +44 -44
  26. package/templates/minimal-app/apps/expo/expo-env.d.ts.tpl +3 -0
  27. package/templates/minimal-app/apps/expo/package.json.tpl +63 -63
  28. package/templates/minimal-app/apps/expo/uniwind-types.d.ts.tpl +10 -0
  29. package/templates/minimal-app/apps/landing/package.json.tpl +34 -34
  30. package/templates/minimal-app/apps/server/drizzle/0000_whole_echo.sql +366 -366
  31. package/templates/minimal-app/apps/server/drizzle/0002_crazy_lilith.sql +46 -46
  32. package/templates/minimal-app/apps/server/drizzle/0003_freezing_fantastic_four.sql +3 -3
  33. package/templates/minimal-app/apps/server/drizzle/0004_slow_ezekiel_stane.sql +98 -98
  34. package/templates/minimal-app/apps/server/drizzle/0005_wonderful_the_professor.sql +1 -1
  35. package/templates/minimal-app/apps/server/drizzle/0006_lazy_blue_marvel.sql +158 -158
  36. package/templates/minimal-app/apps/server/drizzle/0007_abnormal_ultimo.sql +1 -1
  37. package/templates/minimal-app/apps/server/drizzle/0008_steady_nekra.sql +86 -86
  38. package/templates/minimal-app/apps/server/drizzle/meta/0000_snapshot.json.tpl +2624 -2624
  39. package/templates/minimal-app/apps/server/drizzle/meta/0001_snapshot.json.tpl +2670 -2670
  40. package/templates/minimal-app/apps/server/drizzle/meta/0002_snapshot.json.tpl +2715 -2715
  41. package/templates/minimal-app/apps/server/drizzle/meta/0003_snapshot.json.tpl +2687 -2687
  42. package/templates/minimal-app/apps/server/drizzle/meta/0004_snapshot.json.tpl +2497 -2497
  43. package/templates/minimal-app/apps/server/drizzle/meta/0005_snapshot.json.tpl +2483 -2483
  44. package/templates/minimal-app/apps/server/drizzle/meta/0006_snapshot.json.tpl +3602 -3602
  45. package/templates/minimal-app/apps/server/drizzle/meta/0007_snapshot.json.tpl +3619 -3619
  46. package/templates/minimal-app/apps/server/drizzle/meta/0008_snapshot.json.tpl +3619 -3619
  47. package/templates/minimal-app/apps/server/drizzle/meta/_journal.json.tpl +76 -76
  48. package/templates/minimal-app/apps/server/package.json.tpl +57 -57
  49. package/templates/minimal-app/apps/server/src/app.ts.tpl +1 -0
  50. package/templates/minimal-app/apps/shared/package.json.tpl +27 -27
  51. package/templates/minimal-app/apps/webapp/AGENTS.md.tpl +24 -24
  52. package/templates/minimal-app/apps/webapp/index.html.tpl +22 -22
  53. package/templates/minimal-app/apps/webapp/package.json.tpl +53 -53
  54. package/templates/minimal-app/apps/webapp/public/logo.svg.tpl +6 -6
  55. package/templates/minimal-app/biome.json.tpl +1 -0
  56. package/templates/minimal-app/docs/adr/.gitkeep +0 -0
  57. package/templates/minimal-app/docs/agents/domain.md.tpl +38 -0
  58. package/templates/minimal-app/docs/agents/issue-tracker.md.tpl +45 -0
  59. package/templates/minimal-app/docs/agents/triage-labels.md.tpl +15 -0
  60. package/templates/minimal-app/pnpm-workspace.yaml.tpl +12 -12
  61. package/templates/minimal-app/template.manifest.json +12 -0
@@ -1,87 +1,87 @@
1
- PRAGMA foreign_keys=OFF;--> statement-breakpoint
2
- CREATE TABLE `__new_oauth_access_tokens` (
3
- `id` text PRIMARY KEY NOT NULL,
4
- `token` text,
5
- `client_id` text NOT NULL,
6
- `session_id` text,
7
- `user_id` text,
8
- `reference_id` text,
9
- `authorization_code_id` text,
10
- `resources` text,
11
- `requested_user_info_claims` text,
12
- `refresh_id` text,
13
- `expires_at` integer NOT NULL,
14
- `created_at` integer NOT NULL,
15
- `revoked` integer,
16
- `confirmation` text,
17
- `scopes` text NOT NULL,
18
- FOREIGN KEY (`client_id`) REFERENCES `oauth_clients`(`client_id`) ON UPDATE no action ON DELETE no action,
19
- FOREIGN KEY (`session_id`) REFERENCES `sessions`(`id`) ON UPDATE no action ON DELETE set null,
20
- FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE no action,
21
- FOREIGN KEY (`refresh_id`) REFERENCES `oauth_refresh_tokens`(`id`) ON UPDATE no action ON DELETE no action
22
- );
23
- --> statement-breakpoint
24
- INSERT INTO `__new_oauth_access_tokens`("id", "token", "client_id", "session_id", "user_id", "reference_id", "authorization_code_id", "resources", "requested_user_info_claims", "refresh_id", "expires_at", "created_at", "revoked", "confirmation", "scopes") SELECT "id", "token", "client_id", "session_id", "user_id", "reference_id", "authorization_code_id", "resources", "requested_user_info_claims", "refresh_id", "expires_at", "created_at", "revoked", "confirmation", "scopes" FROM `oauth_access_tokens`;--> statement-breakpoint
25
- DROP TABLE `oauth_access_tokens`;--> statement-breakpoint
26
- ALTER TABLE `__new_oauth_access_tokens` RENAME TO `oauth_access_tokens`;--> statement-breakpoint
27
- PRAGMA foreign_keys=ON;--> statement-breakpoint
28
- CREATE UNIQUE INDEX `oauth_access_tokens_token_unique` ON `oauth_access_tokens` (`token`);--> statement-breakpoint
29
- CREATE TABLE `__new_oauth_client_resources` (
30
- `id` text PRIMARY KEY NOT NULL,
31
- `client_id` text NOT NULL,
32
- `resource_id` text NOT NULL,
33
- `metadata` text,
34
- `created_at` integer,
35
- FOREIGN KEY (`client_id`) REFERENCES `oauth_clients`(`client_id`) ON UPDATE no action ON DELETE cascade,
36
- FOREIGN KEY (`resource_id`) REFERENCES `oauth_resources`(`identifier`) ON UPDATE no action ON DELETE cascade
37
- );
38
- --> statement-breakpoint
39
- INSERT INTO `__new_oauth_client_resources`("id", "client_id", "resource_id", "metadata", "created_at") SELECT "id", "client_id", "resource_id", "metadata", "created_at" FROM `oauth_client_resources`;--> statement-breakpoint
40
- DROP TABLE `oauth_client_resources`;--> statement-breakpoint
41
- ALTER TABLE `__new_oauth_client_resources` RENAME TO `oauth_client_resources`;--> statement-breakpoint
42
- CREATE UNIQUE INDEX `oauth_client_resources_client_resource_unique` ON `oauth_client_resources` (`client_id`,`resource_id`);--> statement-breakpoint
43
- CREATE TABLE `__new_oauth_consents` (
44
- `id` text PRIMARY KEY NOT NULL,
45
- `client_id` text NOT NULL,
46
- `user_id` text,
47
- `reference_id` text,
48
- `resources` text,
49
- `requested_user_info_claims` text,
50
- `scopes` text NOT NULL,
51
- `created_at` integer NOT NULL,
52
- `updated_at` integer NOT NULL,
53
- FOREIGN KEY (`client_id`) REFERENCES `oauth_clients`(`client_id`) ON UPDATE no action ON DELETE no action,
54
- FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE no action
55
- );
56
- --> statement-breakpoint
57
- INSERT INTO `__new_oauth_consents`("id", "client_id", "user_id", "reference_id", "resources", "requested_user_info_claims", "scopes", "created_at", "updated_at") SELECT "id", "client_id", "user_id", "reference_id", "resources", "requested_user_info_claims", "scopes", "created_at", "updated_at" FROM `oauth_consents`;--> statement-breakpoint
58
- DROP TABLE `oauth_consents`;--> statement-breakpoint
59
- ALTER TABLE `__new_oauth_consents` RENAME TO `oauth_consents`;--> statement-breakpoint
60
- CREATE TABLE `__new_oauth_refresh_tokens` (
61
- `id` text PRIMARY KEY NOT NULL,
62
- `token` text NOT NULL,
63
- `client_id` text NOT NULL,
64
- `session_id` text,
65
- `user_id` text NOT NULL,
66
- `reference_id` text,
67
- `authorization_code_id` text,
68
- `resources` text,
69
- `requested_user_info_claims` text,
70
- `expires_at` integer NOT NULL,
71
- `created_at` integer NOT NULL,
72
- `revoked` integer,
73
- `rotated_at` integer,
74
- `rotation_replay_response` text,
75
- `rotation_replay_expires_at` integer,
76
- `auth_time` integer,
77
- `confirmation` text,
78
- `scopes` text NOT NULL,
79
- FOREIGN KEY (`client_id`) REFERENCES `oauth_clients`(`client_id`) ON UPDATE no action ON DELETE no action,
80
- FOREIGN KEY (`session_id`) REFERENCES `sessions`(`id`) ON UPDATE no action ON DELETE set null,
81
- FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE no action
82
- );
83
- --> statement-breakpoint
84
- INSERT INTO `__new_oauth_refresh_tokens`("id", "token", "client_id", "session_id", "user_id", "reference_id", "authorization_code_id", "resources", "requested_user_info_claims", "expires_at", "created_at", "revoked", "rotated_at", "rotation_replay_response", "rotation_replay_expires_at", "auth_time", "confirmation", "scopes") SELECT "id", "token", "client_id", "session_id", "user_id", "reference_id", "authorization_code_id", "resources", "requested_user_info_claims", "expires_at", "created_at", "revoked", "rotated_at", "rotation_replay_response", "rotation_replay_expires_at", "auth_time", "confirmation", "scopes" FROM `oauth_refresh_tokens`;--> statement-breakpoint
85
- DROP TABLE `oauth_refresh_tokens`;--> statement-breakpoint
86
- ALTER TABLE `__new_oauth_refresh_tokens` RENAME TO `oauth_refresh_tokens`;--> statement-breakpoint
1
+ PRAGMA foreign_keys=OFF;--> statement-breakpoint
2
+ CREATE TABLE `__new_oauth_access_tokens` (
3
+ `id` text PRIMARY KEY NOT NULL,
4
+ `token` text,
5
+ `client_id` text NOT NULL,
6
+ `session_id` text,
7
+ `user_id` text,
8
+ `reference_id` text,
9
+ `authorization_code_id` text,
10
+ `resources` text,
11
+ `requested_user_info_claims` text,
12
+ `refresh_id` text,
13
+ `expires_at` integer NOT NULL,
14
+ `created_at` integer NOT NULL,
15
+ `revoked` integer,
16
+ `confirmation` text,
17
+ `scopes` text NOT NULL,
18
+ FOREIGN KEY (`client_id`) REFERENCES `oauth_clients`(`client_id`) ON UPDATE no action ON DELETE no action,
19
+ FOREIGN KEY (`session_id`) REFERENCES `sessions`(`id`) ON UPDATE no action ON DELETE set null,
20
+ FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE no action,
21
+ FOREIGN KEY (`refresh_id`) REFERENCES `oauth_refresh_tokens`(`id`) ON UPDATE no action ON DELETE no action
22
+ );
23
+ --> statement-breakpoint
24
+ INSERT INTO `__new_oauth_access_tokens`("id", "token", "client_id", "session_id", "user_id", "reference_id", "authorization_code_id", "resources", "requested_user_info_claims", "refresh_id", "expires_at", "created_at", "revoked", "confirmation", "scopes") SELECT "id", "token", "client_id", "session_id", "user_id", "reference_id", "authorization_code_id", "resources", "requested_user_info_claims", "refresh_id", "expires_at", "created_at", "revoked", "confirmation", "scopes" FROM `oauth_access_tokens`;--> statement-breakpoint
25
+ DROP TABLE `oauth_access_tokens`;--> statement-breakpoint
26
+ ALTER TABLE `__new_oauth_access_tokens` RENAME TO `oauth_access_tokens`;--> statement-breakpoint
27
+ PRAGMA foreign_keys=ON;--> statement-breakpoint
28
+ CREATE UNIQUE INDEX `oauth_access_tokens_token_unique` ON `oauth_access_tokens` (`token`);--> statement-breakpoint
29
+ CREATE TABLE `__new_oauth_client_resources` (
30
+ `id` text PRIMARY KEY NOT NULL,
31
+ `client_id` text NOT NULL,
32
+ `resource_id` text NOT NULL,
33
+ `metadata` text,
34
+ `created_at` integer,
35
+ FOREIGN KEY (`client_id`) REFERENCES `oauth_clients`(`client_id`) ON UPDATE no action ON DELETE cascade,
36
+ FOREIGN KEY (`resource_id`) REFERENCES `oauth_resources`(`identifier`) ON UPDATE no action ON DELETE cascade
37
+ );
38
+ --> statement-breakpoint
39
+ INSERT INTO `__new_oauth_client_resources`("id", "client_id", "resource_id", "metadata", "created_at") SELECT "id", "client_id", "resource_id", "metadata", "created_at" FROM `oauth_client_resources`;--> statement-breakpoint
40
+ DROP TABLE `oauth_client_resources`;--> statement-breakpoint
41
+ ALTER TABLE `__new_oauth_client_resources` RENAME TO `oauth_client_resources`;--> statement-breakpoint
42
+ CREATE UNIQUE INDEX `oauth_client_resources_client_resource_unique` ON `oauth_client_resources` (`client_id`,`resource_id`);--> statement-breakpoint
43
+ CREATE TABLE `__new_oauth_consents` (
44
+ `id` text PRIMARY KEY NOT NULL,
45
+ `client_id` text NOT NULL,
46
+ `user_id` text,
47
+ `reference_id` text,
48
+ `resources` text,
49
+ `requested_user_info_claims` text,
50
+ `scopes` text NOT NULL,
51
+ `created_at` integer NOT NULL,
52
+ `updated_at` integer NOT NULL,
53
+ FOREIGN KEY (`client_id`) REFERENCES `oauth_clients`(`client_id`) ON UPDATE no action ON DELETE no action,
54
+ FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE no action
55
+ );
56
+ --> statement-breakpoint
57
+ INSERT INTO `__new_oauth_consents`("id", "client_id", "user_id", "reference_id", "resources", "requested_user_info_claims", "scopes", "created_at", "updated_at") SELECT "id", "client_id", "user_id", "reference_id", "resources", "requested_user_info_claims", "scopes", "created_at", "updated_at" FROM `oauth_consents`;--> statement-breakpoint
58
+ DROP TABLE `oauth_consents`;--> statement-breakpoint
59
+ ALTER TABLE `__new_oauth_consents` RENAME TO `oauth_consents`;--> statement-breakpoint
60
+ CREATE TABLE `__new_oauth_refresh_tokens` (
61
+ `id` text PRIMARY KEY NOT NULL,
62
+ `token` text NOT NULL,
63
+ `client_id` text NOT NULL,
64
+ `session_id` text,
65
+ `user_id` text NOT NULL,
66
+ `reference_id` text,
67
+ `authorization_code_id` text,
68
+ `resources` text,
69
+ `requested_user_info_claims` text,
70
+ `expires_at` integer NOT NULL,
71
+ `created_at` integer NOT NULL,
72
+ `revoked` integer,
73
+ `rotated_at` integer,
74
+ `rotation_replay_response` text,
75
+ `rotation_replay_expires_at` integer,
76
+ `auth_time` integer,
77
+ `confirmation` text,
78
+ `scopes` text NOT NULL,
79
+ FOREIGN KEY (`client_id`) REFERENCES `oauth_clients`(`client_id`) ON UPDATE no action ON DELETE no action,
80
+ FOREIGN KEY (`session_id`) REFERENCES `sessions`(`id`) ON UPDATE no action ON DELETE set null,
81
+ FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE no action
82
+ );
83
+ --> statement-breakpoint
84
+ INSERT INTO `__new_oauth_refresh_tokens`("id", "token", "client_id", "session_id", "user_id", "reference_id", "authorization_code_id", "resources", "requested_user_info_claims", "expires_at", "created_at", "revoked", "rotated_at", "rotation_replay_response", "rotation_replay_expires_at", "auth_time", "confirmation", "scopes") SELECT "id", "token", "client_id", "session_id", "user_id", "reference_id", "authorization_code_id", "resources", "requested_user_info_claims", "expires_at", "created_at", "revoked", "rotated_at", "rotation_replay_response", "rotation_replay_expires_at", "auth_time", "confirmation", "scopes" FROM `oauth_refresh_tokens`;--> statement-breakpoint
85
+ DROP TABLE `oauth_refresh_tokens`;--> statement-breakpoint
86
+ ALTER TABLE `__new_oauth_refresh_tokens` RENAME TO `oauth_refresh_tokens`;--> statement-breakpoint
87
87
  CREATE UNIQUE INDEX `oauth_refresh_tokens_token_unique` ON `oauth_refresh_tokens` (`token`);