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.
- package/CHANGELOG.md +5 -119
- package/README.md +3 -49
- package/bin/create-sordo.ts +1 -10
- package/package.json +7 -13
- package/src/index.ts +0 -667
- package/src/probes.ts +0 -28
- package/src/prompts.ts +0 -141
- package/src/readme.ts +0 -74
- package/src/ui.ts +0 -151
- package/src/versions.ts +0 -3
- package/templates/_backend/app/routes/api/todos.ts +0 -27
- package/templates/_claude/.claude/commands/sordo-init.md +0 -64
- package/templates/_claude/.claude/hooks/biome-check.sh +0 -17
- package/templates/_claude/.claude/rules/build-time-discovery.md +0 -17
- package/templates/_claude/.claude/rules/bun-native.md +0 -28
- package/templates/_claude/.claude/rules/filesystem-routing.md +0 -31
- package/templates/_claude/.claude/rules/islands.md +0 -46
- package/templates/_claude/.claude/rules/optional-ai.md +0 -16
- package/templates/_claude/.claude/rules/web-standards-boundary.md +0 -25
- package/templates/_claude/.claude/settings.json +0 -22
- package/templates/_claude/.claude/skills/sordo/SKILL.md +0 -120
- package/templates/_claude/.claude/skills/sordo-cli/SKILL.md +0 -112
- package/templates/_claude/CLAUDE.md +0 -28
- package/templates/_codex/.codex/README.md +0 -10
- package/templates/_codex/.codex/rules/build-time-discovery.md +0 -17
- package/templates/_codex/.codex/rules/bun-native.md +0 -28
- package/templates/_codex/.codex/rules/filesystem-routing.md +0 -31
- package/templates/_codex/.codex/rules/islands.md +0 -46
- package/templates/_codex/.codex/rules/optional-ai.md +0 -15
- package/templates/_codex/.codex/rules/sordo-cli.md +0 -108
- package/templates/_codex/.codex/rules/sordo-patterns.md +0 -121
- package/templates/_codex/.codex/rules/web-standards-boundary.md +0 -25
- package/templates/_codex/AGENTS.md +0 -27
- package/templates/_container/.dockerignore +0 -7
- package/templates/_container/Dockerfile +0 -27
- package/templates/_monorepo/packages/README.md +0 -18
- package/templates/_shared/sordo-patterns.md +0 -121
- package/templates/default/README-template.md +0 -172
- package/templates/default/app/islands/TodoApp.tsx +0 -83
- package/templates/default/app/routes/api/health.ts +0 -8
- package/templates/default/app/routes/index.tsx +0 -29
- package/templates/default/app/server.ts +0 -28
- package/templates/default/gitignore +0 -8
- package/templates/default/sordo.config.ts +0 -5
- package/templates/default/tsconfig.json +0 -14
- package/templates/ui-shadcn/components/button.tsx +0 -63
- package/templates/ui-shadcn/components/dialog.tsx +0 -158
- package/templates/ui-shadcn/demo/index.tsx +0 -58
- package/templates/ui-starter/_internal/cn.ts +0 -6
- package/templates/ui-starter/_internal/slot.ts +0 -50
- package/templates/ui-starter/_internal/variants.ts +0 -1
- package/templates/ui-starter/button.tsx +0 -60
- package/templates/ui-starter/card.tsx +0 -92
- package/templates/ui-starter/demo/TodoApp.tsx +0 -86
- package/templates/ui-starter/demo/index.tsx +0 -41
- package/templates/ui-starter/input.tsx +0 -20
- package/templates/ui-starter/label.tsx +0 -18
- package/templates/ui-starter/themes/neutral/tokens.css +0 -46
- package/templates/ui-starter/themes/slate/tokens.css +0 -46
- package/templates/ui-starter/themes/stone/tokens.css +0 -46
- package/templates/ui-starter/themes/zinc/tokens.css +0 -46
- 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 */
|