convert APIs to edge functions (#1648)

This commit is contained in:
2023-06-25 11:26:29 -04:00
committed by GitHub
parent 62419f1380
commit aa64279dd8
10 changed files with 305 additions and 429 deletions
+5 -6
View File
@@ -15,7 +15,7 @@
"build": "next build",
"start": "next start",
"lint": "eslint . --ext js,jsx,ts,tsx,md,mdx",
"postinstall": "prisma generate"
"postinstall": "prisma generate --data-proxy"
},
"dependencies": {
"@giscus/react": "^2.2.8",
@@ -26,10 +26,9 @@
"@primer/octicons": "^19.4.0",
"@prisma/client": "^4.16.1",
"@react-spring/web": "^9.7.2",
"@sentry/node": "^7.56.0",
"@sentry/tracing": "^7.56.0",
"@stitches/react": "^1.2.8",
"@vercel/analytics": "^1.0.1",
"@vercel/postgres": "^0.4.0",
"comma-number": "^2.1.0",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.8",
@@ -60,13 +59,13 @@
"react-player": "~2.10.1",
"react-textarea-autosize": "^8.5.0",
"react-twitter-embed": "^4.0.4",
"rehype-prism-plus": "^1.5.1",
"rehype-prism-plus": "^1.6.1",
"rehype-slug": "^5.1.0",
"remark-gfm": "^3.0.1",
"remark-smartypants": "^2.0.0",
"remark-unwrap-images": "^3.0.1",
"remove-markdown": "^0.5.0",
"simple-icons": "^9.2.0",
"simple-icons": "^9.3.0",
"sitemap": "^7.1.1",
"stitches-normalize": "^2.0.0",
"swr": "^2.2.0"
@@ -79,7 +78,7 @@
"@types/node": "*",
"@types/novnc__novnc": "^1.3.0",
"@types/prop-types": "^15.7.5",
"@types/react": "^18.2.13",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@types/react-is": "^18.2.1",
"@types/remove-markdown": "^0.3.1",