Merge branch 'vercel-deploy' into 'main'

Add Vercel as a devDependency and update deploy command to replace Surge with Vercel

See merge request soapbox-pub/mkstack!5
This commit is contained in:
Alex Gleason 2025-06-08 13:15:56 +00:00
commit aa1088499f
3 changed files with 2184 additions and 3 deletions

3
.gitignore vendored
View File

@ -20,3 +20,6 @@ dist-ssr
*.njsproj *.njsproj
*.sln *.sln
*.sw? *.sw?
# Vercel
.vercel

2181
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
"dev": "npm i && vite", "dev": "npm i && vite",
"build": "npm i && vite build && cp dist/index.html dist/404.html", "build": "npm i && vite build && cp dist/index.html dist/404.html",
"test": "npm i && tsc -p tsconfig.app.json --noEmit && eslint && vitest run && vite build", "test": "npm i && tsc -p tsconfig.app.json --noEmit && eslint && vitest run && vite build",
"deploy": "npm run build && npx -y surge@latest dist" "deploy": "npm run build && vercel whoami && vercel --prod --yes"
}, },
"dependencies": { "dependencies": {
"@hookform/resolvers": "^3.9.0", "@hookform/resolvers": "^3.9.0",
@ -86,6 +86,7 @@
"tailwindcss": "^3.4.11", "tailwindcss": "^3.4.11",
"typescript": "^5.5.3", "typescript": "^5.5.3",
"typescript-eslint": "^8.0.1", "typescript-eslint": "^8.0.1",
"vercel": "^42.3.0",
"vite": "^6.3.5", "vite": "^6.3.5",
"vitest": "^3.1.4" "vitest": "^3.1.4"
} }