fix: support Node.js 20 deployment
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
| ... | @@ -3,8 +3,11 @@ | ... | @@ -3,8 +3,11 @@ |
| "type": "module", | "type": "module", | ||
| "version": "1.0.0", | "version": "1.0.0", | ||
| "private": true, | "private": true, | ||
| "engines": { | |||
| "node": ">=20.20.0 <21" | |||
| }, | |||
| "scripts": { | "scripts": { | ||
| "dev": "node --env-file=.env ./node_modules/astro/bin/astro.mjs dev", | "dev": "node --env-file=.env ./node_modules/astro/astro.js dev", | ||
| "build": "node scripts/build-site.mjs", | "build": "node scripts/build-site.mjs", | ||
| "build:inside-lock": "node scripts/build-site.mjs --inside-lock", | "build:inside-lock": "node scripts/build-site.mjs --inside-lock", | ||
| "build:astro": "astro check && astro build", | "build:astro": "astro check && astro build", | ||
| ... | @@ -15,9 +18,9 @@ | ... | @@ -15,9 +18,9 @@ |
| "serve": "npm run build && npm start" | "serve": "npm run build && npm start" | ||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "@astrojs/node": "^11.0.2", | "@astrojs/node": "9.5.5", | ||
| "@astrojs/sitemap": "^3.7.3", | "@astrojs/sitemap": "^3.7.3", | ||
| "astro": "^7.1.3", | "astro": "5.18.2", | ||
| "gray-matter": "^4.0.3", | "gray-matter": "^4.0.3", | ||
| "marked": "^14.1.4" | "marked": "^14.1.4" | ||
| }, | }, | ||
| ... | ... |
Please register or sign in to comment