refactor: migrate to nextjs serverless handler for vercel
This commit is contained in:
+8
-3
@@ -4,8 +4,9 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "node index.js"
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
@@ -13,9 +14,13 @@
|
||||
"type": "commonjs",
|
||||
"dependencies": {
|
||||
"@apollo/server": "^5.5.1",
|
||||
"@as-integrations/next": "^4.1.0",
|
||||
"cors": "^2.8.6",
|
||||
"dotenv": "^17.4.2",
|
||||
"graphql": "^16.14.2",
|
||||
"pg": "^8.23.0"
|
||||
"next": "^16.3.4",
|
||||
"pg": "^8.23.0",
|
||||
"react": "^19.2.8",
|
||||
"react-dom": "^19.2.8"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user