feat: Adopt Edge runtime for API routes, add Cloudflare Pages build configuration, remove icon.png, and configure npm legacy peer dependencies.

This commit is contained in:
kuekhaoyang
2025-12-06 12:55:57 +08:00
parent f575e45a10
commit cd036e5059
10 changed files with 1034 additions and 7 deletions
+4 -2
View File
@@ -6,7 +6,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint"
"lint": "eslint",
"pages:build": "npx @cloudflare/next-on-pages@1"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
@@ -20,6 +21,7 @@
"zustand": "^5.0.8"
},
"devDependencies": {
"@cloudflare/next-on-pages": "^1.13.16",
"@tailwindcss/postcss": "^4",
"@types/node": "^24",
"@types/react": "^19",
@@ -30,4 +32,4 @@
"tailwindcss": "^4",
"typescript": "^5"
}
}
}