Skip to content

Commit c1c9a9f

Browse files
committed
feat: 添加cloudfare适配器
1 parent 0b758ea commit c1c9a9f

File tree

2 files changed

+2655
-47
lines changed

2 files changed

+2655
-47
lines changed

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"keywords": [],
88
"scripts": {
99
"build": "next build --no-lint",
10+
"cf-deploy": "npx @cloudflare/next-on-pages deploy",
11+
"deploy": "pnpm run build && pnpm run cf-deploy",
1012
"dev": "next dev",
1113
"lint": "next lint . --fix",
1214
"start": "next start"
@@ -30,6 +32,7 @@
3032
"tailwindcss-animate": "1.0.7"
3133
},
3234
"devDependencies": {
35+
"@cloudflare/next-on-pages": "1.13.10",
3336
"@eslint/eslintrc": "3.3.0",
3437
"@soybeanjs/eslint-config": "1.5.3",
3538
"@svgr/webpack": "8.1.0",
@@ -44,6 +47,7 @@
4447
"eslint-plugin-react-refresh": "0.4.19",
4548
"eslint-plugin-sort": "4.0.0",
4649
"tailwindcss": "4.0.12",
47-
"typescript": "5.7.3"
50+
"typescript": "5.7.3",
51+
"wrangler": "4.4.0"
4852
}
4953
}

0 commit comments

Comments
 (0)