Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Comment on lines +20 to +24
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the lockfile with the Astro 6 dependency bump

Because this repo tracks package-lock.json, changing these package ranges without regenerating the lock leaves the lockfile root and resolved packages on @astrojs/cloudflare 12.x, @astrojs/react 4.x, and astro 5.x. I checked the lockfile and it still records the old root dependency ranges and installed versions, so clean installs/deploys that use npm ci (confirmed via npm ci --help as the clean-install command) will not install the Astro 6 stack described by this change and can fail due to the package/lock mismatch. Please update and commit package-lock.json alongside these dependency changes.

Useful? React with 👍 / 👎.

"react": "^19.1.0",
"react-dom": "^19.1.0"
},
Expand Down
3 changes: 1 addition & 2 deletions wrangler.json
Original file line number Diff line number Diff line change
@@ -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
Expand Down