update configs

This commit is contained in:
Zheyuan Wu
2025-02-12 21:05:11 -06:00
parent e75859f4b0
commit 63bb6fad60
6 changed files with 9799 additions and 5 deletions

3
.gitignore vendored
View File

@@ -131,6 +131,3 @@ dist
# vscode
.vscode
# package-lock.json
package-lock.json

1
.nvmc Normal file
View File

@@ -0,0 +1 @@
22.12.0

View File

@@ -9,3 +9,14 @@ This site is powered by
- [Tailwind CSS](https://tailwindcss.com/)
- [Vercel](https://vercel.com/)
## Deployment
### Deploying to Vercel
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FTrance-0%2FNotechondria)
_Warning: This project is not suitable for free Vercel plan. There is insufficient memory for the build process._
### Deploying to Cloudflare Pages
[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button?paid=true)](https://deploy.workers.cloudflare.com/?url=https://github.com/Trance-0/Notechondria)

9777
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -5,13 +5,15 @@
"start": "next start"
},
"dependencies": {
"@cloudflare/next-on-pages": "^1.13.7",
"@vercel/analytics": "^1.4.1",
"@vercel/speed-insights": "^1.1.0",
"next": "^15.0.3",
"nextra": "^3.2.3",
"nextra-theme-docs": "^3.2.3",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react-dom": "^18.3.1",
"vercel": "^32.3.0"
},
"devDependencies": {
"@types/node": "22.10.7"

6
wrangler.toml Normal file
View File

@@ -0,0 +1,6 @@
main = ".open-next/worker.js"
name = "notenextra"
pages_build_output_directory = ".vercel/output/static"
compatibility_date = "2025-02-13"
compatibility_flags = ["nodejs_compat"]
assets = { directory = ".open-next/assets", binding = "ASSETS" }