Skip to content

Commit 17bb448

Browse files
authored
feat: update ecommerce starter (#154)
1 parent b353733 commit 17bb448

File tree

11 files changed

+10211
-75
lines changed

11 files changed

+10211
-75
lines changed

examples/react-cra/ecommerce-starter/.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ dist
44
dist-ssr
55
*.local
66
.output
7-
.vinxi
7+
.env
8+
.nitro
9+
.tanstack
10+
.content-collections

examples/react-cra/ecommerce-starter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ANTHROPIC_API_KEY=your_anthropic_api_key
4444
## ✨ Features
4545

4646
### AI Capabilities
47-
- 🤖 Powered by Claude 3.5 Sonnet
47+
- 🤖 Powered by Claude 3.7 Sonnet
4848
- 📝 Rich markdown formatting with syntax highlighting
4949
- 🎯 Customizable system prompts for tailored AI behavior
5050
- 🔄 Real-time message updates and streaming responses (coming soon)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from '@tanstack/react-start/config'
1+
import { defineConfig } from '@tanstack/start/config'
22
import viteTsConfigPaths from 'vite-tsconfig-paths'
33
import tailwindcss from '@tailwindcss/vite'
44

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Ecommerce Starter</title>
7+
</head>
8+
<body>
9+
<div id="root"></div>
10+
<script type="module" src="/src/main.tsx"></script>
11+
</body>
12+
</html>

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"private": true,
44
"type": "module",
55
"scripts": {
6-
"dev": "vinxi dev",
7-
"start": "vinxi start",
8-
"build": "vinxi build",
6+
"dev": "vite",
7+
"start": "vite",
8+
"build": "vite build",
99
"serve": "vite preview",
1010
"test": "vitest run"
1111
},
@@ -32,16 +32,20 @@
3232
"rehype-sanitize": "^6.0.0",
3333
"remark-gfm": "^4.0.1",
3434
"tailwindcss": "^4.0.6",
35-
"vinxi": "^0.5.3",
3635
"vite-tsconfig-paths": "^5.1.4",
3736
"zod": "^3.24.2"
3837
},
3938
"devDependencies": {
39+
"@content-collections/core": "^0.8.2",
40+
"@content-collections/vite": "^0.2.6",
4041
"@testing-library/dom": "^10.4.0",
4142
"@testing-library/react": "^16.2.0",
4243
"@types/react": "^19.0.8",
4344
"@types/react-dom": "^19.0.3",
4445
"@vitejs/plugin-react": "^4.3.4",
46+
"@tanstack/router-generator": "1.120.20",
47+
"@tanstack/start": "^1.120.20",
48+
"@tanstack/react-start-plugin": "^1.131.11",
4549
"jsdom": "^26.0.0",
4650
"typescript": "^5.7.2",
4751
"vite": "^6.1.0",

0 commit comments

Comments
 (0)