create-sordo 0.4.0 → 1.0.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 (62) hide show
  1. package/CHANGELOG.md +5 -119
  2. package/README.md +3 -49
  3. package/bin/create-sordo.ts +1 -10
  4. package/package.json +7 -13
  5. package/src/index.ts +0 -667
  6. package/src/probes.ts +0 -28
  7. package/src/prompts.ts +0 -141
  8. package/src/readme.ts +0 -74
  9. package/src/ui.ts +0 -151
  10. package/src/versions.ts +0 -3
  11. package/templates/_backend/app/routes/api/todos.ts +0 -27
  12. package/templates/_claude/.claude/commands/sordo-init.md +0 -64
  13. package/templates/_claude/.claude/hooks/biome-check.sh +0 -17
  14. package/templates/_claude/.claude/rules/build-time-discovery.md +0 -17
  15. package/templates/_claude/.claude/rules/bun-native.md +0 -28
  16. package/templates/_claude/.claude/rules/filesystem-routing.md +0 -31
  17. package/templates/_claude/.claude/rules/islands.md +0 -46
  18. package/templates/_claude/.claude/rules/optional-ai.md +0 -16
  19. package/templates/_claude/.claude/rules/web-standards-boundary.md +0 -25
  20. package/templates/_claude/.claude/settings.json +0 -22
  21. package/templates/_claude/.claude/skills/sordo/SKILL.md +0 -120
  22. package/templates/_claude/.claude/skills/sordo-cli/SKILL.md +0 -112
  23. package/templates/_claude/CLAUDE.md +0 -28
  24. package/templates/_codex/.codex/README.md +0 -10
  25. package/templates/_codex/.codex/rules/build-time-discovery.md +0 -17
  26. package/templates/_codex/.codex/rules/bun-native.md +0 -28
  27. package/templates/_codex/.codex/rules/filesystem-routing.md +0 -31
  28. package/templates/_codex/.codex/rules/islands.md +0 -46
  29. package/templates/_codex/.codex/rules/optional-ai.md +0 -15
  30. package/templates/_codex/.codex/rules/sordo-cli.md +0 -108
  31. package/templates/_codex/.codex/rules/sordo-patterns.md +0 -121
  32. package/templates/_codex/.codex/rules/web-standards-boundary.md +0 -25
  33. package/templates/_codex/AGENTS.md +0 -27
  34. package/templates/_container/.dockerignore +0 -7
  35. package/templates/_container/Dockerfile +0 -27
  36. package/templates/_monorepo/packages/README.md +0 -18
  37. package/templates/_shared/sordo-patterns.md +0 -121
  38. package/templates/default/README-template.md +0 -172
  39. package/templates/default/app/islands/TodoApp.tsx +0 -83
  40. package/templates/default/app/routes/api/health.ts +0 -8
  41. package/templates/default/app/routes/index.tsx +0 -29
  42. package/templates/default/app/server.ts +0 -28
  43. package/templates/default/gitignore +0 -8
  44. package/templates/default/sordo.config.ts +0 -5
  45. package/templates/default/tsconfig.json +0 -14
  46. package/templates/ui-shadcn/components/button.tsx +0 -63
  47. package/templates/ui-shadcn/components/dialog.tsx +0 -158
  48. package/templates/ui-shadcn/demo/index.tsx +0 -58
  49. package/templates/ui-starter/_internal/cn.ts +0 -6
  50. package/templates/ui-starter/_internal/slot.ts +0 -50
  51. package/templates/ui-starter/_internal/variants.ts +0 -1
  52. package/templates/ui-starter/button.tsx +0 -60
  53. package/templates/ui-starter/card.tsx +0 -92
  54. package/templates/ui-starter/demo/TodoApp.tsx +0 -86
  55. package/templates/ui-starter/demo/index.tsx +0 -41
  56. package/templates/ui-starter/input.tsx +0 -20
  57. package/templates/ui-starter/label.tsx +0 -18
  58. package/templates/ui-starter/themes/neutral/tokens.css +0 -46
  59. package/templates/ui-starter/themes/slate/tokens.css +0 -46
  60. package/templates/ui-starter/themes/stone/tokens.css +0 -46
  61. package/templates/ui-starter/themes/zinc/tokens.css +0 -46
  62. package/templates/ui-starter/tokens.css +0 -46
