@draekien/create-d9-app 0.0.0-stage → 0.0.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 (57) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +9 -2
  3. package/dist/index.js +53 -0
  4. package/index.js +11 -0
  5. package/package.json +36 -3
  6. package/templates/base/.claude/settings.json +36 -0
  7. package/templates/base/.codex/hooks.json +30 -0
  8. package/templates/base/.intent/hooks/intent-claude-gate.mjs +278 -0
  9. package/templates/base/.intent/hooks/intent-codex-gate.mjs +278 -0
  10. package/templates/base/AGENTS.md +28 -0
  11. package/templates/base/CLAUDE.md +1 -0
  12. package/templates/base/_gitignore +7 -0
  13. package/templates/base/apps/web/package.json +38 -0
  14. package/templates/base/apps/web/src/examples/form.test.tsx +10 -0
  15. package/templates/base/apps/web/src/examples/form.tsx +35 -0
  16. package/templates/base/apps/web/src/examples/greeting.ts +11 -0
  17. package/templates/base/apps/web/src/examples/hotkeys.test.tsx +7 -0
  18. package/templates/base/apps/web/src/examples/hotkeys.tsx +10 -0
  19. package/templates/base/apps/web/src/examples/query.test.tsx +18 -0
  20. package/templates/base/apps/web/src/examples/query.tsx +8 -0
  21. package/templates/base/apps/web/src/examples/table.test.tsx +7 -0
  22. package/templates/base/apps/web/src/examples/table.tsx +47 -0
  23. package/templates/base/apps/web/src/home.test.tsx +18 -0
  24. package/templates/base/apps/web/src/home.tsx +21 -0
  25. package/templates/base/apps/web/src/routeTree.gen.ts +68 -0
  26. package/templates/base/apps/web/src/router.tsx +20 -0
  27. package/templates/base/apps/web/src/routes/__root.tsx +26 -0
  28. package/templates/base/apps/web/src/routes/index.tsx +10 -0
  29. package/templates/base/apps/web/tsconfig.json +12 -0
  30. package/templates/base/apps/web/vite.config.ts +20 -0
  31. package/templates/base/package.json +28 -0
  32. package/templates/base/pnpm-workspace.yaml +7 -0
  33. package/templates/base/scripts/check-comments.ts +100 -0
  34. package/templates/base/tsconfig.json +13 -0
  35. package/templates/base/turbo.json +23 -0
  36. package/templates/tools/biome/.biome/effect-cleanup.grit +8 -0
  37. package/templates/tools/biome/.biome/handler-naming.grit +9 -0
  38. package/templates/tools/biome/.biome/no-default-props.grit +5 -0
  39. package/templates/tools/biome/.biome/no-derived-state-effect.grit +7 -0
  40. package/templates/tools/biome/.biome/no-double-assertion.grit +5 -0
  41. package/templates/tools/biome/.biome/no-fetch-in-effect.grit +6 -0
  42. package/templates/tools/biome/.biome/no-impure-render.grit +8 -0
  43. package/templates/tools/biome/.biome/no-inline-query-key.grit +7 -0
  44. package/templates/tools/biome/.biome/no-query-client-in-render.grit +7 -0
  45. package/templates/tools/biome/.biome/no-refetch-on-success.grit +7 -0
  46. package/templates/tools/biome/.biome/no-try-around-jsx.grit +9 -0
  47. package/templates/tools/biome/.biome/query-client-stale-time.grit +8 -0
  48. package/templates/tools/biome/biome.json +156 -0
  49. package/templates/tools/biome/package.json +8 -0
  50. package/templates/tools/lefthook/lefthook.yml +6 -0
  51. package/templates/tools/lefthook/package.json +5 -0
  52. package/templates/tools/shadcn/packages/ui/components.json +22 -0
  53. package/templates/tools/shadcn/packages/ui/package.json +33 -0
  54. package/templates/tools/shadcn/packages/ui/src/components/button.tsx +56 -0
  55. package/templates/tools/shadcn/packages/ui/src/lib/utils.ts +1 -0
  56. package/templates/tools/shadcn/packages/ui/src/styles/globals.css +87 -0
  57. package/templates/tools/shadcn/packages/ui/tsconfig.json +10 -0
