Skip to content

Commit 4127f47

Browse files
committed
updating the starters
1 parent 6a2842d commit 4127f47

37 files changed

Lines changed: 7851 additions & 12880 deletions

.claude/settings.local.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@
1010
"Bash(grep:*)",
1111
"Bash(pnpm test:*)",
1212
"Bash(cat:*)",
13-
"Bash(xargs:*)"
13+
"Bash(xargs:*)",
14+
"WebSearch",
15+
"WebFetch(domain:registry.npmjs.org)",
16+
"WebFetch(domain:www.content-collections.dev)",
17+
"WebFetch(domain:raw.githubusercontent.com)",
18+
"WebFetch(domain:api.github.com)",
19+
"WebFetch(domain:tanstack.com)",
20+
"WebFetch(domain:www.npmjs.com)"
1421
],
1522
"deny": []
1623
}

examples/react-cra/blog-starter/app.config.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

examples/react-cra/blog-starter/content-collections.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { defineCollection, defineConfig } from "@content-collections/core";
2+
import { z } from "zod";
23

34
const posts = defineCollection({
45
name: "posts",
56
directory: "content/posts",
67
include: "**/*.md",
7-
schema: (z) => ({
8+
schema: z.object({
89
title: z.string(),
910
summary: z.string(),
1011
categories: z.array(z.string()),

examples/react-cra/blog-starter/package.json

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,42 @@
33
"private": true,
44
"type": "module",
55
"scripts": {
6-
"dev": "vite",
7-
"start": "vite",
8-
"build": "vite build",
6+
"dev": "vite --port 3000",
7+
"build": "vite build && tsc",
98
"preview": "vite preview",
109
"test": "vitest run"
1110
},
1211
"dependencies": {
1312
"@tailwindcss/vite": "^4.0.6",
14-
"@tanstack/react-router": "^1.114.3",
15-
"@tanstack/react-router-devtools": "^1.114.3",
16-
"@tanstack/react-router-with-query": "^1.114.3",
17-
"@tanstack/react-start": "^1.114.3",
18-
"@tanstack/router-plugin": "^1.114.3",
13+
"@tanstack/react-devtools": "^0.7.0",
14+
"@tanstack/react-router": "^1.145.11",
15+
"@tanstack/react-router-devtools": "^1.145.11",
16+
"@tanstack/router-plugin": "^1.145.11",
1917
"class-variance-authority": "^0.7.1",
2018
"clsx": "^2.1.1",
21-
"lucide-react": "^0.476.0",
19+
"lucide-react": "^0.562.0",
2220
"marked": "^15.0.8",
23-
"react": "^19.0.0",
24-
"react-dom": "^19.0.0",
21+
"react": "^19.2.0",
22+
"react-dom": "^19.2.0",
2523
"tailwind-merge": "^3.0.2",
2624
"tailwindcss": "^4.0.6",
2725
"tailwindcss-animate": "^1.0.7",
28-
"vite-tsconfig-paths": "^5.1.4"
26+
"vite-tsconfig-paths": "^6.0.3",
27+
"zod": "^3.25.0"
2928
},
3029
"devDependencies": {
31-
"@content-collections/core": "^0.8.2",
32-
"@content-collections/vite": "^0.2.6",
33-
"@tanstack/router-generator": "1.120.20",
34-
"@tanstack/start": "^1.120.20",
30+
"@content-collections/core": "^0.13.1",
31+
"@content-collections/vite": "^0.2.8",
32+
"@tanstack/devtools-vite": "^0.3.11",
3533
"@testing-library/dom": "^10.4.0",
3634
"@testing-library/react": "^16.2.0",
37-
"@types/react": "^19.0.8",
38-
"@types/react-dom": "^19.0.3",
39-
"@vitejs/plugin-react": "^4.3.4",
40-
"jsdom": "^26.0.0",
35+
"@types/react": "^19.2.0",
36+
"@types/react-dom": "^19.2.0",
37+
"@vitejs/plugin-react": "^5.0.4",
38+
"jsdom": "^27.0.0",
4139
"typescript": "^5.7.2",
42-
"vite": "^7.1.7",
40+
"vite": "^7.3.1",
4341
"vitest": "^3.0.5",
44-
"web-vitals": "^4.2.4"
42+
"web-vitals": "^5.1.0"
4543
}
4644
}

0 commit comments

Comments
 (0)