@@ -1,46 +0,0 @@
1
- /* @sordo:tokens base */
2
- :root {
3
- --background: oklch(1 0 0);
4
- --foreground: oklch(0.147 0.004 49.25);
5
- --card: oklch(1 0 0);
6
- --card-foreground: oklch(0.147 0.004 49.25);
7
- --popover: oklch(1 0 0);
8
- --popover-foreground: oklch(0.147 0.004 49.25);
9
- --primary: oklch(0.216 0.006 56.043);
10
- --primary-foreground: oklch(0.985 0.001 106.423);
11
- --secondary: oklch(0.97 0.001 106.424);
12
- --secondary-foreground: oklch(0.216 0.006 56.043);
13
- --muted: oklch(0.97 0.001 106.424);
14
- --muted-foreground: oklch(0.553 0.013 58.071);
15
- --accent: oklch(0.97 0.001 106.424);
16
- --accent-foreground: oklch(0.216 0.006 56.043);
17
- --destructive: oklch(0.577 0.245 27.325);
18
- --destructive-foreground: oklch(0.985 0.001 106.423);
19
- --border: oklch(0.923 0.003 48.717);
20
- --input: oklch(0.923 0.003 48.717);
21
- --ring: oklch(0.709 0.01 56.259);
22
- --radius: 0.625rem;
23
- }
24
-
25
- .dark {
26
- --background: oklch(0.147 0.004 49.25);
27
- --foreground: oklch(0.985 0.001 106.423);
28
- --card: oklch(0.216 0.006 56.043);
29
- --card-foreground: oklch(0.985 0.001 106.423);
30
- --popover: oklch(0.216 0.006 56.043);
31
- --popover-foreground: oklch(0.985 0.001 106.423);
32
- --primary: oklch(0.923 0.003 48.717);
33
- --primary-foreground: oklch(0.216 0.006 56.043);
34
- --secondary: oklch(0.268 0.007 34.298);
35
- --secondary-foreground: oklch(0.985 0.001 106.423);
36
- --muted: oklch(0.268 0.007 34.298);
37
- --muted-foreground: oklch(0.709 0.01 56.259);
38
- --accent: oklch(0.268 0.007 34.298);
39
- --accent-foreground: oklch(0.985 0.001 106.423);
40
- --destructive: oklch(0.704 0.191 22.216);
41
- --destructive-foreground: oklch(0.985 0.001 106.423);
42
- --border: oklch(0.268 0.007 34.298);
43
- --input: oklch(0.268 0.007 34.298);
44
- --ring: oklch(0.553 0.013 58.071);
45
- }
46
- /* @sordo:end base */
@@ -1,46 +0,0 @@
1
- /* @sordo:tokens base */
2
- :root {
3
- --background: oklch(1 0 0);
4
- --foreground: oklch(0.141 0.005 285.823);
5
- --card: oklch(1 0 0);
6
- --card-foreground: oklch(0.141 0.005 285.823);
7
- --popover: oklch(1 0 0);
8
- --popover-foreground: oklch(0.141 0.005 285.823);
9
- --primary: oklch(0.21 0.006 285.885);
10
- --primary-foreground: oklch(0.985 0 0);
11
- --secondary: oklch(0.967 0.001 286.375);
12
- --secondary-foreground: oklch(0.21 0.006 285.885);
13
- --muted: oklch(0.967 0.001 286.375);
14
- --muted-foreground: oklch(0.552 0.016 285.938);
15
- --accent: oklch(0.967 0.001 286.375);
16
- --accent-foreground: oklch(0.21 0.006 285.885);
17
- --destructive: oklch(0.577 0.245 27.325);
18
- --destructive-foreground: oklch(0.985 0 0);
19
- --border: oklch(0.92 0.004 286.32);
20
- --input: oklch(0.92 0.004 286.32);
21
- --ring: oklch(0.705 0.015 286.067);
22
- --radius: 0.625rem;
23
- }
24
-
25
- .dark {
26
- --background: oklch(0.141 0.005 285.823);
27
- --foreground: oklch(0.985 0 0);
28
- --card: oklch(0.21 0.006 285.885);
29
- --card-foreground: oklch(0.985 0 0);
30
- --popover: oklch(0.21 0.006 285.885);
31
- --popover-foreground: oklch(0.985 0 0);
32
- --primary: oklch(0.92 0.004 286.32);
33
- --primary-foreground: oklch(0.21 0.006 285.885);
34
- --secondary: oklch(0.274 0.006 286.033);
35
- --secondary-foreground: oklch(0.985 0 0);
36
- --muted: oklch(0.274 0.006 286.033);
37
- --muted-foreground: oklch(0.705 0.015 286.067);
38
- --accent: oklch(0.274 0.006 286.033);
39
- --accent-foreground: oklch(0.985 0 0);
40
- --destructive: oklch(0.704 0.191 22.216);
41
- --destructive-foreground: oklch(0.985 0 0);
42
- --border: oklch(0.274 0.006 286.033);
43
- --input: oklch(0.274 0.006 286.033);
44
- --ring: oklch(0.552 0.016 285.938);
45
- }
46
- /* @sordo:end base */
@@ -1,46 +0,0 @@
1
- /* @sordo:tokens base */
2
- :root {
3
- --background: oklch(1 0 0);
4
- --foreground: oklch(0.145 0 0);
5
- --card: oklch(1 0 0);
6
- --card-foreground: oklch(0.145 0 0);
7
- --popover: oklch(1 0 0);
8
- --popover-foreground: oklch(0.145 0 0);
9
- --primary: oklch(0.205 0 0);
10
- --primary-foreground: oklch(0.985 0 0);
11
- --secondary: oklch(0.97 0 0);
12
- --secondary-foreground: oklch(0.205 0 0);
13
- --muted: oklch(0.97 0 0);
14
- --muted-foreground: oklch(0.556 0 0);
15
- --accent: oklch(0.97 0 0);
16
- --accent-foreground: oklch(0.205 0 0);
17
- --destructive: oklch(0.577 0.245 27.325);
18
- --destructive-foreground: oklch(0.985 0 0);
19
- --border: oklch(0.922 0 0);
20
- --input: oklch(0.922 0 0);
21
- --ring: oklch(0.708 0 0);
22
- --radius: 0.625rem;
23
- }
24
-
25
- .dark {
26
- --background: oklch(0.145 0 0);
27
- --foreground: oklch(0.985 0 0);
28
- --card: oklch(0.205 0 0);
29
- --card-foreground: oklch(0.985 0 0);
30
- --popover: oklch(0.205 0 0);
31
- --popover-foreground: oklch(0.985 0 0);
32
- --primary: oklch(0.985 0 0);
33
- --primary-foreground: oklch(0.205 0 0);
34
- --secondary: oklch(0.269 0 0);
35
- --secondary-foreground: oklch(0.985 0 0);
36
- --muted: oklch(0.269 0 0);
37
- --muted-foreground: oklch(0.708 0 0);
38
- --accent: oklch(0.269 0 0);
39
- --accent-foreground: oklch(0.985 0 0);
40
- --destructive: oklch(0.704 0.191 22.216);
41
- --destructive-foreground: oklch(0.985 0 0);
42
- --border: oklch(0.269 0 0);
43
- --input: oklch(0.269 0 0);
44
- --ring: oklch(0.556 0 0);
45
- }
46
- /* @sordo:end base */