@@ -0,0 +1,87 @@
1
+ @import "tailwindcss";
2
+ @import "tw-animate-css";
3
+ @import "shadcn/tailwind.css";
4
+
5
+ @custom-variant dark (&:is(.dark *));
6
+ @source "../../../../apps/**/*.{ts,tsx}";
7
+ @source "../**/*.{ts,tsx}";
8
+
9
+ @theme inline {
10
+ --color-ring: var(--ring);
11
+ --color-input: var(--input);
12
+ --color-border: var(--border);
13
+ --color-destructive: var(--destructive);
14
+ --color-accent-foreground: var(--accent-foreground);
15
+ --color-accent: var(--accent);
16
+ --color-muted-foreground: var(--muted-foreground);
17
+ --color-muted: var(--muted);
18
+ --color-secondary-foreground: var(--secondary-foreground);
19
+ --color-secondary: var(--secondary);
20
+ --color-primary-foreground: var(--primary-foreground);
21
+ --color-primary: var(--primary);
22
+ --color-popover-foreground: var(--popover-foreground);
23
+ --color-popover: var(--popover);
24
+ --color-card-foreground: var(--card-foreground);
25
+ --color-card: var(--card);
26
+ --color-foreground: var(--foreground);
27
+ --color-background: var(--background);
28
+ --radius-sm: calc(var(--radius) * 0.6);
29
+ --radius-md: calc(var(--radius) * 0.8);
30
+ --radius-lg: var(--radius);
31
+ --radius-xl: calc(var(--radius) * 1.4);
32
+ --radius-2xl: calc(var(--radius) * 1.8);
33
+ --radius-3xl: calc(var(--radius) * 2.2);
34
+ --radius-4xl: calc(var(--radius) * 2.6);
35
+ }
36
+
37
+ :root {
38
+ --background: oklch(1 0 0);
39
+ --foreground: oklch(0.141 0.005 285.823);
40
+ --card: oklch(1 0 0);
41
+ --card-foreground: oklch(0.141 0.005 285.823);
42
+ --popover: oklch(1 0 0);
43
+ --popover-foreground: oklch(0.141 0.005 285.823);
44
+ --primary: oklch(0.21 0.006 285.885);
45
+ --primary-foreground: oklch(0.985 0 0);
46
+ --secondary: oklch(0.967 0.001 286.375);
47
+ --secondary-foreground: oklch(0.21 0.006 285.885);
48
+ --muted: oklch(0.967 0.001 286.375);
49
+ --muted-foreground: oklch(0.552 0.016 285.938);
50
+ --accent: oklch(0.967 0.001 286.375);
51
+ --accent-foreground: oklch(0.21 0.006 285.885);
52
+ --destructive: oklch(0.577 0.245 27.325);
53
+ --border: oklch(0.92 0.004 286.32);
54
+ --input: oklch(0.92 0.004 286.32);
55
+ --ring: oklch(0.705 0.015 286.067);
56
+ --radius: 0.625rem;
57
+ }
58
+
59
+ .dark {
60
+ --background: oklch(0.141 0.005 285.823);
61
+ --foreground: oklch(0.985 0 0);
62
+ --card: oklch(0.21 0.006 285.885);
63
+ --card-foreground: oklch(0.985 0 0);
64
+ --popover: oklch(0.21 0.006 285.885);
65
+ --popover-foreground: oklch(0.985 0 0);
66
+ --primary: oklch(0.92 0.004 286.32);
67
+ --primary-foreground: oklch(0.21 0.006 285.885);
68
+ --secondary: oklch(0.274 0.006 286.033);
69
+ --secondary-foreground: oklch(0.985 0 0);
70
+ --muted: oklch(0.274 0.006 286.033);
71
+ --muted-foreground: oklch(0.705 0.015 286.067);
72
+ --accent: oklch(0.274 0.006 286.033);
73
+ --accent-foreground: oklch(0.985 0 0);
74
+ --destructive: oklch(0.704 0.191 22.216);
75
+ --border: oklch(1 0 0 / 10%);
76
+ --input: oklch(1 0 0 / 15%);
77
+ --ring: oklch(0.552 0.016 285.938);
78
+ }
79
+
80
+ @layer base {
81
+ * {
82
+ @apply border-border outline-ring/50;
83
+ }
84
+ body {
85
+ @apply bg-background text-foreground;
86
+ }
87
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "include": ["src"],
4
+ "compilerOptions": {
5
+ "types": ["node"],
6
+ "paths": {
7
+ "@workspace/ui/*": ["./src/*"]
8
+ }
9
+ }
10
+ }