diff --git a/package.json b/package.json index 4b78547..5acd55b 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,12 @@ "name": "astro", "type": "module", "version": "0.0.1", + "engines": { + "node": ">=22.12.0" + }, + "overrides": { + "vite": "^7" + }, "scripts": { "dev": "astro dev", "build": "astro build", @@ -11,11 +17,11 @@ "cf-typegen": "wrangler types" }, "dependencies": { - "@astrojs/cloudflare": "^12.6.6", - "@astrojs/react": "^4.2.5", + "@astrojs/cloudflare": "^13.5.0", + "@astrojs/react": "^5.0.0", "@types/react": "^19.1.2", "@types/react-dom": "^19.1.2", - "astro": "^5.7.0", + "astro": "^6.1.4", "react": "^19.1.0", "react-dom": "^19.1.0" }, diff --git a/wrangler.json b/wrangler.json index 076e3f2..4937136 100644 --- a/wrangler.json +++ b/wrangler.json @@ -1,12 +1,11 @@ { "$schema": "node_modules/wrangler/config-schema.json", "name": "astro", - "main": "./dist/_worker.js/index.js", "compatibility_date": "2025-04-15", "compatibility_flags": ["nodejs_compat"], "assets": { "binding": "ASSETS", - "directory": "./dist" + "directory": "./dist/client" }, "observability": { "enabled": true