@totaland/create-starter-kit 2.0.1 → 2.0.2
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/README.md +27 -3
- package/bin/index.js +88 -30
- package/package.json +1 -1
- package/templates/backend/.github/agents/ /360/237/216/255 planner.agent.md" +0 -92
- package/templates/backend/.github/agents/api-architect.agent.md +0 -41
- package/templates/backend/.github/agents/code-reviewer.agent.md +0 -26
- package/templates/backend/.github/agents/code-simplifier.agent.md +0 -41
- package/templates/backend/.github/agents/code-skeptic.agent.md +0 -74
- package/templates/backend/.github/agents/docs-specialist.agent.md +0 -25
- package/templates/backend/.github/agents/implementation-plan.agent.md +0 -160
- package/templates/backend/.github/agents/janitor.agent.md +0 -90
- package/templates/backend/.github/agents/ms-sql-dba.agent.md +0 -25
- package/templates/backend/.github/agents/plan.agent.md +0 -115
- package/templates/backend/.github/agents/planner.agent.md +0 -15
- package/templates/backend/.github/agents/playwright-tester.agent.md +0 -13
- package/templates/backend/.github/agents/postgresql-dba.agent.md +0 -18
- package/templates/backend/.github/agents/prd.agent.md +0 -202
- package/templates/backend/.github/agents/research-technical-spike.agent.md +0 -170
- package/templates/backend/.github/agents/software-engineer-agent-v1.agent.md +0 -165
- package/templates/backend/.github/agents/task-planner.agent.md +0 -375
- package/templates/backend/.github/agents/task-researcher.agent.md +0 -255
- package/templates/backend/.github/agents/tdd-green.agent.md +0 -60
- package/templates/backend/.github/agents/tdd-red.agent.md +0 -60
- package/templates/backend/.github/agents/tdd-refactor.agent.md +0 -85
- package/templates/backend/.github/agents/tech-debt-remediation-plan.agent.md +0 -50
- package/templates/backend/.github/agents/typescript-mcp-expert.agent.md +0 -91
- package/templates/backend/.github/agents/ultimate-thinking-beastmode.agent.md +0 -644
- package/templates/backend/.github/agents//360/237/216/255 generator.agent.md" +0 -264
- package/templates/backend/.github/agents//360/237/216/255 healer.agent.md" +0 -44
- package/templates/backend/.github/agents//360/237/216/255 pom.agent.md" +0 -308
- package/templates/backend/.github/instructions/a11y.instructions.md +0 -369
- package/templates/backend/.github/instructions/ms-sql-dba.instructions.md +0 -25
- package/templates/backend/.github/instructions/object-calisthenics.instructions.md +0 -302
- package/templates/backend/.github/instructions/performance-optimization.instructions.md +0 -420
- package/templates/backend/.github/instructions/playwright-python.instructions.md +0 -62
- package/templates/backend/.github/instructions/playwright-typescript.instructions.md +0 -86
- package/templates/backend/.github/instructions/security-and-owasp.instructions.md +0 -51
- package/templates/backend/.github/instructions/self-explanatory-code-commenting.instructions.md +0 -162
- package/templates/backend/.github/instructions/spec-driven-workflow-v1.instructions.md +0 -323
- package/templates/backend/.github/instructions/sql-sp-generation.instructions.md +0 -74
- package/templates/backend/.github/instructions/task-implementation.instructions.md +0 -190
- package/templates/backend/.github/instructions/typescript-mcp-server.instructions.md +0 -228
- package/templates/backend/.github/prompts/ai-prompt-engineering-safety-review.prompt.md +0 -229
- package/templates/backend/.github/prompts/architecture-blueprint-generator.prompt.md +0 -321
- package/templates/backend/.github/prompts/breakdown-epic-arch.prompt.md +0 -65
- package/templates/backend/.github/prompts/breakdown-epic-pm.prompt.md +0 -57
- package/templates/backend/.github/prompts/breakdown-feature-implementation.prompt.md +0 -127
- package/templates/backend/.github/prompts/breakdown-feature-prd.prompt.md +0 -60
- package/templates/backend/.github/prompts/breakdown-plan.prompt.md +0 -508
- package/templates/backend/.github/prompts/copilot-instructions-blueprint-generator.prompt.md +0 -293
- package/templates/backend/.github/prompts/create-agentsmd.prompt.md +0 -248
- package/templates/backend/.github/prompts/create-github-issue-feature-from-specification.prompt.md +0 -27
- package/templates/backend/.github/prompts/create-github-issues-feature-from-implementation-plan.prompt.md +0 -27
- package/templates/backend/.github/prompts/create-github-issues-for-unmet-specification-requirements.prompt.md +0 -35
- package/templates/backend/.github/prompts/create-implementation-plan.prompt.md +0 -156
- package/templates/backend/.github/prompts/create-llms.prompt.md +0 -209
- package/templates/backend/.github/prompts/create-specification.prompt.md +0 -126
- package/templates/backend/.github/prompts/create-technical-spike.prompt.md +0 -230
- package/templates/backend/.github/prompts/csharp-nunit.prompt.md +0 -71
- package/templates/backend/.github/prompts/ef-core.prompt.md +0 -76
- package/templates/backend/.github/prompts/folder-structure-blueprint-generator.prompt.md +0 -404
- package/templates/backend/.github/prompts/gen-specs-as-issues.prompt.md +0 -165
- package/templates/backend/.github/prompts/generate-custom-instructions-from-codebase.prompt.md +0 -239
- package/templates/backend/.github/prompts/java-junit.prompt.md +0 -64
- package/templates/backend/.github/prompts/memory-merger.prompt.md +0 -107
- package/templates/backend/.github/prompts/multi-stage-dockerfile.prompt.md +0 -46
- package/templates/backend/.github/prompts/playwright-automation-fill-in-form.prompt.md +0 -29
- package/templates/backend/.github/prompts/playwright-explore-website.prompt.md +0 -19
- package/templates/backend/.github/prompts/playwright-generate-test.prompt.md +0 -19
- package/templates/backend/.github/prompts/postgresql-code-review.prompt.md +0 -214
- package/templates/backend/.github/prompts/postgresql-optimization.prompt.md +0 -406
- package/templates/backend/.github/prompts/project-workflow-analysis-blueprint-generator.prompt.md +0 -294
- package/templates/backend/.github/prompts/prompt-builder.prompt.md +0 -142
- package/templates/backend/.github/prompts/remember.prompt.md +0 -125
- package/templates/backend/.github/prompts/review-and-refactor.prompt.md +0 -15
- package/templates/backend/.github/prompts/sql-code-review.prompt.md +0 -303
- package/templates/backend/.github/prompts/sql-optimization.prompt.md +0 -298
- package/templates/backend/.github/prompts/suggest-awesome-github-copilot-agents.prompt.md +0 -72
- package/templates/backend/.github/prompts/suggest-awesome-github-copilot-chatmodes.prompt.md +0 -71
- package/templates/backend/.github/prompts/suggest-awesome-github-copilot-collections.prompt.md +0 -149
- package/templates/backend/.github/prompts/suggest-awesome-github-copilot-instructions.prompt.md +0 -88
- package/templates/backend/.github/prompts/suggest-awesome-github-copilot-prompts.prompt.md +0 -71
- package/templates/backend/.github/prompts/technology-stack-blueprint-generator.prompt.md +0 -242
- package/templates/backend/.github/prompts/typescript-mcp-server-generator.prompt.md +0 -90
- package/templates/backend/.github/prompts/update-implementation-plan.prompt.md +0 -157
- package/templates/backend/.github/prompts/update-markdown-file-index.prompt.md +0 -76
- package/templates/backend/Project_Folders_Structure_Blueprint.md +0 -529
- package/templates/backend/README.md +0 -99
- package/templates/backend/biome.json +0 -45
- package/templates/backend/drizzle.config.ts +0 -10
- package/templates/backend/knip.json +0 -10
- package/templates/backend/package.json +0 -60
- package/templates/backend/playwright.config.ts +0 -16
- package/templates/backend/pnpm-lock.yaml +0 -4240
- package/templates/backend/pnpm-workspace.yaml +0 -3
- package/templates/backend/src/features/health/controller.ts +0 -5
- package/templates/backend/src/features/health/health.test.ts +0 -23
- package/templates/backend/src/features/health/index.ts +0 -7
- package/templates/backend/src/features/health/schemas.ts +0 -29
- package/templates/backend/src/features/orders/controller.ts +0 -18
- package/templates/backend/src/features/orders/index.ts +0 -10
- package/templates/backend/src/features/orders/schemas.ts +0 -62
- package/templates/backend/src/index.ts +0 -43
- package/templates/backend/src/lib/openapi.ts +0 -25
- package/templates/backend/src/lib/validateRequest.test.ts +0 -84
- package/templates/backend/src/lib/validateRequest.ts +0 -72
- package/templates/backend/tsconfig.build.json +0 -10
- package/templates/backend/tsconfig.json +0 -30
- package/templates/backend/vitest.config.ts +0 -31
- package/templates/frontend/.env.example +0 -7
- package/templates/frontend/.github/agents/ /360/237/216/255 planner.agent.md" +0 -92
- package/templates/frontend/.github/agents/api-architect.agent.md +0 -41
- package/templates/frontend/.github/agents/code-reviewer.agent.md +0 -26
- package/templates/frontend/.github/agents/code-simplifier.agent.md +0 -41
- package/templates/frontend/.github/agents/code-skeptic.agent.md +0 -74
- package/templates/frontend/.github/agents/docs-specialist.agent.md +0 -25
- package/templates/frontend/.github/agents/implementation-plan.agent.md +0 -160
- package/templates/frontend/.github/agents/janitor.agent.md +0 -90
- package/templates/frontend/.github/agents/ms-sql-dba.agent.md +0 -25
- package/templates/frontend/.github/agents/plan.agent.md +0 -115
- package/templates/frontend/.github/agents/planner.agent.md +0 -15
- package/templates/frontend/.github/agents/playwright-tester.agent.md +0 -13
- package/templates/frontend/.github/agents/postgresql-dba.agent.md +0 -18
- package/templates/frontend/.github/agents/prd.agent.md +0 -202
- package/templates/frontend/.github/agents/research-technical-spike.agent.md +0 -170
- package/templates/frontend/.github/agents/software-engineer-agent-v1.agent.md +0 -165
- package/templates/frontend/.github/agents/task-planner.agent.md +0 -375
- package/templates/frontend/.github/agents/task-researcher.agent.md +0 -255
- package/templates/frontend/.github/agents/tdd-green.agent.md +0 -60
- package/templates/frontend/.github/agents/tdd-red.agent.md +0 -60
- package/templates/frontend/.github/agents/tdd-refactor.agent.md +0 -85
- package/templates/frontend/.github/agents/tech-debt-remediation-plan.agent.md +0 -50
- package/templates/frontend/.github/agents/typescript-mcp-expert.agent.md +0 -91
- package/templates/frontend/.github/agents/ultimate-thinking-beastmode.agent.md +0 -644
- package/templates/frontend/.github/agents//360/237/216/255 generator.agent.md" +0 -264
- package/templates/frontend/.github/agents//360/237/216/255 healer.agent.md" +0 -44
- package/templates/frontend/.github/agents//360/237/216/255 pom.agent.md" +0 -308
- package/templates/frontend/.github/instructions/a11y.instructions.md +0 -369
- package/templates/frontend/.github/instructions/ms-sql-dba.instructions.md +0 -25
- package/templates/frontend/.github/instructions/object-calisthenics.instructions.md +0 -302
- package/templates/frontend/.github/instructions/performance-optimization.instructions.md +0 -420
- package/templates/frontend/.github/instructions/playwright-python.instructions.md +0 -62
- package/templates/frontend/.github/instructions/playwright-typescript.instructions.md +0 -86
- package/templates/frontend/.github/instructions/security-and-owasp.instructions.md +0 -51
- package/templates/frontend/.github/instructions/self-explanatory-code-commenting.instructions.md +0 -162
- package/templates/frontend/.github/instructions/spec-driven-workflow-v1.instructions.md +0 -323
- package/templates/frontend/.github/instructions/sql-sp-generation.instructions.md +0 -74
- package/templates/frontend/.github/instructions/task-implementation.instructions.md +0 -190
- package/templates/frontend/.github/instructions/typescript-mcp-server.instructions.md +0 -228
- package/templates/frontend/.github/prompts/ai-prompt-engineering-safety-review.prompt.md +0 -229
- package/templates/frontend/.github/prompts/architecture-blueprint-generator.prompt.md +0 -321
- package/templates/frontend/.github/prompts/breakdown-epic-arch.prompt.md +0 -65
- package/templates/frontend/.github/prompts/breakdown-epic-pm.prompt.md +0 -57
- package/templates/frontend/.github/prompts/breakdown-feature-implementation.prompt.md +0 -127
- package/templates/frontend/.github/prompts/breakdown-feature-prd.prompt.md +0 -60
- package/templates/frontend/.github/prompts/breakdown-plan.prompt.md +0 -508
- package/templates/frontend/.github/prompts/copilot-instructions-blueprint-generator.prompt.md +0 -293
- package/templates/frontend/.github/prompts/create-agentsmd.prompt.md +0 -248
- package/templates/frontend/.github/prompts/create-github-issue-feature-from-specification.prompt.md +0 -27
- package/templates/frontend/.github/prompts/create-github-issues-feature-from-implementation-plan.prompt.md +0 -27
- package/templates/frontend/.github/prompts/create-github-issues-for-unmet-specification-requirements.prompt.md +0 -35
- package/templates/frontend/.github/prompts/create-implementation-plan.prompt.md +0 -156
- package/templates/frontend/.github/prompts/create-llms.prompt.md +0 -209
- package/templates/frontend/.github/prompts/create-specification.prompt.md +0 -126
- package/templates/frontend/.github/prompts/create-technical-spike.prompt.md +0 -230
- package/templates/frontend/.github/prompts/csharp-nunit.prompt.md +0 -71
- package/templates/frontend/.github/prompts/ef-core.prompt.md +0 -76
- package/templates/frontend/.github/prompts/folder-structure-blueprint-generator.prompt.md +0 -404
- package/templates/frontend/.github/prompts/gen-specs-as-issues.prompt.md +0 -165
- package/templates/frontend/.github/prompts/generate-custom-instructions-from-codebase.prompt.md +0 -239
- package/templates/frontend/.github/prompts/java-junit.prompt.md +0 -64
- package/templates/frontend/.github/prompts/memory-merger.prompt.md +0 -107
- package/templates/frontend/.github/prompts/multi-stage-dockerfile.prompt.md +0 -46
- package/templates/frontend/.github/prompts/playwright-automation-fill-in-form.prompt.md +0 -29
- package/templates/frontend/.github/prompts/playwright-explore-website.prompt.md +0 -19
- package/templates/frontend/.github/prompts/playwright-generate-test.prompt.md +0 -19
- package/templates/frontend/.github/prompts/postgresql-code-review.prompt.md +0 -214
- package/templates/frontend/.github/prompts/postgresql-optimization.prompt.md +0 -406
- package/templates/frontend/.github/prompts/project-workflow-analysis-blueprint-generator.prompt.md +0 -294
- package/templates/frontend/.github/prompts/prompt-builder.prompt.md +0 -142
- package/templates/frontend/.github/prompts/remember.prompt.md +0 -125
- package/templates/frontend/.github/prompts/review-and-refactor.prompt.md +0 -15
- package/templates/frontend/.github/prompts/sql-code-review.prompt.md +0 -303
- package/templates/frontend/.github/prompts/sql-optimization.prompt.md +0 -298
- package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-agents.prompt.md +0 -72
- package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-chatmodes.prompt.md +0 -71
- package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-collections.prompt.md +0 -149
- package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-instructions.prompt.md +0 -88
- package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-prompts.prompt.md +0 -71
- package/templates/frontend/.github/prompts/technology-stack-blueprint-generator.prompt.md +0 -242
- package/templates/frontend/.github/prompts/typescript-mcp-server-generator.prompt.md +0 -90
- package/templates/frontend/.github/prompts/update-implementation-plan.prompt.md +0 -157
- package/templates/frontend/.github/prompts/update-markdown-file-index.prompt.md +0 -76
- package/templates/frontend/README.md +0 -199
- package/templates/frontend/biome.json +0 -45
- package/templates/frontend/components.json +0 -22
- package/templates/frontend/index.html +0 -13
- package/templates/frontend/package.json +0 -44
- package/templates/frontend/pnpm-lock.yaml +0 -2011
- package/templates/frontend/postcss.config.js +0 -6
- package/templates/frontend/public/vite.svg +0 -1
- package/templates/frontend/src/App.css +0 -42
- package/templates/frontend/src/App.tsx +0 -17
- package/templates/frontend/src/assets/react.svg +0 -1
- package/templates/frontend/src/components/layout/layout.component.tsx +0 -31
- package/templates/frontend/src/components/menu-toggle-icon.tsx +0 -53
- package/templates/frontend/src/components/ui/button.tsx +0 -57
- package/templates/frontend/src/docs/RECOMMENDED_LIBRARIES.md +0 -226
- package/templates/frontend/src/docs/SETUP_SUMMARY.md +0 -162
- package/templates/frontend/src/hooks/use-scroll.ts +0 -21
- package/templates/frontend/src/index.css +0 -121
- package/templates/frontend/src/lib/api-client.ts +0 -46
- package/templates/frontend/src/lib/utils.ts +0 -6
- package/templates/frontend/src/main.tsx +0 -30
- package/templates/frontend/src/pages/about/about.page.tsx +0 -50
- package/templates/frontend/src/pages/home/home.page.tsx +0 -43
- package/templates/frontend/tailwind.config.js +0 -59
- package/templates/frontend/tsconfig.app.json +0 -41
- package/templates/frontend/tsconfig.json +0 -13
- package/templates/frontend/tsconfig.node.json +0 -26
- package/templates/frontend/vite.config.ts +0 -14
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
@import "tailwindcss";
|
|
2
|
-
|
|
3
|
-
@plugin "tailwindcss-animate";
|
|
4
|
-
|
|
5
|
-
@custom-variant dark (&:is(.dark *));
|
|
6
|
-
|
|
7
|
-
@theme inline {
|
|
8
|
-
--radius-sm: calc(var(--radius) - 4px);
|
|
9
|
-
--radius-md: calc(var(--radius) - 2px);
|
|
10
|
-
--radius-lg: var(--radius);
|
|
11
|
-
--radius-xl: calc(var(--radius) + 4px);
|
|
12
|
-
--color-background: var(--background);
|
|
13
|
-
--color-foreground: var(--foreground);
|
|
14
|
-
--color-card: var(--card);
|
|
15
|
-
--color-card-foreground: var(--card-foreground);
|
|
16
|
-
--color-popover: var(--popover);
|
|
17
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
18
|
-
--color-primary: var(--primary);
|
|
19
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
20
|
-
--color-secondary: var(--secondary);
|
|
21
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
22
|
-
--color-muted: var(--muted);
|
|
23
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
24
|
-
--color-accent: var(--accent);
|
|
25
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
26
|
-
--color-destructive: var(--destructive);
|
|
27
|
-
--color-border: var(--border);
|
|
28
|
-
--color-input: var(--input);
|
|
29
|
-
--color-ring: var(--ring);
|
|
30
|
-
--color-chart-1: var(--chart-1);
|
|
31
|
-
--color-chart-2: var(--chart-2);
|
|
32
|
-
--color-chart-3: var(--chart-3);
|
|
33
|
-
--color-chart-4: var(--chart-4);
|
|
34
|
-
--color-chart-5: var(--chart-5);
|
|
35
|
-
--color-sidebar: var(--sidebar);
|
|
36
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
37
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
38
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
39
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
40
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
41
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
42
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
:root {
|
|
46
|
-
--radius: 0.625rem;
|
|
47
|
-
--background: oklch(1 0 0);
|
|
48
|
-
--foreground: oklch(0.145 0 0);
|
|
49
|
-
--card: oklch(1 0 0);
|
|
50
|
-
--card-foreground: oklch(0.145 0 0);
|
|
51
|
-
--popover: oklch(1 0 0);
|
|
52
|
-
--popover-foreground: oklch(0.145 0 0);
|
|
53
|
-
--primary: oklch(0.205 0 0);
|
|
54
|
-
--primary-foreground: oklch(0.985 0 0);
|
|
55
|
-
--secondary: oklch(0.97 0 0);
|
|
56
|
-
--secondary-foreground: oklch(0.205 0 0);
|
|
57
|
-
--muted: oklch(0.97 0 0);
|
|
58
|
-
--muted-foreground: oklch(0.556 0 0);
|
|
59
|
-
--accent: oklch(0.97 0 0);
|
|
60
|
-
--accent-foreground: oklch(0.205 0 0);
|
|
61
|
-
--destructive: oklch(0.577 0.245 27.325);
|
|
62
|
-
--border: oklch(0.922 0 0);
|
|
63
|
-
--input: oklch(0.922 0 0);
|
|
64
|
-
--ring: oklch(0.708 0 0);
|
|
65
|
-
--chart-1: oklch(0.646 0.222 41.116);
|
|
66
|
-
--chart-2: oklch(0.6 0.118 184.704);
|
|
67
|
-
--chart-3: oklch(0.398 0.07 227.392);
|
|
68
|
-
--chart-4: oklch(0.828 0.189 84.429);
|
|
69
|
-
--chart-5: oklch(0.769 0.188 70.08);
|
|
70
|
-
--sidebar: oklch(0.985 0 0);
|
|
71
|
-
--sidebar-foreground: oklch(0.145 0 0);
|
|
72
|
-
--sidebar-primary: oklch(0.205 0 0);
|
|
73
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
74
|
-
--sidebar-accent: oklch(0.97 0 0);
|
|
75
|
-
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
76
|
-
--sidebar-border: oklch(0.922 0 0);
|
|
77
|
-
--sidebar-ring: oklch(0.708 0 0);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.dark {
|
|
81
|
-
--background: oklch(0.145 0 0);
|
|
82
|
-
--foreground: oklch(0.985 0 0);
|
|
83
|
-
--card: oklch(0.205 0 0);
|
|
84
|
-
--card-foreground: oklch(0.985 0 0);
|
|
85
|
-
--popover: oklch(0.205 0 0);
|
|
86
|
-
--popover-foreground: oklch(0.985 0 0);
|
|
87
|
-
--primary: oklch(0.922 0 0);
|
|
88
|
-
--primary-foreground: oklch(0.205 0 0);
|
|
89
|
-
--secondary: oklch(0.269 0 0);
|
|
90
|
-
--secondary-foreground: oklch(0.985 0 0);
|
|
91
|
-
--muted: oklch(0.269 0 0);
|
|
92
|
-
--muted-foreground: oklch(0.708 0 0);
|
|
93
|
-
--accent: oklch(0.269 0 0);
|
|
94
|
-
--accent-foreground: oklch(0.985 0 0);
|
|
95
|
-
--destructive: oklch(0.704 0.191 22.216);
|
|
96
|
-
--border: oklch(1 0 0 / 10%);
|
|
97
|
-
--input: oklch(1 0 0 / 15%);
|
|
98
|
-
--ring: oklch(0.556 0 0);
|
|
99
|
-
--chart-1: oklch(0.488 0.243 264.376);
|
|
100
|
-
--chart-2: oklch(0.696 0.17 162.48);
|
|
101
|
-
--chart-3: oklch(0.769 0.188 70.08);
|
|
102
|
-
--chart-4: oklch(0.627 0.265 303.9);
|
|
103
|
-
--chart-5: oklch(0.645 0.246 16.439);
|
|
104
|
-
--sidebar: oklch(0.205 0 0);
|
|
105
|
-
--sidebar-foreground: oklch(0.985 0 0);
|
|
106
|
-
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
107
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
108
|
-
--sidebar-accent: oklch(0.269 0 0);
|
|
109
|
-
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
110
|
-
--sidebar-border: oklch(1 0 0 / 10%);
|
|
111
|
-
--sidebar-ring: oklch(0.556 0 0);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@layer base {
|
|
115
|
-
* {
|
|
116
|
-
@apply border-border outline-ring/50;
|
|
117
|
-
}
|
|
118
|
-
body {
|
|
119
|
-
@apply bg-background text-foreground;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
// Example API client configuration
|
|
2
|
-
const API_BASE_URL = import.meta.env.VITE_API_URL || 'http://localhost:3000/api';
|
|
3
|
-
|
|
4
|
-
export const apiClient = {
|
|
5
|
-
baseUrl: API_BASE_URL,
|
|
6
|
-
|
|
7
|
-
async request<T>(endpoint: string, options?: RequestInit): Promise<T> {
|
|
8
|
-
const response = await fetch(`${this.baseUrl}${endpoint}`, {
|
|
9
|
-
headers: {
|
|
10
|
-
'Content-Type': 'application/json',
|
|
11
|
-
...options?.headers,
|
|
12
|
-
},
|
|
13
|
-
...options,
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
if (!response.ok) {
|
|
17
|
-
throw new Error(`API Error: ${response.statusText}`);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
return response.json();
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
get<T>(endpoint: string): Promise<T> {
|
|
24
|
-
return this.request<T>(endpoint);
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
post<T>(endpoint: string, data: unknown): Promise<T> {
|
|
28
|
-
return this.request<T>(endpoint, {
|
|
29
|
-
method: 'POST',
|
|
30
|
-
body: JSON.stringify(data),
|
|
31
|
-
});
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
put<T>(endpoint: string, data: unknown): Promise<T> {
|
|
35
|
-
return this.request<T>(endpoint, {
|
|
36
|
-
method: 'PUT',
|
|
37
|
-
body: JSON.stringify(data),
|
|
38
|
-
});
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
delete<T>(endpoint: string): Promise<T> {
|
|
42
|
-
return this.request<T>(endpoint, {
|
|
43
|
-
method: 'DELETE',
|
|
44
|
-
});
|
|
45
|
-
},
|
|
46
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
2
|
-
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
|
|
3
|
-
import { StrictMode } from 'react';
|
|
4
|
-
import { createRoot } from 'react-dom/client';
|
|
5
|
-
import { BrowserRouter } from 'react-router-dom';
|
|
6
|
-
import App from './App';
|
|
7
|
-
import './index.css';
|
|
8
|
-
|
|
9
|
-
// Create a client
|
|
10
|
-
const queryClient = new QueryClient({
|
|
11
|
-
defaultOptions: {
|
|
12
|
-
queries: {
|
|
13
|
-
staleTime: 1000 * 60 * 5, // 5 minutes
|
|
14
|
-
gcTime: 1000 * 60 * 10, // 10 minutes (formerly cacheTime)
|
|
15
|
-
refetchOnWindowFocus: false,
|
|
16
|
-
retry: 1,
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
createRoot(document.getElementById('root')!).render(
|
|
22
|
-
<StrictMode>
|
|
23
|
-
<QueryClientProvider client={queryClient}>
|
|
24
|
-
<BrowserRouter>
|
|
25
|
-
<App />
|
|
26
|
-
</BrowserRouter>
|
|
27
|
-
<ReactQueryDevtools initialIsOpen={false} />
|
|
28
|
-
</QueryClientProvider>
|
|
29
|
-
</StrictMode>,
|
|
30
|
-
);
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export function AboutPage() {
|
|
2
|
-
return (
|
|
3
|
-
<div className="space-y-6">
|
|
4
|
-
<h1 className="text-4xl font-bold">About</h1>
|
|
5
|
-
<div className="prose dark:prose-invert max-w-none">
|
|
6
|
-
<p>
|
|
7
|
-
This is a modern React starter kit with a carefully selected stack of tools and
|
|
8
|
-
libraries.
|
|
9
|
-
</p>
|
|
10
|
-
<h2 className="text-2xl font-semibold mt-6 mb-3">Tech Stack</h2>
|
|
11
|
-
<ul className="space-y-2">
|
|
12
|
-
<li>
|
|
13
|
-
<strong>React 19</strong> - Latest React with improved performance
|
|
14
|
-
</li>
|
|
15
|
-
<li>
|
|
16
|
-
<strong>TypeScript</strong> - Type-safe development
|
|
17
|
-
</li>
|
|
18
|
-
<li>
|
|
19
|
-
<strong>Vite</strong> - Fast build tool and dev server
|
|
20
|
-
</li>
|
|
21
|
-
<li>
|
|
22
|
-
<strong>Tailwind CSS</strong> - Utility-first CSS framework
|
|
23
|
-
</li>
|
|
24
|
-
<li>
|
|
25
|
-
<strong>shadcn/ui</strong> - Beautiful, accessible components
|
|
26
|
-
</li>
|
|
27
|
-
<li>
|
|
28
|
-
<strong>TanStack Query</strong> - Powerful data fetching and caching
|
|
29
|
-
</li>
|
|
30
|
-
<li>
|
|
31
|
-
<strong>React Router</strong> - Client-side routing
|
|
32
|
-
</li>
|
|
33
|
-
<li>
|
|
34
|
-
<strong>Drizzle ORM</strong> - Type-safe database access
|
|
35
|
-
</li>
|
|
36
|
-
<li>
|
|
37
|
-
<strong>Biome</strong> - Fast linter and formatter
|
|
38
|
-
</li>
|
|
39
|
-
</ul>
|
|
40
|
-
<h2 className="text-2xl font-semibold mt-6 mb-3">Adding shadcn/ui Components</h2>
|
|
41
|
-
<p>
|
|
42
|
-
To add shadcn/ui components, use the CLI. For example, to add a button component:
|
|
43
|
-
</p>
|
|
44
|
-
<pre className="bg-muted p-4 rounded-lg overflow-x-auto">
|
|
45
|
-
<code>pnpm dlx shadcn@latest add button</code>
|
|
46
|
-
</pre>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
);
|
|
50
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { useQuery } from '@tanstack/react-query';
|
|
2
|
-
|
|
3
|
-
// Example query function
|
|
4
|
-
async function fetchWelcomeMessage() {
|
|
5
|
-
// Replace with actual API call
|
|
6
|
-
return new Promise<string>((resolve) => {
|
|
7
|
-
setTimeout(() => resolve('Welcome to the Starter Kit!'), 500);
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function HomePage() {
|
|
12
|
-
const { data, isLoading } = useQuery({
|
|
13
|
-
queryKey: ['welcome'],
|
|
14
|
-
queryFn: fetchWelcomeMessage,
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
return (
|
|
18
|
-
<div className="space-y-6">
|
|
19
|
-
<h1 className="text-4xl font-bold">Home Page</h1>
|
|
20
|
-
{isLoading ? (
|
|
21
|
-
<p className="text-muted-foreground">Loading...</p>
|
|
22
|
-
) : (
|
|
23
|
-
<p className="text-lg">{data}</p>
|
|
24
|
-
)}
|
|
25
|
-
<div className="space-y-4">
|
|
26
|
-
<p className="text-muted-foreground">
|
|
27
|
-
This is an example home page with TanStack Query integration.
|
|
28
|
-
</p>
|
|
29
|
-
<div className="rounded-lg border p-4">
|
|
30
|
-
<h2 className="text-xl font-semibold mb-2">Features included:</h2>
|
|
31
|
-
<ul className="list-disc list-inside space-y-1 text-sm">
|
|
32
|
-
<li>React Router for navigation</li>
|
|
33
|
-
<li>TanStack Query for data fetching</li>
|
|
34
|
-
<li>Tailwind CSS for styling</li>
|
|
35
|
-
<li>shadcn/ui ready (use CLI to add components)</li>
|
|
36
|
-
<li>Drizzle ORM integration</li>
|
|
37
|
-
<li>Biome for linting and formatting</li>
|
|
38
|
-
</ul>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
);
|
|
43
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import tailwindcssAnimate from 'tailwindcss-animate';
|
|
2
|
-
|
|
3
|
-
/** @type {import('tailwindcss').Config} */
|
|
4
|
-
export default {
|
|
5
|
-
darkMode: ['class'],
|
|
6
|
-
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
|
|
7
|
-
theme: {
|
|
8
|
-
extend: {
|
|
9
|
-
borderRadius: {
|
|
10
|
-
lg: 'var(--radius)',
|
|
11
|
-
md: 'calc(var(--radius) - 2px)',
|
|
12
|
-
sm: 'calc(var(--radius) - 4px)',
|
|
13
|
-
},
|
|
14
|
-
colors: {
|
|
15
|
-
background: 'hsl(var(--background))',
|
|
16
|
-
foreground: 'hsl(var(--foreground))',
|
|
17
|
-
card: {
|
|
18
|
-
DEFAULT: 'hsl(var(--card))',
|
|
19
|
-
foreground: 'hsl(var(--card-foreground))',
|
|
20
|
-
},
|
|
21
|
-
popover: {
|
|
22
|
-
DEFAULT: 'hsl(var(--popover))',
|
|
23
|
-
foreground: 'hsl(var(--popover-foreground))',
|
|
24
|
-
},
|
|
25
|
-
primary: {
|
|
26
|
-
DEFAULT: 'hsl(var(--primary))',
|
|
27
|
-
foreground: 'hsl(var(--primary-foreground))',
|
|
28
|
-
},
|
|
29
|
-
secondary: {
|
|
30
|
-
DEFAULT: 'hsl(var(--secondary))',
|
|
31
|
-
foreground: 'hsl(var(--secondary-foreground))',
|
|
32
|
-
},
|
|
33
|
-
muted: {
|
|
34
|
-
DEFAULT: 'hsl(var(--muted))',
|
|
35
|
-
foreground: 'hsl(var(--muted-foreground))',
|
|
36
|
-
},
|
|
37
|
-
accent: {
|
|
38
|
-
DEFAULT: 'hsl(var(--accent))',
|
|
39
|
-
foreground: 'hsl(var(--accent-foreground))',
|
|
40
|
-
},
|
|
41
|
-
destructive: {
|
|
42
|
-
DEFAULT: 'hsl(var(--destructive))',
|
|
43
|
-
foreground: 'hsl(var(--destructive-foreground))',
|
|
44
|
-
},
|
|
45
|
-
border: 'hsl(var(--border))',
|
|
46
|
-
input: 'hsl(var(--input))',
|
|
47
|
-
ring: 'hsl(var(--ring))',
|
|
48
|
-
chart: {
|
|
49
|
-
1: 'hsl(var(--chart-1))',
|
|
50
|
-
2: 'hsl(var(--chart-2))',
|
|
51
|
-
3: 'hsl(var(--chart-3))',
|
|
52
|
-
4: 'hsl(var(--chart-4))',
|
|
53
|
-
5: 'hsl(var(--chart-5))',
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
plugins: [tailwindcssAnimate],
|
|
59
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
4
|
-
"target": "ES2022",
|
|
5
|
-
"useDefineForClassFields": true,
|
|
6
|
-
"lib": [
|
|
7
|
-
"ES2022",
|
|
8
|
-
"DOM",
|
|
9
|
-
"DOM.Iterable"
|
|
10
|
-
],
|
|
11
|
-
"module": "ESNext",
|
|
12
|
-
"types": [
|
|
13
|
-
"vite/client"
|
|
14
|
-
],
|
|
15
|
-
"skipLibCheck": true,
|
|
16
|
-
/* Bundler mode */
|
|
17
|
-
"moduleResolution": "bundler",
|
|
18
|
-
"allowImportingTsExtensions": true,
|
|
19
|
-
"verbatimModuleSyntax": true,
|
|
20
|
-
"moduleDetection": "force",
|
|
21
|
-
"noEmit": true,
|
|
22
|
-
"jsx": "react-jsx",
|
|
23
|
-
/* Linting */
|
|
24
|
-
"strict": true,
|
|
25
|
-
"noUnusedLocals": true,
|
|
26
|
-
"noUnusedParameters": true,
|
|
27
|
-
"erasableSyntaxOnly": true,
|
|
28
|
-
"noFallthroughCasesInSwitch": true,
|
|
29
|
-
"noUncheckedSideEffectImports": true,
|
|
30
|
-
/* Path Aliases */
|
|
31
|
-
"baseUrl": ".",
|
|
32
|
-
"paths": {
|
|
33
|
-
"@/*": [
|
|
34
|
-
"./src/*"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"include": [
|
|
39
|
-
"src"
|
|
40
|
-
]
|
|
41
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
-
"target": "ES2023",
|
|
5
|
-
"lib": ["ES2023"],
|
|
6
|
-
"module": "ESNext",
|
|
7
|
-
"types": ["node"],
|
|
8
|
-
"skipLibCheck": true,
|
|
9
|
-
|
|
10
|
-
/* Bundler mode */
|
|
11
|
-
"moduleResolution": "bundler",
|
|
12
|
-
"allowImportingTsExtensions": true,
|
|
13
|
-
"verbatimModuleSyntax": true,
|
|
14
|
-
"moduleDetection": "force",
|
|
15
|
-
"noEmit": true,
|
|
16
|
-
|
|
17
|
-
/* Linting */
|
|
18
|
-
"strict": true,
|
|
19
|
-
"noUnusedLocals": true,
|
|
20
|
-
"noUnusedParameters": true,
|
|
21
|
-
"erasableSyntaxOnly": true,
|
|
22
|
-
"noFallthroughCasesInSwitch": true,
|
|
23
|
-
"noUncheckedSideEffectImports": true
|
|
24
|
-
},
|
|
25
|
-
"include": ["vite.config.ts"]
|
|
26
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import path from 'node:path';
|
|
2
|
-
import tailwindcss from "@tailwindcss/vite"
|
|
3
|
-
import react from '@vitejs/plugin-react-swc';
|
|
4
|
-
import { defineConfig } from 'vite';
|
|
5
|
-
|
|
6
|
-
// https://vite.dev/config/
|
|
7
|
-
export default defineConfig({
|
|
8
|
-
plugins: [react(), tailwindcss()],
|
|
9
|
-
resolve: {
|
|
10
|
-
alias: {
|
|
11
|
-
'@': path.resolve(__dirname, './src'),
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
});
|