mirror of
https://github.com/ourongxing/newsnow.git
synced 2025-01-19 11:19:14 +08:00
chore: udpate wrangler.toml
This commit is contained in:
parent
478312975f
commit
ee93bf176e
@ -7,11 +7,9 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"nitro": "nitro build",
|
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"favicon": "tsx ./scripts/favicon.ts",
|
"favicon": "tsx ./scripts/favicon.ts",
|
||||||
"test": "vitest",
|
"test": "vitest"
|
||||||
"preview": "vite preview"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@dnd-kit/core": "^6.1.0",
|
"@dnd-kit/core": "^6.1.0",
|
||||||
@ -49,10 +47,10 @@
|
|||||||
"@vitejs/plugin-react-swc": "^3.7.0",
|
"@vitejs/plugin-react-swc": "^3.7.0",
|
||||||
"eslint": "^9.11.1",
|
"eslint": "^9.11.1",
|
||||||
"eslint-plugin-react-hooks": "^5.1.0-rc-778e1ed2-20240926",
|
"eslint-plugin-react-hooks": "^5.1.0-rc-778e1ed2-20240926",
|
||||||
"ofetch": "^1.4.0",
|
|
||||||
"eslint-plugin-react-refresh": "^0.4.12",
|
"eslint-plugin-react-refresh": "^0.4.12",
|
||||||
"nitro-cloudflare-dev": "^0.1.6",
|
"nitro-cloudflare-dev": "^0.1.6",
|
||||||
"nitropack": "^2.9.7",
|
"nitropack": "^2.9.7",
|
||||||
|
"ofetch": "^1.4.0",
|
||||||
"tsx": "^4.19.1",
|
"tsx": "^4.19.1",
|
||||||
"typescript": "^5.6.2",
|
"typescript": "^5.6.2",
|
||||||
"typescript-eslint": "^8.7.0",
|
"typescript-eslint": "^8.7.0",
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
name = "newsnow"
|
||||||
|
pages_build_output_dir = "dist/output/public"
|
||||||
|
compatibility_date = "2024-10-03"
|
||||||
|
|
||||||
[[d1_databases]]
|
[[d1_databases]]
|
||||||
binding = "CACHE_DB" # i.e. available in your Worker on env.CACHE_DB
|
binding = "CACHE_DB" # i.e. available in your Worker on env.CACHE_DB
|
||||||
database_name = "newsnow-cache"
|
database_name = "newsnow-cache"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user