Skip to content

feat: vercel backend and share button #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 69 commits into from
Jun 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
6825f9e
feat: hono setup
brettkolodny Jun 4, 2025
8668bd9
feat: add build commands
brettkolodny Jun 4, 2025
6f776f2
fix: add prod script path
brettkolodny Jun 4, 2025
985fd03
fix: generate better dist
brettkolodny Jun 4, 2025
d632f8f
chore: add vercel.json
brettkolodny Jun 4, 2025
c662fe6
update json
brettkolodny Jun 4, 2025
a19f90a
fix: remove redirect
brettkolodny Jun 4, 2025
e179bf4
fix: remove vercel.json
brettkolodny Jun 4, 2025
0d24b22
fix: change build output structure
brettkolodny Jun 4, 2025
919f56e
fix: add vercel config middleware
brettkolodny Jun 4, 2025
b356bbf
chore: generate more files
brettkolodny Jun 4, 2025
7b3f427
chore: add vercel.json
brettkolodny Jun 4, 2025
8277147
fix: update vite config
brettkolodny Jun 4, 2025
9f90c62
try: update build command
brettkolodny Jun 4, 2025
670177c
try: update vite config
brettkolodny Jun 4, 2025
1a3e104
try: update vite config
brettkolodny Jun 4, 2025
7548b59
try: community vercel plugin
brettkolodny Jun 4, 2025
6d6413d
try: deploy example
brettkolodny Jun 4, 2025
8e9a4a2
try: build dir
brettkolodny Jun 4, 2025
cdb6f90
try: change out dir
brettkolodny Jun 5, 2025
01b3a23
delete .vercel
brettkolodny Jun 5, 2025
fc7e1a1
try: remove vercel.json
brettkolodny Jun 5, 2025
d85ee23
fix: revert servre code
brettkolodny Jun 5, 2025
844afd9
fix: handler
brettkolodny Jun 5, 2025
8dcc24f
fix: use handler
brettkolodny Jun 5, 2025
1e7ae3c
fix: vite build config
brettkolodny Jun 5, 2025
741eade
fix: revert server code
brettkolodny Jun 5, 2025
b10fb20
fix: update build config
brettkolodny Jun 5, 2025
6218415
fix: update build config
brettkolodny Jun 5, 2025
95ccbda
try: static serve frontend
brettkolodny Jun 5, 2025
5a5ce0c
fix: update vite config
brettkolodny Jun 5, 2025
183f3ce
feat: update index
brettkolodny Jun 5, 2025
152e2c9
feat: update index
brettkolodny Jun 5, 2025
43491d4
feat: add rewrite
brettkolodny Jun 5, 2025
f8ba193
fix: rewrites
brettkolodny Jun 5, 2025
fae43eb
fix: rewrites
brettkolodny Jun 5, 2025
9e5f478
fix: update server
brettkolodny Jun 5, 2025
73f1e39
try: remove middleware
brettkolodny Jun 5, 2025
cd3a60c
fix: remove unsued imports
brettkolodny Jun 5, 2025
9fdcf58
fix: remove unsued imports
brettkolodny Jun 5, 2025
72b82ac
try: remove default export
brettkolodny Jun 5, 2025
514395c
fix: use react render function
brettkolodny Jun 5, 2025
70ce827
fix: update vite config
brettkolodny Jun 5, 2025
0b7033f
fix: assets path
brettkolodny Jun 5, 2025
c67adc0
fix: update css improt
brettkolodny Jun 5, 2025
b0d0fe9
fix: update css imports
brettkolodny Jun 5, 2025
b086c98
fix: properly generate all css
brettkolodny Jun 5, 2025
8e99fcb
fix: copy public dir
brettkolodny Jun 5, 2025
b300904
fix: load wasm link
brettkolodny Jun 5, 2025
f50754b
fix: import fonts from google
brettkolodny Jun 5, 2025
479098a
fix: update inter tailwind
brettkolodny Jun 5, 2025
86dad27
fix: update rewrite
brettkolodny Jun 5, 2025
61d293b
fix: update routes
brettkolodny Jun 5, 2025
563a7f0
fix: update functions
brettkolodny Jun 5, 2025
4f252a7
fix: routing
brettkolodny Jun 5, 2025
d87d42e
chore: refactor vite build script
brettkolodny Jun 5, 2025
b58398a
fix: re-implement HMR
brettkolodny Jun 5, 2025
396bb72
chore: remove unused file
brettkolodny Jun 5, 2025
c738c33
fix: document build script
brettkolodny Jun 5, 2025
2ff7e95
chore: clean up comments
brettkolodny Jun 5, 2025
bf5eef4
chore: clean up comments
brettkolodny Jun 5, 2025
2534519
chore: refactor code to separate client and server
brettkolodny Jun 6, 2025
9d59428
fix: css path in prod
brettkolodny Jun 6, 2025
5d74d2b
fix: only load hmr on dev
brettkolodny Jun 6, 2025
a4c2622
feat: add share button to client
brettkolodny Jun 6, 2025
192b80f
feat: update plugin to handle vercel specific code
brettkolodny Jun 6, 2025
dfda652
fix: plugin locations
brettkolodny Jun 6, 2025
4086338
feat: share backend
brettkolodny Jun 6, 2025
3221b21
feat: share button
brettkolodny Jun 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?

.vercel
.env*.local
24 changes: 0 additions & 24 deletions index.html

This file was deleted.

13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,30 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"build": "tsc -b && vite build && vite build --mode=client",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"@fontsource-variable/inter": "^5.2.5",
"@fontsource/dm-mono": "^5.2.5",
"@hono/valibot-validator": "^0.5.2",
"@microlink/react-json-view": "^1.26.2",
"@radix-ui/react-dialog": "^1.1.14",
"@radix-ui/react-dropdown-menu": "^2.1.15",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-tabs": "^1.1.12",
"@radix-ui/react-tooltip": "^1.2.7",
"@tailwindcss/typography": "^0.5.16",
"@universal-middleware/core": "^0.4.7",
"@universal-middleware/hono": "^0.4.12",
"@vercel/blob": "^1.1.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"hono": "^4.7.11",
"lucide-react": "^0.511.0",
"motion": "^12.15.0",
"nanoid": "^5.1.5",
"prismjs": "^1.30.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
Expand All @@ -36,6 +42,7 @@
},
"devDependencies": {
"@eslint/js": "^9.25.0",
"@hono/vite-dev-server": "^0.19.1",
"@types/node": "^22.15.21",
"@types/prismjs": "^1.26.5",
"@types/react": "^19.1.2",
Expand All @@ -51,6 +58,8 @@
"tailwindcss": "3",
"typescript": "~5.8.3",
"typescript-eslint": "^8.30.1",
"vite": "^6.3.5"
"vercel": "^42.3.0",
"vite": "^6.3.5",
"vite-plugin-vercel": "^9.0.7"
}
}
Loading